[linux-yocto][linux-yocto v6.6][PATCH 2/2] ARM: dts: axxia: fix leading 0x and 0s warning
Improve the DTS files by removing all the leading "0x" and "0s" to fix the following types of dtc warnings: arch/arm/boot/dts/intel/axm/axm55xx.dtsi:87.24-92.4: Warning (unit_address_format): /ccn@0x20: unit name should not have leading "0x" arch/arm/boot/dts/intel/axm/axm55xx.dtsi:99.20-105.4: Warning (unit_address_format): /sm0@0022: unit name should not have leading 0s Signed-off-by: Liwei Song Signed-off-by: Bruce Ashfield --- arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts | 2 +- arch/arm/boot/dts/intel/axm/axm55xx.dtsi | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts index b6f893f755f7..036ed2b007ac 100644 --- a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts +++ b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts @@ -33,7 +33,7 @@ { axxia,mdio-clk-period = <0xf0>; max-speed = <10>; - phy0: ethernet-phy@0x1e { + phy0: ethernet-phy@1e { reg = <0x1e>; }; }; diff --git a/arch/arm/boot/dts/intel/axm/axm55xx.dtsi b/arch/arm/boot/dts/intel/axm/axm55xx.dtsi index ff93d00f3261..cf4356672352 100644 --- a/arch/arm/boot/dts/intel/axm/axm55xx.dtsi +++ b/arch/arm/boot/dts/intel/axm/axm55xx.dtsi @@ -65,7 +65,7 @@ timer { <1 10 0xf08>; }; - edac: edac0@0x1000 { + edac: edac0@1000 { compatible = "axxia,edac"; reg = <0 0x0022 0 0x1000>, <0 0x000f 0 0x1000>, @@ -84,7 +84,7 @@ edac: edac0@0x1000 { status = "disabled"; }; - ccn: ccn@0x20 { + ccn: ccn@20 { compatible = "arm,ccn-504"; reg = <0x20 0x 0 0x100>; interrupts = <0 181 4>; @@ -96,7 +96,7 @@ perf_platform: perf_platform { status = "disabled"; }; - sm0: sm0@0022 { + sm0: sm0@22 { compatible = "axxia,smmon"; reg = <0 0x0022 0 0x1000>, <0x20 0x1003 0 0001000>; @@ -104,7 +104,7 @@ sm0: sm0@0022 { status = "disabled"; }; - sm1: sm1@0022 { + sm1: sm1@22 { compatible = "axxia,smmon"; reg = <0 0x000f 0 0x1000>, <0x20 0x1003 0 0001000>; @@ -112,7 +112,7 @@ sm1: sm1@0022 { status = "disabled"; }; - femac: femac@0x201012 { + femac: femac@201012 { compatible = "axxia,acp-femac"; device_type = "network"; reg = <0x20 0x1012 0 0x1000>, -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14097): https://lists.yoctoproject.org/g/linux-yocto/message/14097 Mute This Topic: https://lists.yoctoproject.org/mt/106846619/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.6][PATCH 1/2] misc/axxia-ncr.c: Use designated initializers when init struct ncr_io_fns
When kernel builds with -Werror=designated-init, there will be an error as below, include the field names in the struct when init it to fix the error. drivers/misc/axxia-ncr.c:202:9: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] Signed-off-by: Liwei Song Signed-off-by: Bruce Ashfield --- drivers/misc/axxia-ncr.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/misc/axxia-ncr.c b/drivers/misc/axxia-ncr.c index e9b61bc7f967..73fa2671d7d8 100644 --- a/drivers/misc/axxia-ncr.c +++ b/drivers/misc/axxia-ncr.c @@ -199,13 +199,13 @@ struct ncr_io_fns { }; struct ncr_io_fns ncr_io_fn_lock = { - ncr_register_read_lock, - ncr_register_write_lock + .rd = ncr_register_read_lock, + .wr = ncr_register_write_lock, }; struct ncr_io_fns ncr_io_fn_nolock = { - ncr_register_read, - ncr_register_write + .rd = ncr_register_read, + .wr = ncr_register_write, }; struct ncr_io_fns *default_io_fn; -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14096): https://lists.yoctoproject.org/g/linux-yocto/message/14096 Mute This Topic: https://lists.yoctoproject.org/mt/106846618/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.6][PATCH 0/2] two fixes for build warning for axxiaarm
Hi Bruce, These two patches is from linux-yocto-6.1, to fix two build warning for axxarm only, could you hlep merge them to below axxiaarm branches: v6.6/standard/preempt-rt/sdkv5.15/axxia v6.6/standard/sdkv5.15/axxia Thanks, Liwei. Liwei Song (2): misc/axxia-ncr.c: Use designated initializers when init struct ncr_io_fns ARM: dts: axxia: fix leading 0x and 0s warning arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts | 2 +- arch/arm/boot/dts/intel/axm/axm55xx.dtsi | 10 +- drivers/misc/axxia-ncr.c | 8 3 files changed, 10 insertions(+), 10 deletions(-) -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14095): https://lists.yoctoproject.org/g/linux-yocto/message/14095 Mute This Topic: https://lists.yoctoproject.org/mt/106846617/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][[linux-yocto v6.1]][PATCH 3/3] HSD #18019787908 crypto: intel_fcs: Reduce polling interval for GET_PROVISION_DATA
From: Teh Wen Ping commit 32fe893813e99563cac8ab49d69728d56ac66b12 from https://github.com/altera-opensource/linux-socfpga.git socfpga-6.1.68-lts. Reduce GET_PROVISION_DATA delay interval from 500m to 100m to receive response faster. Signed-off-by: Teh Wen Ping Signed-off-by: Liwei Song --- drivers/crypto/intel_fcs_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/intel_fcs_main.c b/drivers/crypto/intel_fcs_main.c index 94bee786ee51..fafc104ab2d7 100644 --- a/drivers/crypto/intel_fcs_main.c +++ b/drivers/crypto/intel_fcs_main.c @@ -732,7 +732,7 @@ static long fcs_ioctl(struct file *file, unsigned int cmd, break; } timeout--; - mdelay(500); + mdelay(100); } } else { data->com_paras.gp_data.addr = NULL; -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14058): https://lists.yoctoproject.org/g/linux-yocto/message/14058 Mute This Topic: https://lists.yoctoproject.org/mt/106736321/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][[linux-yocto v6.1]][PATCH 2/3] HSD #18015689699-2: crypto: intel_fcs: change get provision data to async SMC call
From: Siew Chin Lim commit cda742d28bc9236a17b2eb89b09e15925ba64c24 from https://github.com/altera-opensource/linux-socfpga.git socfpga-6.1.68-lts. Change INTEL_SIP_SMC_FCS_GET_PROVISION_DATA's SMC call to async from sync to avoid long runtime which may cause the watchdog timeout issue. Signed-off-by: Richard Gong Signed-off-by: Siew Chin Lim Signed-off-by: Liwei Song --- drivers/crypto/intel_fcs_main.c | 60 +++-- 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/drivers/crypto/intel_fcs_main.c b/drivers/crypto/intel_fcs_main.c index 05ca55ca1032..94bee786ee51 100644 --- a/drivers/crypto/intel_fcs_main.c +++ b/drivers/crypto/intel_fcs_main.c @@ -688,33 +688,59 @@ static long fcs_ioctl(struct file *file, unsigned int cmd, } msg->command = COMMAND_FCS_GET_PROVISION_DATA; - msg->payload = s_buf; - msg->payload_length = data->com_paras.gp_data.size; - priv->client.receive_cb = fcs_data_callback; + msg->payload = NULL; + msg->payload_length = 0; + priv->client.receive_cb = fcs_vab_callback; ret = fcs_request_service(priv, (void *)msg, FCS_REQUEST_TIMEOUT); if (!ret && !priv->status) { - if (!priv->kbuf) { - dev_err(dev, "failure on kbuf\n"); - fcs_close_services(priv, s_buf, NULL); - return -EFAULT; - } - data->com_paras.gp_data.size = priv->size; - ret = copy_to_user(data->com_paras.gp_data.addr, - priv->kbuf, priv->size); - if (ret) { - dev_err(dev, "failure on copy_to_user\n"); - fcs_close_services(priv, s_buf, NULL); - return -EFAULT; + /* to query the complete status */ + msg->arg[0] = ASYNC_POLL_SERVICE; + msg->payload = s_buf; + msg->payload_length = data->com_paras.gp_data.size; + msg->command = COMMAND_POLL_SERVICE_STATUS_ASYNC; + priv->client.receive_cb = fcs_data_callback; + + timeout = 100; + while (timeout != 0) { + ret = fcs_request_service(priv, (void *)msg, + FCS_REQUEST_TIMEOUT); + dev_dbg(dev, "request service ret=%d\n", ret); + + if (!ret && !priv->status) { + if (priv->size) { + if (!priv->kbuf) { + dev_err(dev, "failure on kbuf\n"); + fcs_close_services(priv, s_buf, NULL); + return -EFAULT; + } + + data->com_paras.gp_data.size = priv->size; + ret = copy_to_user(data->com_paras.gp_data.addr, + priv->kbuf, priv->size); + if (ret) { + dev_err(dev, "failure on copy_to_user\n"); + fcs_close_services(priv, s_buf, NULL); + return -EFAULT; + } + break; + } + } else { + data->com_paras.gp_data.addr = NULL; + data->com_paras.gp_data.size = 0; + break; + } + timeout--; + mdelay(500); } - data->status = 0; } else { data->com_paras.gp_data.addr = NULL; data->com_paras.gp_data.size = 0; - data->status = priv->status; } + data->status = priv->status; + if (copy_to_user((void __user *)arg, data, sizeof(*data))) { dev_err(dev, "failure on copy_to_user\n"); fcs_close_services(priv, s_buf, NULL); -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply
[linux-yocto][linux-yocto v6.1][PATCH 0/3] SDK patch t fix "kernel NULL pointer dereference" on Agilex board
Hi Bruce, Could you help merge these patches to below branches? This will fix a "NULL pointer dereference" issue when run fcs_client cmd on Agilex board. v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga Thanks, Liwei. Liwei Song (1): Revert "HSD #18019787908 crypto: intel_fcs: Reduce polling interval for GET_PROVISION_DATA" Siew Chin Lim (1): HSD #18015689699-2: crypto: intel_fcs: change get provision data to async SMC call Teh Wen Ping (1): HSD #18019787908 crypto: intel_fcs: Reduce polling interval for GET_PROVISION_DATA drivers/crypto/intel_fcs_main.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14055): https://lists.yoctoproject.org/g/linux-yocto/message/14055 Mute This Topic: https://lists.yoctoproject.org/mt/106736317/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.1][PATCH 1/3] Revert "HSD #18019787908 crypto: intel_fcs: Reduce polling interval for GET_PROVISION_DATA"
Revert this patch, since it is a wrong fix that is already removed from SDK, a new patch will be added to fix the issue which this patch aimed at. This reverts commit 584b14aae9213da2e06186718d655ba81e5b3c78. Signed-off-by: Liwei Song --- drivers/crypto/intel_fcs_main.c | 42 - 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/drivers/crypto/intel_fcs_main.c b/drivers/crypto/intel_fcs_main.c index 7312c54e829a..05ca55ca1032 100644 --- a/drivers/crypto/intel_fcs_main.c +++ b/drivers/crypto/intel_fcs_main.c @@ -695,44 +695,10 @@ static long fcs_ioctl(struct file *file, unsigned int cmd, ret = fcs_request_service(priv, (void *)msg, FCS_REQUEST_TIMEOUT); if (!ret && !priv->status) { - /* to query the complete status */ - msg->arg[0] = ASYNC_POLL_SERVICE; - msg->payload = s_buf; - msg->payload_length = data->com_paras.gp_data.size; - msg->command = COMMAND_POLL_SERVICE_STATUS_ASYNC; - priv->client.receive_cb = fcs_data_callback; - - timeout = 100; - while (timeout != 0) { - ret = fcs_request_service(priv, (void *)msg, - FCS_REQUEST_TIMEOUT); - dev_dbg(dev, "request service ret=%d\n", ret); - - if (!ret && !priv->status) { - if (priv->size) { - if (!priv->kbuf) { - dev_err(dev, "failure on kbuf\n"); - fcs_close_services(priv, s_buf, NULL); - return -EFAULT; - } - - data->com_paras.gp_data.size = priv->size; - ret = copy_to_user(data->com_paras.gp_data.addr, - priv->kbuf, priv->size); - if (ret) { - dev_err(dev, "failure on copy_to_user\n"); - fcs_close_services(priv, s_buf, NULL); - return -EFAULT; - } - break; - } - } else { - data->com_paras.gp_data.addr = NULL; - data->com_paras.gp_data.size = 0; - break; - } - timeout--; - mdelay(500); + if (!priv->kbuf) { + dev_err(dev, "failure on kbuf\n"); + fcs_close_services(priv, s_buf, NULL); + return -EFAULT; } data->com_paras.gp_data.size = priv->size; ret = copy_to_user(data->com_paras.gp_data.addr, -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14056): https://lists.yoctoproject.org/g/linux-yocto/message/14056 Mute This Topic: https://lists.yoctoproject.org/mt/106736318/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.6][v6.6/standard/sdkv5.15/axxia && v6.6/standard/preempt-rt/sdkv5.15/axxia][PATCH 1/1] arm: dts: axxia: drop temp configs from i2c node
These i2c temp sensors were probed in the SPD case since upstream commit 4d5ace787273 ("eeprom: at24: Probe for DDR3 thermal sensor in the SPD case"), if they are still kept in class-based I2C probing routin, it will cause these client being detected two times, and a busy error status will return as below, so remove them from dts. i2c i2c-1: Failed to register i2c client jc42 at 0x18 (-16) i2c i2c-1: Failed to register i2c client jc42 at 0x1a (-16) Signed-off-by: Liwei Song --- v6.6/standard/sdkv5.15/axxia v6.6/standard/preempt-rt/sdkv5.15/axxia arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts | 10 -- arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts | 10 -- arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts | 10 -- 3 files changed, 30 deletions(-) diff --git a/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts b/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts index 9845b0e8659d..d3fc20bc378f 100644 --- a/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts +++ b/arch/arm/boot/dts/intel/axm/axm5508-amarillo.dts @@ -160,16 +160,6 @@ adt7467@2e { reg = <0x2e>; }; - temp@18 { - compatible = "jedec,jc-42.4-temp"; - reg = <0x18>; - }; - - temp@1a { - compatible = "jedec,jc-42.4-temp"; - reg = <0x1a>; - }; - spd@50 { compatible = "spd"; reg = <0x50>; diff --git a/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts b/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts index c7feca4099b9..19e7b0a1a23c 100644 --- a/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts +++ b/arch/arm/boot/dts/intel/axm/axm5512-amarillo.dts @@ -160,16 +160,6 @@ adt7467@2e { reg = <0x2e>; }; - temp@18 { - compatible = "jedec,jc-42.4-temp"; - reg = <0x18>; - }; - - temp@1a { - compatible = "jedec,jc-42.4-temp"; - reg = <0x1a>; - }; - spd@50 { compatible = "spd"; reg = <0x50>; diff --git a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts index 8572efaace2c..b6f893f755f7 100644 --- a/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts +++ b/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts @@ -174,16 +174,6 @@ adt7467@2e { reg = <0x2e>; }; - temp@18 { - compatible = "jedec,jc-42.4-temp"; - reg = <0x18>; - }; - - temp@1a { - compatible = "jedec,jc-42.4-temp"; - reg = <0x1a>; - }; - spd@50 { compatible = "spd"; reg = <0x50>; -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14037): https://lists.yoctoproject.org/g/linux-yocto/message/14037 Mute This Topic: https://lists.yoctoproject.org/mt/106653585/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][yocto-kernel-cache][yocto-6.6][PATCH 1/1] axxiaarm/axxiaarm64: enable axxiaarm and axxiaarm64 in 6.6 kernel
This patch is to enable axxiaarm and axxiaarm64 support in 6.6 kernel to support board AXM55XX and AXM56XX. Signed-off-by: Liwei Song --- bsp/axxiaarm/axxia-common.cfg| 98 + bsp/axxiaarm/axxiaarm-preempt-rt.scc | 7 ++ bsp/axxiaarm/axxiaarm-standard.scc | 7 ++ bsp/axxiaarm/axxiaarm.cfg| 107 +++ bsp/axxiaarm/axxiaarm.scc| 12 +++ bsp/axxiaarm/edac.cfg| 17 bsp/axxiaarm/edac.scc| 4 + bsp/axxiaarm/rapidio.cfg | 26 ++ bsp/axxiaarm/rapidio.scc | 4 + bsp/axxiaarm64/axxiaarm64-preempt-rt.scc | 7 ++ bsp/axxiaarm64/axxiaarm64-standard.scc | 7 ++ bsp/axxiaarm64/axxiaarm64.cfg| 83 ++ bsp/axxiaarm64/axxiaarm64.scc| 10 +++ bsp/axxiaarm64/edac.cfg | 18 bsp/axxiaarm64/edac.scc | 4 + 15 files changed, 411 insertions(+) create mode 100644 bsp/axxiaarm/axxia-common.cfg create mode 100644 bsp/axxiaarm/axxiaarm-preempt-rt.scc create mode 100644 bsp/axxiaarm/axxiaarm-standard.scc create mode 100644 bsp/axxiaarm/axxiaarm.cfg create mode 100644 bsp/axxiaarm/axxiaarm.scc create mode 100644 bsp/axxiaarm/edac.cfg create mode 100644 bsp/axxiaarm/edac.scc create mode 100644 bsp/axxiaarm/rapidio.cfg create mode 100644 bsp/axxiaarm/rapidio.scc create mode 100644 bsp/axxiaarm64/axxiaarm64-preempt-rt.scc create mode 100644 bsp/axxiaarm64/axxiaarm64-standard.scc create mode 100644 bsp/axxiaarm64/axxiaarm64.cfg create mode 100644 bsp/axxiaarm64/axxiaarm64.scc create mode 100644 bsp/axxiaarm64/edac.cfg create mode 100644 bsp/axxiaarm64/edac.scc diff --git a/bsp/axxiaarm/axxia-common.cfg b/bsp/axxiaarm/axxia-common.cfg new file mode 100644 index ..8d311914a36e --- /dev/null +++ b/bsp/axxiaarm/axxia-common.cfg @@ -0,0 +1,98 @@ +CONFIG_ARCH_AXXIA=y +CONFIG_PHYS_ADDR_T_64BIT=y +CONFIG_ARCH_DMA_ADDR_T_64BIT=y +CONFIG_ARM_ARCH_TIMER=y +CONFIG_PROFILING=y + +# +# Bus support +# +CONFIG_ARM_AMBA=y +CONFIG_PCI=y +CONFIG_PCI_DOMAINS=y +CONFIG_PCI_SYSCALL=y +CONFIG_PCI_MSI=y + + +CONFIG_MTD=y +CONFIG_MTD_OF_PARTS=y +# +# Self-contained MTD device drivers +# +CONFIG_MTD_SPI_NOR=y + +# +# Generic Driver Options +# +CONFIG_FW_LOADER=y +CONFIG_REGMAP=y +CONFIG_REGMAP_MMIO=y + + +# +# Misc devices +# +CONFIG_AXXIA_MTC=y +CONFIG_ARCH_AXXIA_NCR_RESET_CHECK=y +CONFIG_AXXIA_NCR=y +CONFIG_AXXIA_FAULT=y +CONFIG_AXXIA_MDIO=y + +# +# Non-8250 serial port support +# +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_AXXIA=y +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_AXXIA=y + +CONFIG_SPI=y +CONFIG_SPI_PL022=y +CONFIG_SPI_SPIDEV=y + +CONFIG_ATA=y +# +# Hardware I/O ports +# +CONFIG_SERIO_AMBAKMI=y + +# +# EEPROM support +# +CONFIG_EEPROM_AT24=y + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC=y +CONFIG_MMC_ARMMMCI=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SPI=y + +# +# DMA Devices +# +CONFIG_DMADEVICES=y +CONFIG_AXXIA_DMA=y + +# +# Multifunction device drivers +# +CONFIG_MFD_SYSCON=y + +# +# Memory mapped GPIO drivers: +# +CONFIG_GPIOLIB=y +CONFIG_GPIO_AXXIA=y +CONFIG_GPIO_GENERIC_PLATFORM=y + +# +# Sensors +# +CONFIG_SENSORS_ADT7475=y diff --git a/bsp/axxiaarm/axxiaarm-preempt-rt.scc b/bsp/axxiaarm/axxiaarm-preempt-rt.scc new file mode 100644 index ..642936478445 --- /dev/null +++ b/bsp/axxiaarm/axxiaarm-preempt-rt.scc @@ -0,0 +1,7 @@ +define KMACHINE axxiaarm +define KTYPE preempt-rt +define KARCH arm + +include ktypes/preempt-rt + +include axxiaarm.scc diff --git a/bsp/axxiaarm/axxiaarm-standard.scc b/bsp/axxiaarm/axxiaarm-standard.scc new file mode 100644 index ..a18c4eb78881 --- /dev/null +++ b/bsp/axxiaarm/axxiaarm-standard.scc @@ -0,0 +1,7 @@ +define KMACHINE axxiaarm +define KTYPE standard +define KARCH arm + +include ktypes/standard + +include axxiaarm.scc diff --git a/bsp/axxiaarm/axxiaarm.cfg b/bsp/axxiaarm/axxiaarm.cfg new file mode 100644 index ..cfdb9eda5ad3 --- /dev/null +++ b/bsp/axxiaarm/axxiaarm.cfg @@ -0,0 +1,107 @@ +#. +#WARNING +# +# This file is a kernel configuration fragment, and not a full kernel +# configuration file. The final kernel configuration is made up of +# an assembly of processed fragments, each of which is designed to +# capture a specific part of the final configuration (e.g. platform +# configuration, feature configuration, and board specific hardware +# configuration). For more information on kernel configuration, please +# consult the product documentation. +# +#. + +# +# Axxia platform type +# +CONFIG_ARCH_AXXIA_GIC=y +CONFIG_ARCH_AXXIA_DT=y +CONFIG_ARM_TIMER_SP804=y + +# +# Processor Features +#
[linux-yocto][linux-yocto v6.6][PATCH 0/1] Enable support for AXM55/56XX
Hi Bruce, This pull is to enable support for board AXM55XX/56XX, Since SDK already stop to update, all these patches are from linux-yocto-6.1. There are 2 parts, kernel-cache patch and kernel patches aim at kernel-cache "yocto-6.6" branch and linux-yocto-6.6 Could you help create branches as below and merge these patches v6.6/standard/sdkv5.15/axxia v6.6/standard/preempt-rt/sdkv5.15/axxia Thanks, Liwei. The following changes since commit 9576b5b9f8e3c78e6c315f475def18e5c29e475a: Merge tag 'v6.6.32' into v6.6/standard/base (2024-05-28 13:31:12 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git pull-axxia-20240712 for you to fetch changes up to b275f7838d2d5367728a204e89ea3eb0301e591f: drivers/power: Update the Axxia Reset Code (2024-06-12 09:09:42 +) Charlie Paul (6): genirq/cpuhotplug: axxia: Enable the force flag ARM: dts: axxia: Updated SPI and UART to support DMA usb: dwc3: axxia: Add support the core clocks spi: pl022: Add enable-dma processing net: Use standard MDIO interface for AXXIA FEMAC Driver net: ethernet: Add ethtool Stats to NEMAC driver Daniel Dragomir (3): ARM: smp: handle "pen_release" removal ARM: mmc: Remove unsupported pdata GPIO numbers axxia-mtc: Export MTC ioctl interface to UAPI David Mercado (1): genirq: axxia: Fix irq_set_affinity to allow use with buslocks Fredrik Gustavsson (1): axxia: Fixed Kconfig dependencies betwen PCIe, PEI and NCR Fredrik Markstrom (2): ARM: axxia: Make the dma-zone the full 4G ARM: axxia: Enabled ddr retention on all axm5516 John Jacques (53): ARM: Enhance platform support for Intel Axxia AXM55xx ARM: dts: Add Axxia AXM55xx device tree files ARM: head.S: axxia: Set the NS bit since memory is non-secure ARM: kmap: axxia: Prevent overlap for 16th core ARM64: dts: Add Axxia X9/AXM56xx and XLF/AXC67xx device tree files clk: Change Clock Definitions for Axxia AXM55xx dt-bindings: clock: remove deprecated LSI AXM5516 clock bindings char: hwrng: Add Axxia HW Random number generator dmaengine: Add Axxia DMA32 driver support edac: Add Axxia Error Detection & Correction support gpio: Add custom driver for Axxia SoCs gpio: pl061: Readd removed platform data misc: Add drivers for Axxia MISC devices misc: Add a backward compatibility layer for Axxia MTC rapidio: Add support for Axxia AXM55xx and AXM56xx power: reset: Add support for Axxia DDR Retention reset usb: xhci: Add CI13612A USB driver for Axxia AXM55xx usb: dwc3: Add Axxia xHCI DWC3 USB support usb: hub: fix over-current race condition mtd: spi-nor: add support for Spansion S25FL016K net: ethernet: Add Intel Axxia FEMAC driver net: ethernet: Add Intel Axxia NEMAC GigE driver i2c: axxia: Use BIT(x) macro and fix indentation issues tty: serial: pl011: Updated Baud Rate Calcualtion pmu: Fix Compiler Warnings dt-bindings: axxia: update documentation and convert to yaml ARM64: dts: Add Reference to the L2 Cache in CPU Descriptions net: Pad SKBs Properly in the AXXIA FEMAC Driver net: Use eth_spb_pad() in the AXXIA NEMAC Driver net: Set Min/Max MTU for AXXIA 5500 FEMAC Driver net: Set Min/Max MTU for AXXIA 5600/6700 NEMAC Driver power: reset: Update Axxia DDR Retention Handling misc: axxia: Use the new ARM SMC Call Interface misc: axxia: Update OEM Handling for backwards compatibility i2c: axxia: Add a Lock Around i2c Transfers i2c: axxia: Allow Interrupted Transfers i2c: axxia: Change the I2C Timeout misc: Add a Lock to the Axxia MDIO Bus arm: perf: add Cortex-A15 PMU in armv7_pmu_probe_table net: ethernet: Clean Up Intel Axxia FEMAC driver usb: xhci: Add HCD_DMA flag to CI13612A USB driver drivers/watchdog: Check Return Value arm-ccn: Check Return Values net: Clean Up PHY Handling in Axxia FEMAC net: Add Padding for Alignment in Axxia FEMAC net: Associate the SKB with the Driver Axxia ACP net: Add Tracepoints to the Axxia FEMAC Driver ARM: head.S: axxia: Fix Rebase Error net: Handle Error in Axxia FEMAC net: Add support for "promiscous mode" to Axxia FEMAC ARM: head.S: axxia: Allow more granularity in the starting offset drivers/misc: Correct Variable Use in axxia-ncr.c drivers/power: Update the Axxia Reset Code Liwei Song (3): Revert "ARM: 9060/1: kexec: Remove unused kexec_reinit callback" axxia: use udelay instead of usleep in cpuhotplug routine arm-ccn: use platform_get_irq to get IRQ Marek Bykowski (6): firmware: arch64: Add SMC call testing module perf: arm-ccn: Allow instrumentation of arm-ccn ARM64: dts: axxia: Support CCN (cache coherent
[linux-yocto][linux-yocto-6.1][v6.1/standard/intel-sdk-6.1/intel-socfpga && v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 1/1] usb: dwc2: Add support to get usb speed from dtb
This change will get "maximum-speed" from dtb if exist and set USB speed accordingly for Agilex and Stratix10 platform. Signed-off-by: Liwei Song --- drivers/usb/dwc2/params.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index 8eab5f38b110..37e367154713 100644 --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -96,9 +96,13 @@ static void dwc2_set_s3c6400_params(struct dwc2_hsotg *hsotg) static void dwc2_set_socfpga_agilex_params(struct dwc2_hsotg *hsotg) { struct dwc2_core_params *p = >params; + u32 max_speed; p->power_down = DWC2_POWER_DOWN_PARAM_NONE; p->no_clock_gating = true; + max_speed = usb_get_maximum_speed(hsotg->dev); + if (max_speed) + p->speed = max_speed; } static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg) -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13895): https://lists.yoctoproject.org/g/linux-yocto/message/13895 Mute This Topic: https://lists.yoctoproject.org/mt/105956886/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto-5.15][PATCH 0/2] revert two patches to avoid import new issue
Hi Bruce, Could you help merge these two patches to below branches? Revert them is because SDK already have better fix, and is already applied to linux-yocto. v5.15/standard/intel-sdk-5.15/intel-socfpga v5.15/standard/preempt-rt/intel-sdk-5.15/intel-socfpga Thanks, Liwei. Liwei Song (2): Revert "firmware: stratix10-svc: release mutex sdm_lock after processing command" Revert "intel: fcs: release mutex lock in failing path" drivers/crypto/intel_fcs_main.c | 4 +--- drivers/firmware/stratix10-svc.c | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13771): https://lists.yoctoproject.org/g/linux-yocto/message/13771 Mute This Topic: https://lists.yoctoproject.org/mt/105302921/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto-5.15][PATCH 2/2] Revert "intel: fcs: release mutex lock in failing path"
This reverts commit bf6d52f542b0a028c9a4c5994927f24994686bac. The issue is already fixed by another SDK patch 7d97a731ceb5 ("HSD #16013024105: fpga: stratix10-soc: stop kernel thread"), Revert this one to avoid "fcs_clent -G" run failed with error: "svc_normal_to_secure_thread: STATUS_ERROR" Signed-off-by: Liwei Song --- drivers/crypto/intel_fcs_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/crypto/intel_fcs_main.c b/drivers/crypto/intel_fcs_main.c index 759db2a7204d..4df66c73273b 100644 --- a/drivers/crypto/intel_fcs_main.c +++ b/drivers/crypto/intel_fcs_main.c @@ -338,10 +338,8 @@ static int fcs_request_service(struct intel_fcs_priv *priv, reinit_completion(>completion); ret = stratix10_svc_send(priv->chan, p_msg); - if (ret) { - mutex_unlock(>lock); + if (ret) return -EINVAL; - } ret = wait_for_completion_timeout(>completion, timeout); -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13770): https://lists.yoctoproject.org/g/linux-yocto/message/13770 Mute This Topic: https://lists.yoctoproject.org/mt/105302920/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto-5.15][PATCH 1/2] Revert "firmware: stratix10-svc: release mutex sdm_lock after processing command"
This reverts commit 239adc5d99d3a47b25962d18ee68ee87d2e150df. The issue is already fixed by another SDK patch 7d97a731ceb5 ("HSD #16013024105: fpga: stratix10-soc: stop kernel thread"), Revert this one to avoid "fcs_clent -G" run failed with error: "svc_normal_to_secure_thread: STATUS_ERROR" Signed-off-by: Liwei Song --- drivers/firmware/stratix10-svc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c index e52929517470..aaa8dd700f82 100644 --- a/drivers/firmware/stratix10-svc.c +++ b/drivers/firmware/stratix10-svc.c @@ -1272,8 +1272,6 @@ static int svc_normal_to_secure_thread(void *data) break; } - mutex_unlock(ctrl->sdm_lock); - sdm_lock_owned = false; } pr_debug("%s: %s: Exit thread\n", __func__, chan->name); if (sdm_lock_owned == true) -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13769): https://lists.yoctoproject.org/g/linux-yocto/message/13769 Mute This Topic: https://lists.yoctoproject.org/mt/105302919/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.1] update socfpga to SDK version socfpga-6.1.55-lts
Hi Bruce, This pull is uesed to update socfpga to SDK version socfpga-6.1.55-lts, Could you help merge these patches to below branches: v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga Thanks, Liwei. The following changes since commit db7fc7d08272a50cbae490c0bd6e890dbd23c45c: Merge branch 'v6.1/standard/base' into v6.1/standard/intel-sdk-6.1/intel-socfpga (2024-03-28 13:29:29 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git pull-socfpga-240304 for you to fetch changes up to 02cda76a83f2a3e30f77e039e3ce63d57090a16f: arm64: dts: socfpga_agilex.dtsi: remove disable status from fcs for Agilex board (2024-04-03 10:10:53 +0800) Adrian Ng Ho Yin (20): HSD #15013623051: crypto: intel_fcs: Fix Unused Variable Issue HSD #15013665788: hwmon: fix integer overflow HSD #18030428333:dts: Update USB31 max speed HSD #15013743257:dts: Update USB31 to comply to dt bindings HSD #15013743257: dt-bindings: usb: add binding for Intel agilex5 controller HSD #15013743257:dt-bindings: usb:rename agilex5 dwc3 binding HSD #18031811919: arm64: dts: Add otg-rev property HSD #14015549956: dt-bindings: mmc: sdhci: Add Intel Agilex5 compatible string HSD #14015549956: mmc: sdhci-cadence: Add compatible string and quirk for Agilex5 HSD #14015549956: mmc: sdhci: Add 40-bit DMA mask quirk HSD #14015549956 dt-bindings: usb: snps,dwc3: Add 'snps,dma_set_40_bit_mask_quirk' quirk HSD #14015549956: USB: dwc3: Add 40 bit dma bit-mask quirk HSD #14015549956: dt-bindings: dma:dw-axi-dmac: Add 40bits dma bit-mask quirk HSD #14015549956: dmaengine: dw-axi-dmac: Add dma-40-bit-mask quirk to support SMMU on Agilex5 HSD #14015549956: arm64: dts: agilex5: Add SMMU node HSD #14015549956: arm64: dts: agilex5: Add SMMU node and quirks for peripherals to support SMMU HSD #18031811979: usb: dwc2: Add handling for SetFeature b_hnp_enable HSD#15014517890: firmware: stratix10-svc: Fix segmentation fault during rmmod operation HSD#14015549956: firmware: stratix10-svc: Enable usage of SMMU for SVC driver HSD#15014543910: firmware:stratix10-svc: Fix Coverity warnings Ang Tien Sung (1): HSD #15014165241: fpga: altera-cvp: agilex5 support Austin Zhang (4): Revert "HSD #18022323310: spi: cadence-quadspi: Disable irqs during indirect reads" HSD #14018622405: crypto: intel_fcs: Add notification of HWRNG support on Agilex devices HSD #22017943621: crypto: intel_fcs: Add matched mutex release HSD #15014339624: crypto: intel_fcs: Matched missed mutex release and resource release Boon Khai Ng (1): HSD #15014196997: arm64: dts: Add xgmac support for Agilex5. Dinh Nguyen (6): HSD #15013542017: fix build for intel_fpga_qse_ll_main HSD #14018622405-1: add "intel,n5x-soc-fcs" dts binding for N5X HSD #14018622405-2: add platform specific data for different platforms HSD 14019646348-1: add the correct dts binding for Stratix10 FCS HSD 14019646348-2: add error checking when getting "platform" HSD 14019646348-3: add the proper cleanup for errors during probe Durga Surya Rajesh Aki (2): HSD #15013287484 crypto:intel_fcs: Register the HWRNG device after SMMU is initialized. HSD-15012124940: Enhanced return codes of INTEL_FCS_DEV_SEND_CERTIFICATE to differentiate between non-provisioned device and authentication fail G Thomas, Rohan (3): HSD #16020791023: net: stmmac: Set MII_XGMAC_C22P_MASK bitmask end bit position as 31 HSD #16020988342: net: stmmac: xgmac: Add FPE link partner hand-shaking support HSD #16020988342: net: stmmac: xgmac: Configure FPE preempt settings Joyce Ooi (1): HSD#1509832443: net: eth: altera: fix build errors for QSE drivers Kah Jing Lee (6): HSD #15013345463: arch: arm64: dts: Added the rsu-handle for Uboot to retrieve qspi_boot HSD #15013667680: drivers: firmware: stratix10-rsu: Fix max_retry counter value HSD# 18022969776: firmware: stratix10-rsu: prevent io block when sending RSU messages HSD #16019264140: mmc: sdhci-cadence: agilex5: Remove the debug log HSD#14017166971: arch: arm64: boot: dts: agilex5: Updated QSPI Flash layout for UBIFS HSD #14020037621: arm64: dts: n5x: Add missing rsu-handle for N5X LCSwee (5): HSD #15013478346: arm: configs: enable clocksource for a10 (#73) HSD #15013478346: arch: arm: mach-socfpga: config: enable arm clocksource (#81) HSD #14019448981: net: ethernet: altera: support phy_handle in mdio (#219) HSD #14019448981: net: ethernet: altera: set correct pcs base address (#220) HSD #15013714814: ethernet: altera: fix coverity issue (#160) Liwei Song (3): Revert "firmware: stratix10-svc: release mutex sdm_lock after
[linux-yocto][yocto-kernel-cache][master && yocto-6.1][PATCH 2/2] intel-snd-sof.cfg: kernel configurations for Intel SOF Soundwire driver
This will enable kernel options for Intel Sound Open Firmware support, only fewer Intel platforms use Soundwire audio by default, but when SOF enabled, this will replace HD audio driver which most of Intel boards used. So we need enable it carefully only for some specific boards. Signed-off-by: Liwei Song --- features/sound/intel-snd-sof.cfg | 12 features/sound/intel-snd-sof.scc | 4 2 files changed, 16 insertions(+) create mode 100644 features/sound/intel-snd-sof.cfg create mode 100644 features/sound/intel-snd-sof.scc diff --git a/features/sound/intel-snd-sof.cfg b/features/sound/intel-snd-sof.cfg new file mode 100644 index ..5efcd0c826c3 --- /dev/null +++ b/features/sound/intel-snd-sof.cfg @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: MIT +CONFIG_SOUNDWIRE=m +CONFIG_SND_SOC=m +CONFIG_SND_SOC_SOF_TOPLEVEL=y +CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y +CONFIG_SND_SOC_SOF_PCI=m +CONFIG_SND_SOC_SOF_ALDERLAKE=m +CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m +CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y +CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m +CONFIG_SND_SOC_SOF_HDA_LINK=y +CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y diff --git a/features/sound/intel-snd-sof.scc b/features/sound/intel-snd-sof.scc new file mode 100644 index ..856329300c48 --- /dev/null +++ b/features/sound/intel-snd-sof.scc @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: MIT +define KFEATURE_DESCRIPTION "Enable Intel Sound Open Firmware(SOF) support for Intel audio DSPs" + +kconf hardware intel-snd-sof.cfg -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13609): https://lists.yoctoproject.org/g/linux-yocto/message/13609 Mute This Topic: https://lists.yoctoproject.org/mt/104578499/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][yocto-kernel-cache][master && yocto-6.1][PATCH 1/2] intel-x86: correct KARCH option for intel-x86 bsp
Adjust KARCH to x86_64 and i386 accordingly to avoid condition check failed in some scc files like features/thermal/coretemp.scc This will ensure some kernel options be correcly set for intel-x86 bsp. Signed-off-by: Liwei Song --- bsp/intel-x86/intel-x86-32-preempt-rt.scc | 2 +- bsp/intel-x86/intel-x86-32-standard.scc | 2 +- bsp/intel-x86/intel-x86-32-tiny.scc | 2 +- bsp/intel-x86/intel-x86-64-preempt-rt.scc | 2 +- bsp/intel-x86/intel-x86-64-standard.scc | 2 +- bsp/intel-x86/intel-x86-64-tiny.scc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bsp/intel-x86/intel-x86-32-preempt-rt.scc b/bsp/intel-x86/intel-x86-32-preempt-rt.scc index 1f21f316f088..34f76ad7b5e4 100644 --- a/bsp/intel-x86/intel-x86-32-preempt-rt.scc +++ b/bsp/intel-x86/intel-x86-32-preempt-rt.scc @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT define KMACHINE intel-x86-32 define KTYPE preempt-rt -define KARCH x86 +define KARCH i386 include ktypes/preempt-rt branch x86 diff --git a/bsp/intel-x86/intel-x86-32-standard.scc b/bsp/intel-x86/intel-x86-32-standard.scc index 472b070c7420..4b038ac073f1 100644 --- a/bsp/intel-x86/intel-x86-32-standard.scc +++ b/bsp/intel-x86/intel-x86-32-standard.scc @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT define KMACHINE intel-x86-32 define KTYPE standard -define KARCH x86 +define KARCH i386 include ktypes/standard branch x86 diff --git a/bsp/intel-x86/intel-x86-32-tiny.scc b/bsp/intel-x86/intel-x86-32-tiny.scc index 58b1c75c083e..2263c27f40b1 100644 --- a/bsp/intel-x86/intel-x86-32-tiny.scc +++ b/bsp/intel-x86/intel-x86-32-tiny.scc @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT define KMACHINE intel-x86-32 define KTYPE tiny -define KARCH x86 +define KARCH i386 include ktypes/tiny/tiny.scc branch x86 diff --git a/bsp/intel-x86/intel-x86-64-preempt-rt.scc b/bsp/intel-x86/intel-x86-64-preempt-rt.scc index 197b50645627..63d517ec19d1 100644 --- a/bsp/intel-x86/intel-x86-64-preempt-rt.scc +++ b/bsp/intel-x86/intel-x86-64-preempt-rt.scc @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT define KMACHINE intel-x86-64 define KTYPE preempt-rt -define KARCH x86 +define KARCH x86_64 include ktypes/preempt-rt diff --git a/bsp/intel-x86/intel-x86-64-standard.scc b/bsp/intel-x86/intel-x86-64-standard.scc index c366dab34399..ba29fa80238c 100644 --- a/bsp/intel-x86/intel-x86-64-standard.scc +++ b/bsp/intel-x86/intel-x86-64-standard.scc @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT define KMACHINE intel-x86-64 define KTYPE standard -define KARCH x86 +define KARCH x86_64 include ktypes/standard include features/transparent-hugepage/transparent-hugepage.scc diff --git a/bsp/intel-x86/intel-x86-64-tiny.scc b/bsp/intel-x86/intel-x86-64-tiny.scc index 798c4a1fdea6..5eaa689cb44a 100644 --- a/bsp/intel-x86/intel-x86-64-tiny.scc +++ b/bsp/intel-x86/intel-x86-64-tiny.scc @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MIT define KMACHINE intel-x86-64 define KTYPE tiny -define KARCH x86 +define KARCH x86_64 include ktypes/tiny/tiny.scc -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13608): https://lists.yoctoproject.org/g/linux-yocto/message/13608 Mute This Topic: https://lists.yoctoproject.org/mt/104578498/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][v5.15/standard/intel-sdk-5.15/intel-socfpga && v5.15/standard/preempt-rt/intel-sdk-5.15/intel-socfpga][PATCH 1/1] arch: arm64: dts: improve the overlay used to updating FPGA image
From: Meng Li - remove unnecessary #address-cells and #size-cells property - correct #address-cells and #size-cells property Signed-off-by: Meng Li Signed-off-by: Bruce Ashfield Signed-off-by: Liwei Song --- .../arm64/boot/dts/altera/socfpga_stratix10_fpga_update.dts | 6 ++ arch/arm64/boot/dts/intel/socfpga_agilex_fpga_update.dts| 6 ++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_fpga_update.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_fpga_update.dts index c7811cc92091..a224909a4834 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_fpga_update.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_fpga_update.dts @@ -3,11 +3,9 @@ / { fragment@0 { target-path = "/soc/base_fpga_region"; - #address-cells = <1>; - #size-cells = <1>; __overlay__ { - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <2>; firmware-name = "soc_s10_fpga_config.rbf"; config-complete-timeout-us = <200>; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_fpga_update.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_fpga_update.dts index 5383e02bfc35..2e91eddc50ec 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_fpga_update.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_fpga_update.dts @@ -3,11 +3,9 @@ / { fragment@0 { target-path = "/soc/base_fpga_region"; - #address-cells = <1>; - #size-cells = <1>; __overlay__ { - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <2>; firmware-name = "soc_agilex_fpga_config.rbf"; config-complete-timeout-us = <200>; -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13438): https://lists.yoctoproject.org/g/linux-yocto/message/13438 Mute This Topic: https://lists.yoctoproject.org/mt/103356998/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][v6.1/standard/sdkv5.10/axxia && v6.1/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/1] ARM: dts: axxia: fix leading 0x and 0s warning
Improve the DTS files by removing all the leading "0x" and "0s" to fix the following types of dtc warnings: arch/arm/boot/dts/axm55xx.dtsi:87.24-92.4: Warning (unit_address_format): /ccn@0x20: unit name should not have leading "0x" arch/arm/boot/dts/axm55xx.dtsi:99.20-105.4: Warning (unit_address_format): /sm0@0022: unit name should not have leading 0s Signed-off-by: Liwei Song --- arch/arm/boot/dts/axm5516-amarillo.dts | 2 +- arch/arm/boot/dts/axm55xx.dtsi | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/axm5516-amarillo.dts b/arch/arm/boot/dts/axm5516-amarillo.dts index 8572efaace2c..5bbab36c0532 100644 --- a/arch/arm/boot/dts/axm5516-amarillo.dts +++ b/arch/arm/boot/dts/axm5516-amarillo.dts @@ -33,7 +33,7 @@ { axxia,mdio-clk-period = <0xf0>; max-speed = <10>; - phy0: ethernet-phy@0x1e { + phy0: ethernet-phy@1e { reg = <0x1e>; }; }; diff --git a/arch/arm/boot/dts/axm55xx.dtsi b/arch/arm/boot/dts/axm55xx.dtsi index b56b6cc9d45a..45761ff508ab 100644 --- a/arch/arm/boot/dts/axm55xx.dtsi +++ b/arch/arm/boot/dts/axm55xx.dtsi @@ -65,7 +65,7 @@ timer { <1 10 0xf08>; }; - edac: edac0@0x1000 { + edac: edac0@1000 { compatible = "axxia,edac"; reg = <0 0x0022 0 0x1000>, <0 0x000f 0 0x1000>, @@ -84,7 +84,7 @@ edac: edac0@0x1000 { status = "disabled"; }; - ccn: ccn@0x20 { + ccn: ccn@20 { compatible = "arm,ccn-504"; reg = <0x20 0x 0 0x100>; interrupts = <0 181 4>; @@ -96,7 +96,7 @@ perf_platform: perf_platform { status = "disabled"; }; - sm0: sm0@0022 { + sm0: sm0@22 { compatible = "axxia,smmon"; reg = <0 0x0022 0 0x1000>, <0x20 0x1003 0 0001000>; @@ -104,7 +104,7 @@ sm0: sm0@0022 { status = "disabled"; }; - sm1: sm1@0022 { + sm1: sm1@22 { compatible = "axxia,smmon"; reg = <0 0x000f 0 0x1000>, <0x20 0x1003 0 0001000>; @@ -112,7 +112,7 @@ sm1: sm1@0022 { status = "disabled"; }; - femac: femac@0x201012 { + femac: femac@201012 { compatible = "axxia,acp-femac"; device_type = "network"; reg = <0x20 0x1012 0 0x1000>, -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13286): https://lists.yoctoproject.org/g/linux-yocto/message/13286 Mute This Topic: https://lists.yoctoproject.org/mt/102600907/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][v6.1/standard/sdkv5.10/axxia && v6.1/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/1] misc/axxia-ncr.c: Use designated initializers when init struct ncr_io_fns
When kernel builds with -Werror=designated-init, there will be an error as below, include the field names in the struct when init it to fix the error. drivers/misc/axxia-ncr.c:202:9: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] Signed-off-by: Liwei Song --- drivers/misc/axxia-ncr.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/misc/axxia-ncr.c b/drivers/misc/axxia-ncr.c index 49d51a04b396..a497e17a0781 100644 --- a/drivers/misc/axxia-ncr.c +++ b/drivers/misc/axxia-ncr.c @@ -199,13 +199,13 @@ struct ncr_io_fns { }; struct ncr_io_fns ncr_io_fn_lock = { - ncr_register_read_lock, - ncr_register_write_lock + .rd = ncr_register_read_lock, + .wr = ncr_register_write_lock, }; struct ncr_io_fns ncr_io_fn_nolock = { - ncr_register_read, - ncr_register_write + .rd = ncr_register_read, + .wr = ncr_register_write, }; struct ncr_io_fns *default_io_fn; -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13254): https://lists.yoctoproject.org/g/linux-yocto/message/13254 Mute This Topic: https://lists.yoctoproject.org/mt/102335445/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][yocto-kernel-cache][yocto-6.1][PATCH 1/2] axxiaarm/axxiaarm64: enable axxiaarm and axxiaarm64 in 6.1 kernel
This patch is to enable axxiaarm and axxiaarm64 support in 6.1 kernel to support board AXM55XX and AXM56XX. Signed-off-by: Liwei Song --- bsp/axxiaarm/axxia-common.cfg| 98 + bsp/axxiaarm/axxiaarm-preempt-rt.scc | 7 ++ bsp/axxiaarm/axxiaarm-standard.scc | 7 ++ bsp/axxiaarm/axxiaarm.cfg| 107 +++ bsp/axxiaarm/axxiaarm.scc| 12 +++ bsp/axxiaarm/edac.cfg| 17 bsp/axxiaarm/edac.scc| 4 + bsp/axxiaarm/rapidio.cfg | 26 ++ bsp/axxiaarm/rapidio.scc | 4 + bsp/axxiaarm64/axxiaarm64-preempt-rt.scc | 7 ++ bsp/axxiaarm64/axxiaarm64-standard.scc | 7 ++ bsp/axxiaarm64/axxiaarm64.cfg| 88 +++ bsp/axxiaarm64/axxiaarm64.scc| 10 +++ bsp/axxiaarm64/edac.cfg | 18 bsp/axxiaarm64/edac.scc | 4 + 15 files changed, 416 insertions(+) create mode 100644 bsp/axxiaarm/axxia-common.cfg create mode 100644 bsp/axxiaarm/axxiaarm-preempt-rt.scc create mode 100644 bsp/axxiaarm/axxiaarm-standard.scc create mode 100644 bsp/axxiaarm/axxiaarm.cfg create mode 100644 bsp/axxiaarm/axxiaarm.scc create mode 100644 bsp/axxiaarm/edac.cfg create mode 100644 bsp/axxiaarm/edac.scc create mode 100644 bsp/axxiaarm/rapidio.cfg create mode 100644 bsp/axxiaarm/rapidio.scc create mode 100644 bsp/axxiaarm64/axxiaarm64-preempt-rt.scc create mode 100644 bsp/axxiaarm64/axxiaarm64-standard.scc create mode 100644 bsp/axxiaarm64/axxiaarm64.cfg create mode 100644 bsp/axxiaarm64/axxiaarm64.scc create mode 100644 bsp/axxiaarm64/edac.cfg create mode 100644 bsp/axxiaarm64/edac.scc diff --git a/bsp/axxiaarm/axxia-common.cfg b/bsp/axxiaarm/axxia-common.cfg new file mode 100644 index ..8d311914a36e --- /dev/null +++ b/bsp/axxiaarm/axxia-common.cfg @@ -0,0 +1,98 @@ +CONFIG_ARCH_AXXIA=y +CONFIG_PHYS_ADDR_T_64BIT=y +CONFIG_ARCH_DMA_ADDR_T_64BIT=y +CONFIG_ARM_ARCH_TIMER=y +CONFIG_PROFILING=y + +# +# Bus support +# +CONFIG_ARM_AMBA=y +CONFIG_PCI=y +CONFIG_PCI_DOMAINS=y +CONFIG_PCI_SYSCALL=y +CONFIG_PCI_MSI=y + + +CONFIG_MTD=y +CONFIG_MTD_OF_PARTS=y +# +# Self-contained MTD device drivers +# +CONFIG_MTD_SPI_NOR=y + +# +# Generic Driver Options +# +CONFIG_FW_LOADER=y +CONFIG_REGMAP=y +CONFIG_REGMAP_MMIO=y + + +# +# Misc devices +# +CONFIG_AXXIA_MTC=y +CONFIG_ARCH_AXXIA_NCR_RESET_CHECK=y +CONFIG_AXXIA_NCR=y +CONFIG_AXXIA_FAULT=y +CONFIG_AXXIA_MDIO=y + +# +# Non-8250 serial port support +# +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_AXXIA=y +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_AXXIA=y + +CONFIG_SPI=y +CONFIG_SPI_PL022=y +CONFIG_SPI_SPIDEV=y + +CONFIG_ATA=y +# +# Hardware I/O ports +# +CONFIG_SERIO_AMBAKMI=y + +# +# EEPROM support +# +CONFIG_EEPROM_AT24=y + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC=y +CONFIG_MMC_ARMMMCI=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SPI=y + +# +# DMA Devices +# +CONFIG_DMADEVICES=y +CONFIG_AXXIA_DMA=y + +# +# Multifunction device drivers +# +CONFIG_MFD_SYSCON=y + +# +# Memory mapped GPIO drivers: +# +CONFIG_GPIOLIB=y +CONFIG_GPIO_AXXIA=y +CONFIG_GPIO_GENERIC_PLATFORM=y + +# +# Sensors +# +CONFIG_SENSORS_ADT7475=y diff --git a/bsp/axxiaarm/axxiaarm-preempt-rt.scc b/bsp/axxiaarm/axxiaarm-preempt-rt.scc new file mode 100644 index ..642936478445 --- /dev/null +++ b/bsp/axxiaarm/axxiaarm-preempt-rt.scc @@ -0,0 +1,7 @@ +define KMACHINE axxiaarm +define KTYPE preempt-rt +define KARCH arm + +include ktypes/preempt-rt + +include axxiaarm.scc diff --git a/bsp/axxiaarm/axxiaarm-standard.scc b/bsp/axxiaarm/axxiaarm-standard.scc new file mode 100644 index ..a18c4eb78881 --- /dev/null +++ b/bsp/axxiaarm/axxiaarm-standard.scc @@ -0,0 +1,7 @@ +define KMACHINE axxiaarm +define KTYPE standard +define KARCH arm + +include ktypes/standard + +include axxiaarm.scc diff --git a/bsp/axxiaarm/axxiaarm.cfg b/bsp/axxiaarm/axxiaarm.cfg new file mode 100644 index ..cfdb9eda5ad3 --- /dev/null +++ b/bsp/axxiaarm/axxiaarm.cfg @@ -0,0 +1,107 @@ +#. +#WARNING +# +# This file is a kernel configuration fragment, and not a full kernel +# configuration file. The final kernel configuration is made up of +# an assembly of processed fragments, each of which is designed to +# capture a specific part of the final configuration (e.g. platform +# configuration, feature configuration, and board specific hardware +# configuration). For more information on kernel configuration, please +# consult the product documentation. +# +#. + +# +# Axxia platform type +# +CONFIG_ARCH_AXXIA_GIC=y +CONFIG_ARCH_AXXIA_DT=y +CONFIG_ARM_TIMER_SP804=y + +# +# Processor Features +#
[linux-yocto][linux-yocto v6.1][PATCH 0/2] Enable support for AXM55/56XX
Hi Bruce, This pull is to enable support for board AXM55XX/56XX, because the SDK isn't updated since 5.10, all these patches are from linux-yocto-5.15 Both standard and rt kernel are well tested againest 6.1, boot well and no obvious error. There are two parts, kernel-cache and kernel patches, could you help merge those two kernel-cache patches to yocto-kernel-cache yocto-6.1 branch? And create two branches as below, and merge those kernel patches to them? v6.1/standard/sdkv5.10/axxia v6.1/standard/preempt-rt/sdkv5.10/axxia Thanks, Liwei. The following changes since commit 8a449d3428e673be0bdb504dadb666b4ad7208e3: Merge tag 'v6.1.57' into v6.1/standard/base (2023-10-11 19:03:27 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git pull-lts23-axxia-231024 for you to fetch changes up to 98ce09bde229d5c24b371beb1f9514f0f098ac6e: arm-ccn: use platform_get_irq to get IRQ (2023-10-24 02:57:01 +) Charlie Paul (6): genirq/cpuhotplug: axxia: Enable the force flag ARM: dts: axxia: Updated SPI and UART to support DMA usb: dwc3: axxia: Add support the core clocks spi: pl022: Add enable-dma processing net: Use standard MDIO interface for AXXIA FEMAC Driver net: ethernet: Add ethtool Stats to NEMAC driver Daniel Dragomir (3): ARM: smp: handle "pen_release" removal ARM: mmc: Remove unsupported pdata GPIO numbers axxia-mtc: Export MTC ioctl interface to UAPI David Mercado (1): genirq: axxia: Fix irq_set_affinity to allow use with buslocks Fredrik Gustavsson (1): axxia: Fixed Kconfig dependencies betwen PCIe, PEI and NCR Fredrik Markstrom (2): ARM: axxia: Make the dma-zone the full 4G ARM: axxia: Enabled ddr retention on all axm5516 John Jacques (50): ARM: Enhance platform support for Intel Axxia AXM55xx ARM: dts: Add Axxia AXM55xx device tree files ARM: head.S: axxia: Set the NS bit since memory is non-secure ARM: kmap: axxia: Prevent overlap for 16th core ARM64: dts: Add Axxia X9/AXM56xx and XLF/AXC67xx device tree files clk: Change Clock Definitions for Axxia AXM55xx dt-bindings: clock: remove deprecated LSI AXM5516 clock bindings char: hwrng: Add Axxia HW Random number generator dmaengine: Add Axxia DMA32 driver support edac: Add Axxia Error Detection & Correction support gpio: Add custom driver for Axxia SoCs gpio: pl061: Readd removed platform data misc: Add drivers for Axxia MISC devices misc: Add a backward compatibility layer for Axxia MTC rapidio: Add support for Axxia AXM55xx and AXM56xx power: reset: Add support for Axxia DDR Retention reset usb: xhci: Add CI13612A USB driver for Axxia AXM55xx usb: dwc3: Add Axxia xHCI DWC3 USB support usb: hub: fix over-current race condition mtd: spi-nor: add support for Spansion S25FL016K net: ethernet: Add Intel Axxia FEMAC driver net: ethernet: Add Intel Axxia NEMAC GigE driver i2c: axxia: Use BIT(x) macro and fix indentation issues tty: serial: pl011: Updated Baud Rate Calcualtion pmu: Fix Compiler Warnings dt-bindings: axxia: update documentation and convert to yaml ARM64: dts: Add Reference to the L2 Cache in CPU Descriptions net: Pad SKBs Properly in the AXXIA FEMAC Driver net: Use eth_spb_pad() in the AXXIA NEMAC Driver net: Set Min/Max MTU for AXXIA 5500 FEMAC Driver net: Set Min/Max MTU for AXXIA 5600/6700 NEMAC Driver power: reset: Update Axxia DDR Retention Handling misc: axxia: Use the new ARM SMC Call Interface misc: axxia: Update OEM Handling for backwards compatibility i2c: axxia: Add a Lock Around i2c Transfers i2c: axxia: Allow Interrupted Transfers i2c: axxia: Change the I2C Timeout misc: Add a Lock to the Axxia MDIO Bus arm: perf: add Cortex-A15 PMU in armv7_pmu_probe_table net: ethernet: Clean Up Intel Axxia FEMAC driver usb: xhci: Add HCD_DMA flag to CI13612A USB driver drivers/watchdog: Check Return Value arm-ccn: Check Return Values net: Clean Up PHY Handling in Axxia FEMAC net: Add Padding for Alignment in Axxia FEMAC net: Associate the SKB with the Driver Axxia ACP net: Add Tracepoints to the Axxia FEMAC Driver ARM: head.S: axxia: Fix Rebase Error net: Handle Error in Axxia FEMAC net: Add support for "promiscous mode" to Axxia FEMAC Liwei Song (3): Revert "ARM: 9060/1: kexec: Remove unused kexec_reinit callback" axxia: use udelay instead of usleep in cpuhotplug routine arm-ccn: use platform_get_irq to get IRQ Marek Bykowski (6): firmware: arch64: Add SMC call testing module perf: arm-ccn: Allow instrumentation of arm-ccn ARM64: dts: axxia: Support CCN (cache coherent network) perf edac: axxia:
[linux-yocto][yocto-kernel-cache][yocto-6.1][PATCH 2/2] axxiaarm: disable CONFIG_KFENCE for axm55xx board
CONFIG_KFENCE was enabled by default since kernel 5.17, with this option enabled, some AXM55xx boards may hang during boot, disable it as a temporarily workaround to avoid board hang. Signed-off-by: Liwei Song --- bsp/axxiaarm/axxiaarm.cfg | 5 + 1 file changed, 5 insertions(+) diff --git a/bsp/axxiaarm/axxiaarm.cfg b/bsp/axxiaarm/axxiaarm.cfg index cfdb9eda5ad3..89f4e1597d1c 100644 --- a/bsp/axxiaarm/axxiaarm.cfg +++ b/bsp/axxiaarm/axxiaarm.cfg @@ -105,3 +105,8 @@ CONFIG_PL330_DMA=y # CONFIG_MAILBOX=y CONFIG_PL320_MBOX=y + +# +# Memory Debugging +# +CONFIG_KFENCE=n -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13226): https://lists.yoctoproject.org/g/linux-yocto/message/13226 Mute This Topic: https://lists.yoctoproject.org/mt/102151562/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][PATCH 0/1] patch to fix fpga board hang issue
Hi Bruce, Could you help merge this single patch to below branches, the patch is to fix hung issue which only exist on stratix 10 board, both 5.15 and 6.1 kernel are needed it. v5.15/standard/intel-sdk-5.15/intel-socfpga v5.15/standard/preempt-rt/intel-sdk-5.15/intel-socfpga v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga Thanks, Liwei. Aaro Koskinen (1): firmware: stratix10-svc: periodically poll for kthread_should_stop() drivers/firmware/stratix10-svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13090): https://lists.yoctoproject.org/g/linux-yocto/message/13090 Mute This Topic: https://lists.yoctoproject.org/mt/101473527/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto-5.15 and linux-yocto v6.1][PATCH 1/1] firmware: stratix10-svc: periodically poll for kthread_should_stop()
From: Aaro Koskinen There is a narrow window where the SVC kthread may go to sleep with the maximum (infinite) timeout, missing the wakeup/shutdown from the client and making the client hang: Client process SVC kthread == === stratix10_svc_done() while (!kthread_should_stop()) kthread_stop(); ret_fifo = kfifo_out_spinlocked(); wake_up_process(); /* kthread is already running. */ wait_for_completion(); if (!ret_fifo) /* kthread going to sleep and nobody * will wake it up unless there is a * timeout. */ schedule_timeout_interruptible(); /* Client waits for the * kthread to wake up and * stop. */ The race window is quite narrow, so in normal use the hang is difficult to reproduce. The following artificial method was used to trigger a hang with stratix01-rsu driver and write to "reboot_image": - Create 100% background CPU load (e.g. "while :; do true; done &" multiple times). - Insert busy-looping mdelay(1000) to the kernel thread just before schedule_timeout_interruptible(). This does not change the program logic, just timing. - Now write to "reboot_image", it should hang instantly. - Examining stack traces, the client process is shown as stuck in kthread_stop() and kthread remains sleeping and scheduled out as predicted: # cat /proc/493/stack [<0>] __switch_to+0xe0/0x15c [<0>] kthread_stop+0x9c/0x270 [<0>] stratix10_svc_done+0x58/0xd0 [<0>] rsu_send_msg+0xa0/0x120 [<0>] reboot_image_store+0x9c/0xe0 [<0>] dev_attr_store+0x24/0x40 [<0>] sysfs_kf_write+0x50/0x60 [<0>] kernfs_fop_write_iter+0x124/0x1b4 [<0>] new_sync_write+0xf0/0x190 [<0>] vfs_write+0x21c/0x280 [<0>] ksys_write+0x74/0x100 [<0>] __arm64_sys_write+0x28/0x3c [<0>] el0_svc_common.constprop.0+0x9c/0x210 [<0>] do_el0_svc+0x78/0xa0 [<0>] el0_svc+0x20/0x30 [<0>] el0_sync_handler+0x1a4/0x1b0 [<0>] el0_sync+0x180/0x1c0 # cat /proc/494/stack [<0>] __switch_to+0xe0/0x15c [<0>] svc_normal_to_secure_thread+0x5d8/0x1430 [<0>] kthread+0x150/0x160 [<0>] ret_from_fork+0x10/0x3c As a workaround, make the kthread to poll for stopped status once a second instead going to an infinite sleep. Upstream-Status: Pending Signed-off-by: Aaro Koskinen [patch provided by Nokia directly] Signed-off-by: Liwei Song --- drivers/firmware/stratix10-svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c index 65a566cba99a..2aae36906616 100644 --- a/drivers/firmware/stratix10-svc.c +++ b/drivers/firmware/stratix10-svc.c @@ -552,7 +552,7 @@ static int svc_normal_to_secure_thread(void *data) >svc_fifo_lock); if (!ret_fifo) { - schedule_timeout_interruptible(MAX_SCHEDULE_TIMEOUT); + schedule_timeout_interruptible(HZ); continue; } -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13091): https://lists.yoctoproject.org/g/linux-yocto/message/13091 Mute This Topic: https://lists.yoctoproject.org/mt/101473528/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto][v5.15/standard/x86 and v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC platforms
On 6/30/23 17:57, Bruce Ashfield wrote: > In message: Re: [linux-yocto][v5.15/standard/x86 and > v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC > platforms > on 30/06/2023 Liwei Song wrote: > >> >> >> On 6/30/23 06:26, Bruce Ashfield wrote: Hi Bruce, Because the base branch of the pull is v5.15/standard/preempt-rt/x86, that cause some rt kernel patches are merged into standard/x86 branch, I use to wrongly think that we can specify "since commit 261decb82d1d3889fbc0c3df890e2193c0f90750" to merge the patches that I added, so cause this, sorry for that. I made a new pull for v5.15/standard/x86 branch, this new pull firstly revert the wrong merge, then apply the ice patches, the new pull below is only for v5.15/standard/x86 branch. Sorry for the inconvenient. >>> Right, I normally just take the entire history of the branch, versus >>> looking at the from commit, and grabbing pataches. So i can see how that >>> happened. >>> >>> As it turns out, reverting a merge commit isn't trivial. So I've done what >>> git most easily allows me to do, and have reverted it to the parent, and >>> that has removed -rt and kept the ice patches (as near as I can tell). If >>> something is missing or wrong from -rt or your changes, let me know and we >>> can revisit. >> >> Hi Bruce, >> >> Thanks very much for this, it seems that the ice changes are all reverted, >> I created a new pull below about the ice changes, could you help merge this >> only to v5.15/standard/x86 branch? > > I wasn't sure if they were properly reverted, since I did still > see a lot of ICE commits at the top of the branch. I assumed that > you'd be able to tell the difference between the old and new > ICE commits more accurately than I could. > > So thanks for the confirmation. > > I've merged and pushed the new branch. Thanks very much for your help and patience, now the ice update is available in standard kernel. Thanks, Liwei. > > Bruce > >> >> Thanks, >> Liwei. >> >> >> The following changes since commit 26ed749bdd83c56261eb46340dba2c823c9292c0: >> >> Revert "i40e: fix build warning in ice_fltr_add_mac_to_list()" (2023-06-29 >> 18:31:53 -0400) >> >> are available in the Git repository at: >> >> https://github.com/2005songliwei/linux-yocto-pull.git >> v5.15-standard-x86-pull-230630 >> >> for you to fetch changes up to 564b7047371c6afca82bf8c64e31607fc9f0f6da: >> >> ice: make writes to /dev/gnssX synchronous (2023-06-29 23:46:34 +) >> >> >> Ahmed Zaki (1): >> ice: Fix stats after PF reset >> >> Alexander Lobakin (13): >> ice: remove dead store on XSK hotpath >> ice: switch to napi_build_skb() >> ice: respect metadata in legacy-rx/ice_construct_skb() >> ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb >> ice: respect metadata on XSK Rx to skb >> ice: switch: add and use u16[] aliases to ice_adv_lkup_elem::{h, m}_u >> ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet() >> ice: switch: use a struct to pass packet template params >> ice: switch: use convenience macros to declare dummy pkt templates >> ice: switch: convert packet template match code to rodata >> ice: arfs: fix use-after-free when freeing @rx_cpu_rmap >> ice: fix access-beyond-end in the switch code >> net/ice: fix initializing the bitmap in the switch code >> >> Amritha Nambiar (1): >> ice: Add support for outer dest MAC for ADQ tunnels >> >> Anatolii Gerasymenko (7): >> ice: clear stale Tx queue settings before configuring >> ice: ethtool: Prohibit improper channel config for DCB >> ice: Implement FCS/CRC and VLAN stripping co-existence policy >> ice: Add port option admin queue commands >> ice: Implement devlink port split operations >> ice: Use ICE_RLAN_BASE_S instead of magic number >> ice: Handle LLDP MIB Pending change >> >> Anirudh Venkataramanan (8): >> ice: Add feature bitmap, helpers and a check for DSCP >> ice: Fix link mode handling >> ice: Add EXTTS feature to the feature bitmap >> ice: Fix VSIs unable to share unicast MAC >> ice: Allow 100M speeds for some devices >> ice: Print human-friendly PHY types >> ice: remove redundant non-null check in ice_setup_pf_sw() >> ice: Add support for 100G KR2/CR2/SR2 link reporting >> >> Arkadiusz Kubalewski (3): >> ice: Merge pin initialization of E810 and E810T adapters >> ice: support features on new E810T variants >> ice: use GNSS subsystem instead of TTY >> >> Arnd Bergmann (1): >> ethernet: ice: avoid gcc-9 integer overflow warning >> >> Benjamin Mikailenko (4): >> ice: Fix VSI rebuild WARN_ON check for VF >> ice: Ignore error message when setting same promiscuous mode >> ice: Accumulate HW
Re: [linux-yocto][v5.15/standard/x86 and v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC platforms
On 6/30/23 06:26, Bruce Ashfield wrote: >> Hi Bruce, >> >> Because the base branch of the pull is v5.15/standard/preempt-rt/x86, that >> cause some rt kernel patches >> are merged into standard/x86 branch, I use to wrongly think that we can >> specify "since commit 261decb82d1d3889fbc0c3df890e2193c0f90750" >> to merge the patches that I added, so cause this, sorry for that. >> >> I made a new pull for v5.15/standard/x86 branch, this new pull firstly >> revert the wrong merge, >> then apply the ice patches, the new pull below is only for >> v5.15/standard/x86 branch. >> Sorry for the inconvenient. > Right, I normally just take the entire history of the branch, versus looking > at the from commit, and grabbing pataches. So i can see how that happened. > > As it turns out, reverting a merge commit isn't trivial. So I've done what > git most easily allows me to do, and have reverted it to the parent, and that > has removed -rt and kept the ice patches (as near as I can tell). If > something is missing or wrong from -rt or your changes, let me know and we > can revisit. Hi Bruce, Thanks very much for this, it seems that the ice changes are all reverted, I created a new pull below about the ice changes, could you help merge this only to v5.15/standard/x86 branch? Thanks, Liwei. The following changes since commit 26ed749bdd83c56261eb46340dba2c823c9292c0: Revert "i40e: fix build warning in ice_fltr_add_mac_to_list()" (2023-06-29 18:31:53 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git v5.15-standard-x86-pull-230630 for you to fetch changes up to 564b7047371c6afca82bf8c64e31607fc9f0f6da: ice: make writes to /dev/gnssX synchronous (2023-06-29 23:46:34 +) Ahmed Zaki (1): ice: Fix stats after PF reset Alexander Lobakin (13): ice: remove dead store on XSK hotpath ice: switch to napi_build_skb() ice: respect metadata in legacy-rx/ice_construct_skb() ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb ice: respect metadata on XSK Rx to skb ice: switch: add and use u16[] aliases to ice_adv_lkup_elem::{h, m}_u ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet() ice: switch: use a struct to pass packet template params ice: switch: use convenience macros to declare dummy pkt templates ice: switch: convert packet template match code to rodata ice: arfs: fix use-after-free when freeing @rx_cpu_rmap ice: fix access-beyond-end in the switch code net/ice: fix initializing the bitmap in the switch code Amritha Nambiar (1): ice: Add support for outer dest MAC for ADQ tunnels Anatolii Gerasymenko (7): ice: clear stale Tx queue settings before configuring ice: ethtool: Prohibit improper channel config for DCB ice: Implement FCS/CRC and VLAN stripping co-existence policy ice: Add port option admin queue commands ice: Implement devlink port split operations ice: Use ICE_RLAN_BASE_S instead of magic number ice: Handle LLDP MIB Pending change Anirudh Venkataramanan (8): ice: Add feature bitmap, helpers and a check for DSCP ice: Fix link mode handling ice: Add EXTTS feature to the feature bitmap ice: Fix VSIs unable to share unicast MAC ice: Allow 100M speeds for some devices ice: Print human-friendly PHY types ice: remove redundant non-null check in ice_setup_pf_sw() ice: Add support for 100G KR2/CR2/SR2 link reporting Arkadiusz Kubalewski (3): ice: Merge pin initialization of E810 and E810T adapters ice: support features on new E810T variants ice: use GNSS subsystem instead of TTY Arnd Bergmann (1): ethernet: ice: avoid gcc-9 integer overflow warning Benjamin Mikailenko (4): ice: Fix VSI rebuild WARN_ON check for VF ice: Ignore error message when setting same promiscuous mode ice: Accumulate HW and Netdev statistics over reset ice: Accumulate ring statistics over reset Bjorn Helgaas (2): ice: Remove redundant pci_enable_pcie_error_reporting() ice: Remove unnecessary aer.h include Brett Creeley (24): ice: Add support for VF rate limiting ice: Add support to print error on PHY FW load failure ice: Remove boolean vlan_promisc flag from function ice: Remove toggling of antispoof for VF trusted promiscuous mode ice: Refactor promiscuous functions ice: Refactor spoofcheck configuration functions ice: Add helper function for adding VLAN 0 ice: Add new VSI VLAN ops ice: Introduce ice_vlan struct ice: Refactor vf->port_vlan_info to use ice_vlan ice: Use the proto argument for VLAN ops ice: Adjust naming for inner VLAN operations ice: Add outer_vlan_ops and VSI specific VLAN ops implementations ice: Add hot path support for 802.1Q and
[linux-yocto][v5.15/standard/x86 & v5.15/standard/preempt-rt/x86][PATCH 1/1] Revert "i40e: fix build warning in ice_fltr_add_mac_to_list()"
This reverts commit 0dfc81a283d43ea2398065857a56b991f14f4e71. Since ice driver was already updated to the latest version, upstream commit 5e24d5984c80 ("ice: Use int for ice_status") referred in this linux-stable specific patch was applied, so the stable one was not needed anymore, also it should be "ice" but not "i40e", so revert this one to fix "conflicting types" build error. Signed-off-by: Liwei Song --- drivers/net/ethernet/intel/ice/ice_fltr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_fltr.c b/drivers/net/ethernet/intel/ice/ice_fltr.c index d0d9e60471b9..aff7a141c30d 100644 --- a/drivers/net/ethernet/intel/ice/ice_fltr.c +++ b/drivers/net/ethernet/intel/ice/ice_fltr.c @@ -222,7 +222,7 @@ void ice_fltr_remove_all(struct ice_vsi *vsi) * @mac: MAC address to add * @action: filter action */ -enum ice_status +int ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, const u8 *mac, enum ice_sw_fwd_act_type action) { -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12828): https://lists.yoctoproject.org/g/linux-yocto/message/12828 Mute This Topic: https://lists.yoctoproject.org/mt/99850332/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto][v5.15/standard/x86 and v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC platforms
On 6/29/23 05:51, Bruce Ashfield wrote: > In message: [linux-yocto][v5.15/standard/x86 and > v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC > platforms > on 29/06/2023 Liwei Song wrote: > >> Hi Bruce, >> >> This pull is to update ice driver to support NIC on ICE-D HCC and LCC boards, >> All patches are upstream, and you may notice that there are some changes to >> net core, >> these are all new adding invokes and definitions, won't impact the core >> function, >> pretty clean and safe to be applied, others are all aim at ice driver, could >> you >> help merge these patches to below branches? > Thanks for the explantion, it made it much easier to review the changes. > > This has now been merged. > > Bruce > >> v5.15/standard/preempt-rt/x86 >> v5.15/standard/x86 >> >> >> Thanks, >> Liwei. >> >> >> >> The following changes since commit 261decb82d1d3889fbc0c3df890e2193c0f90750: >> >> Merge branch 'v5.15/standard/base' into v5.15/standard/preempt-rt/x86 >> (2023-06-22 14:19:10 -0400) Hi Bruce, Because the base branch of the pull is v5.15/standard/preempt-rt/x86, that cause some rt kernel patches are merged into standard/x86 branch, I use to wrongly think that we can specify "since commit 261decb82d1d3889fbc0c3df890e2193c0f90750" to merge the patches that I added, so cause this, sorry for that. I made a new pull for v5.15/standard/x86 branch, this new pull firstly revert the wrong merge, then apply the ice patches, the new pull below is only for v5.15/standard/x86 branch. Sorry for the inconvenient. Thanks, Liwei. The following changes since commit b391c7cccac1375c9ce0d1f202dd91cbfb00244d: Merge branch 'x86-ice-update-merge' into v5.15/standard/x86 (2023-06-28 17:50:52 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git v5.15-standard-x86-pull1 for you to fetch changes up to 0dd3679f128907de580fb366e2cce0683aa29537: ice: make writes to /dev/gnssX synchronous (2023-06-29 02:34:05 +) Ahmed Zaki (1): ice: Fix stats after PF reset Alexander Lobakin (13): ice: remove dead store on XSK hotpath ice: switch to napi_build_skb() ice: respect metadata in legacy-rx/ice_construct_skb() ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb ice: respect metadata on XSK Rx to skb ice: switch: add and use u16[] aliases to ice_adv_lkup_elem::{h, m}_u ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet() ice: switch: use a struct to pass packet template params ice: switch: use convenience macros to declare dummy pkt templates ice: switch: convert packet template match code to rodata ice: arfs: fix use-after-free when freeing @rx_cpu_rmap ice: fix access-beyond-end in the switch code net/ice: fix initializing the bitmap in the switch code Amritha Nambiar (1): ice: Add support for outer dest MAC for ADQ tunnels Anatolii Gerasymenko (7): ice: clear stale Tx queue settings before configuring ice: ethtool: Prohibit improper channel config for DCB ice: Implement FCS/CRC and VLAN stripping co-existence policy ice: Add port option admin queue commands ice: Implement devlink port split operations ice: Use ICE_RLAN_BASE_S instead of magic number ice: Handle LLDP MIB Pending change Anirudh Venkataramanan (8): ice: Add feature bitmap, helpers and a check for DSCP ice: Fix link mode handling ice: Add EXTTS feature to the feature bitmap ice: Fix VSIs unable to share unicast MAC ice: Allow 100M speeds for some devices ice: Print human-friendly PHY types ice: remove redundant non-null check in ice_setup_pf_sw() ice: Add support for 100G KR2/CR2/SR2 link reporting Arkadiusz Kubalewski (3): ice: Merge pin initialization of E810 and E810T adapters ice: support features on new E810T variants ice: use GNSS subsystem instead of TTY Arnd Bergmann (1): ethernet: ice: avoid gcc-9 integer overflow warning Benjamin Mikailenko (4): ice: Fix VSI rebuild WARN_ON check for VF ice: Ignore error message when setting same promiscuous mode ice: Accumulate HW and Netdev statistics over reset ice: Accumulate ring statistics over reset Bjorn Helgaas (2): ice: Remove redundant pci_enable_pcie_error_reporting() ice: Remove unnecessary aer.h include Brett Creeley (24): ice: Add support for VF rate limiting ice: Add support to print error on PHY FW load failure ice: Remove boolean vlan_promisc flag from function ice: Remove toggling of antispoof for VF trusted promiscuous mode ice: Refactor promiscuous functions ice: Refactor spoofcheck configuration functions ice: Add helper function for adding VLAN 0 ice: Add new VSI VLAN ops ice: Introduce ice_vlan struct
[linux-yocto][v5.15/standard/x86 and v5.15/standard/preempt-rt/x86][PATCH] update ice driver for ICE-D HCC and LCC platforms
Hi Bruce, This pull is to update ice driver to support NIC on ICE-D HCC and LCC boards, All patches are upstream, and you may notice that there are some changes to net core, these are all new adding invokes and definitions, won't impact the core function, pretty clean and safe to be applied, others are all aim at ice driver, could you help merge these patches to below branches? v5.15/standard/preempt-rt/x86 v5.15/standard/x86 Thanks, Liwei. The following changes since commit 261decb82d1d3889fbc0c3df890e2193c0f90750: Merge branch 'v5.15/standard/base' into v5.15/standard/preempt-rt/x86 (2023-06-22 14:19:10 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git origin/x86-ice-update for you to fetch changes up to 458b31bf3d571865f034fe82b488e995d89e0d86: ice: make writes to /dev/gnssX synchronous (2023-06-28 23:22:06 +0800) Ahmed Zaki (1): ice: Fix stats after PF reset Alexander Lobakin (13): ice: remove dead store on XSK hotpath ice: switch to napi_build_skb() ice: respect metadata in legacy-rx/ice_construct_skb() ice: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb ice: respect metadata on XSK Rx to skb ice: switch: add and use u16[] aliases to ice_adv_lkup_elem::{h, m}_u ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet() ice: switch: use a struct to pass packet template params ice: switch: use convenience macros to declare dummy pkt templates ice: switch: convert packet template match code to rodata ice: arfs: fix use-after-free when freeing @rx_cpu_rmap ice: fix access-beyond-end in the switch code net/ice: fix initializing the bitmap in the switch code Amritha Nambiar (1): ice: Add support for outer dest MAC for ADQ tunnels Anatolii Gerasymenko (7): ice: clear stale Tx queue settings before configuring ice: ethtool: Prohibit improper channel config for DCB ice: Implement FCS/CRC and VLAN stripping co-existence policy ice: Add port option admin queue commands ice: Implement devlink port split operations ice: Use ICE_RLAN_BASE_S instead of magic number ice: Handle LLDP MIB Pending change Anirudh Venkataramanan (8): ice: Add feature bitmap, helpers and a check for DSCP ice: Fix link mode handling ice: Add EXTTS feature to the feature bitmap ice: Fix VSIs unable to share unicast MAC ice: Allow 100M speeds for some devices ice: Print human-friendly PHY types ice: remove redundant non-null check in ice_setup_pf_sw() ice: Add support for 100G KR2/CR2/SR2 link reporting Arkadiusz Kubalewski (3): ice: Merge pin initialization of E810 and E810T adapters ice: support features on new E810T variants ice: use GNSS subsystem instead of TTY Arnd Bergmann (1): ethernet: ice: avoid gcc-9 integer overflow warning Benjamin Mikailenko (4): ice: Fix VSI rebuild WARN_ON check for VF ice: Ignore error message when setting same promiscuous mode ice: Accumulate HW and Netdev statistics over reset ice: Accumulate ring statistics over reset Bjorn Helgaas (2): ice: Remove redundant pci_enable_pcie_error_reporting() ice: Remove unnecessary aer.h include Brett Creeley (24): ice: Add support for VF rate limiting ice: Add support to print error on PHY FW load failure ice: Remove boolean vlan_promisc flag from function ice: Remove toggling of antispoof for VF trusted promiscuous mode ice: Refactor promiscuous functions ice: Refactor spoofcheck configuration functions ice: Add helper function for adding VLAN 0 ice: Add new VSI VLAN ops ice: Introduce ice_vlan struct ice: Refactor vf->port_vlan_info to use ice_vlan ice: Use the proto argument for VLAN ops ice: Adjust naming for inner VLAN operations ice: Add outer_vlan_ops and VSI specific VLAN ops implementations ice: Add hot path support for 802.1Q and 802.1ad VLAN offloads virtchnl: Add support for new VLAN capabilities ice: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2 ice: Support configuring the device to Double VLAN Mode ice: Advertise 802.1ad VLAN filtering and offloads for PF netdev ice: Add support for 802.1ad port VLANs VF ice: Add ability for PF admin to enable VF VLAN pruning ice: Remove and replace ice speed defines with ethtool.h versions ice: Add more usage of existing function ice_get_vf_vsi(vf) ice: Fix disabling Rx VLAN filtering with port VLAN enabled ice: Fix ice_cfg_rdma_fltr() to only update relevant fields Cai Huoqing (1): ice: Make use of the helper function devm_add_action_or_reset() Christophe JAILLET (7): ice: Slightly simply ice_find_free_recp_res_idx ice: Optimize a few bitmap operations
[linux-yocto][linux-yocto-5.15 axxia standard/preempt-rt][PATCH 1/1] arm: axxia: ddr_retention: change the size of stack_var from 1024 to 512
From: Quanyang Wang If the size of array stack_var is 1024, it will trigger the build warning as below: arch/arm/mach-axxia/ddr_retention.c:220:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] 220 | } | ^ Since substracting 1K for 4 times from current stack pointer is equal to substracting 512 for 8 times, let's change array size to 512 and recursions to be 8. Signed-off-by: Quanyang Wang [Improve patch to limit "for loop" to 512 to avoid overflow] Signed-off-by: Liwei Song --- Hi Bruce, Could you help merge this patch to: v5.15/standard/preempt-rt/sdkv5.10/axxia v5.15/standard/sdkv5.10/axxia Thanks, Liwei. --- arch/arm/mach-axxia/ddr_retention.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-axxia/ddr_retention.c b/arch/arm/mach-axxia/ddr_retention.c index 4a8ca9641051..a097c0c13e06 100644 --- a/arch/arm/mach-axxia/ddr_retention.c +++ b/arch/arm/mach-axxia/ddr_retention.c @@ -205,12 +205,12 @@ static inline void flush_tlb_ID(void) static void exercise_stack_ptr(volatile char *recursions) { volatile char *p; - char stack_var[1024]; + char stack_var[512]; int i; p = stack_var; - for (i = 0; i < 1024; i++) + for (i = 0; i < 512; i++) *p++ += *recursions; if (*recursions > 0) { @@ -236,7 +236,7 @@ initiate_retention_reset(void) */ volatile long tmp; long *ptmp; - char recursions = 4; + char recursions = 8; if (ddr_retention_enabled == 0) { pr_info("DDR Retention Reset is Not Enabled\n"); -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12771): https://lists.yoctoproject.org/g/linux-yocto/message/12771 Mute This Topic: https://lists.yoctoproject.org/mt/99542893/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.1 standard intel-socfpga branch][PATCH] intel: fcs: remove unused variable total_out_size and output_file_pointer
total_out_size and output_file_pointer are not used anymore, delete them to avoid build error when enabled [-Werror=unused-variable]: drivers/crypto/intel_fcs_main.c: In function 'fcs_ioctl': | drivers/crypto/intel_fcs_main.c:403:45: error: unused variable 'total_out_size' [-Werror=unused-variable] | 403 | uint32_t remaining_size, data_size, total_out_size; | | ^~ | drivers/crypto/intel_fcs_main.c:401:15: error: unused variable 'output_file_pointer' [-Werror=unused-variable] | 401 | void *output_file_pointer; | | ^~~ Signed-off-by: Liwei Song --- Hi Bruce, Could you help merge this patch to: v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga Thanks, Liwei. --- drivers/crypto/intel_fcs_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/crypto/intel_fcs_main.c b/drivers/crypto/intel_fcs_main.c index 2b542e68e0cf..7800c7c4b97a 100644 --- a/drivers/crypto/intel_fcs_main.c +++ b/drivers/crypto/intel_fcs_main.c @@ -398,9 +398,8 @@ static long fcs_ioctl(struct file *file, unsigned int cmd, void *ps_buf; void *iv_field_buf; void *input_file_pointer; - void *output_file_pointer; unsigned int buf_sz, in_sz, out_sz; - uint32_t remaining_size, data_size, total_out_size; + uint32_t remaining_size, data_size; uint32_t sign_size; int ret = 0; int i; -- 1.8.3.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12763): https://lists.yoctoproject.org/g/linux-yocto/message/12763 Mute This Topic: https://lists.yoctoproject.org/mt/99539173/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto][linux-yocto v6.1/standard/intel-sdk-6.1/intel-socfpga & v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 1/2] kbuild: Enable DT symbols when CONFIG_OF_OVERLAY is used
On 6/7/23 07:24, Kevin Hao wrote: > On Tue, Jun 06, 2023 at 04:58:38PM +0800, LiweiSong via > lists.yoctoproject.org wrote: >> From: Geert Uytterhoeven >> >> commit 99b4b29326e336aab314dac79854e8642e74ba5a from >> https://github.com/altera-opensource/linux-socfpga.git >> >> Signed-off-by: Geert Uytterhoeven >> Signed-off-by: Liwei Song >> --- >> Hi Bruce, >> >> These two patches are bug fixes for stratix 10 rsu feature, >> without them rsu feature in uboot will run in error. >> Could you help merge them to below branches: >> >> v6.1/standard/intel-sdk-6.1/intel-socfpga >> v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga >> >> Thanks, >> Liwei. >> >> --- >> scripts/Makefile.lib | 4 >> 1 file changed, 4 insertions(+) >> >> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib >> index 3aa384cec76b..7f3801cbf344 100644 >> --- a/scripts/Makefile.lib >> +++ b/scripts/Makefile.lib >> @@ -375,6 +375,10 @@ cmd_dt_S_dtb= >> \ >> $(obj)/%.dtb.S: $(obj)/%.dtb FORCE >> $(call if_changed,dt_S_dtb) >> >> +ifeq ($(CONFIG_OF_OVERLAY),y) >> +DTC_FLAGS += -@ >> +endif > > Since we have merged the overlay support into the v6.1/standard/base branch, > I think this patch should also be merged into v6.1/standard/base branch. Hi Kexin, The patch we merged to standard/base is about CONFIG_OF_CONFIGFS, this patch is not a fix for that one, with this patch "__symbols__" node will be created in dtb which is needed by intel-rsu tool, it's a little specific to Stratix bsp, Thanks, Liwei. > > Thanks, > Kevin > >> + >> quiet_cmd_dtc = DTC $@ >> cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) >> $< ; \ >> $(DTC) -o $@ -b 0 \ >> -- >> 2.35.5 >> > >> >> >> > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12705): https://lists.yoctoproject.org/g/linux-yocto/message/12705 Mute This Topic: https://lists.yoctoproject.org/mt/99359476/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.1/standard/intel-sdk-6.1/intel-socfpga & v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 2/2] intel-socfpga: dts: change qspi-fw node name back to qspi_boot wh
SDK commit 36b6bf6e0e32 ("HSD #14017166971: arch: arm64: boot: dts: QSPI Flash layout for UBIFS") changed qspi_boot to qspi_fw, this will cause uboot can not find node name with below error: DTB: qspi_boot alias node not found. Check your dts Signed-off-by: Liwei Song --- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 2 +- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts index 244bebca7dc8..cf52d405d771 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts @@ -199,7 +199,7 @@ partitions { #address-cells = <1>; #size-cells = <1>; - qspi_fw: partition@0 { + qspi_boot: partition@0 { label = "fw"; reg = <0x0091 0x0200>; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts index bd43f5b8cc48..f39f6311b65e 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -125,7 +125,7 @@ partitions { #address-cells = <1>; #size-cells = <1>; - qspi_fw: partition@0 { + qspi_boot: partition@0 { label = "fw"; reg = <0x0091 0x0200>; }; -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12701): https://lists.yoctoproject.org/g/linux-yocto/message/12701 Mute This Topic: https://lists.yoctoproject.org/mt/99359477/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.1/standard/intel-sdk-6.1/intel-socfpga & v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 1/2] kbuild: Enable DT symbols when CONFIG_OF_OVERLAY is used
From: Geert Uytterhoeven commit 99b4b29326e336aab314dac79854e8642e74ba5a from https://github.com/altera-opensource/linux-socfpga.git Signed-off-by: Geert Uytterhoeven Signed-off-by: Liwei Song --- Hi Bruce, These two patches are bug fixes for stratix 10 rsu feature, without them rsu feature in uboot will run in error. Could you help merge them to below branches: v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga Thanks, Liwei. --- scripts/Makefile.lib | 4 1 file changed, 4 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 3aa384cec76b..7f3801cbf344 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -375,6 +375,10 @@ cmd_dt_S_dtb= \ $(obj)/%.dtb.S: $(obj)/%.dtb FORCE $(call if_changed,dt_S_dtb) +ifeq ($(CONFIG_OF_OVERLAY),y) +DTC_FLAGS += -@ +endif + quiet_cmd_dtc = DTC $@ cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ $(DTC) -o $@ -b 0 \ -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12700): https://lists.yoctoproject.org/g/linux-yocto/message/12700 Mute This Topic: https://lists.yoctoproject.org/mt/99359476/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v6.1/standard/intel-sdk-6.1/intel-socfpga & v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga][PATCH 0/1] Enalbe Agilex and S10 support in kernel 6.1
Hi Bruce, Could you help create two branches as below and merge these patches to them? One kernel-cache patch should go into kernel-cache yocto-6.1 branch. These patches are to enable Intel Agilex and stratix support in linux-yocto-6.1, most of the patches are from SDK, some of them are from linux-yocto-5.15 for some bug fixes. v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga Thanks, Liwei. The following changes since commit a49ca8357f930ba63aa382ad291f4ddf1e6db427: Merge branch 'v6.1/standard/base' into v6.1/standard/preempt-rt/base (2023-05-31 19:35:24 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git s10-pull-230601 for you to fetch changes up to 9692f54289ce940af8dd7b4ee7c5b9958abefbf4: arch: arm64: dts: disable fcs feature by default on Intel socfpga platforms (2023-06-01 16:38:56 +0800) Adrian Ng Ho Yin (9): HSD #15010087323 arm64: dts: intel:socfpga_agilex: add platform property for FCS node (#95) HSD #15010087323-2 firmware: stratix10-svc: add FCS command with SMMU support (#96) HSD #15010087323-3 :intel_fcs: Add SMMU support for FCS largeblob encryption HSD#22016270404 crypto: intel_fcs: Fix insufficient memory to store output from data signing and get digest operations HSD#22016270404 crypto: intel_fcs: Fix process error for SHA-2 get_digest HSD #14015549971: arm64: dts: agilex5: Add USB3.1 in Linux device tree HSD #14015549971: usb: dwc3: of-simple:Add support for Intel Agilex5 HSD #14015549937: arm64: dts: agilex5: Update USB2.0 in Linux device tree HSD #14015551181: arm64: dts: agilex5: Add swvp dts for Agilex5 Alan Tull (9): FogBugz #365525-3: socfpga: dts: remove fpga image specific info FogBugz #398879-2: fpga mgr debugfs FogBugz #411427: fpga: memory leaks in fpga manager debugfs FogBugz #412211: fpga: fix fpga mgr debugfs for module FogBugz #458420-1: dts: arria10 socdk: add max1619 FogBugz #458420-2: ARM: dts: add lcd character panel FogBugz #536771: fpga: bridge: fix klocwork sprintf complaint FogBugz #568392: fpga mgr debugfs: update to use current upstream api FogBugz #84276: lcd driver on i2c Alif Zakuan Yuslaimi (1): HSD #14017166971: arch: arm64: boot: dts: QSPI Flash layout for UBIFS Ang Tien Sung (12): HSD #15010184463: crypto: intel_fcs: Fix the inability to probe driver HSD #1509974402: firmware: stratix10-svc: To support a new SMC command to return ATF Version HSD #1508914759: firmware: stratix10-svc: fix FPGA reconfiguration SVC timeout HSD #14015013554: firmware: stratix10-svc: Support up to 4 SVC clients HSD #14015013554: firmware: stratix10-svc: Fixed thread stop HSD #15010184463: crypto: intel_fcs: Fix the inability to probe driver on S10 DTSI HSD #14015618796: crypto: intel_fcs: support concurrent fcs clients requests fpga: altera-cvp: Increase credit timeout HSD #1509151525: fpga: altera-cvp: Truncated bitstream error support HSD #14017346372: hwmon: multiple location Temperature HSD #15011659449: fpga: altera-cvp: PCIex8x8 ports (#94) HSD #1509326948: fpga: altera-cvp: Recovery retry Boon Khai Ng (11): HSD #14014974605: crypto: intel_fcs: Update Certificate Mask for FPGA Attestation HSD #18017770485: intel: fcs: Update Certificate Mask for FPGA Attestation Update the certificate mask to 0xff to cover all attestation certificate in Agilex Family HSD #15012366445: drivers: net: stmmac_main: Add support for HW-accelerated VLAN Stripping HSD #15012366445: drivers: net: stmmac_main: fix vlan toggle option. HSD #15012366445: drivers: net: stmmac: Add support for HW-accelerated VLAN Stripping HSD #15012366445: drivers: net: dwmac: Add use_hw_vlan setting HSD #15012455743: net: stmmac: Add support for VLAN Rx filtering HSD #15012455743: net: stmmac: Add Double VLAN handling for VLAN Rx filtering HSD #15012771709: net: stmmac: Add option for VLAN filter fail queue enable HSD #15013153007: net: stmmac: fix formatting issue on VLAN Patch HSD #15012366445: dts-bindings: net: dwmac: Add HW-accelerated VLAN Stripping bindings Chew, Chiau Ee (1): fpga: bridge: incorrect set to clear freeze_illegal_request register Dalon Westergreen (9): net: eth: altera: tse_start_xmit ignores tx_buffer call response net: eth: altera: set rx and tx ring size before init_dma call net: eth: altera: fix altera_dmaops declaration net: eth: altera: add optional function to start tx dma net: eth: altera: Add missing identifier names to function declarations net: eth: altera: change tx functions to type netdev_tx_t net: eth: altera: add support for ptp and timestamping net: eth: altera: add msgdma
[linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 1/1] intel-socfpga: enable intel-socfpga support for 6.1 kernel
Create intel-socfpga to support intel stratix10 and Agilex-F board in 6.1 kernel. Signed-off-by: Liwei Song --- .../intel-socfpga-64-preempt-rt.scc | 7 + .../intel-socfpga-64-standard.scc | 7 + bsp/intel-socfpga/intel-socfpga-64.cfg| 163 ++ bsp/intel-socfpga/intel-socfpga-64.scc| 7 + 4 files changed, 184 insertions(+) create mode 100644 bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc create mode 100644 bsp/intel-socfpga/intel-socfpga-64-standard.scc create mode 100644 bsp/intel-socfpga/intel-socfpga-64.cfg create mode 100644 bsp/intel-socfpga/intel-socfpga-64.scc diff --git a/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc b/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc new file mode 100644 index ..af4efb1e65d4 --- /dev/null +++ b/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc @@ -0,0 +1,7 @@ +define KMACHINE intel-socfpga-64 +define KTYPE preempt-rt +define KARCH arm64 + +include ktypes/preempt-rt + +include intel-socfpga-64.scc diff --git a/bsp/intel-socfpga/intel-socfpga-64-standard.scc b/bsp/intel-socfpga/intel-socfpga-64-standard.scc new file mode 100644 index ..c34643f1415e --- /dev/null +++ b/bsp/intel-socfpga/intel-socfpga-64-standard.scc @@ -0,0 +1,7 @@ +define KMACHINE intel-socfpga-64 +define KTYPE standard +define KARCH arm64 + +include ktypes/standard + +include intel-socfpga-64.scc diff --git a/bsp/intel-socfpga/intel-socfpga-64.cfg b/bsp/intel-socfpga/intel-socfpga-64.cfg new file mode 100644 index ..1d79d2697ef2 --- /dev/null +++ b/bsp/intel-socfpga/intel-socfpga-64.cfg @@ -0,0 +1,163 @@ +.. +.WARNING +. +. This file is a kernel configuration fragment, and not a full kernel +. configuration file. The final kernel configuration is made up of +. an assembly of processed fragments, each of which is designed to +. capture a specific part of the final configuration (e.g. platform +. configuration, feature configuration, and board specific hardware +. configuration). For more information on kernel configuration, please +. consult the product documentation. +. +.. + +CONFIG_ARM64=y +CONFIG_ARCH_INTEL_SOCFPGA=y + +# Kernel Features +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_ARM64_VA_BITS_48=y + +# Bus support +CONFIG_PCI=y +CONFIG_PCIEPORTBUS=y +CONFIG_PCI_IOV=y +CONFIG_PCI_HISI=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_PCI_XGENE=y +CONFIG_PCIE_ALTERA=y +CONFIG_PCIE_ALTERA_MSI=y + +# Power management options +CONFIG_SUSPEND=y + +# CPU Idle +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +CONFIG_CPU_IDLE_GOV_MENU=y + +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_NAND_DENALI_DT=y +CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_BLKDEVS=y +CONFIG_MTD_CMDLINE_PARTS=y + +CONFIG_SPI=y +CONFIG_SPI_PL022=y +CONFIG_SPI_ROCKCHIP=y +CONFIG_SPI_SPIDEV=y +CONFIG_SPI_CADENCE_QUADSPI=y +CONFIG_SPI_DESIGNWARE=y +CONFIG_SPI_DW_MMIO=y + +# SCSI support type (disk, tape, CD-ROM) +CONFIG_SCSI=y +CONFIG_SCSI_DMA=y +CONFIG_BLK_DEV_SD=y + +CONFIG_INTEL_STRATIX10_SERVICE=y +CONFIG_FPGA=y +CONFIG_FPGA_REGION=y +CONFIG_FPGA_MGR_STRATIX10_SOC=y +CONFIG_FPGA_BRIDGE=y +CONFIG_OF_FPGA_REGION=y +CONFIG_ALTERA_FREEZE_BRIDGE=y + +CONFIG_OF_OVERLAY=y +CONFIG_OF_CONFIGFS=y + +CONFIG_NETDEVICES=y +CONFIG_STMMAC_ETH=y +CONFIG_DWMAC_SOCFPGA=y +CONFIG_MICREL_PHY=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_EXTENDED=y +CONFIG_SERIAL_8250_SHARE_IRQ=y +CONFIG_SERIAL_8250_DW=y +CONFIG_SERIAL_OF_PLATFORM=y + +CONFIG_GPIOLIB=y +CONFIG_GPIO_DWAPB=y +CONFIG_GPIO_ALTERA=y + +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_MUX_PCA954x=y +CONFIG_I2C_DESIGNWARE_PLATFORM=y +CONFIG_I2C_ALTERA=y +CONFIG_PINCTRL=y +CONFIG_PINCTRL_SINGLE=y + +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_PLTFM=y + +CONFIG_USB=y +CONFIG_USB_OTG=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC2=y +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_UDC=y +CONFIG_USB_CHIPIDEA_HOST=y +CONFIG_USB_ISP1760=y +CONFIG_USB_HSIC_USB3503=y +CONFIG_USB_ULPI=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_USB_GADGET=y + +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y + +CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y + +CONFIG_DW_WATCHDOG=y +CONFIG_SRAM=y +CONFIG_EEPROM_AT24=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_DS1307=y +CONFIG_SENSORS_MAX1619=y +CONFIG_IIO=y +CONFIG_LTC2497=y +CONFIG_NEWHAVEN_LCD=y + +CONFIG_DMADEVICES=y +CONFIG_PL330_DMA=y +CONFIG_CMA=y +CONFIG_DMA_CMA=y + +CONFIG_ALTERA_SYSID=m +CONFIG_ALTERA_ILC=m + +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y + +CONFIG_INTEL_STRATIX10_RSU=y + +CONFIG_RAS=y +CONFIG_EDAC=y +CONFIG_EDAC_ALTERA=y +CONFIG_EDAC_ALTERA_SDRAM=y
Re: [linux-yocto][linux-yocto v5.15/standard/base][PATCH 1/1] net: stmmac: Enable mac_managed_pm phylink config
On 5/16/23 11:00, Bruce Ashfield wrote: > In message: [linux-yocto][linux-yocto v5.15/standard/base][PATCH 1/1] net: > stmmac: Enable mac_managed_pm phylink config > on 15/05/2023 Liwei Song wrote: > >> From: Shenwei Wang >> >> commit f151c147b3afcf92dedff53f5f0e965414e4fd2c upstream. >> >> Enable the mac_managed_pm configuration in the phylink_config >> structure to avoid the kernel warning during system resume. >> >> Fixes: 744d23c71af3 ("net: phy: Warn about incorrect mdio_bus_phy_resume() >> state") >> Signed-off-by: Shenwei Wang >> Acked-by: Florian Fainelli >> Signed-off-by: David S. Miller > > It would be useful to log how we discovered the issue, i.e > something like: > > [: discovered during resume testing on board ] Got it, this is discovered during resume testing on board Stratix 10, Will add these kind of log for future patches. Thanks, Liwei. > > But that's for any future patches, I've merged this as-is. > > Bruce > >> Signed-off-by: Liwei Song >> --- >> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c >> b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c >> index a3bd5396c2f8..c0771b67bcad 100644 >> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c >> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c >> @@ -1284,6 +1284,7 @@ static int stmmac_phy_setup(struct stmmac_priv *priv) >> >> if (!fwnode) >> fwnode = dev_fwnode(priv->device); >> +priv->phylink_config.mac_managed_pm = true; >> >> phylink = phylink_create(>phylink_config, fwnode, >> mode, _phylink_mac_ops); >> -- >> 2.35.5 >> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12558): https://lists.yoctoproject.org/g/linux-yocto/message/12558 Mute This Topic: https://lists.yoctoproject.org/mt/98898858/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto v5.15/standard/base][PATCH 1/1] net: stmmac: Enable mac_managed_pm phylink config
From: Shenwei Wang commit f151c147b3afcf92dedff53f5f0e965414e4fd2c upstream. Enable the mac_managed_pm configuration in the phylink_config structure to avoid the kernel warning during system resume. Fixes: 744d23c71af3 ("net: phy: Warn about incorrect mdio_bus_phy_resume() state") Signed-off-by: Shenwei Wang Acked-by: Florian Fainelli Signed-off-by: David S. Miller Signed-off-by: Liwei Song --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index a3bd5396c2f8..c0771b67bcad 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -1284,6 +1284,7 @@ static int stmmac_phy_setup(struct stmmac_priv *priv) if (!fwnode) fwnode = dev_fwnode(priv->device); + priv->phylink_config.mac_managed_pm = true; phylink = phylink_create(>phylink_config, fwnode, mode, _phylink_mac_ops); -- 2.35.5 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12549): https://lists.yoctoproject.org/g/linux-yocto/message/12549 Mute This Topic: https://lists.yoctoproject.org/mt/98898858/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[linux-yocto][linux-yocto-5.15][PATCH 0/1] update kernel for s10 to align with latest SDK
Hi Bruce, Could you help merge one kernel cache patch to yocto-kernel-cache yocto-5.15 branch? And those kernel patches to below branch: v5.15/standard/intel-sdk-5.15/intel-socfpga v5.15/standard/preempt-rt/intel-sdk-5.15/intel-socfpga Thanks, Liwei. The following changes since commit 0c6277b4199e2ed4fb4f9d51e0d5696bb6189c40: Merge branch 'v5.15/standard/base' into v5.15/standard/intel-sdk-5.15/intel-socfpga (2023-04-19 16:44:04 -0400) are available in the Git repository at: https://github.com/2005songliwei/linux-yocto-pull.git s10-pull-230421 for you to fetch changes up to 15dc0f33c798d3c70c9ca2a683adacf87ea26505: firmware: stratix10-rsu: prevent io block when sending RSU messages (#43) (2023-04-21 12:30:31 +0800) Adrian Ng Ho Yin (5): HSD #15010087323 arm64: dts: intel:socfpga_agilex: add platform property for FCS node (#95) HSD #15010087323-2 firmware: stratix10-svc: add FCS command with SMMU support (#96) HSD #15010087323-3 :intel_fcs: Add SMMU support for FCS largeblob encryption HSD#22016270404 crypto: intel_fcs: Fix insufficient memory to store output from data signing and get digest operations HSD#22016270404 crypto: intel_fcs: Fix process error for SHA-2 get_digest Ang Tien Sung (4): HSD #1509151525: fpga: altera-cvp: Truncated bitstream error support HSD #14017346372: hwmon: multiple location Temperature HSD #15011659449: fpga: altera-cvp: PCIex8x8 ports (#94) HSD #1509326948: fpga: altera-cvp: Recovery retry Dinh Nguyen (9): usb: dwc2: Add platform specific data for Intel's Agilex i2c: designware: introduce a custom scl recovery for SoCFPGA platforms arm: dts: socfpga: use the "intel,socfpga-i2c" binding ARM: dts: add EMAC AXI settings for Cyclone5 arm64: dts: add pinctrl-single property for Stratix10/Agilex arm64: dts: stratix10: add i2c pins for pinctrl HSD #14018501141: free the fpga_mgr if the buffer allocation fails arm64: dts: socfpga: change address-cells to support 64-bit addressing HSD #14018779058: fix error handling when call stratix10_svc_allocate_memory Hanna Hawa (2): i2c: Set i2c pinctrl recovery info from it's device pinctrl pinctrl: Add an API to get the pinctrl pins if initialized Kah Jing Lee (1): firmware: stratix10-rsu: prevent io block when sending RSU messages (#43) Matthew Gerlach (1): arm64: dts: intel: add device tree for n6000 NagarajuDeepakX (8): HSD #14014656595: drivers: net: phy: add qsfp_phy support HSD #14014656595 : dts: update E-Tile ethernet register map HSD #14015296206 : driver: qsfp bus with phylink support HSD #14015296206: ethernet: phylink speed support for etile HSD #14015296206: dts:removing fixed link HSD #14015296206-1 : ethernet: dynamic reconfiguration supported. HSD #14015296206-1 : dts: add tod-pio register. HSD #16019765450 : driver: fixing KW issues Niravkumar L Rabara (4): HSD #18019805663: mtd: spi-nor: issi: Add IS25WP512 device HSD #18022323310: spi: cadence-quadspi: Disable irqs during indirect reads HSD#18022663494: mtd: spi-nor: macronix: Add support for mx66u1g45g HSD#15011972246: mtd: spi-nor: gigadevice: Add support for gd55lb02ge Rod Frazer (1): HSD #14017346372-2: dts: hwmon: multiple location Temperature Teh Wen Ping (9): HSD #14015950233: crypto: intel_fcs: select HW_RANDOM if intel_fcs is built-in HSD #18019787908 firmware: stratix10-svc: Reduce polling interval for command status HSD #18019787908 crypto: intel_fcs: Reduce polling interval for GET_PROVISION_DATA HSD #14017114324: fpga: stratix10-soc: wait for COMMAND_FIRMWARE_VERSION to complete HSD #15011923746 crypto: intel_fcs: Check AES block mode and param size (#89) HSD#16019035440-1 crypto: intel_fcs: Support new SDOS decrypt error code (#116) HSD#16019035440-2 crypto: intel_fcs: Add new SDOS decrypt callback (#117) HSD#16019035440-3 firmware: stratix10-svc: Return SDOS decrypt status code (#118) HSD#16019035440-4 firmware: stratix10-svc: Return status code for polling service callback (#119) Teoh Ji Sheng (3): HSD #16018042241: ARM: dts: socfpga: arria10: Increase boot partition size for NAND HSD #14017553118: arm64: dts: stratix10: exclude QSE from board level dts HSD #15012033399: net: ethernet: altera: remove redundant DMA operation Teoh, Ji Sheng (7): HSD #15010262011-1: arm64: dts: stratix10: change QSE phy-mode to 10gbase-r HSD #15010262011-2: net: eth: altera: fix QSE driver broken link speed configuration HSD #15011456848: net: eth: altera: fix missing argument in of_get_mac_address HSD #15011647732: arm64: dts: stratix10: update QSE driver DMA register map HSD #15011499442: net: eth: altera: use ndo_eth_ioctl for SIOCSHWTSTAMP ioctl
[linux-yocto][yocto-kernel-cache yocto-5.15][PATCH 1/1] intel-socfpga: enable pinctrl for Intel fpga to make i2c work
From: LiweiSong This enable below config option to support i2c on fpga board: CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y Signed-off-by: LiweiSong Signed-off-by: Liwei Song --- bsp/intel-socfpga/intel-socfpga-64.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp/intel-socfpga/intel-socfpga-64.cfg b/bsp/intel-socfpga/intel-socfpga-64.cfg index 2fa2405544f6..cfdc7b5a6a98 100644 --- a/bsp/intel-socfpga/intel-socfpga-64.cfg +++ b/bsp/intel-socfpga/intel-socfpga-64.cfg @@ -93,6 +93,8 @@ CONFIG_I2C_MUX=y CONFIG_I2C_MUX_PCA954x=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_ALTERA=y +CONFIG_PINCTRL=y +CONFIG_PINCTRL_SINGLE=y CONFIG_MMC=y CONFIG_MMC_SDHCI=y -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12408): https://lists.yoctoproject.org/g/linux-yocto/message/12408 Mute This Topic: https://lists.yoctoproject.org/mt/98405514/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-