[linux-yocto] [kernel-cache] [all branches] [PATCH] net_sched: Add FQ Controlled Delay packet scheduling algorithm

2019-09-03 Thread zhe.he
From: He Zhe 

It has been widely used and selected by systemd as defalut scheduling algorithm
since v217.
https://github.com/systemd/systemd/blob/master/NEWS#L5861

Signed-off-by: He Zhe 
---
 features/net_sched/net_sched.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/features/net_sched/net_sched.cfg b/features/net_sched/net_sched.cfg
index 49cd7d7..8ac740a 100644
--- a/features/net_sched/net_sched.cfg
+++ b/features/net_sched/net_sched.cfg
@@ -19,6 +19,7 @@ CONFIG_NET_SCH_DSMARK=m
 CONFIG_NET_SCH_NETEM=m
 CONFIG_NET_SCH_INGRESS=m
 CONFIG_NET_SCH_CODEL=m
+CONFIG_NET_SCH_FQ_CODEL=m
 
 #
 # Classification
-- 
2.7.4

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 2/2 linux-yocto-dev all branches] aufs: opts: Fix missing fallthrough

2019-09-03 Thread zhe.he
From: He Zhe 

commit 8d7b6374d5af2c31ce9501d3502808e3c7a9ea68 upstream

A compilation -Wimplicit-fallthrough warning was enabled by commit
a035d552a93b ("Makefile: Globally enable fall-through warning")
and triggers the following warning.

fs/aufs/opts.h:78:11:
warning: this statement may fall through [-Wimplicit-fallthrough=]

This patch adds comments according GNU manual.
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options

Signed-off-by: He Zhe 
See-also: 
https://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg05685.html
(cherry picked from commit e7619996b014c5d8fd2f6ad89542c545a207667f)
---
 fs/aufs/opts.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/aufs/opts.c b/fs/aufs/opts.c
index d370108..01fae8b 100644
--- a/fs/aufs/opts.c
+++ b/fs/aufs/opts.c
@@ -1499,8 +1499,10 @@ static int au_opt_br(struct super_block *sb, struct 
au_opt *opt,
if (opt->add.bindex < 0)
opt->add.bindex = 0;
goto add;
+   /* Always goto add, not fallthrough */
case Opt_prepend:
opt->add.bindex = 0;
+   /* fallthrough */
add: /* indented label */
case Opt_add:
err = au_br_add(sb, &opt->add,
-- 
2.7.4

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 1/2 linux-yocto-dev all branches] aufs: bugfix, opts: Fix missing break statement

2019-09-03 Thread zhe.he
From: He Zhe 

commit 4a80018d718f6be2e862d0c70bb11cd6e6d1fae5 upstream

Add missing break statement for case Opt_wsum in au_opt_simple.

Signed-off-by: He Zhe 
See-also: 
https://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg05684.html
(cherry picked from commit 9e7d29356ab57fa5db7e92e51267176e50c1497c)
---
 fs/aufs/opts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/aufs/opts.c b/fs/aufs/opts.c
index a089b8e..d370108 100644
--- a/fs/aufs/opts.c
+++ b/fs/aufs/opts.c
@@ -1373,6 +1373,7 @@ static int au_opt_simple(struct super_block *sb, struct 
au_opt *opt,
case Opt_wsum:
au_opt_clr(sbinfo->si_mntflags, SUM);
au_opt_set(sbinfo->si_mntflags, SUM_W);
+   break;
case Opt_nosum:
au_opt_clr(sbinfo->si_mntflags, SUM);
au_opt_clr(sbinfo->si_mntflags, SUM_W);
-- 
2.7.4

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


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

2019-09-03 Thread Kevin Hao
The following changes since commit 35276d20c01a78ee3640a074446b0c15c486c5d0:

  selftests/bpf: structure test_{progs, maps, verifier} test runners uniformly 
(2019-08-30 00:33:44 -0400)

are available in the Git repository at:

  https://github.com/haokexin/linux.git v5.2/standard/cn96xx

for you to fetch changes up to a075be8d6f3bacea9a7ccc36f80bac2e3276c5e2:

  octeontx2-af: Fix the using of variable length arrays (2019-09-03 14:40:25 
+0800)


Aleksey Makarov (6):
  octeontx2-pf: Set irq affinity hints for CQ interrupts
  octeontx2-pf: Implement ndo_tx_timeout callback
  octeontx2-pf: Support queue interrupts
  octeontx2-pf: Add reset count to stats
  octeontx2-af: Add low level support for Marvell PTP coprocessor
  octeontx2-pf: Add support for PTP clock

Alex Belits (2):
  arm64: Add support for ASID locking
  kernel/exit.c: Add task cleanup callbacks

Angela Czubak (2):
  octeontx2-af: fix rvu_sso_ggrp_taq_flush
  octeontx2-af: fix cgx_lmac_rx_tx_enable

Chandrakala Chavva (1):
  mmc: cavium_thunderx: Use proper register to clear interrupts

Christina Jacob (22):
  octeontx2-pf: BQL support.
  octeontx2-pf: IRQ coalescing config and tuning via ethtool
  octeontx2-af: Dump current resource provisioning status
  octeontx2-pf: Adding ethtool support for link status information.
  octeontx2-af: Patch to prevent redundant message from pf to af.
  octeontx2-pf: Fix redundant message from AF to PF
  octeontx2-af: Support to get link info like current speed, fec etc
  octeontx2-pf: Ethtool support for fec configuration
  octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe.
  octeontx2-af: Move to rvu_fwdata version 1.
  octeontx2-pf: Add ethtool -m option support.
  octeontx2-af: Extend fwdata structure with additional information.
  octeontx2-af: Update fwadata structure with few more reserved fields.
  octeontx2-af: Fetch FEC stats of the physical link
  octeontx2-pf: Support to display fec counters also in ethtool stats.
  octeontx2-af: sync ATF and Kernel firmware data structure.
  octeontx2-pf: Support to display current settings of a vf network 
interface via ethtool
  net:thunderx: fix memory leak in nicvf driver.
  soc: octeontx2: Add mdio command interface using debugfs
  soc: octeontx2: Add mdio command interface using debugfs
  octeontx2-af: Introduce SET_LINK_MODE command to change various 
configurations of a network interface.
  octeontx2-pf: support to change link speed and autoneg

Felix Manlunas (2):
  octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
  octeontx2-pf: Add ethtool priv flag to control PAM4 on/off

Geetha sowjanya (26):
  octeontx2-af: Sync hw mbox with bounce buffer.
  octeontx2-pf: Add mailbox bounce buffer
  octeontx2-pf: Add interface stats to ndo_get_stats64
  octeontx2-af: Config receive and transmission of pause frames
  octeontx2-af: Add mbox message to enable/disable pause frames.
  octeontx2-af: Add mbox messages to configure backpressure for an 
interface.
  octeontx2-pf: Add ethtool support to enable/disable pause frames
  octeontx2-pf: Configure RED drop levels for packet reception.
  octeontx2-pf: Configure backpressure level for packet reception
  octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget
  octeontx2-pf: Set RVU PF/VF watchdog timeout
  octeontx2-af: Check SQ counters to detect the deadlock
  octeontx2-af: Enable pci bus mastering
  octeontx2-af: Fix rvu probe on cgx disable
  octeontx2-pf: Add VF function level reset (FLR) support
  octeontx2-vf: Configure backpressure level for packet reception
  octeontx2-af: Support configurable NDC cache way_mask
  octeontx2: Fix mbox driver compilation dependency.
  octeontx2-pf: Set minimum MTU size to 64 bytes
  octeontx2-pf: Schedule work to refill RQ if buffer alloc fails in atomic 
context.
  octeontx2-pf: Free HW resources on PF/VF initialization failure
  octeontx2-af: Update hardware workarounds for 95xx A1 silicon
  octeontx2-pf: Update hardware workarounds for 95xx A1 silicon
  PCI: quirks : Apply ACS quirk for all devices
  octeontx2-pf: Enable CQ interrupt coalescing
  octeontx2-pf: Fix RQ CQ RED and DROP levels for 96xx B0

Hao Zheng (10):
  octeontx2-af: change NPC KPU profile format
  octeontx2-af: NPC KPU profile update (ver 1.3.0):
  octeontx2-af: NPC KPU profile fix
  octeontx2-af: add NPC parser support for QinQ with TPID of 0x8100
  octeontx2-af: Turn on L2 multicast address check
  octeontx2-af: NPC parser profile change, move lb_ptr to point to tpid
  octeontx2-af: NPC parser profile add support for nix_inst_hdr on tx
  octeontx2-af: reorganize NPC parser profile for tunnel protocols
  octeontx2-af: provide 

[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 to
set/clear irq handlers in EL3 using SMC calls. The purpose of this is to
handle some BPHY interrupts in userspace directly. In order to support this,
we have to make some ugly hack to some core files like arch/arm64/mm/context.c
or arch/arm64/mm/context.c, but the change is pretty simple and are protected
with the specific kernel option.

[1] https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007886.html
[2] https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007887.html

Thanks,
Kevin
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


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

2019-09-03 Thread Kevin Hao
This adds the cfg&scc 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  |   6 ++
 3 files changed, 120 insertions(+)
 create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
 create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.cfg
 create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.scc

diff --git a/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc 
b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
new file mode 100644
index ..8d92dc15f87b
--- /dev/null
+++ b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
@@ -0,0 +1,7 @@
+define KMACHINE marvell-cn96xx
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard
+
+include marvell-cn96xx.scc
diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.cfg 
b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
new file mode 100644
index ..7dc73ac245f5
--- /dev/null
+++ b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
@@ -0,0 +1,107 @@
+..
+.WARNING
+.
+. This file is a kernel configuration fragment, and not a full kernel
+. configuration file.  The final kernel configuration is made up of
+. an assembly of processed fragments, each of which is designed to
+. capture a specific part of the final configuration (e.g. platform
+. configuration, feature configuration, and board specific hardware
+. configuration).  For more information on kernel configuration, please
+. consult the product documentation.
+.
+..
+
+CONFIG_ARM64=y
+CONFIG_ARM64_VA_BITS_48=y
+CONFIG_ARM_SMMU_V3=y
+CONFIG_NR_CPUS=24
+CONFIG_ARCH_THUNDER=y
+
+# uboot set "coherent_pool=16M" kernel parameter by default, so we need to
+# make sure CONFIG_FORCE_MAX_ZONEORDER is big enough
+CONFIG_ARM64_64K_PAGES=y
+CONFIG_TRANSPARENT_HUGEPAGE=y
+
+# PCIe
+CONFIG_PCI=y
+CONFIG_PCIEPORTBUS=y
+CONFIG_HOTPLUG_PCI=y
+CONFIG_HOTPLUG_PCI_PCIE=y
+CONFIG_PCI_IOV=y
+
+CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCI_HOST_THUNDER_PEM=y
+CONFIG_PCI_HOST_OCTEONTX2_PEM=y
+
+# Ethernet
+CONFIG_OCTEONTX2_AF=y
+CONFIG_OCTEONTX2_PF=y
+CONFIG_OCTEONTX2_VF=y
+CONFIG_USB_USBNET=y
+CONFIG_USB_NET_AX88179_178A=y
+
+# NVMe
+CONFIG_BLK_DEV_NVME=y
+
+# DMA
+CONFIG_OCTEONTX2_DPI_PF=y
+
+# MTD
+CONFIG_MTD=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_BLOCK=y
+
+# USB
+CONFIG_USB=y
+CONFIG_USB_XHCI_HCD=y
+
+# SPI
+CONFIG_SPI=y
+CONFIG_SPI_OCTEONTX2=y
+
+# I2C
+CONFIG_I2C=y
+CONFIG_I2C_THUNDERX=y
+
+# Serial
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+
+# Watchdog
+CONFIG_ARM_SBSA_WATCHDOG=y
+
+# SD
+CONFIG_MMC=y
+CONFIG_MMC_CAVIUM_THUNDERX=y
+
+# GPIO
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_THUNDERX=y
+
+# HWMON
+CONFIG_SENSORS_MAX6697=y
+CONFIG_SENSORS_JC42=y
+
+# RTC
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_DS1307=y
+
+# Regulator
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_GPIO=y
+
+# VFIO
+CONFIG_VFIO=y
+CONFIG_VFIO_PCI=y
+
+# Misc
+CONFIG_EEPROM_AT24=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_CAVIUM=y
+CONFIG_OCTEONTX2_RM=y
+CONFIG_OCTEONTX2_RM_DOM_SYSFS=y
+
+# BPHY
+CONFIG_MARVELL_OTX_BPHY_CTR=y
diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.scc 
b/bsp/marvell-cn96xx/marvell-cn96xx.scc
new file mode 100644
index ..0d104fad583b
--- /dev/null
+++ b/bsp/marvell-cn96xx/marvell-cn96xx.scc
@@ -0,0 +1,6 @@
+kconf hardware marvell-cn96xx.cfg
+kconf hardware features/edac/edac.cfg
+
+include cfg/usb-mass-storage.scc
+
+include features/hugetlb/hugetlb.scc
-- 
2.14.4

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


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

2019-09-03 Thread Bruce Ashfield
On Fri, Aug 30, 2019 at 1:01 AM Kevin Hao  wrote:
>
> 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 interconnect, hardware accelerators,
> > virtualized networking, and scalable I/O. It support the following
> > industry-standard I/O interfaces:
> >   DDR4 DRAM
> >   PCI Express 4.0 version 1.0
> >   SGMII
> >   QSGMII
> >   XAUI
> >   XFI
> >   CAUI
> >
> > Most of the patches are for the Marvell specific drivers. So in theory, it
> > should be safe to merge these patches to the standard/base branch. But I
> > prefer to stage them to the specific standard/cn96xx branch. The reason is
> > that we plan to support other Marvell SoCs, and the SDK for them may be
> > based on different SDK versions. They will definitely touch some common
> > files affect by this patch series. So it would be a nightmare for us to
> > support them if these patches are merged to the standard/base branch.
>
> Ping...

Sorry. I managed to miss this after my vacation. Once I have the
current critical issues in master (around the 5.2 kernel) sorted out,
I'll get this merged. I hope to have that done today.

Bruce

>
> Thanks,
> Kevin
>
> >
> > The following changes since commit ce4ec6ff9589e3b1dcc4e3a0b192b02823631c3e:
> >
> >   Merge tag 'v5.3-rc5' into standard/base (2019-08-18 22:40:47 -0400)
> >
> > are available in the Git repository at:
> >
> >   git://github.com/haokexin/linux standard/cn96xx
> >
> > for you to fetch changes up to 4fae437f7ea88d2aab10cac684e11d94b12114bd:
> >
> >   octeontx2-af: Fix the using of variable length arrays (2019-08-20 
> > 11:25:36 +0800)
> >
> > 
> > Aleksey Makarov (6):
> >   octeontx2-pf: Set irq affinity hints for CQ interrupts
> >   octeontx2-pf: Implement ndo_tx_timeout callback
> >   octeontx2-pf: Support queue interrupts
> >   octeontx2-pf: Add reset count to stats
> >   octeontx2-af: Add low level support for Marvell PTP coprocessor
> >   octeontx2-pf: Add support for PTP clock
> >
> > Angela Czubak (2):
> >   octeontx2-af: fix rvu_sso_ggrp_taq_flush
> >   octeontx2-af: fix cgx_lmac_rx_tx_enable
> >
> > Chandrakala Chavva (1):
> >   mmc: cavium_thunderx: Use proper register to clear interrupts
> >
> > Christina Jacob (21):
> >   octeontx2-pf: BQL support.
> >   octeontx2-pf: IRQ coalescing config and tuning via ethtool
> >   octeontx2-af: Dump current resource provisioning status
> >   octeontx2-pf: Adding ethtool support for link status information.
> >   octeontx2-af: Patch to prevent redundant message from pf to af.
> >   octeontx2-pf: Fix redundant message from AF to PF
> >   octeontx2-af: Support to get link info like current speed, fec etc
> >   octeontx2-pf: Ethtool support for fec configuration
> >   octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe.
> >   octeontx2-af: Move to rvu_fwdata version 1.
> >   octeontx2-pf: Add ethtool -m option support.
> >   octeontx2-af: Extend fwdata structure with additional information.
> >   octeontx2-af: Update fwadata structure with few more reserved fields.
> >   octeontx2-af: Fetch FEC stats of the physical link
> >   octeontx2-pf: Support to display fec counters also in ethtool stats.
> >   octeontx2-af: sync ATF and Kernel firmware data structure.
> >   octeontx2-pf: Support to display current settings of a vf network 
> > interface via ethtool
> >   net:thunderx: fix memory leak in nicvf driver.
> >   soc: octeontx2: Add mdio command interface using debugfs
> >   octeontx2-af: Introduce SET_LINK_MODE command to change various 
> > configurations of a network interface.
> >   octeontx2-pf: support to change link speed and autoneg
> >
> > Felix Manlunas (2):
> >   octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
> >   octeontx2-pf: Add ethtool priv flag to control PAM4 on/off
> >
> > Geetha sowjanya (26):
> >   octeontx2-af: Sync hw mbox with bounce buffer.
> >   octeontx2-pf: Add mailbox bounce buffer
> >   octeontx2-pf: Add interface stats to ndo_get_stats64
> >   octeontx2-af: Config receive and transmission of pause frames
> >   octeontx2-af: Add mbox message to enable/disable pause frames.
> >   octeontx2-af: Add mbox messages to configure backpressure for an 
> > interface.
> >   octeontx2-pf: Add ethtool support to enable/disable pause frames
> >   octeontx2-pf: Configure RED drop levels for packet reception.
> >   octeontx2-pf: Configure backpressure level for packet reception
> >   octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget
> >   octeontx2-pf: Set RVU PF/VF watchdog timeout

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

2019-09-03 Thread Bruce Ashfield
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 almost the same as what I
> have sent for the linux-yocto-dev [1] [2]. The major difference between

I assume that you still also want the linux-yocto-dev changes merged ?
That is mhy plan.

> them is that the BPHY driver is added. The BPHY driver handles ioctl to
> set/clear irq handlers in EL3 using SMC calls. The purpose of this is to
> handle some BPHY interrupts in userspace directly. In order to support this,
> we have to make some ugly hack to some core files like arch/arm64/mm/context.c
> or arch/arm64/mm/context.c, but the change is pretty simple and are protected
> with the specific kernel option.

perfect. Sounds safe for standard/base, so I'll look at merging it there.

Bruce

>
> [1] 
> https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007886.html
> [2] 
> https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007887.html
>
> Thanks,
> Kevin



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


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

2019-09-03 Thread Bruce Ashfield
On Tue, Aug 20, 2019 at 7:25 AM 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 interconnect, hardware accelerators,
> virtualized networking, and scalable I/O. It support the following
> industry-standard I/O interfaces:
> DDR4 DRAM
> PCI Express 4.0 version 1.0
> SGMII
> QSGMII
> XAUI
> XFI
> CAUI
>
> Most of the patches are for the Marvell specific drivers. So in theory, it
> should be safe to merge these patches to the standard/base branch. But I
> prefer to stage them to the specific standard/cn96xx branch. The reason is
> that we plan to support other Marvell SoCs, and the SDK for them may be
> based on different SDK versions. They will definitely touch some common
> files affect by this patch series. So it would be a nightmare for us to
> support them if these patches are merged to the standard/base branch.
>
> The following changes since commit ce4ec6ff9589e3b1dcc4e3a0b192b02823631c3e:
>
>   Merge tag 'v5.3-rc5' into standard/base (2019-08-18 22:40:47 -0400)
>
> are available in the Git repository at:
>
>   git://github.com/haokexin/linux standard/cn96xx

standard/cn96xx now exists in linux-yocto-dev.

Bruce

>
> for you to fetch changes up to 4fae437f7ea88d2aab10cac684e11d94b12114bd:
>
>   octeontx2-af: Fix the using of variable length arrays (2019-08-20 11:25:36 
> +0800)
>
> 
> Aleksey Makarov (6):
>   octeontx2-pf: Set irq affinity hints for CQ interrupts
>   octeontx2-pf: Implement ndo_tx_timeout callback
>   octeontx2-pf: Support queue interrupts
>   octeontx2-pf: Add reset count to stats
>   octeontx2-af: Add low level support for Marvell PTP coprocessor
>   octeontx2-pf: Add support for PTP clock
>
> Angela Czubak (2):
>   octeontx2-af: fix rvu_sso_ggrp_taq_flush
>   octeontx2-af: fix cgx_lmac_rx_tx_enable
>
> Chandrakala Chavva (1):
>   mmc: cavium_thunderx: Use proper register to clear interrupts
>
> Christina Jacob (21):
>   octeontx2-pf: BQL support.
>   octeontx2-pf: IRQ coalescing config and tuning via ethtool
>   octeontx2-af: Dump current resource provisioning status
>   octeontx2-pf: Adding ethtool support for link status information.
>   octeontx2-af: Patch to prevent redundant message from pf to af.
>   octeontx2-pf: Fix redundant message from AF to PF
>   octeontx2-af: Support to get link info like current speed, fec etc
>   octeontx2-pf: Ethtool support for fec configuration
>   octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe.
>   octeontx2-af: Move to rvu_fwdata version 1.
>   octeontx2-pf: Add ethtool -m option support.
>   octeontx2-af: Extend fwdata structure with additional information.
>   octeontx2-af: Update fwadata structure with few more reserved fields.
>   octeontx2-af: Fetch FEC stats of the physical link
>   octeontx2-pf: Support to display fec counters also in ethtool stats.
>   octeontx2-af: sync ATF and Kernel firmware data structure.
>   octeontx2-pf: Support to display current settings of a vf network 
> interface via ethtool
>   net:thunderx: fix memory leak in nicvf driver.
>   soc: octeontx2: Add mdio command interface using debugfs
>   octeontx2-af: Introduce SET_LINK_MODE command to change various 
> configurations of a network interface.
>   octeontx2-pf: support to change link speed and autoneg
>
> Felix Manlunas (2):
>   octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
>   octeontx2-pf: Add ethtool priv flag to control PAM4 on/off
>
> Geetha sowjanya (26):
>   octeontx2-af: Sync hw mbox with bounce buffer.
>   octeontx2-pf: Add mailbox bounce buffer
>   octeontx2-pf: Add interface stats to ndo_get_stats64
>   octeontx2-af: Config receive and transmission of pause frames
>   octeontx2-af: Add mbox message to enable/disable pause frames.
>   octeontx2-af: Add mbox messages to configure backpressure for an 
> interface.
>   octeontx2-pf: Add ethtool support to enable/disable pause frames
>   octeontx2-pf: Configure RED drop levels for packet reception.
>   octeontx2-pf: Configure backpressure level for packet reception
>   octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget
>   octeontx2-pf: Set RVU PF/VF watchdog timeout
>   octeontx2-af: Check SQ counters to detect the deadlock
>   octeontx2-af: Enable pci bus mastering
>   octeontx2-af: Fix rvu probe on cgx disable
>   octeontx2-pf: Add VF function level reset (FLR) support
>   octeontx2-vf: Configure backpressure level for packet reception
>   octeontx2-af: Support configurable NDC cache way_mask
>   octeontx2: Fix mbox driver compilation dependency.
> 

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

2019-09-03 Thread Bruce Ashfield
merged to master

Bruce

On Tue, Aug 20, 2019 at 7:32 AM Kevin Hao  wrote:
>
> This adds the cfg&scc 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  |   6 ++
>  3 files changed, 117 insertions(+)
>  create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
>  create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.cfg
>  create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.scc
>
> diff --git a/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc 
> b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
> new file mode 100644
> index ..8d92dc15f87b
> --- /dev/null
> +++ b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
> @@ -0,0 +1,7 @@
> +define KMACHINE marvell-cn96xx
> +define KTYPE standard
> +define KARCH arm64
> +
> +include ktypes/standard
> +
> +include marvell-cn96xx.scc
> diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.cfg 
> b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
> new file mode 100644
> index ..6b83cd0659aa
> --- /dev/null
> +++ b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
> @@ -0,0 +1,104 @@
> +..
> +.WARNING
> +.
> +. This file is a kernel configuration fragment, and not a full kernel
> +. configuration file.  The final kernel configuration is made up of
> +. an assembly of processed fragments, each of which is designed to
> +. capture a specific part of the final configuration (e.g. platform
> +. configuration, feature configuration, and board specific hardware
> +. configuration).  For more information on kernel configuration, please
> +. consult the product documentation.
> +.
> +..
> +
> +CONFIG_ARM64=y
> +CONFIG_ARM64_VA_BITS_48=y
> +CONFIG_ARM_SMMU_V3=y
> +CONFIG_NR_CPUS=24
> +CONFIG_ARCH_THUNDER=y
> +
> +# uboot set "coherent_pool=16M" kernel parameter by default, so we need to
> +# make sure CONFIG_FORCE_MAX_ZONEORDER is big enough
> +CONFIG_ARM64_64K_PAGES=y
> +CONFIG_TRANSPARENT_HUGEPAGE=y
> +
> +# PCIe
> +CONFIG_PCI=y
> +CONFIG_PCIEPORTBUS=y
> +CONFIG_HOTPLUG_PCI=y
> +CONFIG_HOTPLUG_PCI_PCIE=y
> +CONFIG_PCI_IOV=y
> +
> +CONFIG_PCI_HOST_GENERIC=y
> +CONFIG_PCI_HOST_THUNDER_PEM=y
> +CONFIG_PCI_HOST_OCTEONTX2_PEM=y
> +
> +# Ethernet
> +CONFIG_OCTEONTX2_AF=y
> +CONFIG_OCTEONTX2_PF=y
> +CONFIG_OCTEONTX2_VF=y
> +CONFIG_USB_USBNET=y
> +CONFIG_USB_NET_AX88179_178A=y
> +
> +# NVMe
> +CONFIG_BLK_DEV_NVME=y
> +
> +# DMA
> +CONFIG_OCTEONTX2_DPI_PF=y
> +
> +# MTD
> +CONFIG_MTD=y
> +CONFIG_MTD_SPI_NOR=y
> +CONFIG_MTD_M25P80=y
> +CONFIG_MTD_BLOCK=y
> +
> +# USB
> +CONFIG_USB=y
> +CONFIG_USB_XHCI_HCD=y
> +
> +# SPI
> +CONFIG_SPI=y
> +CONFIG_SPI_OCTEONTX2=y
> +
> +# I2C
> +CONFIG_I2C=y
> +CONFIG_I2C_THUNDERX=y
> +
> +# Serial
> +CONFIG_SERIAL_AMBA_PL011=y
> +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
> +
> +# Watchdog
> +CONFIG_ARM_SBSA_WATCHDOG=y
> +
> +# SD
> +CONFIG_MMC=y
> +CONFIG_MMC_CAVIUM_THUNDERX=y
> +
> +# GPIO
> +CONFIG_GPIOLIB=y
> +CONFIG_GPIO_THUNDERX=y
> +
> +# HWMON
> +CONFIG_SENSORS_MAX6697=y
> +CONFIG_SENSORS_JC42=y
> +
> +# RTC
> +CONFIG_RTC_CLASS=y
> +CONFIG_RTC_DRV_DS1307=y
> +
> +# Regulator
> +CONFIG_REGULATOR=y
> +CONFIG_REGULATOR_FIXED_VOLTAGE=y
> +CONFIG_REGULATOR_GPIO=y
> +
> +# VFIO
> +CONFIG_VFIO=y
> +CONFIG_VFIO_PCI=y
> +
> +# Misc
> +CONFIG_EEPROM_AT24=y
> +CONFIG_HW_RANDOM=y
> +CONFIG_HW_RANDOM_CAVIUM=y
> +CONFIG_OCTEONTX2_RM=y
> +CONFIG_OCTEONTX2_RM_DOM_SYSFS=y
> diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.scc 
> b/bsp/marvell-cn96xx/marvell-cn96xx.scc
> new file mode 100644
> index ..0d104fad583b
> --- /dev/null
> +++ b/bsp/marvell-cn96xx/marvell-cn96xx.scc
> @@ -0,0 +1,6 @@
> +kconf hardware marvell-cn96xx.cfg
> +kconf hardware features/edac/edac.cfg
> +
> +include cfg/usb-mass-storage.scc
> +
> +include features/hugetlb/hugetlb.scc
> --
> 2.14.4
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


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

2019-09-03 Thread Bruce Ashfield
On Tue, Sep 3, 2019 at 3:40 AM Kevin Hao  wrote:
>
> The following changes since commit 35276d20c01a78ee3640a074446b0c15c486c5d0:
>
>   selftests/bpf: structure test_{progs, maps, verifier} test runners 
> uniformly (2019-08-30 00:33:44 -0400)
>
> are available in the Git repository at:
>
>   https://github.com/haokexin/linux.git v5.2/standard/cn96xx

v5.2/standard/cn96xx has been created in linux-yocto.git

Bruce

>
> for you to fetch changes up to a075be8d6f3bacea9a7ccc36f80bac2e3276c5e2:
>
>   octeontx2-af: Fix the using of variable length arrays (2019-09-03 14:40:25 
> +0800)
>
> 
> Aleksey Makarov (6):
>   octeontx2-pf: Set irq affinity hints for CQ interrupts
>   octeontx2-pf: Implement ndo_tx_timeout callback
>   octeontx2-pf: Support queue interrupts
>   octeontx2-pf: Add reset count to stats
>   octeontx2-af: Add low level support for Marvell PTP coprocessor
>   octeontx2-pf: Add support for PTP clock
>
> Alex Belits (2):
>   arm64: Add support for ASID locking
>   kernel/exit.c: Add task cleanup callbacks
>
> Angela Czubak (2):
>   octeontx2-af: fix rvu_sso_ggrp_taq_flush
>   octeontx2-af: fix cgx_lmac_rx_tx_enable
>
> Chandrakala Chavva (1):
>   mmc: cavium_thunderx: Use proper register to clear interrupts
>
> Christina Jacob (22):
>   octeontx2-pf: BQL support.
>   octeontx2-pf: IRQ coalescing config and tuning via ethtool
>   octeontx2-af: Dump current resource provisioning status
>   octeontx2-pf: Adding ethtool support for link status information.
>   octeontx2-af: Patch to prevent redundant message from pf to af.
>   octeontx2-pf: Fix redundant message from AF to PF
>   octeontx2-af: Support to get link info like current speed, fec etc
>   octeontx2-pf: Ethtool support for fec configuration
>   octeontx2-pf: Fix smmuv3 messages while deferring pf driver probe.
>   octeontx2-af: Move to rvu_fwdata version 1.
>   octeontx2-pf: Add ethtool -m option support.
>   octeontx2-af: Extend fwdata structure with additional information.
>   octeontx2-af: Update fwadata structure with few more reserved fields.
>   octeontx2-af: Fetch FEC stats of the physical link
>   octeontx2-pf: Support to display fec counters also in ethtool stats.
>   octeontx2-af: sync ATF and Kernel firmware data structure.
>   octeontx2-pf: Support to display current settings of a vf network 
> interface via ethtool
>   net:thunderx: fix memory leak in nicvf driver.
>   soc: octeontx2: Add mdio command interface using debugfs
>   soc: octeontx2: Add mdio command interface using debugfs
>   octeontx2-af: Introduce SET_LINK_MODE command to change various 
> configurations of a network interface.
>   octeontx2-pf: support to change link speed and autoneg
>
> Felix Manlunas (2):
>   octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
>   octeontx2-pf: Add ethtool priv flag to control PAM4 on/off
>
> Geetha sowjanya (26):
>   octeontx2-af: Sync hw mbox with bounce buffer.
>   octeontx2-pf: Add mailbox bounce buffer
>   octeontx2-pf: Add interface stats to ndo_get_stats64
>   octeontx2-af: Config receive and transmission of pause frames
>   octeontx2-af: Add mbox message to enable/disable pause frames.
>   octeontx2-af: Add mbox messages to configure backpressure for an 
> interface.
>   octeontx2-pf: Add ethtool support to enable/disable pause frames
>   octeontx2-pf: Configure RED drop levels for packet reception.
>   octeontx2-pf: Configure backpressure level for packet reception
>   octeontx2-pf: Skip CQ_STATUS read if pending CQEs greater than budget
>   octeontx2-pf: Set RVU PF/VF watchdog timeout
>   octeontx2-af: Check SQ counters to detect the deadlock
>   octeontx2-af: Enable pci bus mastering
>   octeontx2-af: Fix rvu probe on cgx disable
>   octeontx2-pf: Add VF function level reset (FLR) support
>   octeontx2-vf: Configure backpressure level for packet reception
>   octeontx2-af: Support configurable NDC cache way_mask
>   octeontx2: Fix mbox driver compilation dependency.
>   octeontx2-pf: Set minimum MTU size to 64 bytes
>   octeontx2-pf: Schedule work to refill RQ if buffer alloc fails in 
> atomic context.
>   octeontx2-pf: Free HW resources on PF/VF initialization failure
>   octeontx2-af: Update hardware workarounds for 95xx A1 silicon
>   octeontx2-pf: Update hardware workarounds for 95xx A1 silicon
>   PCI: quirks : Apply ACS quirk for all devices
>   octeontx2-pf: Enable CQ interrupt coalescing
>   octeontx2-pf: Fix RQ CQ RED and DROP levels for 96xx B0
>
> Hao Zheng (10):
>   octeontx2-af: change NPC KPU profile format
>   octeontx2-af: NPC KPU profile update (ver 1.3.0):
>   octeontx2-af: NPC KPU profile fix
>   octeontx2-af: add NPC parser support for QinQ with TPID of 0x8100
> 

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

2019-09-03 Thread Bruce Ashfield
On Tue, Sep 3, 2019 at 3:40 AM Kevin Hao  wrote:
>
> This adds the cfg&scc files to support the Marvell OCTEON TX2
> CN96XX multicore arm64 SoC.

merged to yocto-5.2 of the kernel-cache.

Bruce

>
> 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  |   6 ++
>  3 files changed, 120 insertions(+)
>  create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
>  create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.cfg
>  create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx.scc
>
> diff --git a/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc 
> b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
> new file mode 100644
> index ..8d92dc15f87b
> --- /dev/null
> +++ b/bsp/marvell-cn96xx/marvell-cn96xx-standard.scc
> @@ -0,0 +1,7 @@
> +define KMACHINE marvell-cn96xx
> +define KTYPE standard
> +define KARCH arm64
> +
> +include ktypes/standard
> +
> +include marvell-cn96xx.scc
> diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.cfg 
> b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
> new file mode 100644
> index ..7dc73ac245f5
> --- /dev/null
> +++ b/bsp/marvell-cn96xx/marvell-cn96xx.cfg
> @@ -0,0 +1,107 @@
> +..
> +.WARNING
> +.
> +. This file is a kernel configuration fragment, and not a full kernel
> +. configuration file.  The final kernel configuration is made up of
> +. an assembly of processed fragments, each of which is designed to
> +. capture a specific part of the final configuration (e.g. platform
> +. configuration, feature configuration, and board specific hardware
> +. configuration).  For more information on kernel configuration, please
> +. consult the product documentation.
> +.
> +..
> +
> +CONFIG_ARM64=y
> +CONFIG_ARM64_VA_BITS_48=y
> +CONFIG_ARM_SMMU_V3=y
> +CONFIG_NR_CPUS=24
> +CONFIG_ARCH_THUNDER=y
> +
> +# uboot set "coherent_pool=16M" kernel parameter by default, so we need to
> +# make sure CONFIG_FORCE_MAX_ZONEORDER is big enough
> +CONFIG_ARM64_64K_PAGES=y
> +CONFIG_TRANSPARENT_HUGEPAGE=y
> +
> +# PCIe
> +CONFIG_PCI=y
> +CONFIG_PCIEPORTBUS=y
> +CONFIG_HOTPLUG_PCI=y
> +CONFIG_HOTPLUG_PCI_PCIE=y
> +CONFIG_PCI_IOV=y
> +
> +CONFIG_PCI_HOST_GENERIC=y
> +CONFIG_PCI_HOST_THUNDER_PEM=y
> +CONFIG_PCI_HOST_OCTEONTX2_PEM=y
> +
> +# Ethernet
> +CONFIG_OCTEONTX2_AF=y
> +CONFIG_OCTEONTX2_PF=y
> +CONFIG_OCTEONTX2_VF=y
> +CONFIG_USB_USBNET=y
> +CONFIG_USB_NET_AX88179_178A=y
> +
> +# NVMe
> +CONFIG_BLK_DEV_NVME=y
> +
> +# DMA
> +CONFIG_OCTEONTX2_DPI_PF=y
> +
> +# MTD
> +CONFIG_MTD=y
> +CONFIG_MTD_SPI_NOR=y
> +CONFIG_MTD_M25P80=y
> +CONFIG_MTD_BLOCK=y
> +
> +# USB
> +CONFIG_USB=y
> +CONFIG_USB_XHCI_HCD=y
> +
> +# SPI
> +CONFIG_SPI=y
> +CONFIG_SPI_OCTEONTX2=y
> +
> +# I2C
> +CONFIG_I2C=y
> +CONFIG_I2C_THUNDERX=y
> +
> +# Serial
> +CONFIG_SERIAL_AMBA_PL011=y
> +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
> +
> +# Watchdog
> +CONFIG_ARM_SBSA_WATCHDOG=y
> +
> +# SD
> +CONFIG_MMC=y
> +CONFIG_MMC_CAVIUM_THUNDERX=y
> +
> +# GPIO
> +CONFIG_GPIOLIB=y
> +CONFIG_GPIO_THUNDERX=y
> +
> +# HWMON
> +CONFIG_SENSORS_MAX6697=y
> +CONFIG_SENSORS_JC42=y
> +
> +# RTC
> +CONFIG_RTC_CLASS=y
> +CONFIG_RTC_DRV_DS1307=y
> +
> +# Regulator
> +CONFIG_REGULATOR=y
> +CONFIG_REGULATOR_FIXED_VOLTAGE=y
> +CONFIG_REGULATOR_GPIO=y
> +
> +# VFIO
> +CONFIG_VFIO=y
> +CONFIG_VFIO_PCI=y
> +
> +# Misc
> +CONFIG_EEPROM_AT24=y
> +CONFIG_HW_RANDOM=y
> +CONFIG_HW_RANDOM_CAVIUM=y
> +CONFIG_OCTEONTX2_RM=y
> +CONFIG_OCTEONTX2_RM_DOM_SYSFS=y
> +
> +# BPHY
> +CONFIG_MARVELL_OTX_BPHY_CTR=y
> diff --git a/bsp/marvell-cn96xx/marvell-cn96xx.scc 
> b/bsp/marvell-cn96xx/marvell-cn96xx.scc
> new file mode 100644
> index ..0d104fad583b
> --- /dev/null
> +++ b/bsp/marvell-cn96xx/marvell-cn96xx.scc
> @@ -0,0 +1,6 @@
> +kconf hardware marvell-cn96xx.cfg
> +kconf hardware features/edac/edac.cfg
> +
> +include cfg/usb-mass-storage.scc
> +
> +include features/hugetlb/hugetlb.scc
> --
> 2.14.4
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] : [kernel-cache yocto-5.2]: renesas-rcar: add configure file for renesas BSP in kernel-cache

2019-09-03 Thread Bruce Ashfield
This is now in the 5.2 branch of the kernel-cache.

Bruce

On Fri, Aug 30, 2019 at 5:19 AM  wrote:
>
> From: Limeng 
>
> Hi Bruce,
>
> I am working on BSP renesas-rcar platform, and intend to merge this BSP 
> supporting into yocto community.
> Below patch includes scc and cfg files for renesas-rcar platform.
>
> Could you please merge this patch into yocto-kernel-cache, branch is 
> yocto-5.2?
> This patch was merged into master some days ago. It also need to be merged 
> into yocto-5.2 branch
>
> 0001-renesas-rcar-add-configure-file-for-renesas-BSP-in-k.patch
>
>  renesas-rcar-h3-standard.scc |7 +
>  renesas-rcar-m3-standard.scc |7 +
>  renesas-rcar.cfg |  252 
> +++
>  renesas-rcar.scc |8 +
>  4 files changed, 274 insertions(+)
>
>
> thanks,
> Limeng



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [linux-yocto-v5.2]: [kernel standard/base]: renesas-rcar: add some patches to improve features on renesas-rcar platform

2019-09-03 Thread Bruce Ashfield
These look fine to me. All four patches are on v5.2/standard/base

Bruce

On Tue, Sep 3, 2019 at 2:53 AM  wrote:
>
> From: Limeng 
>
> Hi Bruce,
>
> I am working on BSP renesas-rcar platform, and intend to merge this BSP 
> supporting into yocto community.
> Below 4 patches are used to improve gpio, CAN BUS, audio and PCIe features
> This first patch is from mainline upstream, the other 3 patches merged into 
> linux-yocto-dev(standard/base) some days ago.
>
> 0001-arm64-dts-renesas-ulcb-kf-Add-support-for-TI-WL1837.patch
> 0002-arch-arm64-dts-Set-gpio5-pin9-as-input-by-default.patch
> 0003-driver-net-can-disable-clock-when-it-is-in-enable-st.patch
> 0004-pci-pcie-rcar-add-regulators-support.patch
>
> Could you please merge the 4 patches into linux-yocto, branch is 
> v5.2/standard/base?
>
>  arch/arm64/boot/dts/renesas/ulcb-kf.dtsi |  105 
> +++
>  drivers/net/can/rcar/rcar_can.c  |5 +
>  drivers/pci/controller/pcie-rcar.c   |   64 ++
>  3 files changed, 173 insertions(+), 1 deletion(-)
>
>
> thanks,
> Limeng



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache] [all branches] [PATCH] net_sched: Add FQ Controlled Delay packet scheduling algorithm

2019-09-03 Thread Bruce Ashfield
merged to 4.19/5.0/5.2 and master of the kernel-cache.

SRCREV bumps will follow in the next few days.

Bruce

On Tue, Sep 3, 2019 at 3:00 AM  wrote:
>
> From: He Zhe 
>
> It has been widely used and selected by systemd as defalut scheduling 
> algorithm
> since v217.
> https://github.com/systemd/systemd/blob/master/NEWS#L5861
>
> Signed-off-by: He Zhe 
> ---
>  features/net_sched/net_sched.cfg | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/features/net_sched/net_sched.cfg 
> b/features/net_sched/net_sched.cfg
> index 49cd7d7..8ac740a 100644
> --- a/features/net_sched/net_sched.cfg
> +++ b/features/net_sched/net_sched.cfg
> @@ -19,6 +19,7 @@ CONFIG_NET_SCH_DSMARK=m
>  CONFIG_NET_SCH_NETEM=m
>  CONFIG_NET_SCH_INGRESS=m
>  CONFIG_NET_SCH_CODEL=m
> +CONFIG_NET_SCH_FQ_CODEL=m
>
>  #
>  # Classification
> --
> 2.7.4
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 2/2 linux-yocto-dev all branches] aufs: opts: Fix missing fallthrough

2019-09-03 Thread Bruce Ashfield
merged to linux-yocto-dev.

Bruce

On Tue, Sep 3, 2019 at 3:28 AM  wrote:
>
> From: He Zhe 
>
> commit 8d7b6374d5af2c31ce9501d3502808e3c7a9ea68 upstream
>
> A compilation -Wimplicit-fallthrough warning was enabled by commit
> a035d552a93b ("Makefile: Globally enable fall-through warning")
> and triggers the following warning.
>
> fs/aufs/opts.h:78:11:
> warning: this statement may fall through [-Wimplicit-fallthrough=]
>
> This patch adds comments according GNU manual.
> https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
>
> Signed-off-by: He Zhe 
> See-also: 
> https://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg05685.html
> (cherry picked from commit e7619996b014c5d8fd2f6ad89542c545a207667f)
> ---
>  fs/aufs/opts.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/fs/aufs/opts.c b/fs/aufs/opts.c
> index d370108..01fae8b 100644
> --- a/fs/aufs/opts.c
> +++ b/fs/aufs/opts.c
> @@ -1499,8 +1499,10 @@ static int au_opt_br(struct super_block *sb, struct 
> au_opt *opt,
> if (opt->add.bindex < 0)
> opt->add.bindex = 0;
> goto add;
> +   /* Always goto add, not fallthrough */
> case Opt_prepend:
> opt->add.bindex = 0;
> +   /* fallthrough */
> add: /* indented label */
> case Opt_add:
> err = au_br_add(sb, &opt->add,
> --
> 2.7.4
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 1/2 linux-yocto-dev all branches] aufs: bugfix, opts: Fix missing break statement

2019-09-03 Thread Bruce Ashfield
merged to linux-yocto-dev

Bruce

On Tue, Sep 3, 2019 at 3:28 AM  wrote:
>
> From: He Zhe 
>
> commit 4a80018d718f6be2e862d0c70bb11cd6e6d1fae5 upstream
>
> Add missing break statement for case Opt_wsum in au_opt_simple.
>
> Signed-off-by: He Zhe 
> See-also: 
> https://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg05684.html
> (cherry picked from commit 9e7d29356ab57fa5db7e92e51267176e50c1497c)
> ---
>  fs/aufs/opts.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/fs/aufs/opts.c b/fs/aufs/opts.c
> index a089b8e..d370108 100644
> --- a/fs/aufs/opts.c
> +++ b/fs/aufs/opts.c
> @@ -1373,6 +1373,7 @@ static int au_opt_simple(struct super_block *sb, struct 
> au_opt *opt,
> case Opt_wsum:
> au_opt_clr(sbinfo->si_mntflags, SUM);
> au_opt_set(sbinfo->si_mntflags, SUM_W);
> +   break;
> case Opt_nosum:
> au_opt_clr(sbinfo->si_mntflags, SUM);
> au_opt_clr(sbinfo->si_mntflags, SUM_W);
> --
> 2.7.4
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


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 almost the same as what I
> > have sent for the linux-yocto-dev [1] [2]. The major difference between
> 
> I assume that you still also want the linux-yocto-dev changes merged ?

Yes, Thanks Bruce.

Kevin

> That is mhy plan.
> 
> > them is that the BPHY driver is added. The BPHY driver handles ioctl to
> > set/clear irq handlers in EL3 using SMC calls. The purpose of this is to
> > handle some BPHY interrupts in userspace directly. In order to support this,
> > we have to make some ugly hack to some core files like 
> > arch/arm64/mm/context.c
> > or arch/arm64/mm/context.c, but the change is pretty simple and are 
> > protected
> > with the specific kernel option.
> 
> perfect. Sounds safe for standard/base, so I'll look at merging it there.
> 
> Bruce
> 
> >
> > [1] 
> > https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007886.html
> > [2] 
> > https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007887.html
> >
> > Thanks,
> > Kevin
> 
> 
> 
> -- 
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II


signature.asc
Description: PGP signature
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache master/yocto-5.0][PATCH] intel-x86: add MGA G200 series VGA support

2019-09-03 Thread Liwei Song
Hi Bruce,

It seems that this patch was missed by master branch, so does 5.2 branch also 
miss it.
Could you help merge it to both master and yocto-5.2 branch?


Thanks,
Liwei.


On 07/08/2019 04:22 PM, Liwei Song wrote:
> Enable CONFIG_DRM_MGAG200=m to support Matrox Electronics MGA G200
> and include it in intel-x86 bsp.
> 
> Signed-off-by: Liwei Song 
> ---
>  bsp/intel-x86/intel-x86.scc  | 1 +
>  features/mgag200/mgag200.cfg | 1 +
>  features/mgag200/mgag200.scc | 4 
>  3 files changed, 6 insertions(+)
>  create mode 100644 features/mgag200/mgag200.cfg
>  create mode 100644 features/mgag200/mgag200.scc
> 
> diff --git a/bsp/intel-x86/intel-x86.scc b/bsp/intel-x86/intel-x86.scc
> index aee6d5e93db3..a93319d483a5 100644
> --- a/bsp/intel-x86/intel-x86.scc
> +++ b/bsp/intel-x86/intel-x86.scc
> @@ -39,6 +39,7 @@ include features/tpm/tpm.scc
>  include features/mfd/mfd-intel-lpss.scc
>  include features/mmc/mmc-realtek.scc
>  include features/intel-pinctrl/intel-pinctrl.scc
> +include features/mgag200/mgag200.scc
>  
>  kconf hardware intel-x86.cfg
>  kconf hardware intel-x86-mga.cfg
> diff --git a/features/mgag200/mgag200.cfg b/features/mgag200/mgag200.cfg
> new file mode 100644
> index ..48b6c6106fe0
> --- /dev/null
> +++ b/features/mgag200/mgag200.cfg
> @@ -0,0 +1 @@
> +CONFIG_DRM_MGAG200=m
> diff --git a/features/mgag200/mgag200.scc b/features/mgag200/mgag200.scc
> new file mode 100644
> index ..6bb0e79608e9
> --- /dev/null
> +++ b/features/mgag200/mgag200.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Matrox Electronics Systems Ltd. MGA G200e 
> support"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware mgag200.cfg
> 
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache master/yocto-5.0][PATCH] intel-x86: add MGA G200 series VGA support

2019-09-03 Thread Bruce Ashfield
Indeed. I appear to have messed it up .. I had a lot of merges to do
today, so I was sure to get something wrong.

This is now really merged.

Bruce

On Tue, Sep 3, 2019 at 9:57 PM Liwei Song  wrote:
>
> Hi Bruce,
>
> It seems that this patch was missed by master branch, so does 5.2 branch also 
> miss it.
> Could you help merge it to both master and yocto-5.2 branch?
>
>
> Thanks,
> Liwei.
>
>
> On 07/08/2019 04:22 PM, Liwei Song wrote:
> > Enable CONFIG_DRM_MGAG200=m to support Matrox Electronics MGA G200
> > and include it in intel-x86 bsp.
> >
> > Signed-off-by: Liwei Song 
> > ---
> >  bsp/intel-x86/intel-x86.scc  | 1 +
> >  features/mgag200/mgag200.cfg | 1 +
> >  features/mgag200/mgag200.scc | 4 
> >  3 files changed, 6 insertions(+)
> >  create mode 100644 features/mgag200/mgag200.cfg
> >  create mode 100644 features/mgag200/mgag200.scc
> >
> > diff --git a/bsp/intel-x86/intel-x86.scc b/bsp/intel-x86/intel-x86.scc
> > index aee6d5e93db3..a93319d483a5 100644
> > --- a/bsp/intel-x86/intel-x86.scc
> > +++ b/bsp/intel-x86/intel-x86.scc
> > @@ -39,6 +39,7 @@ include features/tpm/tpm.scc
> >  include features/mfd/mfd-intel-lpss.scc
> >  include features/mmc/mmc-realtek.scc
> >  include features/intel-pinctrl/intel-pinctrl.scc
> > +include features/mgag200/mgag200.scc
> >
> >  kconf hardware intel-x86.cfg
> >  kconf hardware intel-x86-mga.cfg
> > diff --git a/features/mgag200/mgag200.cfg b/features/mgag200/mgag200.cfg
> > new file mode 100644
> > index ..48b6c6106fe0
> > --- /dev/null
> > +++ b/features/mgag200/mgag200.cfg
> > @@ -0,0 +1 @@
> > +CONFIG_DRM_MGAG200=m
> > diff --git a/features/mgag200/mgag200.scc b/features/mgag200/mgag200.scc
> > new file mode 100644
> > index ..6bb0e79608e9
> > --- /dev/null
> > +++ b/features/mgag200/mgag200.scc
> > @@ -0,0 +1,4 @@
> > +define KFEATURE_DESCRIPTION "Matrox Electronics Systems Ltd. MGA G200e 
> > support"
> > +define KFEATURE_COMPATIBILITY board
> > +
> > +kconf hardware mgag200.cfg
> >



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache yocto-5.2] nxp-ls20xx: add kernel-cache configuration files for BSP nxp-ls20xx

2019-09-03 Thread Xulin Sun
This adds the cfg & scc files to support the LS2088A-RDB.

Signed-off-by: Xulin Sun 
---
 bsp/nxp-ls20xx/nxp-ls20xx-standard.scc |   8 ++
 bsp/nxp-ls20xx/nxp-ls20xx.cfg  | 162 +
 bsp/nxp-ls20xx/nxp-ls20xx.scc  |   7 ++
 3 files changed, 177 insertions(+)
 create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx-standard.scc
 create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx.cfg
 create mode 100755 bsp/nxp-ls20xx/nxp-ls20xx.scc

diff --git a/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc 
b/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc
new file mode 100755
index ..e0d9b2b7
--- /dev/null
+++ b/bsp/nxp-ls20xx/nxp-ls20xx-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE nxp-ls20xx
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc
+branch nxp-ls20xx
+
+include nxp-ls20xx.scc
diff --git a/bsp/nxp-ls20xx/nxp-ls20xx.cfg b/bsp/nxp-ls20xx/nxp-ls20xx.cfg
new file mode 100755
index ..f554c916
--- /dev/null
+++ b/bsp/nxp-ls20xx/nxp-ls20xx.cfg
@@ -0,0 +1,162 @@
+..
+.WARNING
+.
+. This file is a kernel configuration fragment, and not a full kernel
+. configuration file.  The final kernel configuration is made up of
+. an assembly of processed fragments, each of which is designed to
+. capture a specific part of the final configuration (e.g. platform
+. configuration, feature configuration, and board specific hardware
+. configuration).  For more information on kernel configuration, please
+. consult the product documentation.
+.
+..
+
+CONFIG_ARM64=y
+CONFIG_ARM64_VA_BITS_48=y
+CONFIG_ARCH_LAYERSCAPE=y
+CONFIG_SCHED_MC=y
+CONFIG_ARM_SMMU=y
+CONFIG_ARM_SMMU_V3=y
+
+CONFIG_PCI=y
+CONFIG_PCI_LAYERSCAPE=y
+CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCI_XGENE=y
+CONFIG_PCI_MSI=y
+
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPUFREQ_DT=y
+CONFIG_QORIQ_CPUFREQ=y
+
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_ADV_OPTIONS=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_NAND_FSL_IFC=y
+CONFIG_SPI_FSL_QUADSPI=y
+CONFIG_SCSI_SAS_ATA=y
+CONFIG_SCSI_HISI_SAS=y
+CONFIG_ATA=y
+CONFIG_SATA_AHCI=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_CEVA=y
+CONFIG_AHCI_XGENE=y
+CONFIG_AHCI_QORIQ=y
+CONFIG_SATA_SIL24=y
+
+CONFIG_FSL_XGMAC_MDIO=y
+CONFIG_HNS_DSAF=y
+CONFIG_HNS_ENET=y
+CONFIG_E1000=y
+CONFIG_E1000E=y
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_DW=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+
+CONFIG_SPI=y
+CONFIG_SPI_FSL_DSPI=y
+CONFIG_SPI_PL022=y
+CONFIG_SPI_NXP_FLEXSPI=y
+
+CONFIG_POWER_RESET_XGENE=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
+
+CONFIG_THERMAL=y
+CONFIG_THERMAL_OF=y
+CONFIG_CPU_THERMAL=y
+CONFIG_THERMAL_EMULATION=y
+CONFIG_WATCHDOG=y
+CONFIG_ARM_SP805_WATCHDOG=y
+
+CONFIG_USB=y
+CONFIG_USB_OTG=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_DWC3=y
+CONFIG_USB_DWC2=y
+CONFIG_USB_GADGET=y
+
+CONFIG_MMC=y
+CONFIG_MMC_ARMMMCI=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_OF_ARASAN=y
+CONFIG_MMC_SDHCI_OF_ESDHC=y
+CONFIG_MMC_SDHCI_CADENCE=y
+CONFIG_MMC_SPI=y
+CONFIG_MMC_DW=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+
+CONFIG_MDIO_DEVICE=y
+CONFIG_MDIO_BITBANG=y
+CONFIG_PHYLIB=y
+CONFIG_AQUANTIA_PHY=y
+CONFIG_CORTINA_PHY=y
+
+#
+# I2C support
+#
+CONFIG_I2C=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_IMX=y
+CONFIG_I2C_MUX_PCA954x=y
+
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_DS3232=y
+CONFIG_RTC_DRV_PL031=y
+CONFIG_RTC_DRV_PCF2127=y
+
+CONFIG_DMADEVICES=y
+CONFIG_FSL_EDMA=y
+CONFIG_CMA=y
+CONFIG_DMA_CMA=y
+
+CONFIG_VFIO=y
+CONFIG_VFIO_PCI=y
+
+CONFIG_STAGING=y
+CONFIG_FSL_MC_BUS=y
+CONFIG_FSL_MC_DPIO=y
+
+CONFIG_CLK_QORIQ=y
+
+CONFIG_PHY_XGENE=y
+
+CONFIG_CRYPTO_DEV_FSL_CAAM=y
+CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM=y
+CONFIG_ARM64_CRYPTO=y
+CONFIG_CRYPTO_SHA1_ARM64_CE=y
+CONFIG_CRYPTO_SHA2_ARM64_CE=y
+CONFIG_CRYPTO_GHASH_ARM64_CE=y
+CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
+CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
+# CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT is not set
+
+# EDAC
+CONFIG_EDAC_LAYERSCAPE=y
+
+CONFIG_SENSORS_LM90=y
+CONFIG_SENSORS_INA2XX=y
+
+CONFIG_ARM_SBSA_WATCHDOG=y
diff --git a/bsp/nxp-ls20xx/nxp-ls20xx.scc b/bsp/nxp-ls20xx/nxp-ls20xx.scc
new file mode 100755
index ..36f0ee7a
--- /dev/null
+++ b/bsp/nxp-ls20xx/nxp-ls20xx.scc
@@ -0,0 +1,7 @@
+kconf hardware nxp-ls20xx.cfg
+kconf hardware features/edac/edac.cfg
+
+include cfg/usb-mass-storage.scc
+
+include features/hugetlb/hugetlb.scc
+include arch/arm/32bit-compat.scc
-- 
2.17.1

-- 
__

[linux-yocto] [PATCH 1/1] ti-am335x: add the basic scc/cfg enablement

2019-09-03 Thread Jun Miao
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc

Signed-off-by: Jun Miao 
---
 bsp/ti-am335x/ti-am335x-standard.scc |   7 +
 bsp/ti-am335x/ti-am335x.cfg  | 230 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 244 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc 
b/bsp/ti-am335x/ti-am335x-standard.scc
new file mode 100644
index ..d50230b5
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -0,0 +1,7 @@
+define KMACHINE ti-am335x
+define KTYPE standard
+define KARCH arm
+
+include ktypes/standard/standard.scc
+
+include ti-am335x.scc
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
new file mode 100644
index ..aca2d86f
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -0,0 +1,230 @@
+#.
+#WARNING
+#
+# This file is a kernel configuration fragment, and not a full kernel
+# configuration file.  The final kernel configuration is made up of
+# an assembly of processed fragments, each of which is designed to
+# capture a specific part of the final configuration (e.g. platform
+# configuration, feature configuration, and board specific hardware
+# configuration).  For more information on kernel configuration, please
+# consult the product documentation.
+#
+#.
+
+CONFIG_ARM=y
+CONFIG_ARCH_OMAP=y
+CONFIG_OMAP_DM_TIMER=y
+CONFIG_SOC_AM33XX=y
+CONFIG_ARCH_OMAP2PLUS=y
+
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+
+CONFIG_PM=y
+CONFIG_REGMAP_IRQ=y
+
+CONFIG_REGULATOR_TPS65910=y
+CONFIG_REGULATOR_TPS65217=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_OMAP_OCP2SCP=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
+
+# Misc devices
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_LIS3_I2C=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_TI=y
+CONFIG_TI_DAVINCI_MDIO=y
+CONFIG_TI_CPSW_PHY_SEL=y
+CONFIG_TI_CPSW=y
+CONFIG_TI_CPTS=y
+CONFIG_PHYLIB=y
+
+CONFIG_SMSC_PHY=y
+CONFIG_FIXED_PHY=y
+
+#
+# Input Device Drivers
+#
+
+CONFIG_INPUT=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_MATRIX=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_TPS65218_PWRBUTTON=m
+CONFIG_SERIAL_EARLYCON=y
+
+#
+# 8250 serial port support
+#
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_OMAP=y
+
+# I2C support
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_OMAP=y
+CONFIG_SENSORS_TSL2550=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_SYSFS=y
+
+CONFIG_GPIO_OMAP=y
+CONFIG_GPIO_PCA953X=m
+CONFIG_GPIO_TPS65910=y
+
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_OMAP_WATCHDOG=m
+
+CONFIG_MFD_SYSCON=y
+CONFIG_MFD_TI_AM335X_TSCADC=y
+CONFIG_MFD_OMAP_USB_HOST=y
+CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
+CONFIG_MFD_TPS65910=y
+CONFIG_TWL6040_CORE=y
+
+#
+# LCD
+#
+CONFIG_DRM=y
+CONFIG_DRM_OMAP=y
+CONFIG_OMAP2_DSS_DPI=y
+CONFIG_DRM_TILCDC=y
+CONFIG_DRM_I2C_NXP_TDA998X=y
+
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=y
+CONFIG_PWM=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_GPIO=y
+
+
+CONFIG_SOUND=m
+CONFIG_SND=m
+CONFIG_SND_SOC=m
+CONFIG_SND_SIMPLE_CARD=m
+
+
+#CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+#CONFIG_USB_MON=m
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB=y
+CONFIG_USB_SUPPORT=y
+
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_HCD_OMAP=m
+CONFIG_USB_MUSB_HDRC=m
+
+#
+# USB Physical Layer drivers Peripheral Controller
+#
+CONFIG_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_CONTROL_USB=m
+CONFIG_AM335X_PHY_USB=m
+
+# Platform Glue Layer
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_AM335X_CHILD=m
+
+# MUSB DMA mode
+CONFIG_USB_TI_CPPI41_DMA=y
+
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC=y
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_MINORS=8
+
+CONFIG_MMC_OMAP=y
+CONFIG_MMC_OMAP_HS=y
+
+#
+# I2C RTC drivers
+#
+CONFIG_MFD_PALMAS=y
+CONFIG_RTC_DRV_PALMAS=y
+
+CONFIG_TWL4030_CORE=y
+CONFIG_RTC_DRV_TWL4030=y
+CONFIG_RTC_DRV_OMAP=y
+CONFIG_RTC

[linux-yocto] [kernel-cache v5.2] ti-am335x: add base support

2019-09-03 Thread Jun Miao
Hi Bruce,   
   
 I am working ti boards(AM335x evm/sk/BBB) with am335x soc. 
  
 Could you help me add scc/cfg to yocto-kernel-cache v5.2 branch.


Jun Miao (1):
  ti-am335x: add the basic scc/cfg enablement

 bsp/ti-am335x/ti-am335x-standard.scc |   7 +
 bsp/ti-am335x/ti-am335x.cfg  | 230 +++
 bsp/ti-am335x/ti-am335x.scc  |   7 +
 3 files changed, 244 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

-- 
2.22.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto