[Arista] Disable ATA NCQ for a few products (#13739) (#13865)

This commit is contained in:
mssonicbld 2023-02-18 06:27:07 +08:00 committed by GitHub
parent 23e3542b08
commit 1aa33925ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -623,6 +623,10 @@ write_platform_specific_cmdline() {
cmdline_add intel_idle.max_cstate=0
read_system_eeprom
fi
if in_array "$platform" "rook"; then
# Currently applies to Alhambra, Blackhawk, Gardena and Mineral
cmdline_add libata.force=1.00:noncq
fi
if in_array "$platform" "crow" "magpie"; then
cmdline_add amd_iommu=off
cmdline_add modprobe.blacklist=snd_hda_intel,hdaudio