[linux-yocto] [PATCH v5.2] nvme-pci: Set the prp2 correctly when using more than 4k page

2019-10-18 Thread Kevin Hao
->ctrl.page_size. Otherwise we may miss setting the prp2 and then cause the command can't be executed correctly. Fixes: dff824b2aadb ("nvme-pci: optimize mapping of small single segment requests") Cc: sta...@vger.kernel.org Reviewed-by: Christoph Hellwig Signed-off-by: Kevin Hao Signed-off-by

[linux-yocto] [PATCH v5.2] cn96xx: Another patch series for the cn96xx SoC support

2019-09-23 Thread Kevin Hao
Hi Bruce, Here is another patch series got from Marvell for the cn96xx SoC support. It mainly include some fixes for the mmc and Ethernet. Please help me merge this into both v5.2/standard/cn96xx and v5.2/standard/preempt-rt/cn96xx branch. The following changes since commit

Re: [linux-yocto] [linux-yocto v5.2] Add the support for the Marvell cn96xx SoC

2019-09-03 Thread Kevin Hao
On Tue, Sep 03, 2019 at 02:00:11PM -0400, Bruce Ashfield wrote: > On Tue, Sep 3, 2019 at 3:39 AM Kevin Hao wrote: > > > > Hi Bruce, > > > > This patch series adds the kernel and kernel meta for the support of the > > Marvell cn96xx SoC support. These patches are a

[linux-yocto] [kernel-meta] bsp: Add the support for the marvell-cn96xx BSP

2019-09-03 Thread Kevin Hao
This adds the cfg files to support the Marvell OCTEON TX2 CN96XX multicore arm64 SoC. Signed-off-by: Kevin Hao --- bsp/marvell-cn96xx/marvell-cn96xx-standard.scc | 7 ++ bsp/marvell-cn96xx/marvell-cn96xx.cfg | 107 + bsp/marvell-cn96xx/marvell-cn96xx.scc

[linux-yocto] [kernel] The kernel patches for the Marvell cn96xx support

2019-09-03 Thread Kevin Hao
interrupt handlers octeontx2-af: Workaround for NIX CQ hang HW issue Kevin Hao (1): octeontx2-af: Fix the using of variable length arrays Kiran Kumar K (6): octeontx2-af: Add support for rss key types octeontx2-af: Add rss flow key tunnel types octeontx2-af: Add inner

[linux-yocto] [linux-yocto v5.2] Add the support for the Marvell cn96xx SoC

2019-09-03 Thread Kevin Hao
Hi Bruce, This patch series adds the kernel and kernel meta for the support of the Marvell cn96xx SoC support. These patches are almost the same as what I have sent for the linux-yocto-dev [1] [2]. The major difference between them is that the BPHY driver is added. The BPHY driver handles ioctl

Re: [linux-yocto] [kernel-cache master] bsp: Add the support for the marvell-cn96xx BSP

2019-08-29 Thread Kevin Hao
On Tue, Aug 20, 2019 at 07:29:20PM +0800, Kevin Hao wrote: > This adds the cfg files to support the Marvell OCTEON TX2 > CN96XX multicore arm64 SoC. Ping... Thanks, Kevin > > Signed-off-by: Kevin Hao > --- > bsp/marvell-cn96xx/marvell-cn96xx-standard.scc | 7 ++ >

Re: [linux-yocto] [linux-yocto-dev] Add the support for the Marvell cn96xx SoC

2019-08-29 Thread Kevin Hao
On Tue, Aug 20, 2019 at 07:21:04PM +0800, Kevin Hao wrote: > Hi Bruce, > > This patch series adds the support for the Marvell cn96xx SoC. The OCTEON TX2 > cn96xx SoC is a scalable architecture that integrates high performance 64-bit > Armv8.2 processors, a cache-coherent interco

[linux-yocto] [kernel-meta v5.2 1/2] fsl-mpc8315e-rdb/beaglebone: Replace CONFIG_MTD_NAND with CONFIG_MTD_RAW_NAND

2019-08-29 Thread Kevin Hao
The kernel option MTD_NAND has been renamed to MTD_RAW_NAND in the kernel commit 72c5af002723 ("mtd: rawnand: Clarify Kconfig entry MTD_NAND"), so adjust the cfg file according to this change. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 2 +- bsp/fsl-mp

[linux-yocto] [kernel-meta v5.2 2/2] beaglebone: Drop the stale kernel options

2019-08-29 Thread Kevin Hao
These two kernel options have been delete by the following kernel commits: 99f629718272 ("net: ethernet: ti: cpsw: drop TI_DAVINCI_CPDMA config option") 8c5dc8d9f19c ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol") Signed-off-by: Kevin Hao

[linux-yocto] [kernel-meta v5.2 0/2] Fix the kernel_configcheck warnings for the v5.2 kernel

2019-08-29 Thread Kevin Hao
These two patches fix the kernel_configcheck warnings when building the v5.2 kernel. Kevin Hao (2): fsl-mpc8315e-rdb/beaglebone: Replace CONFIG_MTD_NAND with CONFIG_MTD_RAW_NAND beaglebone: Drop the stale kernel options bsp/beaglebone/beaglebone.cfg | 4 +--- bsp/fsl

Re: [linux-yocto] [kernel-cache yocto-5.0][PATCH 0/1] ti-am335x: add base support

2019-08-28 Thread Kevin Hao
On Wed, Aug 28, 2019 at 10:47:47PM -0400, Jun Miao wrote: > Hi Bruce, > Beacuse the CI/CD project must contain the linux-yocto kernel building > successfully, we usually choose the yocto-5.0 branch. > Please help me add this scc/cfg to yocto-5.0 branch. Bruce has sent out the recipe for the

[linux-yocto] [kernel-cache master] bsp: Add the support for the marvell-cn96xx BSP

2019-08-20 Thread Kevin Hao
This adds the cfg files to support the Marvell OCTEON TX2 CN96XX multicore arm64 SoC. Signed-off-by: Kevin Hao --- bsp/marvell-cn96xx/marvell-cn96xx-standard.scc | 7 ++ bsp/marvell-cn96xx/marvell-cn96xx.cfg | 104 + bsp/marvell-cn96xx/marvell-cn96xx.scc

[linux-yocto] [linux-yocto-dev] Add the support for the Marvell cn96xx SoC

2019-08-20 Thread Kevin Hao
octeontx2-af: Sending tsc value to the userspace Jerin Jacob (3): octeontx2-af: add npa error af interrupt handlers octeontx2-af: add nix error af interrupt handlers octeontx2-af: Workaround for NIX CQ hang HW issue Kevin Hao (2): octeontx2-af: Compatible with the old firmware

[linux-yocto] [linux-yocto v4.14] arm/Makefile: Fix systemtap

2019-04-15 Thread Kevin Hao
From: Richard Purdie Currently systemtap fails to operate correctly on armv7 systems such as beaglebone and soon, qemuarm. root@qemuarm:/usr/src/kernel# env -uARCH -uKBUILD_EXTMOD -uCROSS_COMPILE -uKBUILD_IMAGE -uKCONFIG_CONFIG -uINSTALL_PATH -uLD_LIBRARY_PATH

[linux-yocto] [kernel-meta v4.19 PATCH] mips: Enable the poweroff driver for the qemumips/qemumips64

2019-04-03 Thread Kevin Hao
As Indicated by Richard Purdie, in order to shutdown the machine we have to explicitly enable the PIIX4 poweroff driver for the qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta: Use PIIX4 poweroff driver to power down") is merged. Signed-off-by: Kevin Hao --

[linux-yocto] [v4.19 rt branch] x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY

2019-03-28 Thread Kevin Hao
p one of them to fix the build warning. Signed-off-by: Kevin Hao --- arch/x86/include/asm/thread_info.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index 70b08abcd6d0..dc267291f131 100644 --- a/arch/x86/include/asm/thre

[linux-yocto] [PATCH 2/3] beaglebone: Update the audio options

2019-03-06 Thread Kevin Hao
With the commit f2055e145f29 ("ASoC: ti: Merge davinci and omap directories"), some of the audio options are removed from the kernel. Use the new options for the audio support. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 7 +++ 1 file changed, 3 insertions(+), 4

[linux-yocto] [PATCH 3/3] beaglebone: Switch to the 8250 omap driver

2019-03-06 Thread Kevin Hao
In the v5.0 kernel, the SERIAL_OMAP driver doesn't work anymore. So switch to the 8250 omap driver for the serial support. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp

[linux-yocto] [PATCH 1/3] mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAP

2019-03-06 Thread Kevin Hao
This is needed by the CONFIG_MTD_PHYSMAP_OF. Signed-off-by: Kevin Hao --- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg index 57ebaabb6583..cb7c40d37c22 100644

[linux-yocto] [PATCH 0/3] [kernel-cache] [yocto-5.0] Enable the v5.0 kernel support for the reference BSPs

2019-03-06 Thread Kevin Hao
Hi, - Fix the kernel config check warnings for the new kernel. - Fix the serial malfunction on the beaglebone board. Kevin Hao (3): mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAP beaglebone: Update the audio options beaglebone: Switch to the 8250 omap driver bsp/beaglebone/beaglebone.cfg

[linux-yocto] [PATCH 1/3] beaglebone: Drop the obsolete kernel options

2018-09-25 Thread Kevin Hao
Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield --- bsp/beaglebone/beaglebone.cfg | 37 - 1 file changed, 37 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index a712321297c2..ab42283c645f 100644 --- a/bsp

[linux-yocto] [PATCH 3/3] beaglebone: Clean up the cfg file

2018-09-25 Thread Kevin Hao
In general we only need to enable the kernel options we really care and leave all other kernel options as is. That is to say we don't need to disable any kernel options explicitly. So drop all of them. Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield --- bsp/beaglebone/beaglebone.cfg

[linux-yocto] [PATCH 2/3] beaglebone: Drop the needless unsetting of the kernel options

2018-09-25 Thread Kevin Hao
These kernel options are set to 'n' by default without any prompt. So they are not supposed to be set/unset by the users. Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield --- bsp/beaglebone/beaglebone.cfg | 6 -- 1 file changed, 6 deletions(-) diff --git a/bsp/beaglebone

[linux-yocto] [kernel-meta v4.14 0/3] Fix the config check warnings

2018-09-25 Thread Kevin Hao
Cherry-pick three patches from yocto-4.18 branch to fix the config check warnings for beaglebone boards. Kevin Hao (3): beaglebone: Drop the obsolete kernel options beaglebone: Drop the needless unsetting of the kernel options beaglebone: Clean up the cfg file bsp/beaglebone

[linux-yocto] [kernel-meta v4.18 5/6] beaglebone: Clean up the cfg file

2018-08-23 Thread Kevin Hao
In general we only need to enable the kernel options we really care and leave all other kernel options as is. That is to say we don't need to disable any kernel options explicitly. So drop all of them. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 24 1

[linux-yocto] [kernel-meta v4.18 3/6] beaglebone: Drop the obsolete kernel options

2018-08-23 Thread Kevin Hao
Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 37 - 1 file changed, 37 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index a712321297c2..ab42283c645f 100644 --- a/bsp/beaglebone/beaglebone.cfg +++ b/bsp

[linux-yocto] [kernel-meta v4.18 6/6] common-pc: Drop the x2apic feature

2018-08-23 Thread Kevin Hao
This is a feature for x86-64 platform and can't be enabled on x86-32. Signed-off-by: Kevin Hao --- bsp/common-pc/common-pc.scc | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsp/common-pc/common-pc.scc b/bsp/common-pc/common-pc.scc index 4818fb939e8c..cd947b0faa9d 100644 --- a/bsp/common

[linux-yocto] [kernel-meta v4.18 1/6] mpc8315e-rdb: Drop the obsolete kernel options

2018-08-23 Thread Kevin Hao
Signed-off-by: Kevin Hao --- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg index 324989c1951a..57ebaabb6583 100644 --- a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e

[linux-yocto] [kernel-meta v4.18 2/6] edgerouter: Drop the obsolete kernel options

2018-08-23 Thread Kevin Hao
Signed-off-by: Kevin Hao --- bsp/edgerouter/edgerouter.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/bsp/edgerouter/edgerouter.cfg b/bsp/edgerouter/edgerouter.cfg index 54597416dde8..f100ebde3eca 100644 --- a/bsp/edgerouter/edgerouter.cfg +++ b/bsp/edgerouter/edgerouter.cfg @@ -52,7

[linux-yocto] [kernel-meta v4.18 0/6] Fix the config check warnings and some minor cleanup

2018-08-23 Thread Kevin Hao
This patch series fixes the config check warnings when switching to the v4.18 kernel for the boards in meta-yocto-bsp layer and also do some cleanup for the cfg file. Kevin Hao (6): mpc8315e-rdb: Drop the obsolete kernel options edgerouter: Drop the obsolete kernel options beaglebone: Drop

[linux-yocto] [PATCH 4.14&4.15] staging: octeon: Add a workaround for the issue of GCC8

2018-06-20 Thread Kevin Hao
ier after the assignment would generate the right codes. Signed-off-by: Kevin Hao --- This fixes a Ethernet malfunction building with the gcc8. drivers/staging/octeon/ethernet-tx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/octeon/ethernet-tx.c b/drivers/staging/octeon/ethe

Re: [linux-yocto] [PATCH] mips: kernel: Move cc-disable-warning assignments down to avoid being overwritten

2018-06-17 Thread Kevin Hao
On Fri, Jun 15, 2018 at 07:12:09AM -0700, He Zhe wrote: > cc-disable-warning assignments could be overwritten by CFLAGS_DSP and thus > causes the follow build error with GCC 8.1.0. Move them down to the bottom. > > In file included from arch/mips/kernel/signal32.c:15: >

[linux-yocto] [linux-yocto 4.15] crypto: aes-generic - fix aes-generic regression on powerpc

2018-06-07 Thread Kevin Hao
build with -Os on gcc-7+") Signed-off-by: Arnd Bergmann Signed-off-by: Herbert Xu Signed-off-by: Kevin Hao --- This fixes the build failure on mpc8315e-rdb board. crypto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/Makefile b/crypto/Makefile index da

[linux-yocto] [PATCH kernel 2/2] net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b

2018-03-21 Thread Kevin Hao
From: Kevin Hao <haoke...@gmail.com> The Ethernet on mpc8315erdb is broken since commit b6b5e8a69118 ("gianfar: Disable EEE autoneg by default"). The reason is that even though the rtl8211b doesn't support the MMD extended registers access, it does return some random values if we

[linux-yocto] [PATCH kernel 1/2] net: phy: Add general dummy stubs for MMD register access

2018-03-21 Thread Kevin Hao
From: Kevin Hao <haoke...@gmail.com> For some phy devices, even though they don't support the MMD extended register access, it does have some side effect if we are trying to read/write the MMD registers via indirect method. So introduce general dummy stubs for MMD register access

[linux-yocto] [PATCH kernel-meta] mpc8315e-rdb: Enable Realtek PHY driver

2018-03-21 Thread Kevin Hao
-by: Kevin Hao <kexin@windriver.com> --- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg index 698efe2b7305..324989c1951a 100644 --- a/bsp/fsl-mpc8315e-r

[linux-yocto] [PATCH linux-yocto v4.15] yaffs2: Adjust the timer callback and init functions

2018-02-22 Thread Kevin Hao
ack()"). Adjust the codes in yaffs2 according to these changes. Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index

[linux-yocto] [PATCH linux-yocto v4.14 & v4.15] yaffs2: include rawnand.h instead of nand.h

2018-02-22 Thread Kevin Hao
The nand.h has been renamed to rawnand.h by commit d4092d76a4a4 ("mtd: nand: Rename nand.h into rawnand.h"), adjust the yaffs2 code according to this change. Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_mtdif.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[linux-yocto] [PATCH 4.12] drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()

2018-01-18 Thread Kevin Hao
evious that based on mode's vrefresh value, which itself is inaccurate or may not even be initialized. Reported-by: Kevin Hao <kexin@windriver.com> Fixes: 11abbc9f39e0 ("drm/tilcdc: Set framebuffer DMA address to HW only if CRTC is enabled") Cc: <sta...@vger.kernel.org>

[linux-yocto] [Resend v4.12 PATCH 2/2] fs: yaffs2: includes the missing header file

2017-08-27 Thread Kevin Hao
To fix the following build error: fs/yaffs2/yaffs_vfs.c: In function 'yaffs_mknod': fs/yaffs2/yaffs_vfs.c:1252:2: error: implicit declaration of function 'current_fsuid' [-Werror=implicit-function-declaration] uid_t uid = YCRED_FSUID(); ^ Signed-off-by: Kevin Hao <ke

Re: [linux-yocto] [linux-yocto v4.1 0/4] net: mwifiex: Enable the DRCS & MSI support

2017-03-22 Thread Kevin Hao
On Wed, Mar 22, 2017 at 06:34:46AM +, Wan Mohamad, Wan Ahmad Zainie wrote: > Hi Kevin. > > > -Original Message- > > From: Kevin Hao [mailto:kexin@windriver.com] > > Sent: Monday, March 20, 2017 6:35 PM > > To: Wan Mohamad, Wan Ahmad Zainie

Re: [linux-yocto] [linux-yocto v4.1 0/4] net: mwifiex: Enable the DRCS & MSI support

2017-03-20 Thread Kevin Hao
On Wed, Mar 15, 2017 at 01:54:02PM -0400, Bruce Ashfield wrote: > I need the intel maintainers of this branch to comment on the changes. > > I have no issues with merging them, but need their ack before I'll do > so. Hi Wan & Jonathan, Any comment? Thanks, Kevin signature.asc Description:

[linux-yocto] [linux-yocto v4.1 1/4] mwifiex: enable MSI interrupt support in pcie

2017-03-14 Thread Kevin Hao
gned-off-by: Kalle Valo <kv...@codeaurora.org> [Kevin: replace mwifiex_dbg() with pr_debug()] Signed-off-by: Kevin Hao <kexin@windriver.com> --- drivers/net/wireless/mwifiex/pcie.c | 32 +--- drivers/net/wireless/mwifiex/pcie.h | 1 + 2 files changed,

[linux-yocto] [linux-yocto v4.1 3/4] mwifiex: support to set multichannel policy to FW

2017-03-14 Thread Kevin Hao
From: Avinash Patil commit d5b036c403f811c6d1856b8e6891a6438cf56f61 upstream This patch adds support for setting multichannel policy as module parameter to FW. Value of 1 indicates Multichannel support is enabled and value of 0 disables it. Signed-off-by: Avinash Patil

[linux-yocto] [linux-yocto v4.1 0/4] net: mwifiex: Enable the DRCS & MSI support

2017-03-14 Thread Kevin Hao
From: Kevin Hao <haoke...@gmail.com> Hi, This targets on standard/intel/4.1.27/leaf-hill branch. In order to support concurrent AP(5G) and client(2.4G) mode, we need to enable the DRCS(Dynamic Rapid Channel Switching) feature in the Wifi module. Pick up two patches from mainline to

[linux-yocto] [linux-yocto 4.9 0/3] Fix the build errors when yaffs2 is enabled

2017-01-31 Thread Kevin Hao
All these build errors are caused by the API changes in the mainline kernel. Adjust the codes in yaffs2 to fix these errors. Kevin Hao (3): fs: yaffs2: adjust to the change of inode_change_ok() fs: yaffs2: switch to the generic xattr handler fs: yaffs2: fix the prototype of function

[linux-yocto] [PATCH 3/3] fs: yaffs2: fix the prototype of function yaffs_rename()

2017-01-31 Thread Kevin Hao
The "rename2" of i_op has been renamed to "rename" in commit 2773bf00aeb9("fs: rename "rename2" i_op to "rename""). We do what we have done in commit 1cd66c93ba8c("fs: make remaining filesystems use .rename2") for yaffs2 according to thi

[linux-yocto] [PATCH 1/3] fs: yaffs2: adjust to the change of inode_change_ok()

2017-01-31 Thread Kevin Hao
Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index 5a9c295aecc8..e5e0c650baca 100644 --- a/fs/yaffs2/yaffs_vfs.c +++ b/fs/yaffs2/yaffs_vfs.c

[linux-yocto] [linux-yocto 4.1] fs/yaffs2: adjust to the change of inode_change_ok()

2017-01-25 Thread Kevin Hao
Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index 16251d5dcb17..cbdea23493bb 100644 --- a/fs/yaffs2/yaffs_vfs.c +++ b/fs/yaffs2/yaffs_vfs.c

[linux-yocto] [PATCH] meta-yocto-bsp: linux-yocto: bump to the latest stable version for non-x86 BSPs

2016-10-26 Thread Kevin Hao
Built and boot test for all these boards on 4.1, 4.4 and 4.8 kernels. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 6 +++--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend | 12 ++-- meta-yoc

[linux-yocto] [PATCH 1/3] meta-yocto-bsp: linux 4.8: bump to the final v4.8 release for non-x86 BSPs

2016-10-08 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.8.bbappend | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.8.bbapp

Re: [linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-10-08 Thread Kevin Hao
On Sat, Oct 08, 2016 at 03:36:34PM +0800, Kevin Hao wrote: > On Tue, Sep 20, 2016 at 08:00:25PM +0800, Kevin Hao wrote: > > The kernel_configcheck complains about these unnecessary kernel options. > > The final .config is the same with or without them. > > Hi Bruce, > &g

Re: [linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-10-08 Thread Kevin Hao
On Tue, Sep 20, 2016 at 08:00:25PM +0800, Kevin Hao wrote: > The kernel_configcheck complains about these unnecessary kernel options. > The final .config is the same with or without them. Hi Bruce, It seems that you missed this patch for the linux 4.1 kernel-meta. Thanks, Kevin > >

[linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: linux-4.1: remove the stale kernel options

2016-09-20 Thread Kevin Hao
The kernel_configcheck complains about these unnecessary kernel options. The final .config is the same with or without them. Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 4 1 file changed, 4 deletions(-) diff --git a/bsp/beaglebone/beaglebone

[linux-yocto] [meta-yocto-bsp] meta-yocto-bsp: linux 4.1: bump to the latest stable version for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend

[linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-09-20 Thread Kevin Hao
The kernel_configcheck complains about these unnecessary kernel options. The final .config is the same with or without them. Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 8 1 file changed, 8 deletions(-) diff --git a/bsp/beag

[linux-yocto] [kernel 6/6] MIPS: OCTEON: mangle-port: fix build failure with VDSO code

2016-09-20 Thread Kevin Hao
ed long did = ((unsigned long)a >> 40) & 0xff; ^~ Fixes: 1685ddbe35cd ("MIPS: Octeon: Changes to support readq()/writeq() usage.") Signed-off-by: Aaro Koskinen <aaro.koski...@iki.fi> Signed-off-by: Kevin Hao <kexin@windriver

[linux-yocto] [meta-yocto-bsp] meta-yocto-bsp: linux 4.4: bump to the latest stable version for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend

[linux-yocto] [kernel 5/6] fs: yaffs2: fix the wrong check of return value of dir_emit()

2016-09-20 Thread Kevin Hao
Fix the following build warning: fs/yaffs2/yaffs_vfs.c:1788:34: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] this_inode, this_type) < 0) { Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 2 +

[linux-yocto] [kernel 4/6] fs: yaffs2: kill ->put_link()

2016-09-20 Thread Kevin Hao
As What we have done in commit fceef393a538 ("switch ->get_link() to delayed_call, kill ->put_link()") Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/fs/yaffs2/y

[linux-yocto] [kernel 3/6] fs: yaffs2: replace ->follow_link() with -->get_link()

2016-09-20 Thread Kevin Hao
As what we done in commit 6b2553918d8b ("replace ->follow_link() with new method that could stay in RCU mode"). Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fs/y

[linux-yocto] [kernel 2/6] fs: yaffs2: switch to the new prototype for ->set/getxattr()

2016-09-20 Thread Kevin Hao
accommodate to this change. Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index 9aa007d9ded6..cd387d7abfa2 100644 --- a/fs/yaffs2/yaffs_v

[linux-yocto] [kernel 1/6] fs: yaffs2: kill PAGE_CACHE_* and page_cache_{get, release} macros

2016-09-20 Thread Kevin Hao
As what we have done in commit 09cbfeaf1a5a ("mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros"). Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 38 +++--- 1 file changed, 19 insertions(+), 19 de

[linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-09-20 Thread Kevin Hao
The kernel_configcheck complains about these unnecessary kernel options. The final .config is the same with or without them. Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 8 1 file changed, 8 deletions(-) diff --git a/bsp/beag

[linux-yocto] [meta-yocto-bsp] meta-yocto-bsp: bump to linux-yocto 4.8 for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +- meta-yocto-bsp/conf/machine/edgerouter.conf | 2 +- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf

[linux-yocto] bump to linux-yocto 4.8 for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Hi, This patch series fixes some build errors in linux-yocto 4.8 and bump to 4.8 for all the non-x86 BSPs. -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto

[linux-yocto] [PATCH linux-yocto 4.4] beaglebone: builtin the usb controller drivers

2016-05-17 Thread Kevin Hao
-and-suggested-by: hiims <h...@101.org.il> Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index 66a6361..a6fe6d3 1006

[linux-yocto] [PATCH 2/3] yaffs2: NULL ->read/->write

2016-02-23 Thread Kevin Hao
As stated in commit 5d5d56897530 ("make new_sync_{read,write}() static"), we shouldn't use new_sync_{read_write} for ->read/->write. We should NULL ->read/->write with non-NULL ->{read,write}_iter will do the right thing. Signed-off-by: Kevin Hao <kexin@w

[linux-yocto] [PATCH 3/3] yaffs2: using new ->follow_link() and ->put_link() calling conventions

2016-02-23 Thread Kevin Hao
As what we did in commit 680baacbca69 ("new ->follow_link() and ->put_link() calling conventions"). Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/yaffs2/y

[linux-yocto] [PATCH 1/3] yaffs2: replace f_dentry to f_path.dentry

2016-02-23 Thread Kevin Hao
From: Yang Shi Upstream commit 78d28e651f97866d608d9b41f8ad291e65d47dd5 ("kill f_dentry macro") removed f_dentry from struct file, so replace it to f_path.dentry to fix the build failure. Signed-off-by: Yang Shi Signed-off-by: Bruce Ashfield

[linux-yocto] [PATCH 0/3] linux-yocto 4.4: fix the build errors when yaffs2 is enabled

2016-02-23 Thread Kevin Hao
=/dev/mtdblock3 rootfstype=yaffs2 console=ttyS0,115200 root@mpc8315e-rdb:~# mount /dev/root on / type yaffs2 (rw,relatime) Kevin Hao (2): yaffs2: NULL ->read/->write yaffs2: using new ->follow_link() and ->put_link() calling conventions Yang Shi (1): yaffs2: repl

[linux-yocto] [PATCH] meta-yocto-bsp: bump to linux-yocto 4.1 for the non-x86 BSPs

2015-09-29 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +- meta-yocto-bsp/conf/machine/edgerouter.conf | 2 +- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf

Re: [linux-yocto] [poky] [PATCH] meta-yocto-bsp: bump to linux-yocto 4.1 for the non-x86 BSPs

2015-09-29 Thread Kevin Hao
On Tue, Sep 29, 2015 at 10:18:00AM -0700, Khem Raj wrote: > > On Sep 29, 2015, at 3:01 AM, Burton, Ross <ross.bur...@intel.com> wrote: > > > On 29 September 2015 at 10:42, Kevin Hao <kexin@windriver.com> wrote: > > Boot test for all the

[linux-yocto] [PATCH] meta; edgerouter: fix kernel config check errors

2015-05-27 Thread Kevin Hao
: CONFIG_USB_OCTEON_EHCI=y Actual value set: Value requested for CONFIG_USB_OCTEON_OHCI not in final .config Requested value: CONFIG_USB_OCTEON_OHCI=y Actual value set: Signed-off-by: Kevin Hao kexin@windriver.com --- meta/cfg/kernel-cache/bsp/edgerouter/edgerouter.cfg | 3 +++ 1 file changed

[linux-yocto] [PATCH 1/2] fs: aufs: fix a build error for archs which doesn't support MUTEX_SPIN_ON_OWNER

2015-05-27 Thread Kevin Hao
and MUTEX_SPIN_ON_OWNER are disabled. Replace the SMP with MUTEX_SPIN_ON_OWNER to fix it. Signed-off-by: Kevin Hao kexin@windriver.com --- fs/aufs/i_op.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/aufs/i_op.c b/fs/aufs/i_op.c index f0edd021102b..268a8a54ebfc 100644

[linux-yocto] [PATCH] meta: beaglebone: fix the kernel config warnings

2015-03-28 Thread Kevin Hao
: CONFIG_WL12XX=m Actual value set: Signed-off-by: Kevin Hao kexin@windriver.com --- Hi, This applies to both 3.14 and 3.19 kernel. meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg | 18 -- meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.scc | 1 - meta/cfg/kernel-cache/bsp

[linux-yocto] [daisy] [PATCH 0/4] Fix for watchdog doesn't work in beaglebone black

2014-12-08 Thread Kevin Hao
Hi, Backport 4 patches from oe-core in order to fix bug 6462 for daisy: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6462 Boot test for qemuarm, qemumips, qemuppc, qemux86 and qemux86-64. Validate the watchdog on beaglebone board. The following changes since commit

[linux-yocto] [PATCH] libata: support the ata host which implements a queue depth less than 32

2014-07-19 Thread Kevin Hao
From: Kevin Hao haoke...@gmail.com commit 1871ee134b73fb4cadab75752a7152ed2813c751 from git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git The sata on fsl mpc8315e is broken after the commit 8a4aeec8d2d6 (libata/ahci: accommodate tag ordered controllers). The reason is that the ata

Re: [linux-yocto] Gstreamer on a Beaglebone black

2014-07-15 Thread Kevin Hao
On Mon, Jul 14, 2014 at 02:28:58PM -0400, Bruce Ashfield wrote: On 14-07-14 10:16 AM, Dimitri Slavaski wrote: Hello, I am trying to get gstreamer on a Beaglebone Black. After some tries and looking to the example on the am335x-evmsk, i didnt get it working yet. So i am wondering what i did

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-25 Thread Kevin Hao
On Wed, Jun 25, 2014 at 08:45:48AM +0200, Sven Vos wrote: CONFIG_BRIDGE_EBT_SNAT=m evin, mij, linux-yocto [cleardot] Bericht vertalen Uitschakelen voor: Engels [cleardot] Yes, I understa Hmm, what does this mean? # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Kevin Hao
On Tue, Jun 24, 2014 at 10:34:35AM +0800, Kevin Hao wrote: On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven Vos wrote: Hello, I am trying to get a Keyboard working on a Beaglebone Black. But after building a non-custom core-image-minimal

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-23 Thread Kevin Hao
On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven Vos wrote: Hello, I am trying to get a Keyboard working on a Beaglebone Black. But after building a non-custom core-image-minimal and running it on the beaglebone black, i saw that the display works,

[linux-yocto] [PATCH 0/5] [3.10] fix several build errors for OCF

2013-10-20 Thread Kevin Hao
This patch series fix several build errors for OCF(OpenBSD/FreeBSD Cryptographic Framework). Passed build and boot test on an intel atom board. Kevin Hao (5): ocf: remove the unneeded invocation of daemonize() ocf/talitos: add FSL_SOC dependency ocf: use the correct kthread helper

[linux-yocto] [PATCH 2/5] ocf/talitos: add FSL_SOC dependency

2013-10-20 Thread Kevin Hao
The talitos crypto engine only exist on FSL PPC SoCs and its driver is not buildable for other archs. So add the FSL_SOC dependency for it. Signed-off-by: Kevin Hao kexin@windriver.com --- crypto/ocf/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ocf

[linux-yocto] [PATCH 3/5] ocf: use the correct kthread helper functions

2013-10-20 Thread Kevin Hao
In the current kernel, the function kernel_thread() is not the right API to create a kthread. So we should use the correct kthread helper functions to create and stop a kthread. Signed-off-by: Kevin Hao kexin@windriver.com --- crypto/ocf/random.c | 15 --- 1 file changed, 8

[linux-yocto] [PATCH 5/5] ocf: include linux/irqreturn.h in ocf-compat.h

2013-10-20 Thread Kevin Hao
was introduced only after v2.6.17, so also add a kernel version check for this inclusion as what it did in other part of this file. Signed-off-by: Kevin Hao kexin@windriver.com --- crypto/ocf/ocf-compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/ocf/ocf-compat.h b/crypto/ocf

[linux-yocto] [PATCH 1/5] ocf: remove the unneeded invocation of daemonize()

2013-10-20 Thread Kevin Hao
In the current kernel, all kthread are created by the kthreadd thread and the invocation of function daemonize() for the kthread function is not needed anymore. Actually function daemonize() has already been killed by commit c4144670 (kill daemonize()) in the latest kernel. Signed-off-by: Kevin