mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-30 12:30:14 +00:00
arm-bsp/n1sdp: update to linux yocto kernel 6.4
Bump kernel version to v6.4 and rebased N1SDP kernel PCIe quirk patches top of this new version. Signed-off-by: Xueliang Zhong <xueliang.zhong@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
3748fc07d2
commit
1fe76c893c
@@ -19,7 +19,7 @@ WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
|
|||||||
|
|
||||||
# Use kernel provided by yocto
|
# Use kernel provided by yocto
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
PREFERRED_VERSION_linux-yocto ?= "6.1%"
|
PREFERRED_VERSION_linux-yocto ?= "6.4%"
|
||||||
|
|
||||||
# RTL8168E Gigabit Ethernet Controller is attached to the PCIe interface
|
# RTL8168E Gigabit Ethernet Controller is attached to the PCIe interface
|
||||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware-rtl8168"
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware-rtl8168"
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ COMPATIBLE_MACHINE:musca-s1 = "(^$)"
|
|||||||
#
|
#
|
||||||
# N1SDP KMACHINE
|
# N1SDP KMACHINE
|
||||||
#
|
#
|
||||||
FILESEXTRAPATHS:prepend:n1sdp := "${THISDIR}/linux-yocto-6.1/n1sdp:"
|
FILESEXTRAPATHS:prepend:n1sdp := "${THISDIR}/linux-yocto-6.4/n1sdp:"
|
||||||
COMPATIBLE_MACHINE:n1sdp = "n1sdp"
|
COMPATIBLE_MACHINE:n1sdp = "n1sdp"
|
||||||
KBUILD_DEFCONFIG:n1sdp = "defconfig"
|
KBUILD_DEFCONFIG:n1sdp = "defconfig"
|
||||||
KCONFIG_MODE:n1sdp = "--alldefconfig"
|
KCONFIG_MODE:n1sdp = "--alldefconfig"
|
||||||
|
|||||||
+4
-4
@@ -1,4 +1,4 @@
|
|||||||
From 32ae4539865e64bcfb0c6955bdac8db5904e493d Mon Sep 17 00:00:00 2001
|
From ec84afa8e74bc5df8b5794eef8f29b097adc7cb3 Mon Sep 17 00:00:00 2001
|
||||||
From: Manoj Kumar <manoj.kumar3@arm.com>
|
From: Manoj Kumar <manoj.kumar3@arm.com>
|
||||||
Date: Mon, 1 Feb 2021 21:36:43 +0530
|
Date: Mon, 1 Feb 2021 21:36:43 +0530
|
||||||
Subject: [PATCH] iommu/arm-smmu-v3: workaround for ATC_INV_SIZE_ALL in N1SDP
|
Subject: [PATCH] iommu/arm-smmu-v3: workaround for ATC_INV_SIZE_ALL in N1SDP
|
||||||
@@ -22,10 +22,10 @@ Signed-off-by: Adam Johnston <adam.johnston@arm.com>
|
|||||||
2 files changed, 2 insertions(+)
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
|
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
|
||||||
index d4d8bfee9feb..0524bf2ec021 100644
|
index 3fd83fb75722..852ed05b14a3 100644
|
||||||
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
|
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
|
||||||
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
|
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
|
||||||
@@ -1738,6 +1738,7 @@ arm_smmu_atc_inv_to_cmd(int ssid, unsigned long iova, size_t size,
|
@@ -1747,6 +1747,7 @@ arm_smmu_atc_inv_to_cmd(int ssid, unsigned long iova, size_t size,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!size) {
|
if (!size) {
|
||||||
@@ -34,7 +34,7 @@ index d4d8bfee9feb..0524bf2ec021 100644
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
|
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
|
||||||
index cd48590ada30..20892b2bfe1d 100644
|
index b574c58a3487..018086b65381 100644
|
||||||
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
|
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
|
||||||
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
|
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
|
||||||
@@ -472,6 +472,7 @@ struct arm_smmu_cmdq_ent {
|
@@ -472,6 +472,7 @@ struct arm_smmu_cmdq_ent {
|
||||||
+6
-6
@@ -1,4 +1,4 @@
|
|||||||
From fc8605e74b51d9e0ab8efd0489eca2e11d807f07 Mon Sep 17 00:00:00 2001
|
From 9761e48b2d6904a58996fcaadcf25684482a72c8 Mon Sep 17 00:00:00 2001
|
||||||
From: Manoj Kumar <manoj.kumar3@arm.com>
|
From: Manoj Kumar <manoj.kumar3@arm.com>
|
||||||
Date: Tue, 31 Aug 2021 16:15:38 +0000
|
Date: Tue, 31 Aug 2021 16:15:38 +0000
|
||||||
Subject: [PATCH] n1sdp: pci_quirk: add acs override for PCI devices
|
Subject: [PATCH] n1sdp: pci_quirk: add acs override for PCI devices
|
||||||
@@ -19,10 +19,10 @@ Signed-off-by: Adam Johnston <adam.johnston@arm.com>
|
|||||||
2 files changed, 110 insertions(+)
|
2 files changed, 110 insertions(+)
|
||||||
|
|
||||||
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
|
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
|
||||||
index 963cdaecabcb..8e94af513b9f 100644
|
index 9e5bab29685f..7ee740a37e5d 100644
|
||||||
--- a/Documentation/admin-guide/kernel-parameters.txt
|
--- a/Documentation/admin-guide/kernel-parameters.txt
|
||||||
+++ b/Documentation/admin-guide/kernel-parameters.txt
|
+++ b/Documentation/admin-guide/kernel-parameters.txt
|
||||||
@@ -4162,6 +4162,14 @@
|
@@ -4235,6 +4235,14 @@
|
||||||
nomsi [MSI] If the PCI_MSI kernel config parameter is
|
nomsi [MSI] If the PCI_MSI kernel config parameter is
|
||||||
enabled, this kernel boot option can be used to
|
enabled, this kernel boot option can be used to
|
||||||
disable the use of MSI interrupts system-wide.
|
disable the use of MSI interrupts system-wide.
|
||||||
@@ -38,10 +38,10 @@ index 963cdaecabcb..8e94af513b9f 100644
|
|||||||
Safety option to keep boot IRQs enabled. This
|
Safety option to keep boot IRQs enabled. This
|
||||||
should never be necessary.
|
should never be necessary.
|
||||||
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
|
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
|
||||||
index 285acc4aaccc..d6ebef1f30db 100644
|
index b7c65193e786..16b81d1ccafa 100644
|
||||||
--- a/drivers/pci/quirks.c
|
--- a/drivers/pci/quirks.c
|
||||||
+++ b/drivers/pci/quirks.c
|
+++ b/drivers/pci/quirks.c
|
||||||
@@ -3612,6 +3612,107 @@ static void quirk_no_bus_reset(struct pci_dev *dev)
|
@@ -3625,6 +3625,107 @@ static void quirk_no_bus_reset(struct pci_dev *dev)
|
||||||
dev->dev_flags |= PCI_DEV_FLAGS_NO_BUS_RESET;
|
dev->dev_flags |= PCI_DEV_FLAGS_NO_BUS_RESET;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@ index 285acc4aaccc..d6ebef1f30db 100644
|
|||||||
/*
|
/*
|
||||||
* Some NVIDIA GPU devices do not work with bus reset, SBR needs to be
|
* Some NVIDIA GPU devices do not work with bus reset, SBR needs to be
|
||||||
* prevented for those affected devices.
|
* prevented for those affected devices.
|
||||||
@@ -4980,6 +5081,7 @@ static const struct pci_dev_acs_enabled {
|
@@ -5017,6 +5118,7 @@ static const struct pci_dev_acs_enabled {
|
||||||
{ PCI_VENDOR_ID_ZHAOXIN, PCI_ANY_ID, pci_quirk_zhaoxin_pcie_ports_acs },
|
{ PCI_VENDOR_ID_ZHAOXIN, PCI_ANY_ID, pci_quirk_zhaoxin_pcie_ports_acs },
|
||||||
/* Wangxun nics */
|
/* Wangxun nics */
|
||||||
{ PCI_VENDOR_ID_WANGXUN, PCI_ANY_ID, pci_quirk_wangxun_nic_acs },
|
{ PCI_VENDOR_ID_WANGXUN, PCI_ANY_ID, pci_quirk_wangxun_nic_acs },
|
||||||
+10
-10
@@ -1,4 +1,4 @@
|
|||||||
From 5aa5769af625c79589fd84b8afc06149c2362218 Mon Sep 17 00:00:00 2001
|
From 268bfbcd8f16660bf5fc8e31b18b4090743c6dbe Mon Sep 17 00:00:00 2001
|
||||||
From: Deepak Pandey <Deepak.Pandey@arm.com>
|
From: Deepak Pandey <Deepak.Pandey@arm.com>
|
||||||
Date: Fri, 31 May 2019 16:42:43 +0100
|
Date: Fri, 31 May 2019 16:42:43 +0100
|
||||||
Subject: [PATCH] pcie: Add quirk for the Arm Neoverse N1SDP platform
|
Subject: [PATCH] pcie: Add quirk for the Arm Neoverse N1SDP platform
|
||||||
@@ -41,10 +41,10 @@ Signed-off-by: Adam Johnston <adam.johnston@arm.com>
|
|||||||
create mode 100644 drivers/pci/controller/pcie-n1sdp.c
|
create mode 100644 drivers/pci/controller/pcie-n1sdp.c
|
||||||
|
|
||||||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
||||||
index bbbc31391a65..973aa3b4d407 100644
|
index a24609e14d50..cd73d1704dd2 100644
|
||||||
--- a/arch/arm64/configs/defconfig
|
--- a/arch/arm64/configs/defconfig
|
||||||
+++ b/arch/arm64/configs/defconfig
|
+++ b/arch/arm64/configs/defconfig
|
||||||
@@ -214,6 +214,7 @@ CONFIG_NFC_S3FWRN5_I2C=m
|
@@ -203,6 +203,7 @@ CONFIG_NFC_S3FWRN5_I2C=m
|
||||||
CONFIG_PCI=y
|
CONFIG_PCI=y
|
||||||
CONFIG_PCIEPORTBUS=y
|
CONFIG_PCIEPORTBUS=y
|
||||||
CONFIG_PCIEAER=y
|
CONFIG_PCIEAER=y
|
||||||
@@ -71,12 +71,12 @@ index 860014b89b8e..2d4c1c699ffe 100644
|
|||||||
|
|
||||||
#ifdef CONFIG_LOONGARCH
|
#ifdef CONFIG_LOONGARCH
|
||||||
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
|
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
|
||||||
index bfd9bac37e24..7a65799dded7 100644
|
index 8d49bad7f847..7bb49afbcd5b 100644
|
||||||
--- a/drivers/pci/controller/Kconfig
|
--- a/drivers/pci/controller/Kconfig
|
||||||
+++ b/drivers/pci/controller/Kconfig
|
+++ b/drivers/pci/controller/Kconfig
|
||||||
@@ -50,6 +50,17 @@ config PCI_IXP4XX
|
@@ -21,6 +21,17 @@ config PCIE_ALTERA
|
||||||
Say Y here if you want support for the PCI host controller found
|
Say Y here if you want to enable PCIe controller support on Altera
|
||||||
in the Intel IXP4xx XScale-based network processor SoC.
|
FPGA.
|
||||||
|
|
||||||
+config PCIE_HOST_N1SDP_ECAM
|
+config PCIE_HOST_N1SDP_ECAM
|
||||||
+ bool "ARM N1SDP PCIe Controller"
|
+ bool "ARM N1SDP PCIe Controller"
|
||||||
@@ -89,9 +89,9 @@ index bfd9bac37e24..7a65799dded7 100644
|
|||||||
+ The controller is ECAM compliant, but needs a quirk to workaround
|
+ The controller is ECAM compliant, but needs a quirk to workaround
|
||||||
+ an integration issue.
|
+ an integration issue.
|
||||||
+
|
+
|
||||||
config PCI_TEGRA
|
config PCIE_ALTERA_MSI
|
||||||
bool "NVIDIA Tegra PCIe controller"
|
tristate "Altera PCIe MSI feature"
|
||||||
depends on ARCH_TEGRA || COMPILE_TEST
|
depends on PCIE_ALTERA
|
||||||
diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile
|
diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile
|
||||||
index 37c8663de7fe..08e5afcf6e86 100644
|
index 37c8663de7fe..08e5afcf6e86 100644
|
||||||
--- a/drivers/pci/controller/Makefile
|
--- a/drivers/pci/controller/Makefile
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
From b59e0d6c6035db80fc9044df0333f96ede53ad7a Mon Sep 17 00:00:00 2001
|
From 553801193c173711e9f7f6c56a44b5fac2385c1e Mon Sep 17 00:00:00 2001
|
||||||
From: Sayanta Pattanayak <sayanta.pattanayak@arm.com>
|
From: Sayanta Pattanayak <sayanta.pattanayak@arm.com>
|
||||||
Date: Wed, 9 Feb 2022 20:37:43 +0530
|
Date: Wed, 9 Feb 2022 20:37:43 +0530
|
||||||
Subject: [PATCH] n1sdp: pcie: add quirk support enabling remote chip PCIe
|
Subject: [PATCH] n1sdp: pcie: add quirk support enabling remote chip PCIe
|
||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
From ff02f77788f8c01e9d675912c063e89415804b7d Mon Sep 17 00:00:00 2001
|
From d2e55d92eefd99ede330270b00c01b734a6b61c0 Mon Sep 17 00:00:00 2001
|
||||||
From: Andre Przywara <andre.przywara@arm.com>
|
From: Andre Przywara <andre.przywara@arm.com>
|
||||||
Date: Fri, 17 May 2019 17:39:27 +0100
|
Date: Fri, 17 May 2019 17:39:27 +0100
|
||||||
Subject: [PATCH] arm64: kpti: Whitelist early Arm Neoverse N1 revisions
|
Subject: [PATCH] arm64: kpti: Whitelist early Arm Neoverse N1 revisions
|
||||||
@@ -20,10 +20,10 @@ Signed-off-by: Adam Johnston <adam.johnston@arm.com>
|
|||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
|
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
|
||||||
index b3f37e2209ad..b74210f38cd8 100644
|
index 7d7128c65161..77e109ddd981 100644
|
||||||
--- a/arch/arm64/kernel/cpufeature.c
|
--- a/arch/arm64/kernel/cpufeature.c
|
||||||
+++ b/arch/arm64/kernel/cpufeature.c
|
+++ b/arch/arm64/kernel/cpufeature.c
|
||||||
@@ -1646,6 +1646,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
|
@@ -1674,6 +1674,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
|
||||||
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER),
|
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER),
|
||||||
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
|
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
|
||||||
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER),
|
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER),
|
||||||
+16
-5
@@ -1,4 +1,4 @@
|
|||||||
From 330a620b5c73505e62a2e0accc155fbc78859cee Mon Sep 17 00:00:00 2001
|
From d59c5c17d3345f923d66fc85a7681fc6c4fd657d Mon Sep 17 00:00:00 2001
|
||||||
From: Vishnu Banavath <vishnu.banavath@arm.com>
|
From: Vishnu Banavath <vishnu.banavath@arm.com>
|
||||||
Date: Wed, 21 Sep 2022 15:54:14 +0100
|
Date: Wed, 21 Sep 2022 15:54:14 +0100
|
||||||
Subject: [PATCH] arm64: defconfig: disable config options that does not apply
|
Subject: [PATCH] arm64: defconfig: disable config options that does not apply
|
||||||
@@ -6,6 +6,8 @@ Subject: [PATCH] arm64: defconfig: disable config options that does not apply
|
|||||||
|
|
||||||
Following config options should be not set to be more accurate and
|
Following config options should be not set to be more accurate and
|
||||||
works with build system like yocto
|
works with build system like yocto
|
||||||
|
CONFIG_BT_HCIBTUSB
|
||||||
|
CONFIG_BT_HCIBTUSB_MTK
|
||||||
CONFIG_BT_HCIUART_MRVL
|
CONFIG_BT_HCIUART_MRVL
|
||||||
CONFIG_BT_MRVL
|
CONFIG_BT_MRVL
|
||||||
CONFIG_BT_MRVL_SDIO
|
CONFIG_BT_MRVL_SDIO
|
||||||
@@ -14,15 +16,24 @@ CONFIG_BT_QCOMSMD
|
|||||||
Upstream-Status: Pending [not submitted upstream yet]
|
Upstream-Status: Pending [not submitted upstream yet]
|
||||||
Signed-off-by: Adam Johnston <adam.johnston@arm.com>
|
Signed-off-by: Adam Johnston <adam.johnston@arm.com>
|
||||||
Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
|
Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
|
||||||
|
Signed-off-by: Xueliang Zhong <xueliang.zhong@arm.com>
|
||||||
---
|
---
|
||||||
arch/arm64/configs/defconfig | 8 ++++----
|
arch/arm64/configs/defconfig | 12 ++++++------
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
|
||||||
index 973aa3b4d407..61f040394a2d 100644
|
index cd73d1704dd2..958a43bd00e6 100644
|
||||||
--- a/arch/arm64/configs/defconfig
|
--- a/arch/arm64/configs/defconfig
|
||||||
+++ b/arch/arm64/configs/defconfig
|
+++ b/arch/arm64/configs/defconfig
|
||||||
@@ -198,10 +198,10 @@ CONFIG_BT_HCIUART=m
|
@@ -181,16 +181,16 @@ CONFIG_BT_HIDP=m
|
||||||
|
# CONFIG_BT_LE is not set
|
||||||
|
CONFIG_BT_LEDS=y
|
||||||
|
# CONFIG_BT_DEBUGFS is not set
|
||||||
|
-CONFIG_BT_HCIBTUSB=m
|
||||||
|
-CONFIG_BT_HCIBTUSB_MTK=y
|
||||||
|
+# CONFIG_BT_HCIBTUSB is not set
|
||||||
|
+# CONFIG_BT_HCIBTUSB_MTK is not set
|
||||||
|
CONFIG_BT_HCIUART=m
|
||||||
CONFIG_BT_HCIUART_LL=y
|
CONFIG_BT_HCIUART_LL=y
|
||||||
CONFIG_BT_HCIUART_BCM=y
|
CONFIG_BT_HCIUART_BCM=y
|
||||||
CONFIG_BT_HCIUART_QCA=y
|
CONFIG_BT_HCIUART_QCA=y
|
||||||
Reference in New Issue
Block a user