[linux-yocto] [yocto-kernel-cache][yocto-5.15][PATCH] bsp: aptiv-s32g: add support for sousa and fl

2023-03-03 Thread quanyang.wang
From: Quanyang Wang Add kernel-cache files for Aptiv sousa and fl platforms. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to the branch: yocto-5.15 Thanks, Quanyang --- bsp/aptiv-s32g/aptiv-cvc-fl-preempt-rt.scc| 7 +

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 7/9] dts: Aptiv-FL: add dts file for Aptiv CVC-FL board

2023-03-02 Thread quanyang.wang
From: Quanyang Wang This patch comes from the patch: meta-cvc-fl/recipes-kernel/linux/linux-s32/0001-ESL-427-Linux-S32-cvc-support+cleanup.patch Modifications as below: 1. Change usb phy from "usb-nop-xceiv" to "usb-phy-ulpi-generic". 2. Add "can17_19_en-hog" to enable can17~19. 3. Add

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 8/9] dts: Aptiv-FL: disable unsupported device nodes

2023-03-02 Thread quanyang.wang
From: Quanyang Wang The device nodes of "qspi" and "gmac0" are not supported in linux, so we need to disable them to eliminate error log while booting. Signed-off-by: Quanyang Wang --- arch/arm64/boot/dts/freescale/s32gxxxa-cvc-fl.dtsi | 6 -- 1 file changed, 4 insertions(+), 2

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 9/9] dts: Aptiv-FL: add correct pinctrls for pfe interfaces for Aptiv-FL board

2023-03-02 Thread quanyang.wang
From: Quanyang Wang Add pinctrls for pfe0/1/2 interfaces for Aptiv-FL board. Note that RTL9010 phys need to be configured at u-boot. This patch comes from: meta-cvc-fl/recipes-kernel/linux/linux-s32/0001-ESL-427-Linux-S32-cvc-support+cleanup.patch Signed-off-by: Quanyang Wang ---

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 6/9] dts: Aptiv: add s32g274a-aptiv-pfems.dts to enable pfe slave mode

2023-03-02 Thread quanyang.wang
From: Quanyang Wang Simply copied from s32g2xxa-evb-pfems.dts. Signed-off-by: Quanyang Wang --- .../dts/freescale/s32g274a-aptiv-pfems.dts| 21 +++ 1 file changed, 21 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/s32g274a-aptiv-pfems.dts diff --git

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 5/9] dts: Aptiv: disable dma coherent for pfe for cut 1.1 compat

2023-03-02 Thread quanyang.wang
From: Quanyang Wang This patch comes from: meta-aptiv/recipes-aptiv/linux-s32/files/0001-disable-dma-coherent-for-pfe-for-cut-1.1-compat.patch Signed-off-by: Quanyang Wang --- arch/arm64/boot/dts/freescale/s32g274a-aptiv.dts | 1 + 1 file changed, 1 insertion(+) diff --git

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 4/9] dts: Aptiv: enable pfe relevant device nodes

2023-03-02 Thread quanyang.wang
From: Quanyang Wang Set "status" properties of pfe relevant device nodes to be "okay" to enable these devices. Signed-off-by: Quanyang Wang --- .../boot/dts/freescale/s32g274a-aptiv.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 1/9] dts: Aptiv: Add new dts for Aptiv CVC board

2023-03-02 Thread quanyang.wang
From: Olaf Benninghaus Add new dts file for Aptiv CVC board. And this patch is based on: recipes-kernel/linux-s32/files/fsl-s32g274a-aptiv.dts Signed-off-by: Olaf Benninghaus Signed-off-by: Quanyang Wang --- arch/arm64/boot/dts/freescale/Makefile| 1 +

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 3/9] dts: Aptiv: enable flexcan1~3

2023-03-02 Thread quanyang.wang
From: Quanyang Wang Add pinctrl assignment for flexcan3. And the pin CAN17_19_EN which is wired out from TCA9539's pin[13], add a device-tree node s32g_can17_19_en to enable CAN17~19 which correspond flexcan1~3. Signed-off-by: Quanyang Wang --- .../boot/dts/freescale/s32g274a-aptiv.dts |

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 0/9]

2023-03-02 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 9 patches to the branches: v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g v5.15/standard/nxp-sdk-5.10/nxp-s32g Thanks, Quanyang Olaf Benninghaus (1): dts: Aptiv: Add new dts for Aptiv CVC board Quanyang Wang

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 2/9] dts: Aptiv: enable CAN0_STB and CAN0_EN pullup

2023-03-02 Thread quanyang.wang
From: Quanyang Wang This patch is based on the file 0001-enable-CAN0_STB-pullup.patch at layer meta-aptiv/recipes-aptiv/linux-s32/files/. Signed-off-by: Olaf Benninghaus [Quanyang: add pull-up of GPIO9 for CAN0_EN.] Signed-off-by: Quanyang Wang ---

Re: [linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc] xlnx-soc: update to SDK 2022.02

2023-03-01 Thread quanyang.wang
Hi Bruce, On 3/1/23 23:27, Bruce Ashfield wrote: In message: [linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc] xlnx-soc: update to SDK 2022.02 on 27/02/2023 Quanyang Wang wrote: Hi Bruce, Would you please help merge the patches to the 2 branches:

[linux-yocto] [yocto-kernel-cache][yocto-5.15][PATCH] xilinx-versal: add support for Xilinx Versal platforms

2023-02-28 Thread quanyang.wang
From: Quanyang Wang This patch is to add scc/cfg meta to build and boot Xilinx Versal platforms. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to the branch: yocto-5.15 Thanks, Quanyang --- .../xilinx-versal-preempt-rt.scc | 9 +

[linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc] xlnx-soc: update to SDK 2022.02

2023-02-26 Thread quanyang.wang
Hi Bruce, Would you please help merge the patches to the 2 branches: v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc v5.15/standard/sdkv5.15/xlnx-soc Thanks, Quanyang The following changes since commit ee2f99d1f2467ebc250895caf1e5bfdd5a91bd56:   Merge branch 'v5.15/standard/base' into

[linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc][PATCH] usb: dwc3: delete dwc3_xhci_plat_priv

2022-12-04 Thread quanyang.wang
From: Quanyang Wang In upstream commit 5c294de36e7f ("Revert "usb: dwc3: disable USB core PHY management""), dwc3_xhci_plat_priv is deleted. But when this commit is merged into yocto, this struct is still there. So deleting this struct to fix compile error. Signed-off-by: Quanyang Wang --- Hi

[linux-yocto][v5.15/standard/preempt-rt/base][PATCH] tracing/arm: Have max stack tracer handle the case of return address after data

2022-09-26 Thread quanyang.wang
From: Zqiang This change is similar to the following patch, it also suitable for arm. [ Author: Steven Rostedt (VMware) Email: rost...@goodmis.org Subject: tracing/arm64: Have max stack tracer handle the case of return address after data Date: Fri, 9 Aug 2019 02:15:05 + Most archs (well

[linux-yocto] [yocto-kernel-cache][yocto-5.15][PATCH] xilinx-zynqmp: enable CONFIG_OF_CONFIGFS

2022-09-04 Thread quanyang.wang
From: Quanyang Wang The kernel option CONFIG_FS_CONFIGFS is needed by the feature DTB Overlay. So we need bring it back. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to the branch: yocto-5.15 Thanks, Quanyang --- bsp/xilinx-zynqmp/xilinx-zynqmp.cfg

[linux-yocto][v5.15/standard/preempt-rt/sdkv5.15/xlnx-soc][PATCH] drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable

2022-09-04 Thread quanyang.wang
From: Quanyang Wang commit a7e02f7796c163ac8297b30223bf24bade9f8a50 upstream When running xrandr to change resolution of DP, the kmemleak as below can be observed: unreferenced object 0x00080a351000 (size 256): comm "Xorg", pid 248, jiffies 4294899614 (age 19.960s) hex dump (first 32

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 2/3] gpio: s32: switch the spinlock of siul2_gpio_dev to raw spinlock

2022-08-18 Thread quanyang.wang
From: Quanyang Wang The irq functions "siul2_gpio_irq_unmask" and "siul2_gpio_irq_mask" use spin_lock in preempt-rt kernel, it will cause the error that calling a sleeping function in an atomic context. Use raw spinlock to fix this issue. Upstream-Status: Pending Signed-off-by: Quanyang Wang

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 0/3]

2022-08-18 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 3 patches to the branches: v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g v5.15/standard/nxp-sdk-5.10/nxp-s32g Thanks, Quanyang Quanyang Wang (3): gpio: s32: force regmap use raw spinlock gpio: s32: switch

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 3/3] gpio: s32: don't run callbacks in some callbacks

2022-08-18 Thread quanyang.wang
From: Quanyang Wang The functions "siul2_gpio_dir_in" and "siul2_gpio_free" have been registered to be callbacks as "gc->direction_input" and "gc->free". When the callbacks "irq_chip->irq_set_type/irq_unmask/irq_mask" are called, the caller should guarantee that it will call gc->direction_input

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 1/3] gpio: s32: force regmap use raw spinlock

2022-08-18 Thread quanyang.wang
From: Quanyang Wang The regmap subsystem use mutex lock as its default lock but this will cause the error that calling sleeping functions in an atomic context since the irq callbacks "irq_set_type/irq_mask/irq_unmask" for siul2-s32cc are all using regmap_update_bits. Add use_raw_spinlock flag

[linux-yocto] [yocto-kernel-cache][yocto-5.15][PATCH] nxp-s32g: add generic ulpi usb phy kernel option

2022-07-21 Thread quanyang.wang
From: Quanyang Wang Add generic ulpi usb phy kernel option. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to the branch: yocto-5.15 Thanks, Quanyang --- bsp/nxp-s32g/nxp-s32g.cfg | 1 + 1 file changed, 1 insertion(+) diff --git

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 4/4] nxp-s32g: usb: chipedea: add ulpi usb phy support

2022-07-18 Thread quanyang.wang
From: Quanyang Wang Add initialization for the structure usb_phy. And a series of operations "flush-stop-reset" is needed so that we can access usb phy via ULPI interface. And otg_set_vbus is called after the host mode is determined because we need call ulpi_set_vbus to set vbus via it.

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 2/4] usb: phy: ulpi-generic: add generic ulpi usb phy driver

2022-07-18 Thread quanyang.wang
From: Quanyang Wang This driver is for generic ulpi usb phys. Signed-off-by: Quanyang Wang --- drivers/usb/phy/Kconfig| 8 drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-ulpi-generic.c | 76 ++ 3 files changed, 85 insertions(+)

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 3/4] dts: s32cc: usb phy driver switch to ulpi generic

2022-07-18 Thread quanyang.wang
From: Quanyang Wang Since a new usb phy driver for ulpi otg phys is introduced, we switch to it instead of using "Nop USB Transceiver driver". This is because that we shouldn't rely on the usb phy initialization in u-boot. Signed-off-by: Quanyang Wang ---

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 1/4] usb: phy: Add ulpi IDs for NXP SAF1508 and ST STULPI01A

2022-07-18 Thread quanyang.wang
From: Quanyang Wang Add new ulpi IDs which are available on S32G-EVB and Aptiv boards. Signed-off-by: Quanyang Wang --- drivers/usb/phy/phy-ulpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/phy/phy-ulpi.c b/drivers/usb/phy/phy-ulpi.c index e683a37e3a7a..cbf3fb1a1d47

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 0/4]

2022-07-18 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 4 patches to the branches: v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g v5.15/standard/nxp-sdk-5.10/nxp-s32g Thanks, Quanyang Quanyang Wang (4): usb: phy: Add ulpi IDs for NXP SAF1508 and ST STULPI01A usb:

[linux-yocto] [yocto-kernel-cache][yocto-5.15][PATCH 2/2] xilinx-zynqmp: disable CONFIG_ARM_CCI_PMU for preempt-rt

2022-07-04 Thread quanyang.wang
From: Quanyang Wang CONFIG_ARM_CCI_PMU depends on PERF_EVENTS which is not enabled for preempt-rt, so the building warning as below can be caught: [NOTE]: 'CONFIG_ARM_CCI_PMU' last val (y) and .config val (n) do not match [INFO]: CONFIG_ARM_CCI_PMU : n [INFO]: raw config text:

[linux-yocto] [yocto-kernel-cache][yocto-5.15][PATCH 1/2] xilinx-zynqmp: add preempt-rt support

2022-07-04 Thread quanyang.wang
From: Quanyang Wang Add xilinx-zynqmp-preempt-rt.scc to enable preempt-rt for xilinx-zynqmp. Signed-off-by: Quanyang Wang Signed-off-by: Bruce Ashfield --- Hi Bruce, Would you please help merge this patch to the branch: yocto-5.15 It's picked up from yocto-5.10. Thanks, Quanyang ---

Re: [linux-yocto][v5.10/standard/preempt-rt/base][PATCH] ACPI: thermal: drop an always true check

2022-05-31 Thread quanyang.wang
Hi Bruce, This patch is for v5.15, I wrote a wrong kernel version in Subject. Thanks, Quanyang On 5/31/22 15:49, quanyang.wang wrote: From: Adam Borowski commit e5b5d25444e9ee3ae439720e62769517d331fa39 upstream. Address of a field inside a struct can't possibly be null; gcc-12 warns about

[linux-yocto][v5.10/standard/preempt-rt/base][PATCH] ACPI: thermal: drop an always true check

2022-05-31 Thread quanyang.wang
From: Adam Borowski commit e5b5d25444e9ee3ae439720e62769517d331fa39 upstream. Address of a field inside a struct can't possibly be null; gcc-12 warns about this. Signed-off-by: Adam Borowski Signed-off-by: Rafael J. Wysocki --- Hi Bruce, Would you please help merge this patch to the

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc][PATCH] usb: dwc3: gadget: add missing part for "Return proper request status"

2022-05-30 Thread quanyang.wang
From: Quanyang Wang The commit bd7f84708ea02 ("usb: dwc3: gadget: Return proper request status") loses part of mainline commit. Let's bring it back. And it fixes the compile warning: drivers/usb/dwc3/gadget.c:2944:6: warning: unused variable ‘request_status’ [-Wunused-variable] 2944 | int

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 0/3]

2022-05-29 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 3 patches to the branches: v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g v5.15/standard/nxp-sdk-5.10/nxp-s32g Thanks, Quanyang Quanyang Wang (3): mtd: spi-nor: macronix: allow using mx25uw512 in Octal DTR mode

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 2/3] s32gen1: qspi: use get_cmd_opcode to get valid opcode.

2022-05-29 Thread quanyang.wang
From: Quanyang Wang Because of upstream commit 0e30f47232ab57 ("mtd: spi-nor: add support for DTR protocol"), the 8-8-8 DTR mode read opcode needs to be adjusted to be "(code << 8) | code" or (code << 8 | ~ code) according to the cmd opcode extension which is clarified as "repeat" or "revert".

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 3/3] s32gen1: qspi: make the last LUT config sharable

2022-05-29 Thread quanyang.wang
From: Quanyang Wang There are 80 LUTs in qspi controller, and every 5 LUTs form a sequence to generate a valid flash transaction. A sequence corresponds to a LUT config. And the maximum of LUT configs are 16. Now the implimentation of s32g qspi driver is that one type of cmd opcode occupies one

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH 1/3] mtd: spi-nor: macronix: allow using mx25uw512 in Octal DTR mode

2022-05-29 Thread quanyang.wang
From: Quanyang Wang Set reading setting for read proto SNOR_PROTO_8_8_8_DTR with 10 dummy cicles (will be doubled to be 20 in spi_nor_spimem_read_data) and special read command "0xEE". Set nor->cmd_ext_type to be SPI_NOR_EXT_REPEAT because the function spi_nor_get_cmd_ext will check this, or

[V2][linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-04-27 Thread quanyang.wang
From: Quanyang Wang The phy->id is an unique id under _ida after calling phy_create, but the s32g serdes driver uses it to save lane_id (0 or 1), this results that phy->id is not unique anymore and will trigger calltrace as below for being freed multiple times. [ 129.135513] ida_free called

Re: [linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-04-27 Thread quanyang.wang
Hi Paul, On 4/27/22 22:52, Paul Gortmaker wrote: [[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id] On 27/04/2022 (Wed 19:32) quanyang.wang wrote: From: Quanyang Wang The phy->id is an unique id under _

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-04-27 Thread quanyang.wang
From: Quanyang Wang The phy->id is an unique id under _ida after calling phy_create, but the s32g serdes driver uses it to save lane_id (0 or 1), this results that phy->id is not unique anymore and will trigger calltrace as below for being freed multiple times. [ 129.135513] ida_free called

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/1] watchdog: sp804: change return type of sp804_wdt_axxia_remove

2022-04-12 Thread quanyang.wang
From: Quanyang Wang Because of the upstream commit e4c777fd8c371 ("amba: Make the remove callback return void"), we need change the return type of sp804_wdt_axxia_remove from "int" to "void". Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to the branches to:

[linux-yocto][v5.10/standard/sdkv5.10/xlnx-soc][PATCH 2/3] ASoC: xilinx: add missing part back to xlnx_formatter_pcm.c

2022-04-12 Thread quanyang.wang
From: Quanyang Wang Bring back modifications caused by commit 2c357e027725 ("ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting") to fix compile error. Signed-off-by: Quanyang Wang --- sound/soc/xilinx/xlnx_formatter_pcm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[linux-yocto][v5.10/standard/sdkv5.10/xlnx-soc][PATCH 3/3] net: axienet: delete redundant bracket in xilinx_axienet_main.c

2022-04-12 Thread quanyang.wang
From: Quanyang Wang Fix compile errors which introduced by commit bbd91cdb620e ("net: axienet: fix RX ring refill allocation failure handling"). It's because there is a redundant bracket. Signed-off-by: Quanyang Wang --- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 5 ++--- 1 file

[linux-yocto][v5.10/standard/sdkv5.10/xlnx-soc][PATCH 0/3]

2022-04-12 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 3 patches to the branches: v5.10/standard/sdkv5.10/xlnx-soc v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc Thanks, Quanyang Quanyang Wang (3): xhci: bring back modification of declarition of xhci_handshake ASoC: xilinx: add

[linux-yocto][v5.10/standard/sdkv5.10/xlnx-soc][PATCH 1/3] xhci: bring back modification of declarition of xhci_handshake

2022-04-12 Thread quanyang.wang
From: Quanyang Wang There is a compile error introduced by commit 811f40351949 ("xhci: make xhci_handshake timeout for xhci_reset() adjustable") and it's caused by the modification in the declarition of xhci_handshake is missing. Let's bring it back to fix compile error. Signed-off-by: Quanyang

[REBASE][linux-yocto][v5.15/standard/nxp-sdk-5.10/nxp-s32g] nxp-s32g: porting v5.10 SDK patches to standard v5.15 kernel

2022-04-07 Thread quanyang.wang
Hi Bruce, Would you please help create a new branch v5.15/standard/nxp-sdk-5.10/nxp-s32g in linux-yocto and apply the patches as below to this new branch? The following changes since commit c9f3902d8069e32a8928153a38d8f6115194d128:   aufs: reduce overhead for "code present but disabled" use

[REBASE][linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g] nxp-s32g: porting v5.10 SDK patches to preempt-rt v5.15 kernel

2022-04-07 Thread quanyang.wang
Hi Bruce, Would you please help create a new branch v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g in linux-yocto and apply the patches as below to this new branch? The following changes since commit 29d051cc421a76432897019edc33edae35b16e39:   aufs: update compile fix for v5.15+ preempt-rt

Re: [linux-yocto] [PATCH 6/7] Revert "mtd: spi-nor: Set proper block protection bits for Winbond flashes"

2022-04-07 Thread quanyang.wang
Hi Amit, On 4/7/22 19:40, Amit Kumar Mahapatra wrote: Hello Quanyang, -Original Message- From: Quanyang Wang Sent: Friday, March 11, 2022 5:20 PM To: Amit Kumar Kumar Mahapatra ; Bruce ; Michal Simek Cc: linux-yocto@lists.yoctoproject.org Subject: Re: [PATCH 6/7] Revert "mtd:

Re: [linux-yocto] [PATCH 6/7] Revert "mtd: spi-nor: Set proper block protection bits for Winbond flashes"

2022-03-11 Thread quanyang.wang
Hi Amit, On 3/11/22 19:31, Amit Kumar Kumar Mahapatra wrote: Hello Quanyang, -Original Message- From: quanyang.w...@windriver.com Sent: Tuesday, October 19, 2021 1:46 PM To: Bruce ; michal.si...@xilinx.com Cc: linux-yocto@lists.yoctoproject.org; amit.kumar-mahapa...@xilinx.com

[linux-yocto] [PATCH][linux-yocto linux-yocto/v5.10/standard/nxp-sdk-5.10/nxp-s32g2xx] s32-gen1: spi-fsl-qspi: use devm_ioremap instead of ioremap_cache

2022-02-14 Thread quanyang.wang
From: Quanyang Wang In the document "S32G2 Reference Manual" Section 38.1.4, it says that "QuadSPI AHB region h-1FFF is non-cacheable". So we shouldn't use ioremap_cache to map this region since the system will consider this region as normal cacheable memory. Let's use devm_ioremap

Re: [linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc][PATCH 1/1] net: axienet: fix compile errors

2022-02-09 Thread quanyang.wang
On Mon, Feb 7, 2022 at 11:31 PM Quanyang Wang wrote: Ping. On 2/7/22 13:52, quanyang.wang wrote: From: Quanyang Wang When merging mainline commit bb193e3db8b8 ("net: axienet: fix for TX busy handling"), the old function axienet_check_tx_bd_space was brought back, so we need to delete

Re: [linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc][PATCH 1/1] net: axienet: fix compile errors

2022-02-07 Thread quanyang.wang
Ping. On 2/7/22 13:52, quanyang.wang wrote: From: Quanyang Wang When merging mainline commit bb193e3db8b8 ("net: axienet: fix for TX busy handling"), the old function axienet_check_tx_bd_space was brought back, so we need to delete it to fix compile error. When merging mainl

[linux-yocto][v5.10/standard/sdkv5.10/xlnx-soc][PATCH 1/1] net: axienet: fix compile errors

2022-02-06 Thread quanyang.wang
From: Quanyang Wang When merging mainline commit bb193e3db8b8 ("net: axienet: fix for TX busy handling"), the old function axienet_check_tx_bd_space was brought back, so we need to delete it to fix compile error. When merging mainline commit 95978df6fa32 ("net: axienet: add missing memory

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc][PATCH 1/1] net: axienet: fix compile errors

2022-02-06 Thread quanyang.wang
From: Quanyang Wang When merging mainline commit bb193e3db8b8 ("net: axienet: fix for TX busy handling"), the old function axienet_check_tx_bd_space was brought back, so we need to delete it to fix compile error. When merging mainline commit 95978df6fa32 ("net: axienet: add missing memory

[linux-yocto][PATCH] arm: dts: axxia: the unit-address of cpu4 should match the reg value

2022-01-11 Thread quanyang.wang
From: Quanyang Wang The unit-address of cpu4 wasn't changed to match the reg value along with other cpus. This patch is to fix this. Reported-by: Mikael Beckius Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patche to linux-yocto

[linux-yocto] [yocto-kernel-cache][master][yocto-5.10][PATCH 1/1] xilinx-zynqmp: add event device support for zynqmp

2021-12-21 Thread quanyang.wang
From: Quanyang Wang Since graphic system use /dev/input/eventX as input device, we need enable CONFIG_INPUT_EVDEV kernel option. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to branches: yocto-kernel-cache yocto-5.10 yocto-kernel-cache master Thanks,

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc][PATCH 1/1] axxiaarm: change value of AXXIA_DEBUG_UART_VIRT

2021-12-20 Thread quanyang.wang
From: Quanyang Wang The macro AXXIA_DEBUG_UART_VIRT is defined to be 0xf008 which is not in vmalloc zone (0xf080-0xff80), and it will trigger warning as below: BUG: mapping for 0x201008 at 0xf008 out of vmalloc space So change the value to be 0xf088 to avoid this

[linux-yocto][PATCH 1/1] arm64: zynqmp: fix dtb compile warning

2021-12-08 Thread quanyang.wang
From: Quanyang Wang There should be one "@" between node-name and unit-address. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to the following linux-yocto branches: v5.10/standard/preempt-rt/sdkv5.10/xlnx-soc v5.10/standard/sdkv5.10/xlnx-soc Thanks,

[linux-yocto][yocto-kernel-cache][yocto-5.10][PATCH 1/2] xilinx-zynqmp: add preempt-rt support

2021-11-25 Thread quanyang.wang
From: Quanyang Wang Add xilinx-zynqmp-preempt-rt.scc to enable preempt-rt for xilinx-zynqmp. Signed-off-by: Quanyang Wang --- bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc | 9 + 1 file changed, 9 insertions(+) create mode 100644 bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc diff

[linux-yocto][yocto-kernel-cache][yocto-5.10][PATCH 2/2] xilinx-zynqmp: disable CONFIG_ARM_CCI_PMU for preempt-rt

2021-11-25 Thread quanyang.wang
From: Quanyang Wang CONFIG_ARM_CCI_PMU depends on PERF_EVENTS which is not enabled for preempt-rt, so the building warning as below can be caught: [NOTE]: 'CONFIG_ARM_CCI_PMU' last val (y) and .config val (n) do not match [INFO]: CONFIG_ARM_CCI_PMU : n [INFO]: raw config text:

[linux-yocto][PATCH 1/1] mtd: spi-nor: add appropriate BP flags for n25q128a11

2021-11-13 Thread quanyang.wang
From: Quanyang Wang The BP feature for n25q128a11 is dropped by the SDK commit 65ffd1e667c0 ("mtd: spi-nor: Update flags for serial NOR flash devices"). Let's bring it back to enable flash_lock/unlock at zc702 board. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this

Re: [linux-yocto][linux-yocto v5.10/standard/sdkv5.10/xlnx-soc][pull request] xilinx: sync with SDK v2021.2

2021-11-10 Thread quanyang.wang
ping. On 11/8/21 9:15 AM, quanyang.wang wrote: Hi Bruce, Would you please help merge this pull request to linux-yocto v5.10/standard/sdkv5.10/xlnx-soc ? There are 17 patches in this pull request and they are all picked from git://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.10

[linux-yocto][PATCH 3/3] arm: axxia: ddr_retention: change the size of stack_var from 1024 to 512

2021-11-09 Thread quanyang.wang
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

[linux-yocto][PATCH 1/3] Revert "arm: axxia: ddr_retention: use malloc/free to fix -Wframe-larger-than build warning"

2021-11-09 Thread quanyang.wang
From: Quanyang Wang This reverts commit b48ce4a44d42a7b92f13c8d64a53d23cd6689222. The intent of exercise_stack_ptr is to keep the 4K-size stack of ncp_ddr_shutdown in L2 cache for the later usage. But using heap will break this. So revert it now. Reported-by: Mikael Beckius Signed-off-by:

[linux-yocto][PATCH 2/3] arm: axxia: ddr_retention: don't call usleep at atomic context

2021-11-09 Thread quanyang.wang
From: Quanyang Wang When running the command: #echo 1 > /proc/driver/axxia_ddr_retention_reset the function usleep_range is called at an atomic context, using udelay can avoid the calltrace as below: BUG: scheduling while atomic: sh/519/0x0002 Modules linked in: CPU: 12 PID: 519

[linux-yocto][PATCH 0/3] axxia: fix issues in ddr retention

2021-11-09 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 3 patches to the braches: linux-yocto v5.10/standard/preempt-rt/sdkv5.10/axxia linux-yocto v5.10/standard/sdkv5.10/axxia Thanks, Quanyang Quanyang Wang (3): Revert "arm: axxia: ddr_retention: use malloc/free to fix

[linux-yocto][linux-yocto v5.10/standard/sdkv5.10/xlnx-soc][pull request] xilinx: sync with SDK v2021.2

2021-11-07 Thread quanyang.wang
Hi Bruce, Would you please help merge this pull request to linux-yocto v5.10/standard/sdkv5.10/xlnx-soc ? There are 17 patches in this pull request and they are all picked from git://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.10 No modification on them. Thanks, Quanyang The

[linux-yocto][PATCH 2/2] ARM64: dts: axxia: the unit-address should match the reg value

2021-11-04 Thread quanyang.wang
From: Quanyang Wang Change all unit-address for cpus to match the reg value. Reported-by: Mikael Beckius Signed-off-by: Quanyang Wang --- arch/arm64/boot/dts/intel/axm5608-cpus.dtsi | 8 +++ arch/arm64/boot/dts/intel/axm5612-cpus.dtsi | 16 +++---

[linux-yocto][PATCH 0/2] axxia: the unit-address should match

2021-11-04 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 2 patches to linux-yocto v5.10/standard/preempt-rt/sdkv5.10/axxia linux-yocto v5.10/standard/sdkv5.10/axxia Thanks, Quanyang Quanyang Wang (2): arm: dts: axxia: the unit-address should match the reg value ARM64: dts: axxia:

[linux-yocto][PATCH 1/2] arm: dts: axxia: the unit-address should match the reg value

2021-11-04 Thread quanyang.wang
From: Quanyang Wang Change all unit-address for cpus to match the reg value. Reported-by: Mikael Beckius Signed-off-by: Quanyang Wang --- arch/arm/boot/dts/axm5508-cpus.dtsi | 8 arch/arm/boot/dts/axm5512-cpus.dtsi | 16 arch/arm/boot/dts/axm5516-cpus.dtsi | 22

Re: [linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 2/2] arm: dts: axxia: change reg property of cpus to mpidr

2021-11-04 Thread quanyang.wang
Hi Micke On 11/4/21 5:33 PM, Beckius, Mikael wrote: Hello Quanyang! I spent some with the mpidr when creating a runtime fixup for customer boards with a fixed dtb and I got the impression that the unit-address should match the reg value? Thank you for pointing this out. I will send a

[linux-yocto][linux-yocto v5.10/standard/sdkv5.10/xlnx-soc][PATCH] arm64: zynqmp: add a new partition to protect parameters of u-boot

2021-11-03 Thread quanyang.wang
From: Quanyang Wang In the commit 996ca36db0e5 ("arm64: zynqmp: adjust qspi flash partition"), I adjust the partition "qspi-rootfs" to cover the address 0x1e0. But this address is used to store the parameters for u-boot v2019.2 by default. Erase this partition will corrupt parameters data.

[linux-yocto][linux-yocto v5.10/standard/sdkv5.10/xlnx-soc][PATCH 1/1] Revert "mtd: spi-nor: Simplify odd address handling in read for dual parallel mode"

2021-10-21 Thread quanyang.wang
From: Quanyang Wang This reverts commit 634a317469fe7d6b59d41d5cf5b59fc827864741. The commit ("mtd: spi-nor: Simplify odd address handling in read for dual parallel mode") introduces an issue that passes an odd address to spi driver. When "nor->isparallel && (from & 1)" is true, running "++buf"

[linux-yocto] [PATCH 7/7] Revert "mtd: spi-nor: Update flash lock/unlock feature"

2021-10-19 Thread quanyang.wang
From: Quanyang Wang This reverts commit 9f2e5a64a4621d8986af9d5ac063ce77ec7fe279. Now the code for flash lock/unlock in linux-yocto can work with zynqmp/zc706/zc702 boards and the SDK patches break them. let's revert it. Signed-off-by: Quanyang Wang --- drivers/mtd/spi-nor/core.c | 133

[linux-yocto] [PATCH 6/7] Revert "mtd: spi-nor: Set proper block protection bits for Winbond flashes"

2021-10-19 Thread quanyang.wang
From: Quanyang Wang This reverts commit d2944ea38702eb5b3efcbd36bffcb35dffd7fe15. Now the code for flash lock/unlock in linux-yocto can work with zynqmp/zc706/zc702 boards and the SDK patches break them. let's revert it. Signed-off-by: Quanyang Wang --- drivers/mtd/spi-nor/core.c| 21

[linux-yocto] [PATCH 5/7] mtd: spi-nor: delete dual mode handling in spi_nor_lock/unlock

2021-10-19 Thread quanyang.wang
From: Quanyang Wang When enabling dual mode for 2 flashes, spi_nor_sr_lock/unlock/is_locked can handle it since the variables including mtd_size/sector_size/ofs/len are both doubled and this will not affect the calculation of BP bits value. Signed-off-by: Quanyang Wang ---

[linux-yocto] [PATCH 4/7] arm64: zynqmp: adjust qspi flash partition

2021-10-19 Thread quanyang.wang
From: Quanyang Wang There are 16MBx2 flashes at zcu102 revA board, so adjust the total size of partitions to 32MB. This is also for flash_lock/unlock since the top sectors in flash must be visible in order to be locked/unlocked. And adjust the order and size of partitions to make sure that the

[linux-yocto] [PATCH 3/7] arm64: zynqmp: adjust flash size for zcu102 rev1.0 board

2021-10-19 Thread quanyang.wang
From: Quanyang Wang There are mt25qu512a(64MB)x2 flashes at zcu102 rev1.0 board. So we add an overlay partition node to enlarge the total flash size to 128MB. And this is also for flash_lock/unlock since the top sectors in flash must be visible in order to be locked/unlocked. Signed-off-by:

[linux-yocto] [PATCH 2/7] mtd: spi-nor: add appropriate BP flags for mt25qu512a

2021-10-19 Thread quanyang.wang
From: Quanyang Wang The flash "mt25qu512a" supports Block Protection feature. According to the datasheet, the features as below are supported: - 4-bit BP - BP3 in bit6 of SR - Top/Bottom area So add appropriate flags for this flash to enable flash_lock/unlock. Signed-off-by: Quanyang Wang

[linux-yocto] [linux-yocto v5.10/standard/sdkv5.10/xlnx-soc][PATCH 0/7] mtd: spi-nor: fix flash lock/unlock issue

2021-10-19 Thread quanyang.wang
From: Quanyang Wang Hi Bruce & Michal, Would you please help review and merge these patches to the branch: linux-yocto v5.10/standard/sdkv5.10/xlnx-soc This series fix the flash lock/unlock issue at zcu102/zc706/zc702 board. The patch "mtd: spi-nor: swp: fix unlock lower area

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 0/2] axxia: fix usb and ccn issues

2021-10-17 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge this 2 patches to the branches of linux-yocto: v5.10/standard/preempt-rt/sdkv5.10/axxia v5.10/standard/sdkv5.10/axxia Thanks, Quanyang Quanyang Wang (2): arm-ccn: only disable HN-I node reporting error for axm56xx axxia: don't

[linux-yocto][PATCH 1/2] arm-ccn: only disable HN-I node reporting error for axm56xx

2021-10-17 Thread quanyang.wang
From: Quanyang Wang The commit da1913558259 ("arm-ccn: disable HN-I node reporting error to MN node") is a workaround for the issue caused by ATF running in axm56xx platforms. And it breaks A53 (Waco/6700) systems. So add the condition check to fix this. Signed-off-by: Quanyang Wang ---

[linux-yocto][PATCH 2/2] axxia: don't set dev->dma_ops for dma-coherent device

2021-10-17 Thread quanyang.wang
From: Quanyang Wang Axm55xx which supports LPAE has a physical memory range that is larger than 4G. And the USB controller only supports 32-bit DMA mask. This means if block subsystem passes an address beyond 4G to USB for a DMA operation, it will result failure unless calling swiotlb to provide

[linux-yocto] [linux-yocto v5.10/standard/sdkv5.10/xlnx-soc][PATCH] usb: dwc3: xilinx: Remove the extra freeing of clocks

2021-10-08 Thread quanyang.wang
From: Manish Narani commit 124b11cc4f6276e9e435802b160c368f35f59e1a upstream. The clocks are configured by devm_clk_bulk_get_all() in this driver. In case of any error the clocks freeing will be handled automatically. There is no need to explicitly free the clocks. Fix the same. Fixes:

Re: [linux-yocto] [PATCH][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc] net: axienet: Properly release all tx resources when done

2021-10-08 Thread quanyang.wang
+Ivar On 10/8/21 2:04 PM, quanyang.wang wrote: From: Ivar Holmqvist When adding support for mcdma the free_tx_chain function was accidentally broken. The loop that scans the tx descriptors for completed buffers does not increment the consumer index tx_bd_ci, that is done by the caller in bulk

[linux-yocto] [PATCH][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc] net: axienet: Properly release all tx resources when done

2021-10-08 Thread quanyang.wang
From: Ivar Holmqvist When adding support for mcdma the free_tx_chain function was accidentally broken. The loop that scans the tx descriptors for completed buffers does not increment the consumer index tx_bd_ci, that is done by the caller in bulk, so the check for completed buffers always failed

[linux-yocto] [yocto][linux-yocto v5.10/standard/sdkv5.10/xlnx-soc] xlnx: sync with xlnx SDK

2021-09-29 Thread quanyang.wang
Hi Bruce, Would you please help merge this pull request to linux-yocto v5.10/standard/sdkv5.10/xlnx-soc ? There are 185 patches in this pull request and they are all picked from git://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.10 No modification on them. Thanks, Quanyang The

[V2][linux-yocto][PATCH 1/2] microblaze: add to

2021-09-29 Thread quanyang.wang
From: Quanyang Wang The "smp_store_release" is defined in include/asm-generic/barrier.h which is included by arch/microblaze/include/asm/barrier.h. When we use gcc to preprocess asm-offsets.c to .i file, we can see that none of the header files included before list.h contains "asm/barrier.h",

Re: [linux-yocto][PATCH 1/2] microblaze: add to

2021-09-29 Thread quanyang.wang
On 9/29/21 9:41 PM, quanyang.wang wrote: From: Quanyang Wang The "smp_store_release" is defined in include/asm-generic/barrier.h which is included by arch/microblaze/include/asm/barrier.h. When we use gcc to propress Oh, it should be "preprocess". I will send a V2 patch

[linux-yocto][PATCH 2/2] Revert "Revert "list: add "list_del_init_careful()" to go with "list_empty_careful()"""

2021-09-29 Thread quanyang.wang
From: Quanyang Wang This reverts commit ab3bdf9a2e54f682a95c05538af71e0e6ef8223d. Since the commit ("microblaze: add to ") has fixed the compile error for microblaze, let's bring back the mainline patch which introduces list_del_init_careful. Signed-off-by: Quanyang Wang ---

[linux-yocto][PATCH 1/2] microblaze: add to

2021-09-29 Thread quanyang.wang
From: Quanyang Wang The "smp_store_release" is defined in include/asm-generic/barrier.h which is included by arch/microblaze/include/asm/barrier.h. When we use gcc to propress asm-offsets.c to .i file, we can see that none of the header files included before list.h contains "asm/barrier.h",

[linux-yocto][linux-yocto v5.10/standard/sdkv5.10/xlnx-soc][PATCH 0/2] xlnx: fix compile error

2021-09-29 Thread quanyang.wang
From: Quanyang Wang Hi Michal & Bruce, Would you please help review these 2 patches? There is a compile error for xilinx BSP when yocto kernel bump to .69. block/blk-iocost.c:1407:2: error: implicit declaration of function ‘list_del_init_careful’; did you mean ‘hlist_del_init_rcu’?

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/1] dts: arm: axxia: change pl022 spi controller to poll mode

2021-09-23 Thread quanyang.wang
From: Quanyang Wang The spi controller pl022 supports interrupt/dma/poll modes. But in interrupt/dma modes, there is calltrace as below which indicates that the driver calls sleeping function under atomic context: BUG: sleeping function called from invalid context at drivers/spi/spi.c:1211

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 2/2] arm: dts: axxia: change reg property of cpus to mpidr

2021-09-22 Thread quanyang.wang
From: Quanyang Wang According to Documentation/devicetree/bindings/arm/cpus.yaml, the reg property should represent for MPIDR[23:0] register bits but not the hwcpu index. Reported-by: Mikael Beckius Signed-off-by: Quanyang Wang --- arch/arm/boot/dts/axm5508-cpus.dtsi | 8

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 0/2] axxia: fix some issues

2021-09-22 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge this patch to the branches of linux-yocto: v5.10/standard/preempt-rt/sdkv5.10/axxia v5.10/standard/sdkv5.10/axxia Thanks, Quanyang Quanyang Wang (2): arm: axxia: axxia-gic: pass mpdir to get_logical_index arm: dts: axxia: change

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 1/2] arm: axxia: axxia-gic: pass mpdir to get_logical_index

2021-09-22 Thread quanyang.wang
From: Quanyang Wang The function get_logical_index is used to retrieve cpu index from mpidr, but irq_cpuid[irqid] is not mpidr but logical cpu. So we need to use cpu_logical_map to transform "logical cpu" to mpidr first. Signed-off-by: Quanyang Wang --- arch/arm/mach-axxia/axxia-gic.c | 2 +-

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 2/2] axxiaarm: use set/clear/test_bit() API as synchronization

2021-09-13 Thread quanyang.wang
From: Quanyang Wang Use set/vlear/test_bit() APIs can simplify the code. Signed-off-by: Quanyang Wang --- arch/arm/mach-axxia/hotplug.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-axxia/hotplug.c b/arch/arm/mach-axxia/hotplug.c index

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 3/3] arm: axxia: gic: use raw_spin_lock/unlock in gic_irq_lock/unlock

2021-09-07 Thread quanyang.wang
From: Quanyang Wang The function irq_finalize_oneshot is called after local_bh_disable() in irq_forced_thread_fn, and there is operation sequences as below: -> local_bh_disable() <= Will call rcu_read_lock() to increase rcu_preempt_depth() -> irq_finalize_oneshot

[linux-yocto][v5.10/standard/preempt-rt/sdkv5.10/axxia][PATCH 2/3] arm-ccn: disable HN-I node reporting error to MN node

2021-09-07 Thread quanyang.wang
From: Quanyang Wang The ARM's ccn-504 consists of MN/DT/HN-I/SBSX/HN-F/RN-I/XP components. And HN-I/SBSX/HN-F/RN-F/XP will report error event to MN component. But in ccn driver arm-ccn.c, it only registers 2 handlers to handle events from DT(pmu) and HN-F(l3 cache edac). So when there is an

[linux-yocto][yocto-kernel-cache][yocto-5.10 only][PATCH 1/2] axxiaarm: inhibit CONFIG_CC_OPTIMIZE_FOR_SIZE and CONFIG_FUNCTION_GRAPH_TRACER

2021-09-01 Thread quanyang.wang
From: Quanyang Wang Disable CONFIG_CC_OPTIMIZE_FOR_SIZE and CONFIG_FUNCTION_GRAPH_TRACER to fix the warning when do_kernel_configcheck: [NOTE]: 'CONFIG_FUNCTION_GRAPH_TRACER' last val (y) and .config val (n) do not match [INFO]: CONFIG_FUNCTION_GRAPH_TRACER : n ## .config: 4212

<    1   2   3   4   5   >