[linux-yocto] [linux-yocto-dev] [oe-core] [PATCH v2] kernel.bbclass: Configuration for environment with HOSTCXX

2020-08-10 Thread Zhang, Qiang
From: Zhang Qiang 

When compiling xilinx-zynq board linux-kernel-dev(v5.8) if
"GCC_PLUGINS=y", The following error will appear:

"HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
fatal error: gmp.h: No such file or directory"

the GCC_PLUGINS depend on return result of gcc-plugin.sh execution
however in gcc-plugin.sh use HOSTCC to detect the feature of GNU
extension of gcc, this will result that HOSTCC can compile the file
successfully, but HOSTCXX is used in the actual compilation process.

Signed-off-by: Zhang Qiang 
---
 v1->v2:
 Remove variable "HOSTCPP" multiple assignments.

 meta/classes/kernel.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index cf43a5d604..e2ceb6a333 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -212,6 +212,8 @@ UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
 KERNEL_EXTRA_ARGS ?= ""
 
 EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" 
HOSTCPP="${BUILD_CPP}""
+EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_LDFLAGS}""
+
 KERNEL_ALT_IMAGETYPE ??= ""
 
 copy_initramfs() {
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8945): 
https://lists.yoctoproject.org/g/linux-yocto/message/8945
Mute This Topic: https://lists.yoctoproject.org/mt/76100157/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[linux-yocto][linux-yocto-dev standard/cn96xx] marvell-cn96xx for linux-yocto-dev v5.8

2020-08-10 Thread Ruiqiang Hao
Hi Bruce,

Would you please help to merge follow kernel code into our linux-yocto-dev 
kernel?

The branch is
standard/cn96xx

Thanks,
Ruiqiang

The following changes since commit 318516993725768f072a5505b591eb75f6eb5d88:

  misc: otx_bphy_ctr: Fix access_ok() argument error (2020-07-21 01:42:07 +)

are available in the Git repository at:

  https://github.com/cythe/linux.git marvell-cn96xx_v5.8

for you to fetch changes up to 2f3ebe87b53ebfcae9384ad0dff807d9c4195073:

  octeontx2-bphy-netdev: Enable MSIXEN bit in IOCTL handler (2020-08-10 
02:02:41 +)


Bhaskara Budiredla (2):
  drivers: gicv3: fetches atf mem region for LPI prop and pend tables
  drivers: gicv3: removes the LPI tables warning print

Chandrakala Chavva (1):
  driver: serdes_debugfs: Allow user to clear prbs errors.

Linu Cherian (1):
  irqchip/gic-v3: Add workaround for interrupt loss on IPI

Naveen Mamindlapalli (3):
  otx2-bphy-netdev: Add support for registering both rfoe and cpri netdev 
intf
  otx2-bphy-netdev: Add support for configurable PTP clock rate
  octeontx2-bphy-netdev: Enable MSIXEN bit in IOCTL handler

Rick Farrington (3):
  Documentation: dt: edac: update sdei-ghes/bed-bert settings
  ACPI: APEI: BERT: support BERT in non-ACPI systems
  drivers: marvell: otx2: sdei-ghes: add BERT support for RAS errors

Satha Rao (1):
  octeontx2-af: fix Extended DSA and eDSA parsing

 Documentation/devicetree/bindings/edac/marvell-sdei-ghes.txt   |  48 
--
 drivers/acpi/apei/bert.c   |  65 
++--
 drivers/irqchip/Makefile   |   2 +-
 drivers/irqchip/irq-gic-v3-fixes.c | 236 
+
 drivers/irqchip/irq-gic-v3-its.c   |  32 

 drivers/irqchip/irq-gic-v3.c   |  58 
+++--
 drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h|   6 
+--
 drivers/net/ethernet/marvell/octeontx2/bphy/otx2_bphy.h|   3 +-
 drivers/net/ethernet/marvell/octeontx2/bphy/otx2_bphy_main.c   |  48 
++
 drivers/net/ethernet/marvell/octeontx2/bphy/otx2_cpri.c|  59 
+-
 drivers/net/ethernet/marvell/octeontx2/bphy/otx2_cpri.h|   2 +-
 drivers/net/ethernet/marvell/octeontx2/bphy/otx2_rfoe.c|  39 
+++
 drivers/net/ethernet/marvell/octeontx2/bphy/otx2_rfoe.h|  25 
-
 drivers/net/ethernet/marvell/octeontx2/bphy/rfoe_bphy_netdev_comm_if.h |   1 +
 drivers/soc/marvell/Kconfig|  10 

 drivers/soc/marvell/octeontx2-ghes/otx2-sdei-ghes.c| 267 
+
 drivers/soc/marvell/octeontx2-serdes/serdes_debugfs.c  |  19 
++-
 include/acpi/apei.h|   2 +
 include/linux/irqchip/arm-gic-v3.h |   3 ++
 include/linux/irqchip/irq-gic-v3-fixes.h   |  31 

 20 files changed, 851 insertions(+), 105 deletions(-)
 create mode 100644 drivers/irqchip/irq-gic-v3-fixes.c
 create mode 100644 include/linux/irqchip/irq-gic-v3-fixes.h

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8946): 
https://lists.yoctoproject.org/g/linux-yocto/message/8946
Mute This Topic: https://lists.yoctoproject.org/mt/76100388/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[linux-yocto][linux-yocto v5.4/standard/cn96xx] marvell-cn96xx for linux-yocto v5.4

2020-08-10 Thread Ruiqiang Hao
Hi Bruce,

Would you please help to merge follow kernel code into our linux-yocto 
standard kernel?

The branch is
v5.4/standard/cn96xx
v5.4/standard/preempt-rt/cn96xx

Thanks,
Ruiqiang

The following changes since commit cd186ff05afa4524f940270f8d2e2a149d4604b2:

  Merge branch 'v5.4/standard/base' into v5.4/standard/cn96xx (2020-08-03 
08:37:57 -0400)

are available in the Git repository at:

  https://github.com/cythe/linux-yocto.git v5.4/standard/cn96xx

for you to fetch changes up to 59c4206eebc20e21bf91f64c671889d7cae713ba:

  octeontx2-bphy-netdev: Enable MSIXEN bit in IOCTL handler (2020-08-10 
15:28:16 +0800)


Alex Williamson (6):
  vfio: Include optional device match in vfio_device_ops callbacks
  vfio/pci: Implement match ops
  vfio/pci: Introduce VF token
  vfio: Introduce VFIO_DEVICE_FEATURE ioctl and first user
  vfio/pci: Add sriov_configure support
  vfio/pci: Cleanup .probe() exit paths

Bhaskara Budiredla (2):
  drivers: gicv3: fetches atf mem region for LPI prop and pend tables
  drivers: gicv3: removes the LPI tables warning print

Chandrakala Chavva (1):
  driver: serdes_debugfs: Allow user to clear prbs errors.

Linu Cherian (1):
  irqchip/gic-v3: Add workaround for interrupt loss on IPI

Naveen Mamindlapalli (3):
  otx2-bphy-netdev: Add support for registering both rfoe and cpri netdev 
intf
  otx2-bphy-netdev: Add support for configurable PTP clock rate
  octeontx2-bphy-netdev: Enable MSIXEN bit in IOCTL handler

Rick Farrington (3):
  Documentation: dt: edac: update sdei-ghes/bed-bert settings
  ACPI: APEI: BERT: support BERT in non-ACPI systems
  drivers: marvell: otx2: sdei-ghes: add BERT support for RAS errors

Satha Rao (1):
  octeontx2-af: fix Extended DSA and eDSA parsing

 .../devicetree/bindings/edac/marvell-sdei-ghes.txt |  48 ++-
 drivers/acpi/apei/bert.c   |  65 +++-
 drivers/irqchip/Makefile   |   2 +-
 drivers/irqchip/irq-gic-v3-fixes.c | 236 +
 drivers/irqchip/irq-gic-v3-its.c   |  32 +-
 drivers/irqchip/irq-gic-v3.c   |  58 ++-
 .../ethernet/marvell/octeontx2/af/npc_profile.h|   6 +-
 .../ethernet/marvell/octeontx2/bphy/otx2_bphy.h|   3 +-
 .../marvell/octeontx2/bphy/otx2_bphy_main.c|  48 ++-
 .../ethernet/marvell/octeontx2/bphy/otx2_cpri.c|  59 ++--
 .../ethernet/marvell/octeontx2/bphy/otx2_cpri.h|   2 +-
 .../ethernet/marvell/octeontx2/bphy/otx2_rfoe.c|  39 +--
 .../ethernet/marvell/octeontx2/bphy/otx2_rfoe.h|  25 +-
 .../octeontx2/bphy/rfoe_bphy_netdev_comm_if.h  |   1 +
 drivers/soc/marvell/Kconfig|  10 +
 .../soc/marvell/octeontx2-ghes/otx2-sdei-ghes.c| 267 ++
 .../soc/marvell/octeontx2-serdes/serdes_debugfs.c  |  19 +-
 drivers/vfio/pci/vfio_pci.c| 389 +++--
 drivers/vfio/pci/vfio_pci_private.h|  10 +
 drivers/vfio/vfio.c|  20 +-
 include/acpi/apei.h|   2 +
 include/linux/irqchip/arm-gic-v3.h |   3 +
 include/linux/irqchip/irq-gic-v3-fixes.h   |  31 ++
 include/linux/vfio.h   |   4 +
 include/uapi/linux/vfio.h  |  37 ++
 25 files changed, 1284 insertions(+), 132 deletions(-)
 create mode 100644 drivers/irqchip/irq-gic-v3-fixes.c
 create mode 100644 include/linux/irqchip/irq-gic-v3-fixes.h
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8947): 
https://lists.yoctoproject.org/g/linux-yocto/message/8947
Mute This Topic: https://lists.yoctoproject.org/mt/76118174/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-