Re: [linux-yocto] [linux-yocto-dev standard/cn96xx] Fix the improper ops function of octeontx2

2020-06-10 Thread Ruiqiang Hao


在 2020/6/6 3:25, Bruce Ashfield 写道:

In message: [linux-yocto] [linux-yocto-dev standard/cn96xx] Fix the improper 
ops function of octeontx2
on 03/06/2020 Ruiqiang Hao wrote:


Hi Bruce,

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

 standard/cn96xx

merged!


This pull request include 3 patches, Please merge the follow patches append:

"octeontx2: Replace the improper ops function"
"octeontx2: Delete undefined functions of otx2vf_ethtool_ops"

Thanks,

Ruiqiang


Bruce


Thanks,
Ruiqiang

The following changes since commit bd6e33ba0476dd2d97ff18a6060117e10a71073b:

   pci: octeontx2: Use a more lightweight API to get the root bus (2020-05-08 
10:23:18 +0800)

are available in the git repository at:

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

for you to fetch changes up to f14940f27ddb69e3ce41c54d7cb7198e4568f735:

   octeontx2: Fix the compile warning caused by unused variables (2020-06-03 
10:53:03 +0800)


Ruiqiang Hao (3):
   octeontx2: Replace the improper ops function
   octeontx2: Delete undefined functions of otx2vf_ethtool_ops
   octeontx2: Fix the compile warning caused by unused variables

  drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 6 ++
  drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c  | 3 ---
  2 files changed, 2 insertions(+), 7 deletions(-)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[linux-yocto] v5.2.x - stable updates comprising v5.2.45

2020-06-10 Thread Paul Gortmaker
Bruce, Yocto kernel folks:

Here is the next 5.2.x stable update "extension" primarily created for
the Yocto project, as the next v5.2.x post-EOL release.

This maintenance is most likely to wind down in September, so folks
should plan their own maintenance or migration path off of this v5.2.x
update stream in advance of that.

The content is from an audit of what went into the v5.4.45 release -
plus a "reach forward" into v5.4.46 for the SRBDS related commits from
yesterday - hence the much lower than normal commit count.

There are just about 45 commits deployed here that were applicable for
this v5.2.45 release.   The obvious focus on this release is the recent
SRBDS updates.  And for that I'll point people at the new file:

  Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst

and the status file /sys/devices/system/cpu/vulnerabilities/srbds and
then they can do their own research from there.

I've put this 5.2.45 queue through my normal testing, with build tests
on x86-64/32, ARM-64/32, PPC and MIPS, plus some static analysis and
finally some sanity runtime tests on x86-64 (raw + qemu/KVM).

Please find tag v5.2.45 (4928af06cc4c84ae85fbf0f3243465fb7c2018f7) as
the current head of linux-5.2.y branch in the repo in the kernel.org
directory here:

  
https://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-5.2.y.git/?h=linux-5.2.y
  git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-5.2.y.git

for merge to standard/base in linux-yocto-5.2 and then out from there
into the other base and BSP branches.

For those who are interested, the evolution of the commits is here:

  https://git.kernel.org/cgit/linux/kernel/git/paulg/longterm-queue-5.2.git/

This repo isn't needed for anything; it just exists for transparency and
so people can see the evolution of the raw commits that were originally
selected to create this 5.2.x release.

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

View/Reply Online (#8744): 
https://lists.yoctoproject.org/g/linux-yocto/message/8744
Mute This Topic: https://lists.yoctoproject.org/mt/74806295/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] of: unittest: fix refcount error "use-after-free"

2020-06-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 f14940f27ddb69e3ce41c54d7cb7198e4568f735:

  octeontx2: Fix the compile warning caused by unused variables 
(2020-06-03 10:53:03 +0800)


are available in the git repository at:

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

for you to fetch changes up to 4798ed3ffa0c62cbfefc0707f95eddeea7e27220:

  of: unittest: fix refcount error "use-after-free" (2020-06-10 
17:42:04 +0800)



Ruiqiang Hao (1):
  of: unittest: fix refcount error "use-after-free"

 drivers/of/dynamic.c | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[linux-yocto] [kernel-cache][master yocto-5.4][PATCH] features/intel-sst: move from intel-common-drivers.scc to intel-corei7-64-standard.scc

2020-06-10 Thread Naveen Saini
CONFIG_INTEL_SPEED_SELECT_INTERFACE depends on x86-64.

Signed-off-by: Naveen Saini 
---
 bsp/intel-common/intel-common-drivers.scc | 1 -
 bsp/intel-common/intel-corei7-64-standard.scc | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsp/intel-common/intel-common-drivers.scc 
b/bsp/intel-common/intel-common-drivers.scc
index d9e1883b..d452157c 100644
--- a/bsp/intel-common/intel-common-drivers.scc
+++ b/bsp/intel-common/intel-common-drivers.scc
@@ -86,7 +86,6 @@ include features/pci-iov/pci-iov.scc
 include features/intel-tco/intel-tco.scc
 include features/inline/inline.cfg
 include features/random/random.scc
-include features/intel-sst/intel-sst.scc
 
 # default policy for standard kernels
 include cfg/usb-mass-storage.scc
diff --git a/bsp/intel-common/intel-corei7-64-standard.scc 
b/bsp/intel-common/intel-corei7-64-standard.scc
index 1296bf86..c44dbd90 100644
--- a/bsp/intel-common/intel-corei7-64-standard.scc
+++ b/bsp/intel-common/intel-corei7-64-standard.scc
@@ -14,3 +14,4 @@ include ktypes/standard/standard.scc
 
 include intel-common-drivers.scc
 include intel-corei7-64.scc
+include features/intel-sst/intel-sst.scc
-- 
2.17.1

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

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


[linux-yocto][PATCH 1/1] Fix compiling warnings of file arm64/kernel/perf_callchain.c

2020-06-10 Thread Xu, Yanfei
From: Jiping Ma 

arch/arm64/kernel/perf_callchain.c:107:6: warning: cast from
pointer to integer of different size [-Wpointer-to-int-cast]
 if ((u32)tail + 4 >= buftail.fp)
  ^
arch/arm64/kernel/perf_callchain.c:110:9: warning: cast to
pointer from integer of different size [-Wint-to-pointer-cast]
  return (struct compat_frame_tail __user *)(buftail.fp - 4);
 ^

Signed-off-by: Jiping Ma 
---
 arch/arm64/kernel/perf_callchain.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/kernel/perf_callchain.c 
b/arch/arm64/kernel/perf_callchain.c
index 1be96e3631ea..b00408445674 100644
--- a/arch/arm64/kernel/perf_callchain.c
+++ b/arch/arm64/kernel/perf_callchain.c
@@ -97,10 +97,11 @@ compat_user_backtrace(struct compat_frame_tail __user *tail,
 * Frame pointers should strictly progress back up the stack
 * (towards higher addresses).
 */
-   if ((u32)tail + 4 >= buftail.fp)
+   if ((u32)(u64)tail + 4 >= buftail.fp)
return NULL;
 
-   return (struct compat_frame_tail __user *)(buftail.fp - 4);
+
+   return (struct compat_frame_tail __user *)((u64)buftail.fp - 4);
 }
 #endif /* CONFIG_COMPAT */
 
-- 
2.18.2

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

View/Reply Online (#8741): 
https://lists.yoctoproject.org/g/linux-yocto/message/8741
Mute This Topic: https://lists.yoctoproject.org/mt/74792094/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/base][PATCH 0/1]Fix compiling warnings of file arm64/kernel/perf_callchain.c

2020-06-10 Thread Xu, Yanfei
From: Yanfei Xu 

Hi Bruce,

This patch fix compiling warnings which are introduced by an previous 
patch. It should merge to both [linux-yocto-dev standard/base] and 
[linux-yocto v5.4/standard/base]

https://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/tree/patches/misc/arm64-perf-fix-backtrace-for-AAPCS-with-FP-enabled.patch

Regards,
Yanfei

Jiping Ma (1):
  Fix compiling warnings of file arm64/kernel/perf_callchain.c

 arch/arm64/kernel/perf_callchain.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.18.2

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

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