Re: [RFC PATCH v2] Hardcoded instruction causes cpu-hotplug fail on be8 big-endian ARM platfrom

2012-10-17 Thread Fei Yang
the respective board maintainers (mach-exynos/mach-realveiw/mach-shmobile) give any comments about v2 of the patch? Thanks. ---Fei v2: Define opcode of the ARM "WFI" instruction in the right way. Signed-off-by: Fei Yang diff -urN linux-3.7-rc1/arch/arm/mach-exynos/hotplug.c linux

Re: [RFC PATCH v2] ARM hardcoded instruction causes cpu-hotplug fail to work on big-endian platfrom

2012-10-22 Thread Fei Yang
2012/10/17 Fei Yang : > > >> Not handling the Thumb case is a definite bug for any file which may >> run on v7, since the kernel could be built in Thumb for that case. >> For example, the existing code is mach-realview/hotplug.c is broken >> when building an SMP T

[PATCH] Re: Hardcoded instruction causes certain features to fail on ARM platfrom due to endianness

2012-10-15 Thread Fei Yang
2012/10/15 Mikael Pettersson : > Yangfei (Felix) writes: > > Hi all, > > > > I found that hardcoded instruction in inline asm can cause certains > certain features fail to work on ARM platform due to endianness. > > As an example, consider the following code snippet of > platform_do_l

Re: [PATCH] Re: Hardcoded instruction causes certain features to fail on ARM platfrom due to endianness

2012-10-16 Thread Fei Yang
2012/10/16 Dave Martin : > On Mon, Oct 15, 2012 at 11:33:08PM +0800, Fei Yang wrote: >> 2012/10/15 Mikael Pettersson : >> > Yangfei (Felix) writes: >> > > Hi all, >> > > >> > > I found that hardcoded instruction in inline asm can cau

[RFC/PATCH] x86/irq: handle chained interrupts during IRQ migration

2013-11-12 Thread Fei Yang
and not skip them over. Signed-off-by: Sundar Iyer Signed-off-by: Fei Yang Cc: Fei Yang --- Issue was found with GPIO interrupts whose handlers are registered as chained handler, see drivers/gpio/gpio-langwell.c for details. These interrupts stop coming after offlining a few cpus, and never

[PATCH 02/14] IOSF: Add interface for the cases requiring fid

2016-04-08 Thread Fei Yang
From: Fei Yang Some implementations may require an additional step for setting the FID bits to ensure correct transactions over the IOSF side band interface. Add the FID support accordingly for such implementations Change-Id: Ic0227f9e74133a3203aa08e8471939f905d19622 Signed-off-by: Fei Yang

[PATCH] IOSF: Add interface for the cases requiring fid

2016-04-08 Thread Fei Yang
From: Fei Yang Some implementations may require an additional step for setting the FID bits to ensure correct transactions over the IOSF side band interface. Add the FID support accordingly for such implementations Change-Id: Ic0227f9e74133a3203aa08e8471939f905d19622 Signed-off-by: Fei Yang

[PATCH v3] usb: gadget: f_fs: don't free buffer prematurely

2019-03-21 Thread fei . yang
From: Fei Yang The following kernel panic happens due to the io_data buffer gets deallocated before the async io is completed. Add a check for the case where io_data buffer should be deallocated by ffs_user_copy_worker. [ 41.663334] BUG: unable to handle kernel NULL pointer dereference at

[PATCH] usb: gadget: f_fs: data_len used before properly set

2019-06-13 Thread fei . yang
From: Fei Yang The following line of code in function ffs_epfile_io is trying to set flag io_data->use_sg in case buffer required is larger than one page. io_data->use_sg = gadget->sg_supported && data_len > PAGE_SIZE; However at this point of time the variable data_len