Re: [PATCH] Chinese Language Maintainer

2007-07-15 Thread Li Yang
On 7/16/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: Li Yang wrote: > > I think you worried too much about this problem. :) Let me explain > the situation here in China more clearly. Actually, English is > mandatory in most schools and universities. Only very few pe

[PATCH] Chinese translation of Documentation/HOWTO

2007-06-21 Thread Li Yang
-by: Li Yang <[EMAIL PROTECTED]> Signed-off-by: TripleX Chung <[EMAIL PROTECTED]> Signed-off-by: Maggie Chen <[EMAIL PROTECTED]> --- Address comments from Wang Cong. Documentation/zh_CN/HOWTO | 536 + 1 files changed, 536 insertio

Re: [PATCH] Chinese Language Maintainer

2007-07-17 Thread Li Yang
Tsugikazu Shibata wrote: On Sun, 15 Jul 2007 22:42:07 +0800, leo wrote: On 7/14/07, Rob Landley <[EMAIL PROTECTED]> wrote: On Friday 13 July 2007 8:43:03 am Li Yang wrote: On Thu, 2007-07-12 at 12:05 -0400, Rob Landley wrote: +A language maintainer accepts patches to the Linux

[PATCH] Update 2.4 maintainer in document

2007-07-08 Thread Li Yang
Update the maintainer of 2.4 kernel in Documentations/SubmittingPatches. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- Documentation/SubmittingDrivers |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/Documentation/SubmittingDrivers b/Documentation/SubmittingD

Chinese translation of SubmittingDriver

2007-07-08 Thread Li Yang
development and contribute back to the community. Comments and suggestions are welcomed. Here is the document, sorry for the spam to those who can't read Chinese. :) --- 英文版: http://www.kernel.org/doc/Documentation/SubmittingDrivers 翻译者: 李阳 Li Yang <[EMAIL PROTECTED]> 维护者: 李阳 Li Yang <[EMAIL

System suspend states and device driver suspend() callback

2013-08-16 Thread Li Yang
Hi Guys, Is there a standard way for the device drivers to know if the system is going to “standby” mode or “mem” mode when the suspend() callbacks are called? Regards, Leo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v5 0/4] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-24 Thread Li Yang
On Wed, Jul 24, 2013 at 2:21 PM, wrote: > From: Hongbo Zhang > > Hi Vinod, Dan, Scott and Leo, please have a look at these V2 patches. Looks fine after the rounds of review. Acked-by: Li Yang PS: The original email was in html and rejected by lists thanks to the new gmail compose

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-17 Thread Li Yang
On Wed, Dec 11, 2013 at 2:33 AM, Scott Wood wrote: > On Tue, 2013-12-10 at 18:33 +0800, Hongbo Zhang wrote: >> Scott, >> This issue is due to the non-continuous MPIC register, I think there is >> two ways to fix it. >> >> The first one is as what we are discussing, in fact the Bman/Qman DT >>

Re: [v2] staging:fsl-mc: Move DPIO from staging to drivers/soc/fsl

2018-03-23 Thread Li Yang
On Fri, Mar 23, 2018 at 1:46 AM, kbuild test robot wrote: > Hi Roy, > > I love your patch! Yet something to improve: > > [auto build test ERROR on staging/staging-testing] > [also build test ERROR on next-20180322] > [cannot apply to linus/master v4.16-rc6] > [if your patch is applied to the

Re: [PATCH 5/5] powerpc:dts:pm: add power management node

2018-04-10 Thread Li Yang
On Wed, Mar 28, 2018 at 8:31 PM, Ran Wang wrote: > Enable Power Management feature on device tree, including MPC8536, > MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041, > P3041, T104X, T1024. There are no device tree bindings documented for the properties and compatible

Re: [PATCH] soc: fsl: support GUTS driver for ls1012a/ls1046a

2017-12-08 Thread Li Yang
On Thu, Dec 7, 2017 at 2:36 AM, Yangbo Lu wrote: > This patch is to add compatible strings "fsl,ls1021a-dcfg" and > "fsl,ls1043a-dcfg" into device match table of GUTS driver. > > Signed-off-by: Yangbo Lu > --- > drivers/soc/fsl/guts.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v6 04/49] soc: fsl: qe: introduce qe_io{read,write}* wrappers

2021-01-19 Thread Li Yang
On Tue, Jan 19, 2021 at 11:35 AM Christophe Leroy wrote: > > Hi Rasmus, > > Le 28/11/2019 à 15:55, Rasmus Villemoes a écrit : > > The QUICC engine drivers use the powerpc-specific out_be32() etc. In > > order to allow those drivers to build for other architectures, those > > must be replaced by

Re: [PATCH] soc: fsl: Remove bogus packed attributes from qman.h

2020-09-01 Thread Li Yang
On Mon, Aug 31, 2020 at 8:57 PM Herbert Xu wrote: > > On Tue, Sep 01, 2020 at 01:50:38AM +, Leo Li wrote: > > > > Sorry for the late response. I missed this email previously. > > > > These structures are descriptors used by hardware, we cannot have _ANY_ > > padding from the compiler. The

Re: [PATCH 25/25] soc: fsl: qbman: qman: Remove unused variable 'dequeue_wq'

2020-11-23 Thread Li Yang
d-but-set-variable] > > Cc: Li Yang > Cc: YueHaibing > Cc: linuxppc-...@lists.ozlabs.org > Signed-off-by: Lee Jones > --- > drivers/soc/fsl/qbman/qman.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/drivers/soc/fsl/qbman/qman.c b/dr

Re: [PATCH 00/25] Rid W=1 warnings in SoC

2020-11-23 Thread Li Yang
on > Cc: Florian Fainelli > Cc: Heiko Stuebner > Cc: Jonathan Hunter > Cc: Krzysztof Kozlowski > Cc: Liam Girdwood > Cc: linux-arm-...@vger.kernel.org > Cc: linuxppc-...@lists.ozlabs.org > Cc: linux-rockc...@lists.infradead.org > Cc: linux-samsung-...@vger.kernel

Re: [PATCH v4 1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2020-11-23 Thread Li Yang
On Mon, Nov 2, 2020 at 1:37 AM Ran Wang wrote: > > From: Biwen Li > > Hardware issue: > - Reading register RCPM_IPPDEXPCR1 always return zero, this causes > system firmware could not get correct information and wrongly do > clock gating for all wakeup source IP during system suspend. Then >

Re: [PATCH v3] soc: fsl: dpio: Get the cpumask through cpumask_of(cpu)

2020-11-23 Thread Li Yang
On Mon, Oct 19, 2020 at 9:15 PM Yi Wang wrote: > > From: Hao Si > > The local variable 'cpumask_t mask' is in the stack memory, and its address > is assigned to 'desc->affinity' in 'irq_set_affinity_hint()'. > But the memory area where this variable is located is at risk of being > modified. > >

Re: [EXT] Re: [v2 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-11-23 Thread Li Yang
On Thu, Nov 5, 2020 at 5:04 PM Leo Li wrote: > > > > > -Original Message- > > From: Rasmus Villemoes > > Sent: Tuesday, November 3, 2020 2:03 AM > > To: Leo Li ; Biwen Li (OSS) ; > > shawn...@kernel.org; robh...@kernel.org; mark.rutl...@arm.com; Z.q. > > Hou ; t...@linutronix.de;

Re: [PATCH] net/ethernet/freescale: Fix incorrect IS_ERR_VALUE macro usages

2020-11-24 Thread Li Yang
On Tue, Nov 24, 2020 at 12:24 AM Wei Li wrote: > > IS_ERR_VALUE macro should be used only with unsigned long type. > Especially it works incorrectly with unsigned shorter types on > 64bit machines. This is truly a problem for the driver to run on 64-bit architectures. But from an earlier

Re: [PATCH] net/ethernet/freescale: Fix incorrect IS_ERR_VALUE macro usages

2020-11-24 Thread Li Yang
On Tue, Nov 24, 2020 at 3:44 PM Li Yang wrote: > > On Tue, Nov 24, 2020 at 12:24 AM Wei Li wrote: > > > > IS_ERR_VALUE macro should be used only with unsigned long type. > > Especially it works incorrectly with unsigned shorter types on > > 64bit machine

[GIT PULL] soc/fsl driver changes for next (v5.11)

2020-11-25 Thread Li Yang
Hi arm-soc maintainers, Please find the pull request for NXP/FSL SoC drivers. Regards, Leo The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at:

[GIT PULL] soc/fsl driver fix for 5.10

2020-11-25 Thread Li Yang
Hi arm-soc maintainers, Please find the pull request for NXP/FSL SoC drivers. Regards, Leo The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at:

Re: [PATCH] net/ethernet/freescale: Fix incorrect IS_ERR_VALUE macro usages

2020-11-25 Thread Li Yang
On Tue, Nov 24, 2020 at 8:00 PM liwei (GF) wrote: > > Hi Yang, > > On 2020/11/25 6:13, Li Yang wrote: > > On Tue, Nov 24, 2020 at 3:44 PM Li Yang wrote: > >> > >> On Tue, Nov 24, 2020 at 12:24 AM Wei Li wrote: > >>> > >>> IS

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-20 Thread Li Yang
On Tue, Aug 20, 2019 at 1:24 PM Mark Brown wrote: > > On Fri, Aug 16, 2019 at 02:40:47PM -0500, Li Yang wrote: > > On Fri, Aug 16, 2019 at 11:30 AM Alexandre Belloni > > > > Most of the i2c RTCs do address wrapping which is sometimes the only way > > > to properl

Re: [PATCH v1 2/4] soc: fsl: guts: Add definition for LS1028A

2019-08-15 Thread Li Yang
On Wed, Aug 14, 2019 at 2:26 AM Yinbo Zhu wrote: > > Adding compatible string "ls1028a-dcfg" to initialize guts driver > for ls1028 and SoC die attribute definition for LS1028A > > Signed-off-by: Yinbo Zhu Applied for next. > --- > drivers/soc/fsl/guts.c | 6 ++ > 1 file changed, 6

Re: [PATCH 3/3] soc: fsl: FSL_MC_DPIO selects directly FSL_GUTS

2019-08-15 Thread Li Yang
On Wed, Jul 3, 2019 at 9:58 AM Ioana Ciornei wrote: > > Make FSL_MC_DPIO select directly FSL_GUTS. Without this change we could > be in a situation where both FSL_MC_DPIO and SOC_BUS are enabled but > FSL_GUTS is not. > > Signed-off-by: Ioana Ciornei > --- > drivers/soc/fsl/Kconfig | 2 +- > 1

Re: [PATCH 1/3] bus: fsl-mc: remove explicit device_link_del

2019-08-15 Thread Li Yang
On Wed, Jul 3, 2019 at 9:58 AM Ioana Ciornei wrote: > > Starting with commit 72175d4ea4c4 ("driver core: Make driver core own > stateful device links") stateful device links are owned by the driver > core and should not be explicitly removed on device unbind. Delete all > device_link_del

Re: [PATCH 2/3] soc: fsl: dpio: remove explicit device_link_remove

2019-08-15 Thread Li Yang
On Wed, Jul 3, 2019 at 9:58 AM Ioana Ciornei wrote: > > Starting with commit 72175d4ea4c4 ("driver core: Make driver core > own stateful device links") stateful device links are owned by the > driver core and should not be explicitly removed on device unbind. > Delete all device_link_remove

Re: [PATCH v3 0/7] soc/fsl/qbman: Enable Kexec for DPAA1 devices

2019-08-15 Thread Li Yang
On Thu, Aug 1, 2019 at 3:20 PM Roy Pledge wrote: > > Most DPAA1 devices do not support a soft reset which is an issue if > Kexec starts a new kernel. This patch series allows Kexec to function > by detecting that the QBMan device was previously initialized. > > The patches fix some issues with

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-16 Thread Li Yang
On Fri, Aug 16, 2019 at 3:05 AM Alexandre Belloni wrote: > > On 16/08/2019 10:46:36+0800, Biwen Li wrote: > > Issue: > > - # hwclock -w > > hwclock: RTC_SET_TIME: Invalid argument > > > > Why: > > - Relative patch: https://lkml.org/lkml/2019/4/3/55 , this patch > > will always

Re: [PATCH 3/3] soc: fsl: FSL_MC_DPIO selects directly FSL_GUTS

2019-08-16 Thread Li Yang
On Fri, Aug 16, 2019 at 9:59 AM Roy Pledge wrote: > > On 8/15/2019 7:09 PM, Li Yang wrote: > > On Wed, Jul 3, 2019 at 9:58 AM Ioana Ciornei wrote: > >> Make FSL_MC_DPIO select directly FSL_GUTS. Without this change we could > >> be in a situation where both FSL_M

Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-16 Thread Li Yang
On Fri, Aug 16, 2019 at 11:30 AM Alexandre Belloni wrote: > > On 16/08/2019 10:50:49-0500, Li Yang wrote: > > On Fri, Aug 16, 2019 at 3:05 AM Alexandre Belloni > > wrote: > > > > > > On 16/08/2019 10:46:36+0800, Biwen Li wrote: > > > > Issue:

[GIT PULL] updates to soc/fsl drivers for v5.4

2019-08-16 Thread Li Yang
Hi arm-soc maintainers, Please look into the following changes and merge them if they look good. Regards, Leo The following changes since commit 157eed91b374c42eb264157366daf3dabc8bc816: Merge tag 'tee-optee-for-5.4' of git://git.linaro.org/people/jens.wiklander/linux-tee into arm/drivers

Re: [PATCH 1/3] bus: fsl-mc: remove explicit device_link_del

2019-08-16 Thread Li Yang
On Fri, Aug 16, 2019 at 1:04 AM Laurentiu Tudor wrote: > > Hi Leo, > > > -Original Message----- > > From: Li Yang > > Sent: Friday, August 16, 2019 2:13 AM > > To: Ioana Ciornei > > Cc: Laurentiu Tudor ; Roy Pledge > > ; lkml > > Su

[GIT PULL] soc/fsl drivers changes for next(v5.10)

2020-09-23 Thread Li Yang
: fsl: qbman: Fix return value on success Li Yang (1): soc: fsl: qman: fix -Wpacked-not-aligned warnings Liu Shixin (1): soc: fsl: qman: convert to use be32_add_cpu() Wang Hai (1): soc: fsl: qe: Remove unnessesary check in ucc_set_tdm_rxtx_clk drivers/soc/fsl/dpio/qbman

Re: [EXT] Re: [PATCH 2/5] arm64: dts: lx2160a-rdb: remove useless property of rtc

2020-09-22 Thread Li Yang
On Mon, Sep 21, 2020 at 10:56 PM Biwen Li wrote: > > > > > > > > > > -Original Message- > > > From: Biwen Li > > > Sent: Monday, September 21, 2020 10:13 PM > > > To: Shawn Guo ; Biwen Li (OSS) > > > > > > Cc: alexandre.bell...@bootlin.com; Leo Li ; > > > robh...@kernel.org;

Re: [PATCH] soc: fsl: qbman: Fix return value on success

2020-09-22 Thread Li Yang
On Sun, Sep 20, 2020 at 3:27 PM Krzysztof Kozlowski wrote: > > On error the function was meant to return -ERRNO. This also fixes > compile warning: > > drivers/soc/fsl/qbman/bman.c:640:6: warning: variable 'err' set but not > used [-Wunused-but-set-variable] > > Fixes: 0505d00c8dba

Re: [PATCH] soc: fsl: dpio: remove set but not used 'addr_cena'

2020-09-22 Thread Li Yang
On Sun, Sep 20, 2020 at 3:20 PM Krzysztof Kozlowski wrote: > > On Thu, 10 Sep 2020 at 16:57, Jason Yan wrote: > > > > This addresses the following gcc warning with "make W=1": > > > > drivers/soc/fsl/dpio/qbman-portal.c: In function > > ‘qbman_swp_enqueue_multiple_direct’: > >

Re: [PATCH v1] soc: fsl: rcpm: Add ACPI support

2020-09-22 Thread Li Yang
On Wed, Sep 16, 2020 at 1:12 AM Ard Biesheuvel wrote: > > On 9/16/20 3:32 AM, Ran Wang wrote: > > Hi Ard, > > > > On Tuesday, September 15, 2020 7:10 PM, Ard Biesheuvel wrote: > >> Subject: Re: [PATCH v1] soc: fsl: rcpm: Add ACPI support > >> > >> On 9/15/20 1:06 PM, kuldip dwivedi wrote: > >>>

Re: [PATCH -next] soc/qman: convert to use be32_add_cpu()

2020-09-22 Thread Li Yang
On Sun, Sep 13, 2020 at 10:56 PM Liu Shixin wrote: > > Signed-off-by: Liu Shixin > drivers/soc/fsl/qbman/qman_test_api.c--- The patch seems to be messed up here. I have fixed that, and applied for next. Thanks. > drivers/soc/fsl/qbman/qman_test_api.c | 2 +- > 1 file changed, 1

Re: [PATCH -next] soc: fsl: qe: Remove unnessesary check in ucc_set_tdm_rxtx_clk

2020-09-22 Thread Li Yang
On Tue, Aug 4, 2020 at 9:04 AM Wang Hai wrote: > > Fix smatch warning: > > drivers/soc/fsl/qe/ucc.c:526 > ucc_set_tdm_rxtx_clk() warn: unsigned 'tdm_num' is never less than zero. > > 'tdm_num' is u32 type, never less than zero. > > Signed-off-by: Wang Hai Applied for next. Thanks. > --- >

Re: [PATCH 2/3] usb: gadget: fsl_qe_udc: do not use tasklet_disable before tasklet_kill

2012-10-31 Thread Li Yang
On Wed, Oct 31, 2012 at 9:26 PM, Felipe Balbi wrote: > On Wed, Oct 31, 2012 at 04:06:00PM +0800, Xiaotian Feng wrote: >> If tasklet_disable() is called before related tasklet handled, >> tasklet_kill will never be finished. tasklet_kill is enough. > > how did you test this ? Why changing FSL

[GIT PATCH] Update to Chinese documents

2008-01-08 Thread Li Yang
://git.kernel.org/?p=linux/kernel/git/leo/chinese.git;a=shortlog;h=doc Bryan Wu (1): Chinese: add translation of volatile-considered-harmful.txt Dave Young (1): Chinese: add translation of oops-tracing.txt Li Yang (5): Chinese: Add the known_regression URI to the HOWTO

Re: [GIT PATCH] Update to Chinese documents

2008-01-09 Thread Li Yang
On Tue, 2008-01-08 at 21:18 +0800, Sam Ravnborg wrote: > On Tue, Jan 08, 2008 at 08:50:37PM +0800, Li Yang wrote: > > Please pull from the doc branch at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/leo/chinese.git doc > > > > to receive the fol

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Li Yang
On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui wrote: > Changes for v8: > * Separated the cpu hotplug patch into three patches, as follows > [PATCH v8 1/7] powerpc/smp: use a struct epapr_spin_table to replace macros > [PATCH v8 2/7] powerpc/smp: add generic_set_cpu_up() to set cpu_state as >

Re: [PATCH v8 0/7] power management patch set

2012-07-26 Thread Li Yang
On Fri, Jul 27, 2012 at 1:29 AM, Kumar Gala wrote: > > On Jul 26, 2012, at 9:02 AM, Li Yang wrote: > >> On Fri, Jul 20, 2012 at 8:42 PM, Zhao Chenhui >> wrote: >>> Changes for v8: >>> * Separated the cpu hotplug patch into three patches, as follows >&

Re: [PATCHv3 1/7] PCI: dwc: Fix a bug of the case dw_pci->ops is NULL

2021-01-28 Thread Li Yang
On Fri, Jan 8, 2021 at 3:29 AM Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > The dw_pci->ops may be a NULL, and fix it by adding one more check. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Rob Herring > Acked-by: Gustavo Pimentel Hi Bjorn, This is causing many layerscape platforms to

[GIT PULL] soc/fsl drivers changes for next(v5.8)

2020-05-27 Thread Li Yang
Hi soc maintainers, Please merge the following new changes for soc/fsl drivers. Regards, Leo The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at:

Re: [v3 1/2] dts: ppc: t4240rdb: remove interrupts property

2020-05-27 Thread Li Yang
: > $ hwclock.util-linux > hwclock.util-linux: select() to /dev/rtc0 > to wait for clock tick timed out > > Signed-off-by: Biwen Li Acked-by: Li Yang > --- > arch/powerpc/boot/dts/fsl/t4240rdb.dts | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/powerp

Re: [v3 2/2] dts: ppc: t1024rdb: remove interrupts property

2020-05-27 Thread Li Yang
: > $ hwclock.util-linux > hwclock.util-linux: select() to /dev/rtc0 > to wait for clock tick timed out > > Signed-off-by: Biwen Li Acked-by: Li Yang > --- > arch/powerpc/boot/dts/fsl/t1024rdb.dts | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/powerp

Re: [v2 1/2] dts: ppc: t4240rdb: remove interrupts property

2020-05-22 Thread Li Yang
On Wed, May 20, 2020 at 4:21 AM Biwen Li wrote: > > From: Biwen Li > > This removes interrupts property to drop warning as follows: > - $ hwclock.util-linux > hwclock.util-linux: select() to /dev/rtc0 > to wait for clock tick timed out > > My case: > - RTC ds1374's INT pin is

Re: [v2 2/2] dts: ppc: t1024rdb: remove interrupts property

2020-05-22 Thread Li Yang
On Wed, May 20, 2020 at 4:21 AM Biwen Li wrote: > > From: Biwen Li > > This removes interrupts property to drop warning as follows: > - $ hwclock.util-linux > hwclock.util-linux: select() to /dev/rtc0 > to wait for clock tick timed out > > My case: > - RTC ds1339s INT pin

Re: [PATCH v3 2/2] arm64: dts: Add ds26522 node to dts to ls1043ardb

2020-05-22 Thread Li Yang
On Tue, May 19, 2020 at 11:08 PM Qiang Zhao wrote: > > From: Zhao Qiang Maybe remove the duplicated dts in the title? > > Add ds26522 node to fsl-ls1043a-rdb.dts > > Signed-off-by: Zhao Qiang > --- > v3: > - use "arm64: dts:" format for subject > >

Re: [PATCH] soc: fsl: qe: Replace one-element array and use struct_size() helper

2020-05-22 Thread Li Yang
On Wed, May 20, 2020 at 10:24 PM Kees Cook wrote: > > On Wed, May 20, 2020 at 06:52:21PM -0500, Li Yang wrote: > > On Mon, May 18, 2020 at 5:57 PM Kees Cook wrote: > > > Hm, looking at this code, I see a few other things that need to be > > > fixed: > > >

Re: [PATCH] soc: fsl: qe: Replace one-element array and use struct_size() helper

2020-05-22 Thread Li Yang
On Mon, May 18, 2020 at 5:16 PM Gustavo A. R. Silva wrote: > > The current codebase makes use of one-element arrays in the following > form: > > struct something { > int length; > u8 data[1]; > }; > > struct something *instance; > > instance = kmalloc(sizeof(*instance) + size,

Re: [PATCH] treewide: Replace zero-length array with flexible-array

2020-05-22 Thread Li Yang
On Thu, May 7, 2020 at 1:49 PM Gustavo A. R. Silva wrote: > > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced in C99:

Re: [PATCH 3/4] clk: qoriq: Add platform dependencies

2020-05-22 Thread Li Yang
On Thu, May 7, 2020 at 6:31 AM Geert Uytterhoeven wrote: > > The Freescale QorIQ clock controller is only present on Freescale E500MC > and Layerscape SoCs. Add platform dependencies to the CLK_QORIQ config > symbol, to avoid asking the user about it when configuring a kernel > without E500MC or

Re: [PATCH 1/4] ahci: qoriq: Add platform dependencies

2020-05-22 Thread Li Yang
On Thu, May 7, 2020 at 6:30 AM Geert Uytterhoeven wrote: > > The Freescale QorIQ AHCI SATA controller is only present on Freescale > Layerscape SoCs. Add platform dependencies to the AHCI_QORIQ config > symbol, to avoid asking the user about it when configuring a kernel > without Layerscape

Re: [PATCH -next] soc: fsl: qbman: Remove unused inline function qm_eqcr_get_ci_stashing

2020-05-22 Thread Li Yang
On Fri, May 8, 2020 at 9:11 AM YueHaibing wrote: > > There's no callers in-tree anymore. > > Signed-off-by: YueHaibing Applied for next. Thanks. Regards, Leo > --- > drivers/soc/fsl/qbman/qman.c | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/drivers/soc/fsl/qbman/qman.c

Re: [PATCH v3 4/5] arm64: defconfig: add MEDIA_PLATFORM_SUPPORT

2020-05-22 Thread Li Yang
vers back. > > Signed-off-by: Max Krummenacher Acked-by: Li Yang This is pretty important otherwise some of the drivers enabled in defconfig will no longer build. > > > --- > > Changes in v3: > - new patch: added 'arm64: defconfig: add MEDIA_PLATFORM_SUPPORT' now >

Re: [PATCH] usb: gadget: fsl: Fix a wrong judgment in fsl_udc_probe()

2020-05-22 Thread Li Yang
;> Thus adjust the error detection and corresponding exception handling. > >> Got it. > > Wow... > > > > No, don't listen to Markus when it comes to writing commit messages. > > You couldn't find worse advice anywhere. :P > > I'm actively waiting for a reply from the maintainer. Thank you very much. Sorry for the late response. Acked-by: Li Yang Regards, Leo

Re: [PATCH] soc: fsl: dpio: Prefer the CPU affine DPIO

2020-05-22 Thread Li Yang
On Fri, Apr 24, 2020 at 6:52 AM Ioana Ciornei wrote: > > From: Roy Pledge > > Use the cpu affine DPIO unless there isn't one which can happen > if less DPIOs than cores are assign to the kernel. > > Signed-off-by: Roy Pledge > Signed-off-by: Ioana Ciornei Applied for next. Thanks. Regards,

Re: [PATCH] soc: fsl: qe: clean up an indentation issue

2020-05-22 Thread Li Yang
On Fri, Mar 27, 2020 at 11:15 AM Colin King wrote: > > From: Colin Ian King > > There is a statement that not indented correctly, remove the > extraneous space. > > Signed-off-by: Colin Ian King Applied for next. Thanks. > --- > drivers/soc/fsl/qe/ucc.c | 2 +- > 1 file changed, 1

Re: [PATCH -next] soc: fsl: dpio: Remove unused inline function qbman_write_eqcr_am_rt_register

2020-05-22 Thread Li Yang
On Fri, May 8, 2020 at 9:13 AM YueHaibing wrote: > > There's no callers in-tree anymore since commit > 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode > enqueue") > > Signed-off-by: YueHaibing Applied to next. Thanks. Regards, Leo > --- >

Re: [PATCH] soc: fsl: qe: Replace one-element array and use struct_size() helper

2020-05-26 Thread Li Yang
On Sun, May 24, 2020 at 9:49 PM Qiang Zhao wrote: > > On Wed, May 23, 2020 at 5:22 PM Li Yang > > -Original Message- > > From: Li Yang > > Sent: 2020年5月23日 5:22 > > To: Kees Cook > > Cc: Gustavo A. R. Silva ; Qiang Zhao > > ; linuxppc-dev ;

Re: [RESEND PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

2017-10-25 Thread Li Yang
On Tue, Sep 12, 2017 at 1:49 AM, SZ Lin wrote: > Add QSPI node support, and this function is disabled by default > This setting could be overwritten in board-level definitions Adding Shawn Guo. > > Signed-off-by: SZ Lin Acked-by: Li Yang > --- > arch/arm/boot/dts

Re: [PATCH 2/2] Documentation: dt: binding: rtc: add binding for ftm alarm driver

2019-07-10 Thread Li Yang
On Fri, Jul 5, 2019 at 6:26 AM Biwen Li wrote: > > The patch adds binding for ftm alarm driver > > Signed-off-by: Biwen Li Please add dts maintainer for binding patches. I have added Rob. > --- > .../devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt | 33 > ++ > 1 file

Re: [v2,2/2] Documentation: dt: binding: rtc: add binding for ftm alarm driver

2019-07-10 Thread Li Yang
On Wed, Jul 10, 2019 at 6:35 AM Biwen Li wrote: > > The patch adds binding for ftm alarm driver > > Signed-off-by: Biwen Li Looks like I commented the older version just now. Adding Rob to this version too. > --- > Change in v2: > - replace ls1043a with ls1088a as example > - add rcpm

Re: [v2,1/2] rtc/fsl: add FTM alarm driver as the wakeup source

2019-07-10 Thread Li Yang
On Wed, Jul 10, 2019 at 6:35 AM Biwen Li wrote: > > For the paltforms including LS1012A, LS1021A, LS1028A, LS1043A, > LS1046A, LS1088A, LS208xA that has the FlexTimer > module, implementing alarm functions within RTC subsystem > to wakeup the system when system going to sleep (work with RCPM

[GIT PULL] updates to soc/fsl drivers for v5.3

2019-05-20 Thread Li Yang
Hi arm-soc maintainers, This is a rebase of patches that missed 5.2 merge window. Please help to review and merge it. Thanks. Regards, Leo The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git

Re: [PATCH 4/4] xHCI: Handle dwc3 erratum on USB3 HW LPM feature.

2019-05-23 Thread Li Yang
On Fri, Jan 5, 2018 at 4:00 AM Ran Wang wrote: > > Synopsys STARS ticket: 9969472(A-010131) > > Description: This erratum is applicable for the USB 3.0 Super > Speed host mode operation. When the U2 timer expires while in > U1 mode, the USB 3.0 controller completes a U1->U2 entry operation >

Re: [PATCH v6 40/57] soc: Remove dev_err() usage after platform_get_irq()

2019-07-31 Thread Li Yang
On Tue, Jul 30, 2019 at 10:01 PM Stephen Boyd wrote: > > Quoting Leo Li (2019-07-30 14:26:01) > > > > The patch looks good to me too. I can take it through my tree with your > > reviewed-by. > > > > I split it for you just in case you want different patches. > Thanks. I will take the fsl/nxp

Re: [PATCH 1/2] arm64: dts: ls1028a: Fix GPIO work fail.

2019-07-31 Thread Li Yang
On Thu, Jul 18, 2019 at 4:59 AM Hui Song wrote: > Change the title to be something like: arm64: dts: ls1028a: fix gpio nodes > From: Song Hui > > Add ls1028a device specify compatible. Please submit a separate patch to update the device tree binding too. > Make gpio as little-endian deal.

Re: [PATCH 3/3] arm64: dts: ls1088a: Revise gpio registers to little-endian

2019-07-31 Thread Li Yang
On Wed, May 29, 2019 at 3:32 AM Chuanhua Han wrote: > > Since fsl-ls1088a Soc GPIO registers are used as little endian, > the patch adds the little-endian attribute to each gpio node. > > Signed-off-by: Chuanhua Han Acked-by: Li Yang > --- > arch/arm64/boot/dts/freescale

Re: [PATCH][next] soc: fsl: fix spelling mistake "Firmaware" -> "Firmware"

2019-05-29 Thread Li Yang
On Tue, May 21, 2019 at 3:57 AM Colin King wrote: > > From: Colin Ian King > > There is a spelling mistake in a pr_err message. Fix it. > > Signed-off-by: Colin Ian King Applied. Thanks! Regards, Leo > --- > drivers/soc/fsl/dpaa2-console.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH 1/3] gpio: mpc8xxx: Enable port input and interrupt

2019-05-29 Thread Li Yang
On Wed, May 29, 2019 at 3:33 AM Chuanhua Han wrote: > > The GPIO Input Buffer Enable register is used to control the input > enable of each individual GPIO port. When an individual GPIO port's > direction is set to input (GPIO_GPDIR[DRn=0]), the associated > input enable must be set

Re: [PATCH 2/3] gpio: mpc8xxx: Use IRQF_SHARED mode to request IRQ

2019-05-29 Thread Li Yang
On Wed, May 29, 2019 at 3:33 AM Chuanhua Han wrote: > > GPIO3 and GPIO4 controllers share one irq number on Layerscape > platform. In the current implementation, only one GPIO controller > can register successfully. > > This patch is to allow two controllers to share a single interrupt > number.

Re: [PATCH v1] usb: dwc3: enable otg mode for dwc3 usb ip on layerscape

2019-10-05 Thread Li Yang
On Sat, Oct 5, 2019 at 9:56 PM Shawn Guo wrote: > > On Mon, Sep 09, 2019 at 05:02:44PM +0800, Yinbo Zhu wrote: > > layerscape otg function should be supported HNP SRP and ADP protocol > > accroing to rm doc, but dwc3 code not realize it and use id pin to > > detect who is host or device(0 is host

Re: [V2] dmaengine: fsl-edma: Add eDMA support for QorIQ LS1028A platform

2019-10-21 Thread Li Yang
On Mon, Oct 21, 2019 at 4:57 PM Leo Li wrote: > > > > > -Original Message- > > From: Peng Ma > > Sent: Sunday, October 20, 2019 9:22 PM > > To: vk...@kernel.org > > Cc: dan.j.willi...@intel.com; Leo Li ; > > k.kozlowsk...@gmail.com; Fabio Estevam ; > > dmaeng...@vger.kernel.org;

Re: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-25 Thread Li Yang
On Tue, Sep 24, 2019 at 11:27 PM Biwen Li wrote: > > > > > > > > > > > > > > > > > > > > > > > > > The 'fsl,ippdexpcr-alt-addr' property is used to handle > > > > > > > > > > an errata > > > > > > > > > > A-008646 on LS1021A > > > > > > > > > > > > > > > > > > > > Signed-off-by: Biwen Li > > > >

Re: [PATCH] gpio/mpc8xxx: change irq handler from chained to normal

2019-09-06 Thread Li Yang
On Fri, Sep 6, 2019 at 10:20 AM Hui Song wrote: > > From: Song Hui > The English below need to be fixed. > more one gpio controller use share one interrupt, > make request interrupt to be shared. More than one gpio controllers can share one interrupt, change the driver to request shared irq.

Re: [PATCH] arm64: dts: ls1028a: Add temperature sensor node

2019-05-24 Thread Li Yang
On Thu, May 23, 2019 at 8:30 PM Yuantian Tang wrote: > > Add nxp sa56004 chip node for temperature monitor. > > Signed-off-by: Yuantian Tang > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 5 + > arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 5 + > 2 files changed, 10

[GIT PULL v2] updates to soc/fsl drivers for next(v5.3)

2019-06-05 Thread Li Yang
Hi arm-soc maintainers, This is a rebase of patches that missed 5.2 merge window together with some new patches for QE. Please help to review and merge it. We would like this to be merged earlier because there are other patches depending on patches in this pull request. After this is merged in

Re: [PATCH v3 0/6] soc/fsl/qe: cleanups and new DT binding

2019-06-04 Thread Li Yang
On Mon, May 13, 2019 at 6:17 AM Rasmus Villemoes wrote: > > This small series consists of some small cleanups and simplifications > of the QUICC engine driver, and introduces a new DT binding that makes > it much easier to support other variants of the QUICC engine IP block > that appears in the

Re: [PATCH v2] arm64: dts: ls1028a: Fix CPU idle fail.

2019-06-11 Thread Li Yang
On Thu, May 23, 2019 at 3:52 AM Shawn Guo wrote: > > On Fri, May 17, 2019 at 12:57:53PM +0800, Ran Wang wrote: > > PSCI spec define 1st parameter's bit 16 of function CPU_SUSPEND to > > indicate CPU State Type: 0 for standby, 1 for power down. In this > > case, we want to select standby for CPU

Re: [PATCH] arm64: defconfig: Enable FSL_EDMA driver

2019-06-12 Thread Li Yang
On Thu, May 9, 2019 at 10:15 PM Shawn Guo wrote: > > On Mon, Apr 22, 2019 at 01:30:56PM -0500, Li Yang wrote: > > Enables the FSL EDMA driver by default. This also works around an issue > > that imx-i2c driver keeps deferring the probe because of the DMA is not > > ready

Re: [PATCH 0/7] towards QE support on ARM

2019-10-18 Thread Li Yang
On Fri, Oct 18, 2019 at 3:54 PM Rasmus Villemoes wrote: > > On 18/10/2019 22.16, Leo Li wrote: > > > >> > >> There have been several attempts in the past few years to allow building > >> the > >> QUICC engine drivers for platforms other than PPC. This is (the beginning > >> of) > >> yet another

Re: [PATCH 0/7] towards QE support on ARM

2019-10-21 Thread Li Yang
On Mon, Oct 21, 2019 at 3:46 AM Rasmus Villemoes wrote: > > On 18/10/2019 23.52, Li Yang wrote: > > On Fri, Oct 18, 2019 at 3:54 PM Rasmus Villemoes > > wrote: > >> > >> On 18/10/2019 22.16, Leo Li wrote: > >>> > >>>> > &g

Re: [PATCH 0/4] qoriq: Add platform dependencies

2020-05-07 Thread Li Yang
ks for your comments! Thanks. The series looks good to me. Are we trying to merge them through the various driver subsystems or I can also pull them in through the fsl-soc tree. If we want to go through driver subsystems: Acked-by: Li Yang > > Geert Uytterhoeven (4): > ahci: qoriq

Re: [PATCH] soc: fsl: qe: Replace one-element array and use struct_size() helper

2020-05-20 Thread Li Yang
On Mon, May 18, 2020 at 5:57 PM Kees Cook wrote: > > On Mon, May 18, 2020 at 05:19:04PM -0500, Gustavo A. R. Silva wrote: > > The current codebase makes use of one-element arrays in the following > > form: > > > > struct something { > > int length; > > u8 data[1]; > > }; > > > > struct

Re: [PATCH] soc: fsl: dpio: fix cpu range check

2019-01-14 Thread Li Yang
On Sun, Jan 13, 2019 at 11:13 PM Bharat Bhushan wrote: > > cpu_possible(cpu) will always return true when cpu parameter > is from cpumask_next(). > Check for nr_cpu_ids rather than !cpu_possible(cpu). There is another patch pending merge seems to cover this issue too. Please let me know if it

Re: [PATCH v2 3/4] dts/arm/ls1021a: Clean PCIe controller compatible strings

2018-10-26 Thread Li Yang
On Thu, Oct 25, 2018 at 4:52 AM Z.q. Hou wrote: The correct prefix for arm dts patches should be: "ARM: dts: ls1021a: ...", and it should be better to mention the string removed in the title too. > > From: Hou Zhiqiang > > Removed the wrong compatible string "snps,dw-pcie", in case > match

Re: [PATCH v2 4/4] dts/arm64/layerscape: Clean PCIe controller compatible strings

2018-10-26 Thread Li Yang
On Thu, Oct 25, 2018 at 4:53 AM Z.q. Hou wrote: The correct prefix for arm64 dts patches should be: "arm64: dts: layerscape: ...", and it should be better to mention the string removed in the title too. > > From: Hou Zhiqiang > > Removed the wrong compatible string "snps,dw-pcie", in case >

Re: [PATCH v2 1/2] soc: fsl: dpio: cleanup the cpu array on dpaa2_io_down

2018-12-05 Thread Li Yang
On Tue, Dec 4, 2018 at 5:21 AM Ioana Ciornei wrote: > > The dpio_by_cpu array should not contain a reference to a freed dpaa2_io > object. This patch adds the necessary cleanup in dpaa2_io_down. Applied. Thanks. > > Signed-off-by: Ioana Ciornei > --- > Changes in v2: > - none > >

Re: [PATCH v2 2/2] soc: fsl: dpio: use a cpumask to identify which cpus are unused

2018-12-05 Thread Li Yang
On Tue, Dec 4, 2018 at 5:23 AM Ioana Ciornei wrote: > > The current implementation of the dpio driver uses a static next_cpu > variable to keep track of the index of the next cpu available. This > approach does not handle well unbinding and binding dpio devices in a > random order. For example,

Re: [PATCH] arm64: dts: Fix various entry-method properties to reflect documentation

2018-08-23 Thread Li Yang
e reference to the psci bindings that > might be causing this confusion. > > Finally, fix devicetrees of various boards to reflect current > documentation. > > [1] Documentation/devicetree/bindings/arm/idle-states.txt (see > idle-states node) > > Signed-off-by: Amit Kucheria

[GIT PULL] fixes for soc/fsl drivers for v4.19 take 2

2018-10-01 Thread Li Yang
Hi arm-soc maintainers, Please merge the updated fix for the following issue. Regards, Leo The following changes since commit 96fc74333f84cfdf8d434c6c07254e215e2aad00: soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift() (2018-09-25 13:57:26 -0700) are available in the Git

Re: [GIT PULL] fixes for soc/fsl drivers for v4.19 take 2

2018-10-04 Thread Li Yang
On Thu, Oct 4, 2018 at 4:40 AM Laurentiu Tudor wrote: > > Hi Leo, > > On 02.10.2018 01:58, Li Yang wrote: > > Hi arm-soc maintainers, > > > > Please merge the updated fix for the following issue. > > > > Regards, > >

[GIT PULL] for-next updates for soc/fsl drivers for v4.20 take 2

2018-10-04 Thread Li Yang
Hi arm-soc maintainers, Please merge the following updates for next. PS. One of the patches is depending on the last pull request for fixes to build https://patchwork.kernel.org/patch/10622883/ I didn't include the fix patches directly in this pull request to prevent a complicated merge.

Re: [GIT PULL] for-next updates for soc/fsl drivers for v4.20 take 2

2018-10-05 Thread Li Yang
On Fri, Oct 5, 2018 at 10:40 AM Arnd Bergmann wrote: > > On Thu, Oct 4, 2018 at 6:47 PM Li Yang wrote: > > > > Hi arm-soc maintainers, > > > > Please merge the following updates for next. > > > > PS. One of the patches is depending on the last pull

<    1   2   3   4   >