Re: [linux-yocto] [kernel-cache yocto-5.2/master] [PATCH] ti-am335x: enable GCC -O2 optimization

2019-10-31 Thread He Zhe
Hi Bruce,

This now happens on qemuarmv5 and possibly on all arm arches.

standard.scc -> arm.scc -> arm.cfg -> CONFIG_CC_OPTIMIZE_FOR_SIZE=y

It hangs the whole system.
But turning off CONFIG_CC_OPTIMIZE_FOR_SIZE would affect all arches.

What do you think?

Thanks,
Zhe


On 10/30/19 8:25 AM, Bruce Ashfield wrote:
> merged.
>
> We should also either have a plan to figure out the root cause
> of this, or we should patch the Kconfig to be broken if enabled
> .. that way we'll prevent others from turning it on by mistake.
>
>
> Bruce
>
>
> In message: [linux-yocto] [kernel-cache yocto-5.2/master] [PATCH] ti-am335x: 
> enable GCC -O2 optimization
> on 29/10/2019 Jun Miao wrote:
>
>> Ti-am335x bsp includes the standard.scc file, which will set 
>> CONFIG_CC_OPTIMIZE_FOR_SIZE=y.
>> As a result, the system boot hangs like below in v5.4.0-rc4 kernel version:
>> When we enable CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE for -O2 Optimization level,
>> the boot succeeds.
>>
>> boot log:
>> systemd[1]: Set hostname to .
>> systemd[1]: Failed to open netlink: Operation not permitted
>> systemd-fstab-generator[120]: Failed to write unit file -.mount: Bad address
>> systemd-fstab-generator[120]: Failed to write unit file var-volatile.mount: 
>> Bad address
>> ... ...
>> systemd[1]: Failed to start device monitor: Bad address
>> systemd[1]: SO_PASSCRED failed: Bad address
>> [!!] Failed to start up manager.
>> systemd[1]: Freezing execution.
>>
>> Signed-off-by: Jun Miao 
>> ---
>>  bsp/ti-am335x/ti-am335x.cfg | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
>> index 71884fd7..190cb876 100644
>> --- a/bsp/ti-am335x/ti-am335x.cfg
>> +++ b/bsp/ti-am335x/ti-am335x.cfg
>> @@ -258,3 +258,5 @@ CONFIG_OMAP_CONTROL_PHY=y
>>  
>>  CONFIG_TI_PIPE3=y
>>  CONFIG_ARM_PMU=y
>> +
>> +CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
>> -- 
>> 2.17.1
>>

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


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

2019-10-31 Thread Bruce Ashfield


In message: [linux-yocto v5.2] Another patch series for the Marvell cn96xx 
support
on 31/10/2019 Kevin Hao wrote:

> Hi Bruce,
> 
> Here is another patch series for the Marvell cn96xx SoC support. It mainly
> focus on the coresight and Ethernet drivers. Please help me merge this to:
>   v5.2/standard/cn96xx
>   v5.2/standard/preempt-rt/cn96xx
> 
> The following changes since commit ea644ca0c23daa58925be27754d0cac01ed50e9b:
> 
>   Merge branch 'v5.2/standard/base' into v5.2/standard/cn96xx (2019-10-29 
> 20:34:04 -0400)
> 
> are available in the Git repository at:
> 
>   g...@github.com:haokexin/linux v5.2/standard/cn96xx

Thanks Kevin, this is now merged to both branches.

Bruce

> 
> for you to fetch changes up to 9c320cb186dc953deb487ffd15ee8ee1c6281fe4:
> 
>   coresight: Fix assumptions on coresight topology (2019-10-31 19:39:41 +0800)
> 
> 
> Christina Jacob (3):
>   octeontx2-pf: remove redundant changes from speed change suppcrt.
>   octeontx-af: Interface mode change feature via ethtool
>   octeontx2-pf: Interface Mode change using ethtool.
> 
> Geetha sowjanya (3):
>   iommu/arm-smmu-v3: Force 32 byte command queue memory reads
>   octeontx2-pf: Add shutdown sequence for PF/VF
>   octeontx2-pf: Reset the PF/VF on MTU change
> 
> Hao Zheng (2):
>   octeontx2-af: kpu profile update for protocol nvgre
>   octeontx2-af: kpu profile fix for a missing action entry
> 
> Kiran Kumar K (1):
>   octeontx2-af: match nvgre as ltype
> 
> Linu Cherian (4):
>   coresight: etm4x: Add Marvell OcteontTx CN9xxx ETM device
>   coresight: tmc: Add Marvell OcteonTx CN9xxx TMC device
>   coresight: tmc: Fixes for Marvell OcteonTx CN9xxx ETR HW issues.
>   coresight: Fix assumptions on coresight topology
> 
> Nithin Dabilpuram (1):
>   octeontx2-af: fix backpressure cfg on lf alloc and free
> 
> Peter Swain (3):
>   mmc: cavium: calibrate otx2 just once
>   mmc: dt-bindings: describe cavium vmmc/vqmmc
>   gpio: add no-frills i2c->gpio expander
> 
> Stanislaw Kardach (1):
>   octeontx2-af: reserve top LD/LTYPEs for custom KPU
> 
> Subbaraya Sundeep (5):
>   octeontx2-pf: Do not set mac address again
>   octeontx2-pf: Clear mbox interrupt status early
>   octeontx2-af: Do not exit when firmware unavailable
>   octeontx2-af: Init mcam resources after loading profile
>   octeontx2-af: Fix default profile loading checks
> 
> Sunil Goutham (1):
>   net: thunderx: Fix RSS flow hash settings display
> 
> hariprasad (2):
>   octeontx2-pf: Add rx vlan offload support
>   octeontx2-af: update address of global CGX RX_STATS
> 
>  Documentation/devicetree/bindings/arm/coresight.txt   |   4 ++
>  Documentation/devicetree/bindings/gpio/gpio-i2c.txt   |  32 
> +++
>  Documentation/devicetree/bindings/mmc/cavium-mmc.txt  |  48 
> --
>  MAINTAINERS   |   5 +++
>  drivers/gpio/Kconfig  |  12 ++
>  drivers/gpio/Makefile |   1 +
>  drivers/gpio/gpio-i2c.c   | 206 
> 
>  drivers/hwtracing/coresight/coresight-etm-perf.c  |   2 +-
>  drivers/hwtracing/coresight/coresight-etm4x.c |   1 +
>  drivers/hwtracing/coresight/coresight-priv.h  |   3 +-
>  drivers/hwtracing/coresight/coresight-tmc-etr.c   |  72 
> +++-
>  drivers/hwtracing/coresight/coresight-tmc.c   |  21 ++
>  drivers/hwtracing/coresight/coresight-tmc.h   |  94 
> +-
>  drivers/hwtracing/coresight/coresight.c   |  25 +++-
>  drivers/iommu/arm-smmu-v3.c   |  18 +---
>  drivers/mmc/host/cavium.h |   1 -
>  drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c   |  34 
> +---
>  drivers/net/ethernet/marvell/octeontx2/af/cgx.c   | 132 
> ++-
>  drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h |  33 
> ++-
>  drivers/net/ethernet/marvell/octeontx2/af/mbox.h  |  14 ++-
>  drivers/net/ethernet/marvell/octeontx2/af/npc.h   |  16 
>  drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h   |  10 -
>  drivers/net/ethernet/marvell/octeontx2/af/rvu.c   |  26 ++--
>  drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c   |  13 --
>  drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c   |   2 +
>  drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c   |  11 ++---
>  drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c  |  17 
>  

Re: [linux-yocto] [linux-yocto-v5.2]: [kernel v5.2/standard/base]: Revert "arm64: dts: r8a7795: Add CPUIdle support for all CPU core"

2019-10-31 Thread Bruce Ashfield


In message: [linux-yocto-v5.2]: [kernel v5.2/standard/base]: Revert "arm64: 
dts: r8a7795: Add CPUIdle support for all CPU core"
on 30/10/2019 meng...@windriver.com wrote:

> From: Limeng 
> 
> Hi Bruce,
> 
> Some days ago, I sent a patch to add CPUIdle feature for renesas-rcar 
> platform. This patch only add cpu-idle-states property
> in dts file. But after testing, we find out it causes kernel unstable when 
> run some stress testing cases.
> So, I think maybe I omit other cpuidle related patches.
> I intend to revert this patch firstly, and submit all patches related with 
> cpu idle featue in later.

Sounds good. the revert is now pushed, and I'll wait for the followup.

Bruce

> 
> 0001-Revert-arm64-dts-r8a7795-Add-CPUIdle-support-for-all.patch
> 
> Could you please merge this patch into linux-yocto branch are 
> v5.2/standard/base?
> 
>  r8a7795.dtsi |   32 
>  1 file changed, 32 deletions(-)
> 
> thanks,
> Limeng
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto