blob: a86d6da76be9fcb4afca147eab47c6fa9d6f27f5 [file] [log] [blame]
#!/bin/bash
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
modify_kernel_command_line() {
# Might be helpful to preserve ramoops in extreme circumstances
echo "ramoops.ecc=1" >> "$1"
# Avoid a cosmetic TPM error (Work around for b/113527055)
echo "tpm_tis.force=0" >> "$1"
# Enable S0ix logging using GSMI
echo "gsmi.s0ix_logging_enable=1" >> "$1"
# Check for S0ix failures and show warnings on failures
echo "intel_pmc_core.warn_on_s0ix_failures=1" >> "$1"
}