[linux-yocto] [yocto-4.12] [PATCH 1/6] perf/x86/intel/uncore: Fix Skylake UPI PMU event masks

2017-12-18 Thread quanyang.wang
From: Stephane Eranian Commit b3625980a65db6b6b6bbd5790a77ab95ce6397c5 upstream This patch fixes the event_mask and event_ext_mask for the Intel Skylake Server UPI PMU. Bit 21 is not used as a filter. The extended umask is from bit 32 to bit 55. Correct both umasks.

[linux-yocto] [yocto-4.12] [PATCH 5/6] perf/x86/intel/uncore: Fix SKX CHA event extra regs

2017-12-18 Thread quanyang.wang
From: Stephane Eranian Commit 8aa7b7b4b4a601978672dce6604b9f5630b2eeb8 upstream This patch adds two missing event extra regs for Skylake Server CHA PMU: - TOR_INSERTS - TOR_OCCUPANCY Were missing support for all the filters, including opcode matchers. Signed-off-by:

[linux-yocto] [yocto-4.12] [PATCH 6/6] perf/x86/intel/uncore: Fix missing marker for skx_uncore_cha_extra_regs

2017-12-18 Thread quanyang.wang
From: Stephane Eranian Commit ba883b4abc9cd837441b01eb9cf8d9196181294d upstream This skx_uncore_cha_extra_regs array was missing an end-marker. Signed-off-by: Stephane Eranian Signed-off-by: Kan Liang Acked-by: Peter Zijlstra

[linux-yocto] [yocto-4.12] [PATCH 3/6] perf/x86/intel/uncore: Fix Skylake server CHA LLC_LOOKUP event umask

2017-12-18 Thread quanyang.wang
From: Kan Liang Commit c3f02682a101b83424128915b14e60c156c03f02 upstream Correct the umask for LLC_LOOKUP.LOCAL and LLC_LOOKUP.REMOTE events Signed-off-by: Kan Liang Acked-by: Peter Zijlstra Cc: Alexander Shishkin

[linux-yocto] [yocto-4.12] [PATCH 4/6] perf/x86/intel/uncore: Remove invalid Skylake server CHA filter field

2017-12-18 Thread quanyang.wang
From: Kan Liang Commit 9ad0fbd8fcd9e6815908c772f8d792a9d764449e upstream There is no field c6 and link for CHA BOX FILTER. Signed-off-by: Kan Liang Acked-by: Peter Zijlstra Cc: Alexander Shishkin

[linux-yocto] [yocto-4.12] [PATCH 2/6] perf/x86/intel/uncore: Fix Skylake server PCU PMU event format

2017-12-18 Thread quanyang.wang
From: Kan Liang Commit bab4e569e80c07ba6fe5e4f2d815adeef26cee94 upstream PCU event format for SKX are different from snbep. Introduce a new format group for SKX PCU. Signed-off-by: Kan Liang Acked-by: Peter Zijlstra Cc:

[linux-yocto] [yocto-4.12] [PATCH 2/4] mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash

2017-12-17 Thread quanyang.wang
From: Mika Westerberg Commit d92b0f18a2039ff736b4296ad3cf3d505512051e upstream Intel Lewisburg chipset exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Intel Lewisburg SPI serial flash PCI ID to the driver list of

[linux-yocto] [yocto-4.12] [PATCH 4/4] mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID

2017-12-17 Thread quanyang.wang
From: Kuppuswamy Sathyanarayanan Commit ec0a9f62b393ed0c5bb9185a8efebb0ad00b7d0d upstream This patch adds Intel Lewisburg PCH SPI serial flash controller super SKU PCI ID. Signed-off-by: Kuppuswamy Sathyanarayanan

[linux-yocto] [yocto-4.12] [PATCH 1/4] mtd: spi-nor: intel-spi: Add support for Intel Denverton SPI serial flash controller

2017-12-17 Thread quanyang.wang
From: Mika Westerberg Commit fe602838a66d34f3d1de71feab92b403e244db8c upstream Intel Denverton exposes the SPI serial flash controller as a PCI device instead of being part of the LPC chip as previous generations did. Signed-off-by: Mika Westerberg

[linux-yocto] [yocto-4.12] [PATCH 3/4] mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash

2017-12-17 Thread quanyang.wang
From: Mika Westerberg Commit 824af37ef2d054d1f89bd2b9125755a4acc37332 upstream Intel Cedar Fork has the same SPI serial flash controller than Intel Denverton. Add the Intel Cedar Fork PCI ID to the driver list of supported devices. Signed-off-by: Mika

[linux-yocto] [4.12] [PATCH] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization

2018-05-30 Thread quanyang.wang
From: Matthias Kaehlcke commit d197f7988721221fac64f899efd7657c15281810 upstream The loop to find the best memory frame in arch_timer_mem_acpi_init() initializes the loop counter with itself ('i = i'), which is suspicious in the first place and pointed out by clang. The loop condition is 'i <

[linux-yocto] [yocto-4.12][PATCH 2/3] x86/intel_rdt: Add command line options for resource director technology

2018-01-08 Thread quanyang.wang
From: Tony Luck commit 1d9807fc64c131a83a96917f2b2da1c9b00cf127 upstream Command line options allow us to ignore features that we don't want. Also we can re-enable options that have been disabled on a platform (so long as the underlying h/w actually supports the option). [

[linux-yocto] [yocto-4.12][PATCH 3/3] x86/intel_rdt: Turn off most RDT features on Skylake

2018-01-08 Thread quanyang.wang
From: Tony Luck commit d56593eb5eda8f593db92927059697bbf89bc4b3 upstream Errata list is included in this document: https://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/6th-gen-x-series-spec-update.pdf with more details in:

[linux-yocto] [kernel-cache yocto-5.2][PATCH 0/1] xilinx-zynq: add kernel-cache support for zc702 and zc706 boards

2019-09-05 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, The patch as below includes scc and cfg files for xilinx zc702/zc706 boards. Could you please merge this patch into yocto-kernel-cache, branch is yocto-5.2? Quanyang Wang (1): xilinx-zynq: add the support for xlinx-zynq bsp

[linux-yocto] [kernel-cache yocto-5.2][PATCH 1/1] xilinx-zynq: add the support for xlinx-zynq bsp

2019-09-05 Thread quanyang.wang
From: Quanyang Wang This add cfg files to support xilinx zc702 and zc706 boards. Signed-off-by: Quanyang Wang --- bsp/xilinx-zynq/xilinx-zynq-standard.scc | 7 + bsp/xilinx-zynq/xilinx-zynq.cfg | 199 +++ bsp/xilinx-zynq/xilinx-zynq.scc | 8 + 3 files

[linux-yocto] [linux-yocto-dev standard/xlnx-soc][PATCH 0/1] correct the code position

2019-07-22 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help to merge this patch to linux-yocto-dev standard/xlnx-soc linux-yocto v5.2/standard/xlnx-soc Thanks, Quanyang Quanyang Wang (1): net: phy: dp83867: correct the code postion drivers/net/phy/dp83867.c | 38

[linux-yocto] [linux-yocto-dev standard/xlnx-soc][PATCH 1/1] net: phy: dp83867: correct the code postion

2019-07-22 Thread quanyang.wang
From: Quanyang Wang Signed-off-by: Quanyang Wang --- drivers/net/phy/dp83867.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 01e2abcbb226..2d8126953ebd 100644 ---

[linux-yocto] [linux-yocto-dev standard/xlnx-soc][PATCH 2/2] drm: xlnx: zynqmp_dp: initialize delayed work before enable interrupts

2019-07-21 Thread quanyang.wang
From: Quanyang Wang The delay work should be initialize before enables interrupts, because the irq handler will call this delay work, or else there will be calltrace as below: WARNING: CPU: 0 PID: 120 at kernel/workqueue.c:1627 __queue_delayed_work+0xd8/0x100 Modules linked in: CPU: 0 PID: 120

[linux-yocto] [linux-yocto-dev standard/xlnx-soc][PATCH 1/2] driver: pcie: reset pcie device with MIO31 on xilinx-zcu102 platform

2019-07-21 Thread quanyang.wang
From: Limeng On xilinx-zcu102 platform, when run kdump feature, an active pcie device need to be reset with MIO31 so that the crash kernel is able to boot up successfully. Signed-off-by: Meng Li [Quanyang: When power on zcu102 board, pcie bus also occur that PCI link is down, and this patch

[linux-yocto] [linux-yocto-dev standard/xlnx-soc][PATCH 0/2] xilinx-zynqmp: fix 2 issues in zcu102 Rev1.0 board

2019-07-21 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these 2 patches to linux-yocto-dev standard/xlnx-soc branch? Limeng (1): driver: pcie: reset pcie device with MIO31 on xilinx-zcu102 platform Quanyang Wang (1): drm: xlnx: zynqmp_dp: initialize delayed work before enable

[linux-yocto] [kernel-cache master][PATCH 0/1] xilinx-zynqmp: update xilinx-zynqmp to support SDK xlnx_rebase_v4.19

2019-07-22 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help to merge this patch to yocto-kernel-cache master? --LOG Booting Linux on physical CPU 0x00 [0x410fd034] Linux version 5.2.0-yoctodev-standard (wrsadmin@pek-qwang2-d1) (gcc version 7.3.1 20180425

[linux-yocto] [kernel-cache master][PATCH 1/1] xilinx-zynqmp: enable kernel options for SDK xlnx_rebase_v4.19

2019-07-22 Thread quanyang.wang
From: Quanyang Wang The SDK xlnx_rebase_v4.19 bsp patches need enable more kernel options. Signed-off-by: Quanyang Wang --- bsp/xilinx-zynqmp/xilinx-zynqmp.cfg | 76 + bsp/xilinx-zynqmp/xilinx-zynqmp.scc | 1 + 2 files changed, 77 insertions(+) diff --git

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 2/2] spi: spi-mem: zynq-qspi: add is-dual support for zc706 board

2019-09-19 Thread quanyang.wang
From: Quanyang Wang There are 2 SPI flash memories in zc706 board and it use the configuration "Dual SS, 8-bit Parallel" which means separate Slave-Select lines and separate 4 data lines. So add the is-dual support for zc706 board according to the spi driver in SDK. Refer to bd2c1810ae87 ("spi:

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/2] fix compile warning

2019-09-19 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help me merge the two patches into linux-ycoto-5.2 kernel, branch v5.2/standard/xlnx-soc ? Thanks, Quanyang Quanyang Wang (2): mtd: spi-nor: change flash_info.flags from u16 to u32 to avoid compile warning spi: spi-mem: zynq-qspi: add

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 1/2] mtd: spi-nor: change flash_info.flags from u16 to u32 to avoid compile warning

2019-09-19 Thread quanyang.wang
From: Quanyang Wang Because SST_GLOBAL_PROT_UNLK is BIT(16) which exceed the extent of u16, so change it to u32. drivers/mtd/spi-nor/spi-nor.c:2076:12: warning: large integer implicitly truncated to unsigned type [-Woverflow] .flags = (_flags), ^

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 2/3] arm: dts: zynq: enablement of coresight topology

2019-09-23 Thread quanyang.wang
From: Zumeng Chen This patch is to build the coresight topology structure of zynq-7000 series according to the docs of coresight and userguide of zynq-7000. Signed-off-by: Zumeng Chen Signed-off-by: Quanyang Wang --- arch/arm/boot/dts/zynq-7000.dtsi | 155 +++ 1

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 3/3] mmc: sdhci-of-arasan: Fix the incorrect soft reset operation when runtime resuming

2019-09-23 Thread quanyang.wang
From: Quanyang Wang Because of upstream commit c6303c5d52d5 ("mmc: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming"), add a new parameter to sdhci_runtime_resume_host. Signed-off-by: Quanyang Wang --- drivers/mmc/host/sdhci-of-arasan.c | 2 +- 1 file changed, 1

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/3] patches for zynq7000

2019-09-23 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge these patches to linux-yocto v5.2/standard/xlnx-soc branch? Thanks, Quanyang Quanyang Wang (2): ARM: dts: zc702: Fix I2C bus warnings mmc: sdhci-of-arasan: Fix the incorrect soft reset operation when runtime resuming Zumeng

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 1/3] ARM: dts: zc702: Fix I2C bus warnings

2019-09-23 Thread quanyang.wang
From: Quanyang Wang The dtc has new checks for I2C and SPI buses. Fix the warnings in node names and unit-addresses. arch/arm/boot/dts/zynq-zc702.dts:187.13-190.6: Warning (i2c_bus_reg): /amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@52: I2C bus unit address format error, expected "34"

[linux-yocto] [kernel-cache][PATCH 0/1] xilinx-zynq: enable coresight and xadc kernel options for xilinx-zynq bsp

2019-09-23 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Would you please help merge this patch to yocto-kernel-cache's branch yocto-5.2 ? Thanks, Quanyang Quanyang Wang (1): xilinx-zynq: enable coresight and xadc kernel options for xilinx-zynq bsp bsp/xilinx-zynq/xilinx-zynq.cfg | 9 + 1 file changed,

[linux-yocto] [kernel-cache][PATCH 1/1] xilinx-zynq: enable coresight and xadc kernel options for xilinx-zynq bsp

2019-09-23 Thread quanyang.wang
From: Quanyang Wang Signed-off-by: Quanyang Wang --- bsp/xilinx-zynq/xilinx-zynq.cfg | 9 + 1 file changed, 9 insertions(+) diff --git a/bsp/xilinx-zynq/xilinx-zynq.cfg b/bsp/xilinx-zynq/xilinx-zynq.cfg index 3b4cc64d..5cb53294 100644 --- a/bsp/xilinx-zynq/xilinx-zynq.cfg +++

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 2/2] arm: dts: zynq: update coresight device node

2019-10-08 Thread quanyang.wang
From: Quanyang Wang Using new compatible value for funnel and replicator device nodes, and use correct unit-address. Signed-off-by: Quanyang Wang --- arch/arm/boot/dts/zynq-7000.dtsi | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 1/2] arm: zynq: delete AFLAGS_suspend.o to fix compile warning

2019-10-08 Thread quanyang.wang
From: Quanyang Wang When using arm-linux-gnueabihf-gcc v9.2.0 to compile kernel, there will be warning info as below: cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv7-a' switch This is because that if "-march" and "-mcpu" options are passed to gcc together, gcc will check if

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/2] patches for zynq

2019-10-08 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, There are 2 patches. One is fixing compile warning which is triggered by new version gcc 9.2.0. And the other is changed according to Michal's suggestions. Would you please help review and merge these patches to linux-yocto v5.2/standard/xlnx-soc branch?

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 2/2] arch: arm64: dts: add overlay dts file

2019-10-13 Thread quanyang.wang
From: MengLi Add overlay dts file for updating FPGA bitstream file on zynqmp platform. Signed-off-by: Meng Li Signed-off-by: Quanyang Wang --- arch/arm64/boot/dts/xilinx/Makefile| 1 + .../dts/xilinx/zynqmp-zcu102-fpga-update.dts | 18 ++ 2 files changed, 19

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/2] patches for xilinx

2019-10-13 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, The patch "arch: arm64: dts: add overlay dts file" is made for FPGA programming using Device Tree Overlay. The patch "i2c: cadence: do not clear bus_hold_flag in mrecv" is to fix a bug which is introduced by upstream commit d358def70688. This bug will

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 1/2] i2c: cadence: do not clear bus_hold_flag in mrecv

2019-10-13 Thread quanyang.wang
From: Quanyang Wang When using i2c_smbus_read_byte_data to read one byte from a slave device, because of the commit d358def70688 ("i2c: cadence: Fix the hold bit setting"), the transaction becomes: S Addr Wr [A] Comm [A] P S Addr Rd [A] [Data] NA P ^

[linux-yocto] [kernel-cache master/yocto-5.2][PATCH 0/1] xilinx-zynqmp: delete obsolete kernel options

2019-10-15 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, This patch is to delete some obsolete kernel options. Now delete them or else yocto will throw out build warning infos. Could you please merge this patch into yocto-kernel-cache, branch is master and yocto-5.2? Thanks, Quanyang Quanyang Wang (1):

[linux-yocto] [PATCH 1/1] xilinx-zynqmp: delete obsolete kernel options

2019-10-15 Thread quanyang.wang
From: Quanyang Wang These kernel options have been removed frome kernel, so delete them from xilinx-zynqmp.cfg. Signed-off-by: Quanyang Wang --- bsp/xilinx-zynqmp/xilinx-zynqmp.cfg | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg

[linux-yocto] [PATCH 0/1] xilinx-zynq: fix kdump calltrace in zynq

2019-10-20 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, This patch fixes a calltrace when running kdump with enabling CONFIG_DEBUG_PREEMPT kernel option. Would you please help review and merge these patches to linux-yocto v5.2/standard/xlnx-soc branch? Thanks, Quanyang Quanyang Wang (1): xilinx-zyqn: Move

[linux-yocto] [PATCH 1/1] xilinx-zyqn: Move disable_nonboot_cpus() in front of local_irq_disable()

2019-10-20 Thread quanyang.wang
From: Quanyang Wang When run kdump with enabling CONFIG_DEBUG_PREEMPT, there is a calltrace as below: BUG: using smp_processor_id() in preemptible [] code: sh/303 caller is machine_crash_shutdown+0x2c/0xe8 CPU: 0 PID: 303 Comm: sh Kdump: loaded Not tainted 5.2.20-yocto-standard #1

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/1] xilinx-zynqmp: fix calltrace

2019-10-15 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, This patch fixes a calltrace when enable CONFIG_TRACING kernel option. Would you please help review and merge these patches to linux-yocto v5.2/standard/xlnx-soc branch? Quanyang Wang (1): dma: xilinx: dpdma: alloc xilinx_dpdma_tx_desc using GFP_ATOMIC

[linux-yocto] [PATCH 1/1] dma: xilinx: dpdma: alloc xilinx_dpdma_tx_desc using GFP_ATOMIC

2019-10-15 Thread quanyang.wang
From: Quanyang Wang The function xilinx_dpdma_chan_alloc_tx_desc can be called from atomic context, hence use GFP_ATOMIC instead of GFP_KERNEL, or else it will cause the calltrace as below: BUG: sleeping function called from invalid context at mm/slab.h:418 in_atomic(): 1, irqs_disabled(): 128,

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/1] fix kmemleak in zcu102

2019-10-16 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, This patch fixes a kmemleak in zcu102 board. Would you please help review and merge these patches to linux-yocto v5.2/standard/xlnx-soc branch? Quanyang Wang (1): clk: zynqmp: fix memory leak in zynqmp_register_clocks drivers/clk/zynqmp/clkc.c | 16

[linux-yocto] [PATCH 1/1] clk: zynqmp: fix memory leak in zynqmp_register_clocks

2019-10-16 Thread quanyang.wang
From: Quanyang Wang This is detected by kmemleak running on zcu102 board: unreferenced object 0xffc877e48180 (size 128): comm "swapper/0", pid 1, jiffies 4294892909 (age 315.436s) hex dump (first 32 bytes): 64 70 5f 76 69 64 65 6f 5f 72 65 66 5f 64 69 76 dp_video_ref_div 31 00 00 00 00 00

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/1][V2]patches for xilinx

2019-10-24 Thread quanyang.wang
From: Quanyang Wang Hi all, V1 ---> V2: 1. delete the patch "arch: arm64: dts: add overlay dts file" because it is improper to add into kernel source. 2. modify the patch " i2c: cadence: do not clear bus_hold_flag in mrecv" by adding a I2C_M_NOSTART flag check according to Shubhrajyoti's

[linux-yocto] [PATCH 1/1] i2c: cadence: keep bus_hold_flag unless I2C_M_NOSTART is set

2019-10-24 Thread quanyang.wang
From: Quanyang Wang When using i2c_smbus_read_byte_data to read one byte from a slave device, because of the commit d358def70688 ("i2c: cadence: Fix the hold bit setting"), the transaction becomes: S Addr Wr [A] Comm [A] P S Addr Rd [A] [Data] NA P ^

[linux-yocto] [PATCH 1/3] net: emaclite: fix compile warning in BUFFER_ALIGN

2019-10-29 Thread quanyang.wang
From: Quanyang Wang Use ulong instead of u32 to fix compile warning when building kernel for arm64 (zynqmp): drivers/net/ethernet/xilinx/xilinx_emaclite.c:98:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 98 | #define BUFFER_ALIGN(adr) ((ALIGNMENT -

[linux-yocto] [PATCH 3/3] fpga: zynqmp-fpga: fix compile warning in fpga_mgr_register

2019-10-29 Thread quanyang.wang
From: Quanyang Wang This fixes the compile warning as below: drivers/fpga/fpga-mgr.c:911:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 911 | struct dentry *d, *parent; ^~ Signed-off-by: Quanyang Wang --- drivers/fpga/fpga-mgr.c |

[linux-yocto] [PATCH 1/1] clk: zynqmp: fix memory leak in zynqmp_register_clocks

2019-10-29 Thread quanyang.wang
From: Quanyang Wang This is detected by kmemleak running on zcu102 board: unreferenced object 0xffc877e48180 (size 128): comm "swapper/0", pid 1, jiffies 4294892909 (age 315.436s) hex dump (first 32 bytes): 64 70 5f 76 69 64 65 6f 5f 72 65 66 5f 64 69 76 dp_video_ref_div 31 00 00 00 00 00

[linux-yocto] [V2][kernel v5.2/standard/xlnx-soc][PATCH 0/1] fix kmemleak in zcu102

2019-10-29 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, This patch is missing to be merged. So I send it again. Would you please help merge these patches to linux-yocto v5.2/standard/xlnx-soc branch? Quanyang Wang (1): clk: zynqmp: fix memory leak in zynqmp_register_clocks drivers/clk/zynqmp/clkc.c | 16

[linux-yocto] [PATCH 2/3] drivers: soc: xilinx: fix compile warning by defining payload array length to 12

2019-10-29 Thread quanyang.wang
From: Quanyang Wang In include/linux/mailbox/zynqmp-ipi-message.h, it says that the maximum length of data buffer is fixed to 12 bytes. So define payload array length to 12 to fix compile warning as below: drivers/soc/xilinx/zynqmp_power.c:91:2: warning: ISO C90 forbids variable length array

[linux-yocto] [[kernel v5.2/standard/xlnx-soc]][PATCH 0/3] xililnx-zynqmp: fix compile warning in zynqmp platform

2019-10-29 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, There are 3 patches to fix compile warnings in xilinx-zynqmp platform. Would you please help review and merge these patches to linux-yocto v5.2/standard/xlnx-soc branch? Thanks, Quanyang Quanyang Wang (3): net: emaclite: fix compile warning in

[linux-yocto] [PATCH 1/1] xilinx-zynqmp: add kernel options for ZynqMP PL Programming

2019-10-17 Thread quanyang.wang
From: Quanyang Wang Add kernel options for zynqmp FPGA programming. Signed-off-by: Quanyang Wang --- bsp/xilinx-zynqmp/xilinx-zynqmp.cfg | 4 1 file changed, 4 insertions(+) diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg b/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg index fe8ae24d..b87c2892

[linux-yocto] [kernel-cache][PATCH 0/1] xilinx-zynqmp: add kernel options for ZynqMP PL Programming

2019-10-17 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, Would you please help review and merge this patch to yocto-kernel-cache's branch yocto-5.2 and master? Thanks, Quanyang Quanyang Wang (1): xilinx-zynqmp: add kernel options for ZynqMP PL Programming bsp/xilinx-zynqmp/xilinx-zynqmp.cfg | 4 1 file

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/1] [V2] xilinx-zynqmp: fix calltrace

2019-10-22 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, This patch is a V2 patch but no change against V1. Just add some comments in the temporary section of the patch. Would you please help merge these patches to linux-yocto v5.2/standard/xlnx-soc branch? Quanyang Wang (1): dma: xilinx: dpdma: alloc

[linux-yocto] [PATCH 1/1] dma: xilinx: dpdma: alloc xilinx_dpdma_tx_desc using GFP_ATOMIC

2019-10-22 Thread quanyang.wang
From: Quanyang Wang The function xilinx_dpdma_chan_alloc_tx_desc can be called from atomic context, hence use GFP_ATOMIC instead of GFP_KERNEL, or else it will cause the calltrace as below: BUG: sleeping function called from invalid context at mm/slab.h:418 in_atomic(): 1, irqs_disabled(): 128,

[linux-yocto] [PATCH 0/2] xilinx-zynq: fix kdump hang issue

2019-10-21 Thread quanyang.wang
From: Quanyang Wang Hi Bruce, Michal, There are 2 patches. The patch "ARM: zynq: use physical cpuid in zynq_slcr_cpu_stop/start" fix the kdump hang issue when not using disable_nonboot_cpus. And the patch "xilinx-zynq: Revert "zynq: SMP crashkernel support"" revert the patch which using

[linux-yocto] [PATCH 2/2] xilinx-zynq: Revert "zynq: SMP crashkernel support"

2019-10-21 Thread quanyang.wang
From: Quanyang Wang This reverts commit 5d1a5900882ceb86cddf36c258bd5bda498c8da8. Since the commit ("ARM: zynq: use physical cpuid in zynq_slcr_cpu_stop/start") has fixed the hang issue in kdump, this patch can be reverted. Signed-off-by: Quanyang Wang --- arch/arm/kernel/machine_kexec.c | 3

[linux-yocto] [PATCH 1/2] ARM: zynq: use physical cpuid in zynq_slcr_cpu_stop/start

2019-10-21 Thread quanyang.wang
From: Quanyang Wang When kernel booting, it will create a cpuid map between the logical cpus and physical cpus. In a normal boot, the cpuid map is as below: Physical Logical 0==> 0 1==> 1 But in kdump, there is a condition that the crash happens at the

[linux-yocto] [V2][[kernel v5.2/standard/xlnx-soc]][PATCH 0/3] xililnx-zynqmp: fix compile warning in zynqmp platform

2019-11-04 Thread quanyang.wang
From: Quanyang Wang Hi Bruce & Michal, In V1 patch, I define the maximum length of data buffer to 12. But when I try to search if there is existing macro defined for the maxium length, I find that the maximum length should be 32. In drivers/remoteproc/zynqmp_r5_remoteproc.c, it use

[linux-yocto] [PATCH] drivers: soc: xilinx: fix compile warning by defining payload array length to 32

2019-11-04 Thread quanyang.wang
From: Quanyang Wang In zynqmp-ipi-mailbox.c and zynqmp_r5_remoteproc.c, the variables of zynqmp_ipi_message structures are all using 32 as the maximum size of data length. So move IPI_BUF_LEN_MAX to zynqmp-ipi-message.h to share with zynqmp_power.c. Signed-off-by: Quanyang Wang ---

[linux-yocto] [PATCH 0/1] xilinx-zynqmp: remove CONFIG_VIRTIO=y from xilinx-zynqmp.cfg

2019-11-05 Thread quanyang.wang
From: Quanyang Wang Hi Bruce & Michal, This patch delete kernel option CONFIG_VIRTIO. This is because that CONFIG_VIRTIO can be set to "Y" or "m". If set it to be "Y" explicitly, there will be build warning: WARNING: linux-yocto-5.2.x+gitAUTOINC+343a633207_b039f25b0a-r0

[linux-yocto] [PATCH 1/1] xilinx-zynqmp: remove CONFIG_VIRTIO=y from xilinx-zynqmp.cfg

2019-11-05 Thread quanyang.wang
From: Quanyang Wang Don't need to set CONFIG_VIRTIO to be "y" explicitly, or else when bitbake core-image-base there will be building warning as below: WARNING: linux-yocto-5.2.x+gitAUTOINC+343a633207_b039f25b0a-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into

[linux-yocto] [PATCH 1/1] sound: soc: xilinx: give a name to stream_name in xilinx_dp_dai_links

2019-11-11 Thread quanyang.wang
From: Quanyang Wang If .stream_name is NULL, when calling "aplay -l", it will show: card 0: monitor [DisplayPort monitor], device 0: (null) xilinx-dp-snd-codec-dai-0 [(null) xilinx-dp-snd-codec-dai-0] Adding .stream_name can eliminate the "(null)" in the output. Signed-off-by: Quanyang Wang

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/1] sound: soc: xilinx: give a name to stream_name in xilinx_dp_dai_links

2019-11-11 Thread quanyang.wang
From: Quanyang Wang Hi Bruce & Michal, When running "aplay -l" in zcu102 board, there will be a "(null)" in output: root@xilinx-zynqmp:~# aplay -l List of PLAYBACK Hardware Devices card 0: monitor [DisplayPort monitor], device 0: (null) xilinx-dp-snd-codec-dai-0 [(null)