Re: [PATCH 4.19 00/28] 4.19.127-rc1 review

2020-06-06 Thread Naresh Kamboju
On Fri, 5 Jun 2020 at 19:50, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.127 release. > There are 28 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

RE: [PATCH 1/2] habanalabs: block scalar load_and_exe on external queue

2020-06-06 Thread Tomer Tayar
On Sat, Jun 6, 2020 at 0:29, Oded Gabbay wrote: > In Gaudi, the user can't execute scalar load_and_exe on external queue > because it can be a security hole. The driver doesn't parse the commands > being loaded and it can be msg_prot, which the user isn't allowed to use. > > Signed-off-by: Oded

Re: [PATCH v5 1/3] counter: 104-quad-8: Add lock guards - generic interface

2020-06-06 Thread Syed Nayyar Waris
On Sun, Jun 7, 2020 at 9:39 AM William Breathitt Gray wrote: > > On Sun, Jun 07, 2020 at 09:28:40AM +0530, Syed Nayyar Waris wrote: > > On Sat, Apr 4, 2020 at 7:36 PM Jonathan Cameron wrote: > > > > > > On Mon, 30 Mar 2020 23:54:32 +0530 > > > Syed Nayyar Waris wrote: > > > > > > > Hi Jonathan

[PATCH] habanalabs: rename mmu_write() to mmu_asid_va_write()

2020-06-06 Thread Oded Gabbay
The function name conflicts with a static inline function in arch/m68k/include/asm/mcfmmu.h Reported-by: kernel test robot Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/habanalabs/debugfs.c

Re: [PATCH v5 3/3] counter: 104-quad-8: Add lock guards - filter clock prescaler

2020-06-06 Thread Syed Nayyar Waris
On Wed, Mar 18, 2020 at 7:48 AM William Breathitt Gray wrote: > > On Mon, Mar 16, 2020 at 06:20:46PM +0530, Syed Nayyar Waris wrote: > > Add lock protection from race conditions to the 104-quad-8 counter > > driver for filter clock prescaler code changes. Mutex calls used for > > protection. > >

Re: [PATCH v5 2/3] counter: 104-quad-8: Add lock guards - differential encoder

2020-06-06 Thread Syed Nayyar Waris
On Wed, Mar 18, 2020 at 7:48 AM William Breathitt Gray wrote: > > On Mon, Mar 16, 2020 at 06:20:06PM +0530, Syed Nayyar Waris wrote: > > Add lock protection from race conditions to 104-quad-8 counter driver > > for differential encoder status code changes. Mutex lock calls used for > >

[PATCH] net/mlx5: Add a missing macro undefinition

2020-06-06 Thread Hu Haowen
The macro ODP_CAP_SET_MAX is only used in function handle_hca_cap_odp() in file main.c, so it should be undefined when there are no more uses of it. Signed-off-by: Hu Haowen --- drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 2/2][RFC] PM-runtime: add tracepoints to cover all usage_count changes

2020-06-06 Thread Michal Miroslaw
On Sat, Jun 06, 2020 at 03:14:59PM +0800, Chen Yu wrote: > Hi, > On Fri, Jun 05, 2020 at 09:33:11PM +0200, Michal Miroslaw wrote: > > On Sat, Jun 06, 2020 at 03:05:52AM +0800, Chen Yu wrote: > > > Commit d229290689ae ("PM-runtime: add tracepoints for usage_count > > > changes") > > > has added

[PATCH 1/2] x86/amd_nb: Add Family 17h, Model 60h PCI IDs

2020-06-06 Thread Jacky Hu
Add the new Family 17h, Model 60h PCI IDs for AMD Zen2 APU systems. Signed-off-by: Jacky Hu --- arch/x86/kernel/amd_nb.c | 5 + drivers/hwmon/k10temp.c | 2 ++ include/linux/pci_ids.h | 1 + 3 files changed, 8 insertions(+) diff --git a/arch/x86/kernel/amd_nb.c b/arch/x86/kernel/amd_nb.c

[PATCH 2/2] EDAC/amd64: Add family ops for Family 17h Models 60h-6Fh

2020-06-06 Thread Jacky Hu
Add family ops to support AMD Family 17h, Models 60h-6Fh systems. Signed-off-by: Jacky Hu --- drivers/edac/amd64_edac.c | 14 ++ drivers/edac/amd64_edac.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index

[PATCH 0/2] MCA and EDAC updates for AMD Family 17h, Model 60h

2020-06-06 Thread Jacky Hu
This patchset adds MCA and EDAC support for AMD Family 17h, Model 60h. Also k10temp works with 4800h k10temp-pci-00c3 Adapter: PCI adapter Vcore: 1.55 V Vsoc: 1.55 V Tctl: +49.6°C Tdie: +49.6°C Icore: 0.00 A Isoc: 0.00 A Jacky Hu (2):

Re: [PATCH 1/5] RISC-V: Add mechanism to provide custom IPI operations

2020-06-06 Thread Anup Patel
On Fri, Jun 5, 2020 at 2:10 AM Palmer Dabbelt wrote: > > On Thu, 21 May 2020 06:45:40 PDT (-0700), Anup Patel wrote: > > We add mechanism to set custom IPI operations so that CLINT driver > > from drivers directory can provide custom IPI operations. > > > > Signed-off-by: Anup Patel > > --- > >

Re: [PATCH 4/5] clocksource/drivers: Add CLINT timer driver

2020-06-06 Thread Anup Patel
On Fri, Jun 5, 2020 at 2:10 AM Palmer Dabbelt wrote: > > On Thu, 21 May 2020 06:45:43 PDT (-0700), Anup Patel wrote: > > The TIME CSR and SBI calls are not available in RISC-V M-mode so we > > add CLINT driver for Linux RISC-V M-mode (i.e. RISC-V NoMMU kernel). > > > > Signed-off-by: Anup Patel

Re: [PATCH 3/5] clocksource/drivers/timer-riscv: Remove MMIO related stuff

2020-06-06 Thread Anup Patel
On Fri, Jun 5, 2020 at 2:10 AM Palmer Dabbelt wrote: > > On Thu, 21 May 2020 06:45:42 PDT (-0700), Anup Patel wrote: > > Right now the RISC-V timer is convoluted to support: > > 1. Linux RISC-V S-mode (with MMU) where it will use TIME CSR > >for clocksource and SBI timer calls for clockevent

KASAN: null-ptr-deref Read in tty_wakeup

2020-06-06 Thread Kyungtae Kim
We report a bug (in linux-5.6.11) found by FuzzUSB (a modified version of syzkaller) This bug happened during enumeration (i.e., set_config) for an acm gadget. Although tty (instance of tty_struct) held by port->port in gs_start_io() is null, this tries to access its field (tty->flags) in

Re: [PATCH 2/5] RISC-V: Remove CLINT related code

2020-06-06 Thread Anup Patel
On Fri, Jun 5, 2020 at 2:10 AM Palmer Dabbelt wrote: > > On Thu, 21 May 2020 06:45:41 PDT (-0700), Anup Patel wrote: > > We will be having separate CLINT timer driver which will also > > provide CLINT based IPI operations so let's remove CLINT related > > code from arch/riscv directory. > > This

Re: [PATCH v5 1/3] counter: 104-quad-8: Add lock guards - generic interface

2020-06-06 Thread William Breathitt Gray
On Sun, Jun 07, 2020 at 09:28:40AM +0530, Syed Nayyar Waris wrote: > On Sat, Apr 4, 2020 at 7:36 PM Jonathan Cameron wrote: > > > > On Mon, 30 Mar 2020 23:54:32 +0530 > > Syed Nayyar Waris wrote: > > > > > Hi Jonathan > > > > > > >Looks good. I'm not sure right now which tree I'll take this

Re: [PATCH v5 1/3] counter: 104-quad-8: Add lock guards - generic interface

2020-06-06 Thread Syed Nayyar Waris
On Sat, Apr 4, 2020 at 7:36 PM Jonathan Cameron wrote: > > On Mon, 30 Mar 2020 23:54:32 +0530 > Syed Nayyar Waris wrote: > > > Hi Jonathan > > > > >Looks good. I'm not sure right now which tree I'll take this through > > >(depends on whether it looks like we'll get an rc8 and hence I can sneak

[PATCH] samples: binderfs: really compile this sample and fix build issues

2020-06-06 Thread Masahiro Yamada
Even after commit c624adc9cb6e ("samples: fix binderfs sample"), this sample is never compiled. 'hostprogs' teaches Kbuild that this is a host program, but not enough to order to compile it. You must add it to 'always-y' to really compile it. Since this sample has never been compiled in

Re: [PATCH v3 17/25] mm: Add __page_cache_alloc_order

2020-06-06 Thread Matthew Wilcox
On Wed, May 06, 2020 at 11:03:06AM -0700, Yang Shi wrote: > > diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h > > index 55199cb5bd66..1169e2428dd7 100644 > > --- a/include/linux/pagemap.h > > +++ b/include/linux/pagemap.h > > @@ -205,15 +205,33 @@ static inline int

Re: [PATCH v3 18/25] mm: Allow large pages to be added to the page cache

2020-06-06 Thread Matthew Wilcox
On Sun, May 03, 2020 at 08:10:36PM -0700, Matthew Wilcox wrote: > On Wed, Apr 29, 2020 at 06:36:50AM -0700, Matthew Wilcox wrote: > > @@ -886,7 +906,7 @@ static int __add_to_page_cache_locked(struct page *page, > > /* Leave page->index set: truncation relies upon it */ > > if (!huge) > >

Re: [PATCH v5 0/8] drm: rcar-du: Add Color Management Module (CMM)

2020-06-06 Thread Laurent Pinchart
Hello, On Fri, Jun 05, 2020 at 03:53:15PM +0200, Jacopo Mondi wrote: > On Fri, Jun 05, 2020 at 03:41:24PM +0200, Eugeniu Rosca wrote: > > On Fri, Jun 05, 2020 at 03:29:00PM +0200, Jacopo Mondi wrote: > >> On Wed, May 27, 2020 at 09:15:55AM +0200, Eugeniu Rosca wrote: > >>> Could you kindly share

Re: [PATCH v2] media: vsp1: dl: Fix NULL pointer dereference on unbind

2020-06-06 Thread Laurent Pinchart
Hi Eugeniu, Thank you for the patch. Mauro, there's a question for you below. On Tue, Jun 02, 2020 at 09:50:16PM +0200, Eugeniu Rosca wrote: > In commit f3b98e3c4d2e16 ("media: vsp1: Provide support for extended > command pools"), the vsp pointer used for referencing the VSP1 device > structure

Re: [GIT PULL] arch/sh updates for 5.8

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Jun 2020 12:56:22 -0400: > git://git.libc.org/linux-sh tags/sh-for-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3b69e8b4571125bec1f77f886174fe6cab6b9d75 Thank you! -- Deet-doot-dot, I am a bot.

Re: [RFC PATCH 2/2] drm: xlnx: driver for Xilinx DSI TX Subsystem

2020-06-06 Thread Laurent Pinchart
Hi GVRao, On Sun, May 31, 2020 at 05:41:50PM +, Venkateshwar Rao Gannavarapu wrote: > On Sunday, May 24, 2020 8:38 AM, Laurent Pinchart wrote: > > On Mon, May 04, 2020 at 11:43:48AM -0700, Hyun Kwon wrote: > >> On Mon, 2020-04-20 at 14:20:56 -0700, Venkateshwar Rao Gannavarapu wrote: > >>>

Re: [PATCH v14 1/2] media: dt-bindings: media: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2020-06-06 Thread Laurent Pinchart
Hi Vishal, On Thu, May 28, 2020 at 07:25:12AM +, Vishal Sagar wrote: > On Wednesday, May 27, 2020 9:42 PM, Laurent Pinchart wrote: > > On Wed, May 27, 2020 at 07:27:18PM +0530, Vishal Sagar wrote: > > > Add bindings documentation for Xilinx MIPI CSI-2 Rx Subsystem. > > > > > > The Xilinx MIPI

Re: A panic and a hang in the i915 drm driver

2020-06-06 Thread David Howells
Here's the dmesg from a successful boot (commit f84e1ba336a4f47ae251e4d2d8a694902571b0df). David --- [0.007455] Normal [mem 0x0001-0x00041fdf] [0.007456] Movable zone start for each node [0.007456] Early memory node ranges [0.007457] node 0: [mem

Re: [kernfs] ea7c5fc39a: stress-ng.stream.ops_per_sec 11827.2% improvement

2020-06-06 Thread Ian Kent
On Sat, 2020-06-06 at 20:18 +0200, Greg Kroah-Hartman wrote: > On Sat, Jun 06, 2020 at 11:52:16PM +0800, kernel test robot wrote: > > Greeting, > > > > FYI, we noticed a 11827.2% improvement of stress- > > ng.stream.ops_per_sec due to commit: > > > > > > commit:

Re: [RFC PATCH] uvcvideo: Add mapping for HEVC payloads

2020-06-06 Thread Laurent Pinchart
Hi Dmitry, Thank you for the patch. On Fri, May 29, 2020 at 11:05:47AM +1000, Dmitry Buzdyk wrote: > Add HEVC GUID and assotiate with HEVC pixel format so that frame > based format descriptors recognized by the UVC video driver. The patch itself looks OK to me, but could you share a bit more

A panic and a hang in the i915 drm driver

2020-06-06 Thread David Howells
Hi, I'm seeing the attached oops and panic from the i915 drm driver. I've tried bisecting it, but there's a problem in that one of the merged branches causes the machine to hang without output. The oops for commit c41219fda6e04255c44d37fd2c0d898c1c46abf1 looks like: BUG: kernel NULL pointer

Greetings!

2020-06-06 Thread Peter Flavel
I have a legal business proposition for you worth $ 45,275,000.00. Reply back if you are interested Kind regards, Peter Flavel

Re: [PATCH 1/3] exfat: add error check when updating dir-entries

2020-06-06 Thread Namjae Jeon
2020-06-04 17:44 GMT+09:00, Tetsuhiro Kohada : Hi Tetsuhiro, > Add error check when synchronously updating dir-entries. > Furthermore, add exfat_update_bhs(). It wait for write completion once > instead of sector by sector. This patch can be split into two also ? > > Suggested-by: Sungjong Seo >

Re: [PATCH 3/3] exfat: set EXFAT_SB_DIRTY and VOL_DIRTY at the same timing

2020-06-06 Thread Namjae Jeon
2020-06-06 18:22 GMT+09:00, Tetsuhiro Kohada : > On 2020/06/05 16:32, Namjae Jeon wrote: >>> Set EXFAT_SB_DIRTY flag in exfat_put_super(). >>> >>> In some cases, can't clear VOL_DIRTY with 'sync'. >>> ex: >>> >>> VOL_DIRTY is set when rmdir starts, but when non-empty-dir is detected, >>> return

linux-next test error: BUG: using smp_processor_id() in preemptible [ADDR] code: systemd-rfkill/6910

2020-06-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:0e21d462 Add linux-next specific files for 20200602 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1461fcf210 kernel config: https://syzkaller.appspot.com/x/.config?x=ecc1aef35f550ee3 dashboard

linux-next test error: BUG: using smp_processor_id() in preemptible [ADDR] code: kworker/u4:LINE/198

2020-06-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:0e21d462 Add linux-next specific files for 20200602 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=107072f210 kernel config: https://syzkaller.appspot.com/x/.config?x=ecc1aef35f550ee3 dashboard

RE: [PATCH v3 2/2] scsi: ufs: remove wrapper function ufshcd_setup_clocks()

2020-06-06 Thread Winkler, Tomas
> > From: Bean Huo > > The static function ufshcd_setup_clocks() is just a wrapper around > __ufshcd_setup_clocks(), remove it. Rename original function wrapped > __ufshcd_setup_clocks() to new ufshcd_setup_clocks(). Not sure about this change, we have only one call with skip_ref_clock set

RE: [PATCH v3 1/2] scsi: ufs: Add SPDX GPL-2.0 to replace GPL v2 boilerplate

2020-06-06 Thread Winkler, Tomas
> > From: Bean Huo > > Add SPDX GPL-2.0 to UFS driver files that specified the GPL version 2 license, > remove the full boilerplate text. > > Signed-off-by: Bean Huo LGTM. Thanks Tomas > --- > drivers/scsi/ufs/ufs.h | 27 +-- > drivers/scsi/ufs/ufshcd-pci.c

Re: [PATCH v7 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-06-06 Thread Syed Nayyar Waris
On Fri, Jun 5, 2020 at 5:54 PM Andy Shevchenko wrote: > > On Fri, Jun 05, 2020 at 02:12:54AM +0530, Syed Nayyar Waris wrote: > > On Sun, May 31, 2020 at 12:50 AM kbuild test robot wrote: > > > > >> WARNING: modpost: lib/test_bitmap.o(.data+0xe80): Section mismatch in > > > >> reference from the

Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

2020-06-06 Thread Guenter Roeck
On 6/5/20 9:15 AM, Eric Biggers wrote: > On Fri, Jun 05, 2020 at 09:41:54AM +0200, Peter Zijlstra wrote: >> On Thu, Jun 04, 2020 at 05:24:33PM -0700, Eric Biggers wrote: >>> On Thu, Jun 04, 2020 at 07:18:37AM -0700, Guenter Roeck wrote: On Tue, May 26, 2020 at 06:11:04PM +0200, Peter Zijlstra

Re: [PATCH net] net: dp83869: Reset return variable if PHY strap is read

2020-06-06 Thread David Miller
From: Dan Murphy Date: Fri, 5 Jun 2020 15:51:03 -0500 > When the PHY's strap register is read to determine if lane swapping is > needed the phy_read_mmd returns the value back into the ret variable. > > If the call to read the strap fails the failed value is returned. If > the call to read the

Re: [PATCH] docs: it_IT: address invalid reference warnings

2020-06-06 Thread Federico Vaga
I re-read the documents with the full context. Moving to the directive :doc: for only those two references (like I was arguing in the previous email) will make the document inconsistent. So, the patch is fine for me as it is. I will finish and push the translation for

Re: [RFC PATCH 1/2] Drivers: hv: vmbus: Re-balance channel interrupts across CPUs at CPU hotplug

2020-06-06 Thread Andrea Parri
> > @@ -515,6 +519,8 @@ static void vmbus_add_channel_work(struct work_struct > > *work) > > if (ret != 0) { > > pr_err("unable to add child device object (relid %d)\n", > > newchannel->offermsg.child_relid); > > + if (hv_is_perf_channel(newchannel))

include/linux/compiler.h:350:38: error: call to '__compiletime_assert_7252' declared with attribute error: BUILD_BUG_ON failed: sizeof(struct ctio_crc2_to_fw) != 64

2020-06-06 Thread kernel test robot
Hi Bart, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b170290c2836c40ab565736ba37681eb3dfd79b8 commit: df95f39ae76474d922d9be9c0260dc263c451b09 scsi: qla2xxx: Introduce the be_id_t and le_id_t data types for FC

[PATCH 1/1] fpga: dfl: Fix dead store

2020-06-06 Thread trix
From: Tom Rix Using clang's scan-build/view this issue was flagged in fpga-mgr.c drivers/fpga/fpga-mgr.c:585:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] ret = id; A similar issue was flagged in fpga-bridge. So remove the unused stores.

[PATCH 0/1] fpga: dfl: Fix dead store

2020-06-06 Thread trix
From: Tom Rix Repo linux-next Tag next-20200605 A couple of fixes for dead stores found by clang's sa tool scan-build Tom Rix (1): Fix dead store drivers/fpga/fpga-bridge.c | 6 ++ drivers/fpga/fpga-mgr.c| 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) -- 2.26.0

Re: [Cocci] [PATCH 1/2] Coccinelle: extend memdup_user transformation with GFP_USER

2020-06-06 Thread Julia Lawall
On Sat, 6 Jun 2020, Denis Efremov wrote: > > > On 6/6/20 11:24 AM, Julia Lawall wrote: > > > > > > On Sat, 30 May 2020, Denis Efremov wrote: > > > >> Match GFP_USER allocations with memdup_user.cocci rule. > >> Commit 6c2c97a24f09 ("memdup_user(): switch to GFP_USER") switched > >>

Re: [Cocci] [PATCH 1/2] Coccinelle: extend memdup_user transformation with GFP_USER

2020-06-06 Thread Denis Efremov
On 6/6/20 11:24 AM, Julia Lawall wrote: > > > On Sat, 30 May 2020, Denis Efremov wrote: > >> Match GFP_USER allocations with memdup_user.cocci rule. >> Commit 6c2c97a24f09 ("memdup_user(): switch to GFP_USER") switched >> memdup_user() from GFP_KERNEL to GFP_USER. In most cases it is still

Re: [Cocci] [PATCH 1/2] Coccinelle: extend memdup_user transformation with GFP_USER

2020-06-06 Thread Denis Efremov
On 6/6/20 11:24 AM, Julia Lawall wrote: > > > On Sat, 30 May 2020, Denis Efremov wrote: > >> Match GFP_USER allocations with memdup_user.cocci rule. >> Commit 6c2c97a24f09 ("memdup_user(): switch to GFP_USER") switched >> memdup_user() from GFP_KERNEL to GFP_USER. In most cases it is still

Re: [PATCH RESEND] device_cgroup: Fix RCU list debugging warning

2020-06-06 Thread Stephen Rothwell
Hi all, On Mon, 6 Apr 2020 16:29:50 +0530 Amol Grover wrote: > > exceptions may be traversed using list_for_each_entry_rcu() > outside of an RCU read side critical section BUT under the > protection of decgroup_mutex. Hence add the corresponding > lockdep expression to fix the following

drivers/net/ethernet/huawei/hinic/hinic_main.c:796:25: sparse: sparse: cast to restricted __be16

2020-06-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b170290c2836c40ab565736ba37681eb3dfd79b8 commit: 1f62cfa19a619f82c098468660b7950477101d45 hinic: add net_device_ops associated with vf date: 6 weeks ago config: arm64-randconfig-s032-20200607 (attached as

Re: [PATCH RFC] uaccess: user_access_begin_after_access_ok()

2020-06-06 Thread Michael S. Tsirkin
On Fri, Jun 05, 2020 at 06:03:38PM +0800, Jason Wang wrote: > > On 2020/6/5 上午12:49, Michael S. Tsirkin wrote: > > > > 2. Second argument to translate_desc is a GPA, isn't it? > > > No, it's IOVA, this function will be called only when IOTLB is enabled. > > > > > > Thanks > > Right IOVA. Point

Re: [PATCH v4 1/3] virtio: add dma-buf support for exported objects

2020-06-06 Thread Michael S. Tsirkin
On Fri, Jun 05, 2020 at 10:28:42AM +0900, David Stevens wrote: > On Fri, Jun 5, 2020 at 4:05 AM Michael S. Tsirkin wrote: > > > > On Tue, May 26, 2020 at 07:58:09PM +0900, David Stevens wrote: > > > This change adds a new flavor of dma-bufs that can be used by virtio > > > drivers to share

Re: [Possible PATCH] iommu/qcom: Change CONFIG_BIG_ENDIAN to CONFIG_CPU_BIG_ENDIAN

2020-06-06 Thread Rob Clark
On Sat, Jun 6, 2020 at 12:16 PM Joe Perches wrote: > > CONFIG_BIG_ENDIAN does not exist as a Kconfig symbol. > > Signed-off-by: Joe Perches > --- > > I don't have the hardware, so I can't tell if this is a > correct change, but it is a logical one. I'm not sure *anyone* has a working snapdragon

[PATCH] i40e: silence an UBSAN false positive

2020-06-06 Thread Qian Cai
virtchnl_rss_lut.lut is used for the RSS lookup table, but in i40e_vc_config_rss_lut(), it is indexed by subscript results in a false positive. UBSAN: array-index-out-of-bounds in drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:2983:15 index 1 is out of range for type 'u8 [1]' CPU: 34 PID:

Re: [PATCH v26 03/15] leds: multicolor: Introduce a multicolor class definition

2020-06-06 Thread Jacek Anaszewski
Dan, On 6/6/20 6:39 PM, Dan Murphy wrote: Pavek Thanks for the review On 6/6/20 10:53 AM, Pavel Machek wrote: Hi! Introduce a multicolor class that groups colored LEDs within a LED node. The multi color class groups monochrome LEDs and allows controlling two aspects of the final combined

[ANNOUNCE] 4.9.226-rt145

2020-06-06 Thread Clark Williams
Hello RT-list! I'm pleased to announce the 4.9.226-rt145 stable release. Note that since 4.9-rt is in maintenance mode, this is just the result of merging in the latest linux-stable releases; no changes were made to the PREEMPT_RT patches for the 4.9 tree. You can get this release via the git

[Possible PATCH]arm64: ftrace: Change CONFIG_FTRACE_WITH_REGS to CONFIG_DYNAMIC_FTRACE_WITH_REGS

2020-06-06 Thread Joe Perches
CONFIG_FTRACE_WITH_REGS does not exist as a Kconfig symbol. Signed-off-by: Joe Perches --- I don't have the hardware, so I can't tell if this is a correct change, but it is a logical one. Found by a test script that looks for IS_ENABLED(FOO) where FOO must also exist in Kconfig files.

[Possible PATCH] iommu/qcom: Change CONFIG_BIG_ENDIAN to CONFIG_CPU_BIG_ENDIAN

2020-06-06 Thread Joe Perches
CONFIG_BIG_ENDIAN does not exist as a Kconfig symbol. Signed-off-by: Joe Perches --- I don't have the hardware, so I can't tell if this is a correct change, but it is a logical one. Found by a test script that looks for IS_ENABLED(FOO) where FOO must also exist in Kconfig files.

Re: [GIT PULL] PCI changes for v5.8

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Fri, 5 Jun 2020 15:22:57 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.8-changes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3925c3bbdf886f1ddf64461b9b380e1bb36f90c1 Thank you! --

Re: [GIT PULL] dmi update for v5.8

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Jun 2020 17:13:20 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git > dmi-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e542e0dc3ee3eafc46dd8e3073388079d69cace0 Thank you! -- Deet-doot-dot, I

Re: [GIT PULL 1/2] Kbuild updates for v5.8-rc1

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Jun 2020 00:18:22 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-v5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cff11abeca78aa782378401ca2800bd2194aa14e Thank you! --

Re: [GIT PULL 2/2] Kconfig updates for v5.8-rc1

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Jun 2020 00:21:54 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kconfig-v5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b170290c2836c40ab565736ba37681eb3dfd79b8 Thank you! --

Re: [GIT PULL] dma-mapping updates for 5.8, part 2

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Jun 2020 18:09:32 +0200: > git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.8-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6f2dc3d335457d9c815be9f4fd3dc8eff92fcef7 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] dma-mapping updates for 5.8, part 1

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Jun 2020 18:06:57 +0200: > git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1ee18de92927f37e6948d5a6fc73cbf89f806905 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH] Fix build failure of OCFS2 when TCP/IP is disabled

2020-06-06 Thread Tom Seewald
After commit 12abc5ee7873 ("tcp: add tcp_sock_set_nodelay") and commit c488aeadcbd0 ("tcp: add tcp_sock_set_user_timeout"), building the kernel with OCFS2_FS=y but without INET=y causes it to fail with: ld: fs/ocfs2/cluster/tcp.o: in function `o2net_accept_many': tcp.c:(.text+0x21b1): undefined

Re: [PATCH] sr: dwc2/gadget: remove unneccessary if

2020-06-06 Thread Pavel Machek
Hi! > > We don't really need if/else to set variable to 1/0. > > > > Signed-off-by: Pavel Machek (CIP) > > > > diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c > > index 12b98b466287..f9f6fd470c81 100644 > > --- a/drivers/usb/dwc2/gadget.c > > +++ b/drivers/usb/dwc2/gadget.c

drivers/block/umem.c:287:16: sparse: expected unsigned int value

2020-06-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9fa88c5d3f5eae3e68ef20d226c3f13e21490668 commit: 05933aac7b11911955de307a329dc2a7a14b7bd0 ia64: remove now unused machvec indirections date: 10 months ago config: ia64-randconfig-s031-20200607 (attached

[rcu:dev.2020.06.02a 67/90] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'long unsigned int'

2020-06-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.06.02a head: 5216948905dd07a84cef8a7dc72c2ec076802efd commit: 7d16add62717136b1839f0b3d7ea4cbb98f38c2a [67/90] rcuperf: Fix kfree_mult to match printk() format config: parisc-randconfig-r022-20200607

drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:543:54: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-06-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9fa88c5d3f5eae3e68ef20d226c3f13e21490668 commit: a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c hinic: add mailbox function support date: 6 weeks ago config: arm64-randconfig-s032-20200607 (attached as .config)

Re: [PATCH v3 1/2] usb: serial: Add MaxLinear/Exar USB to Serial driver

2020-06-06 Thread Manivannan Sadhasivam
Hi Johan, Thanks for the review. Please find the replies inline. On Tue, May 19, 2020 at 02:33:38PM +0200, Johan Hovold wrote: > On Fri, May 01, 2020 at 12:19:23AM +0530, m...@kernel.org wrote: > > From: Manivannan Sadhasivam > > > > Add support for MaxLinear/Exar USB to Serial converters.

RE: [RFC PATCH 5/5] scsi: ufs: Prepare HPB read for cached sub-region

2020-06-06 Thread Avri Altman
> +static bool ufshpb_test_ppn_dirty(struct ufshpb_lu *hpb, int rgn_idx, > + int srgn_idx, int srgn_offset, int cnt) > + > + for (i = 0; i < bit_len; i++) { > + if (test_bit(srgn_offset + i, srgn->mctx->ppn_dirty)) Maybe use a mask or hweight

RE: [RFC PATCH 4/5] scsi: ufs: L2P map management for HPB read

2020-06-06 Thread Avri Altman
> > A pinned region is a pre-set regions on the UFS device that is always > activate-state and This sentence got cut off > > The data structure for map data request and L2P map uses mempool API, > minimizing allocation overhead while avoiding static allocation. Maybe one or two more sentences

[PATCH] kprobes: use strncpy_from_kernel_nofault() in fetch_store_string()

2020-06-06 Thread Sven Schnelle
With the latest linux-next i noticed that some tests in the ftrace test suites are failing on s390, namely: [FAIL] Kprobe event symbol argument [FAIL] Kprobe event with comm arguments The following doesn't work anymore: cd /sys/kernel/tracing echo 'p:testprobe _do_fork comm=$comm '

Re: [kernfs] ea7c5fc39a: stress-ng.stream.ops_per_sec 11827.2% improvement

2020-06-06 Thread Greg Kroah-Hartman
On Sat, Jun 06, 2020 at 11:52:16PM +0800, kernel test robot wrote: > Greeting, > > FYI, we noticed a 11827.2% improvement of stress-ng.stream.ops_per_sec due to > commit: > > > commit: ea7c5fc39ab005b501e0c7666c29db36321e4f74 ("[PATCH 1/4] kernfs: switch > kernfs to use an rwsem") > url: >

WARNING in tipc_msg_append

2020-06-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:5e9eeccc tipc: fix NULL pointer dereference in streaming git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=15ee307a10 kernel config: https://syzkaller.appspot.com/x/.config?x=a16ddbc78955e3a9 dashboard

Re: [GIT PULL] PCI changes for v5.8

2020-06-06 Thread Linus Torvalds
On Fri, Jun 5, 2020 at 1:23 PM Bjorn Helgaas wrote: > > You should see two conflicts: > > 2) Documentation/devicetree/bindings/pci/cdns-pcie.yaml: conflict > between Rob's 3d21a4609335 ("dt-bindings: Remove cases of 'allOf' > containing a '$ref'") and Kishon's fb5f8f3ca5f8 ("dt-bindings:

Re: [PATCH v10 6/6] powerpc/papr_scm: Implement support for PAPR_PDSM_HEALTH

2020-06-06 Thread Segher Boessenkool
On Sat, Jun 06, 2020 at 06:04:11PM +0530, Vaibhav Jain wrote: > >> + /* update health struct with various flags derived from health bitmap */ > >> + health = (struct nd_papr_pdsm_health) { > >> + .dimm_unarmed = p->health_bitmap & PAPR_PMEM_UNARMED_MASK, > >> +

Re: [PATCH v4] platform: x86: Add ACPI driver for ChromeOS

2020-06-06 Thread Dmitry Torokhov
Hi Rafael, On Fri, Jun 05, 2020 at 01:17:15PM +0200, Rafael J. Wysocki wrote: > > First off, GGL0001 is not a valid ACPI device ID, because the GGL prefix is > not > present in the list at https://uefi.org/acpi_id_list > > There are two ways to address that. One would be to take the GOOG

Re: [PATCH 2/2] net: dsa: qca8k: introduce SGMII configuration options

2020-06-06 Thread Jonathan McDowell
On Sat, Jun 06, 2020 at 02:43:56PM +0100, Russell King - ARM Linux admin wrote: > On Sat, Jun 06, 2020 at 11:59:09AM +0100, Jonathan McDowell wrote: > > So the device in question is a 7 port stand alone switch chip. There's a > > single SGMII port which is configurable between port 0 + 6 (they can

Re: [PATCH v1 2/2] of: property: Improve cycle detection when one of the devices is never added

2020-06-06 Thread Saravana Kannan
On Fri, Jun 5, 2020 at 5:36 PM Saravana Kannan wrote: > > Consider this example where -> means LHS device is a consumer of RHS > device and indentation represents "child of" of the previous device. > > Device A -> Device C > > Device B -> Device A > Device C > > Without this commit: > 1.

Re: BUG: kernel NULL pointer dereference from check_preempt_wakeup()

2020-06-06 Thread Paul E. McKenney
On Fri, Jun 05, 2020 at 05:51:26PM -0700, Paul E. McKenney wrote: > On Fri, Jun 05, 2020 at 11:41:59AM -0700, Paul E. McKenney wrote: > > On Fri, Jun 05, 2020 at 07:16:07AM -0700, Paul E. McKenney wrote: > > > On Fri, Jun 05, 2020 at 03:14:51PM +0200, Peter Zijlstra wrote: > > > > > > No KCSAN.

Re: [PATCH 1/2][RFC] PM-runtime: Move all runtime usage related function to runtime.c

2020-06-06 Thread Chen Yu
On Sat, Jun 06, 2020 at 03:05:35AM +0800, Chen Yu wrote: > In order to track all the runtime usage count change, move the code > related to runtime usage count change from pm_runtime.h to runtime.c, > so that in runtime.c we can leverage trace event to do the tracking. > Meanwhile export

Re: [GIT PULL] workqueue changes for v5.8-rc1

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Fri, 5 Jun 2020 16:20:22 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fe3bc8a988a4d38dc090e77071ff9b8ea266528a Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] cgroup changes for v5.8-rc1

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Fri, 5 Jun 2020 16:06:01 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4a7e89c5ec0238017a757131eb9ab8dc111f961c Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] integrity subsystem updates for v5.8

2020-06-06 Thread pr-tracker-bot
The pull request you sent on Fri, 05 Jun 2020 13:02:28 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git > tags/integrity-v5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3c0ad98c2eda5ff30d23777e30744be6f7b8f097 Thank you! --

[GIT PULL] arch/sh updates for 5.8

2020-06-06 Thread Rich Felker
The following changes since commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162: Linux 5.7 (2020-05-31 16:49:15 -0700) are available in the Git repository at: git://git.libc.org/linux-sh tags/sh-for-5.8 for you to fetch changes up to 37744feebc086908fd89760650f458ab19071750: sh: remove sh5

[PATCH] Bluetooth: hci_qca: Simplify determination of serial clock on/off state from votes

2020-06-06 Thread Matthias Kaehlcke
The serial clocks should be on when there is a vote for at least one of the clocks (RX or TX), and off when there is no 'on' vote. The current logic to determine the combined state is a bit redundant in the code paths for different types of votes, use a single statement in the common path instead.

Re: [PATCH v26 03/15] leds: multicolor: Introduce a multicolor class definition

2020-06-06 Thread Dan Murphy
Pavek Thanks for the review On 6/6/20 10:53 AM, Pavel Machek wrote: Hi! Introduce a multicolor class that groups colored LEDs within a LED node. The multi color class groups monochrome LEDs and allows controlling two aspects of the final combined color: hue and lightness. The former is

Re: [PATCH v5 07/11] PCI: qcom: Define some PARF params needed for ipq8064 SoC

2020-06-06 Thread Stanimir Varbanov
Hi, On 6/2/20 2:53 PM, Ansuel Smith wrote: > Set some specific value for Tx De-Emphasis, Tx Swing and Rx equalization > needed on some ipq8064 based device (Netgear R7800 for example). Without > this the system locks on kernel load. > > Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe

Re: [PATCH 5.4 00/38] 5.4.45-rc1 review

2020-06-06 Thread Naresh Kamboju
On Fri, 5 Jun 2020 at 19:49, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.45 release. > There are 38 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH] io: pressure: zpa2326: handle pm_runtime_get_sync failure

2020-06-06 Thread Jonathan Cameron
On Thu, 4 Jun 2020 21:44:44 -0500 Navid Emamdoost wrote: > Calling pm_runtime_get_sync increments the counter even in case of > failure, causing incorrect ref count. Call pm_runtime_put if > pm_runtime_get_sync fails. > > Signed-off-by: Navid Emamdoost Hi Navid, This looks to be a fix, be

Re: [PATCH 5.6 00/43] 5.6.17-rc1 review

2020-06-06 Thread Naresh Kamboju
On Fri, 5 Jun 2020 at 19:48, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.6.17 release. > There are 43 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[GIT PULL] dma-mapping updates for 5.8, part 2

2020-06-06 Thread Christoph Hellwig
These were in a separate stable branch so that various media and drm trees could pull the in for bug fixes, but looking at linux-next that hasn't actually happened yet. Still sending the APIs to you in the hope that these bug fixes get picked up for 5.8 in one way or another. The following

[GIT PULL] dma-mapping updates for 5.8, part 1

2020-06-06 Thread Christoph Hellwig
The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: Linux 5.7-rc2 (2020-04-19 14:35:30 -0700) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.8 for you to fetch changes up to

Re: [PATCH v2 6/6] iio: remove left-over parent assignments

2020-06-06 Thread Jonathan Cameron
On Wed, 3 Jun 2020 14:40:23 +0300 Alexandru Ardelean wrote: > These were found by doing some shell magic: > > for file in $(git grep -w devm_iio_device_alloc | cut -d: -f1 | sort | uniq) > ; do > if grep 'parent =' $file | grep -v trig | grep -vq devm_; then >

Re: [PATCHSET v5 0/12] Add support for async buffered reads

2020-06-06 Thread Jens Axboe
On 6/5/20 6:33 PM, Sedat Dilek wrote: > On Fri, Jun 5, 2020 at 11:24 PM Jens Axboe wrote: >> >> On 6/5/20 3:13 PM, Jens Axboe wrote: >>> On 6/5/20 2:53 PM, Jens Axboe wrote: On 6/5/20 2:36 PM, Andres Freund wrote: > Hi, > > On 2020-06-05 13:20:28 -0700, Andres Freund wrote:

Re: [PATCH v2 0/6] iio: core: pass parent device as parameter during allocation

2020-06-06 Thread Jonathan Cameron
On Thu, 4 Jun 2020 18:34:40 +0100 Jonathan Cameron wrote: > On Wed, 3 Jun 2020 11:41:52 + > "Ardelean, Alexandru" wrote: > > > On Wed, 2020-06-03 at 14:40 +0300, Alexandru Ardelean wrote: > > > This patch updates the {devm_}iio_device_alloc() functions to > > > automatically > > >

Re: [PATCH v26 00/15] Multicolor Framework v26

2020-06-06 Thread Pavel Machek
Hi! > This is the multi color LED framework. This framework presents clustered > colored LEDs into an array and allows the user space to adjust the brightness > of the cluster using a single file write. The individual colored LEDs > intensities are controlled via a single file that is an array

Re: [PATCH v26 03/15] leds: multicolor: Introduce a multicolor class definition

2020-06-06 Thread Pavel Machek
Hi! > Introduce a multicolor class that groups colored LEDs > within a LED node. > > The multi color class groups monochrome LEDs and allows controlling two > aspects of the final combined color: hue and lightness. The former is > controlled via the intensity file and the latter is controlled >

Re: [PATCH v7 1/8] fs: introduce kernel_pread_file* support

2020-06-06 Thread Matthew Wilcox
On Fri, Jun 05, 2020 at 10:04:51PM -0700, Scott Branden wrote: > -int kernel_read_file(struct file *file, void **buf, loff_t *size, > - loff_t max_size, enum kernel_read_file_id id) > -{ > - loff_t i_size, pos; > +int kernel_pread_file(struct file *file, void **buf, loff_t

  1   2   3   >