diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69')
20 files changed, 131 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/0021-watchdog-sp5100_tco-Enable-watchdog-on-Family-17h-de.patch b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/0021-watchdog-sp5100_tco-Enable-watchdog-on-Family-17h-de.patch new file mode 100644 index 00000000..54bfcac5 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/0021-watchdog-sp5100_tco-Enable-watchdog-on-Family-17h-de.patch @@ -0,0 +1,59 @@ +From 40d0f2c1144301baa2f6080da48e2fc42113c3d0 Mon Sep 17 00:00:00 2001 +From: Guenter Roeck <linux@roeck-us.net> +Date: Thu, 10 Sep 2020 09:31:09 -0700 +Subject: [PATCH 21/21] watchdog: sp5100_tco: Enable watchdog on Family 17h + devices if disabled + +On Family 17h (Ryzen) devices, the WatchdogTmrEn bit of PmDecodeEn not only +enables watchdog memory decoding at 0xfeb00000, it also enables the +watchdog hardware itself. Use this information to enable the watchdog if +it is not already enabled. + +Cc: Jan Kiszka <jan.kiszka@siemens.com> +Tested-by: Jan Kiszka <jan.kiszka@siemens.com> +Link: https://lore.kernel.org/r/20200910163109.235136-2-linux@roeck-us.net +Signed-off-by: Guenter Roeck <linux@roeck-us.net> +Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org> +--- + drivers/watchdog/sp5100_tco.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c +index 93bd302ae7c5..b9d234f2959a 100644 +--- a/drivers/watchdog/sp5100_tco.c ++++ b/drivers/watchdog/sp5100_tco.c +@@ -17,6 +17,12 @@ + * AMD Publication 51192 "AMD Bolton FCH Register Reference Guide" + * AMD Publication 52740 "BIOS and Kernel Developer’s Guide (BKDG) + * for AMD Family 16h Models 30h-3Fh Processors" ++ * AMD Publication 55570-B1-PUB "Processor Programming Reference (PPR) ++ * for AMD Family 17h Model 18h, Revision B1 ++ * Processors (PUB) ++ * AMD Publication 55772-A1-PUB "Processor Programming Reference (PPR) ++ * for AMD Family 17h Model 20h, Revision A1 ++ * Processors (PUB) + */ + + /* +@@ -241,6 +247,18 @@ static int sp5100_tco_setupdevice(struct device *dev, + break; + case efch: + dev_name = SB800_DEVNAME; ++ /* ++ * On Family 17h devices, the EFCH_PM_DECODEEN_WDT_TMREN bit of ++ * EFCH_PM_DECODEEN not only enables the EFCH_PM_WDT_ADDR memory ++ * region, it also enables the watchdog itself. ++ */ ++ if (boot_cpu_data.x86 == 0x17) { ++ val = sp5100_tco_read_pm_reg8(EFCH_PM_DECODEEN); ++ if (!(val & EFCH_PM_DECODEEN_WDT_TMREN)) { ++ sp5100_tco_update_pm_reg8(EFCH_PM_DECODEEN, 0xff, ++ EFCH_PM_DECODEEN_WDT_TMREN); ++ } ++ } + val = sp5100_tco_read_pm_reg8(EFCH_PM_DECODEEN); + if (val & EFCH_PM_DECODEEN_WDT_TMREN) + mmio_addr = EFCH_PM_WDT_ADDR; +-- +2.17.1 + diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-emmc-patches.scc b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-emmc-patches.scc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-emmc-patches.scc diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-spi-patches.scc b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-spi-patches.scc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-spi-patches.scc diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-usb-patches.scc b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-usb-patches.scc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-usb-patches.scc diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-wdt-patches.scc b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-wdt-patches.scc new file mode 100644 index 00000000..df4f54b7 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-wdt-patches.scc @@ -0,0 +1 @@ +patch 0021-watchdog-sp5100_tco-Enable-watchdog-on-Family-17h-de.patch diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-xgbe-patches.scc b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-xgbe-patches.scc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amd-xgbe-patches.scc diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amdgpu-patches.scc b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amdgpu-patches.scc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/amdgpu-patches.scc diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/console.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/console.cfg new file mode 100644 index 00000000..9e30450e --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/console.cfg @@ -0,0 +1,7 @@ +CONFIG_FB=y +CONFIG_FIRMWARE_EDID=y +CONFIG_FB_TILEBLITTING=y +CONFIG_FB_EFI=y +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_FB_VESA=y +CONFIG_FB_SIMPLE=y diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-bluetooth.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-bluetooth.cfg new file mode 100644 index 00000000..ce6ddb43 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-bluetooth.cfg @@ -0,0 +1 @@ +# CONFIG_BT is not set diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-intel-graphics.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-intel-graphics.cfg new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-intel-graphics.cfg diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-kgdb.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-kgdb.cfg new file mode 100644 index 00000000..b8a2218b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/disable-kgdb.cfg @@ -0,0 +1 @@ +# CONFIG_KGDB is not set diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/enable-bluetooth.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/enable-bluetooth.cfg new file mode 100644 index 00000000..581830f0 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/enable-bluetooth.cfg @@ -0,0 +1,13 @@ +CONFIG_BT=m +CONFIG_BT_RFCOMM=m +CONFIG_BT_BNEP=m +CONFIG_BT_HIDP=m +CONFIG_BT_HCIBFUSB=m +CONFIG_BT_HCIBTUSB=m +CONFIG_BT_HCIBTSDIO=m +CONFIG_BT_HCIUART=m +CONFIG_BT_HCIBCM203X=m +CONFIG_BT_HCIBPA10X=m +CONFIG_BT_HCIVHCI=m +CONFIG_BT_MRVL=m +CONFIG_BT_ATH3K=m diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/enable-kgdb.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/enable-kgdb.cfg new file mode 100644 index 00000000..55f296b2 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/enable-kgdb.cfg @@ -0,0 +1,3 @@ +CONFIG_KGDB=y +CONFIG_KGDB_LOW_LEVEL_TRAP=y +CONFIG_KGDB_KDB=y diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/hid.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/hid.cfg new file mode 100644 index 00000000..cbab0fa7 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/hid.cfg @@ -0,0 +1,5 @@ +CONFIG_HID_A4TECH=m +CONFIG_HID_LOGITECH=m +CONFIG_HID_LOGITECH_DJ=m +CONFIG_HID_MICROSOFT=m +CONFIG_HID_MULTITOUCH=m diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/logo.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/logo.cfg new file mode 100644 index 00000000..9772c12e --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/logo.cfg @@ -0,0 +1 @@ +CONFIG_LOGO=y diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/misc-patches.scc b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/misc-patches.scc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/misc-patches.scc diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/sound.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/sound.cfg new file mode 100644 index 00000000..250714ae --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/sound.cfg @@ -0,0 +1,29 @@ +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_SEQUENCER=y +CONFIG_SND_SEQ_DUMMY=y +CONFIG_SND_MIXER_OSS=y +CONFIG_SND_HRTIMER=y +CONFIG_SND_DYNAMIC_MINORS=y +CONFIG_SND_PCSP=y +CONFIG_SND_HDA_GENERIC=y +CONFIG_SND_HDA_INTEL=y +CONFIG_SND_HDA_HWDEP=y +CONFIG_SND_HDA_INPUT_BEEP=y +CONFIG_SND_HDA_PATCH_LOADER=y +CONFIG_SND_HDA_CODEC_REALTEK=y +CONFIG_SND_HDA_CODEC_ANALOG=y +CONFIG_SND_HDA_CODEC_SIGMATEL=y +CONFIG_SND_HDA_CODEC_VIA=y +CONFIG_SND_HDA_CODEC_HDMI=y +CONFIG_SND_HDA_CODEC_CIRRUS=y +CONFIG_SND_HDA_CODEC_CONEXANT=y +CONFIG_SND_HDA_CODEC_CA0110=y +CONFIG_SND_HDA_CODEC_CA0132=y +CONFIG_SND_HDA_CODEC_CMEDIA=y +CONFIG_SND_HDA_CODEC_SI3054=y +CONFIG_SND_USB_AUDIO=y +CONFIG_SND_PCM_OSS=m +CONFIG_SND_PCM_OSS_PLUGINS=y +CONFIG_SND_SEQUENCER_OSS=y +CONFIG_SND_SOC=m diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/usb-serial.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/usb-serial.cfg new file mode 100644 index 00000000..11402439 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/usb-serial.cfg @@ -0,0 +1 @@ +CONFIG_USB_SERIAL_MOS7840=y diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/wdt-driver.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/wdt-driver.cfg new file mode 100644 index 00000000..a4f53782 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/wdt-driver.cfg @@ -0,0 +1 @@ +CONFIG_SP5100_TCO=y diff --git a/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/wifi-drivers.cfg b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/wifi-drivers.cfg new file mode 100644 index 00000000..8b407303 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-5.4/linux-yocto-5.4.69/wifi-drivers.cfg @@ -0,0 +1,9 @@ +CONFIG_CFG80211_WEXT=y +CONFIG_WEXT_CORE=y +CONFIG_WEXT_PROC=y +CONFIG_IWLWIFI=m +CONFIG_IWLDVM=m +CONFIG_IWLWIFI_OPMODE_MODULAR=y +CONFIG_CARL9170=m +CONFIG_CARL9170_LEDS=y +CONFIG_CARL9170_WPC=y |