Re: [PATCH v1 3/5] bus: mhi: core: Skip handling BHI irq if MHI reg access is not allowed

2020-05-13 Thread Hemant Kumar
Hi Mani, On 5/13/20 12:04 AM, Manivannan Sadhasivam wrote: On Tue, May 12, 2020 at 05:28:45PM -0700, Hemant Kumar wrote: Hi Mani, On 5/11/20 11:53 PM, Manivannan Sadhasivam wrote: On Mon, May 11, 2020 at 07:03:07PM -0700, Hemant Kumar wrote: Driver continues handling of BHI interrupt even

Re: [PATCH] perf parse-events: Make add PMU verbose output clearer

2020-05-13 Thread Jiri Olsa
On Tue, May 12, 2020 at 05:17:29PM -0700, Ian Rogers wrote: SNIP > diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c > index 92bd7fafcce6..71d0290b616a 100644 > --- a/tools/perf/util/pmu.c > +++ b/tools/perf/util/pmu.c > @@ -1056,7 +1056,8 @@ static char *pmu_formats_string(struct

Re: [PATCH v5 1/7] fs: introduce kernel_pread_file* support

2020-05-13 Thread Mimi Zohar
[Cc'ing linux-security-module, linux-integrity] On Thu, 2020-05-07 at 17:27 -0700, Scott Branden wrote: > Add kernel_pread_file* support to kernel to allow for partial read > of files with an offset into the file. Existing kernel_read_file > functions call new kernel_pread_file functions with

Re: [PATCH 08/10] rcu: Allow to deactivate nocb on a CPU

2020-05-13 Thread Paul E. McKenney
On Wed, May 13, 2020 at 06:47:12PM +0200, Frederic Weisbecker wrote: > Allow a CPU's rdp to quit the callback offlined mode. > The switch happens on the target with IRQs disabled and rdp->nocb_lock > held to avoid races between local callbacks handling and kthread > offloaded callbacks handling. >

Re: [PATCH] IB/mlx4: Replace zero-length array with flexible-array

2020-05-13 Thread Leon Romanovsky
On Wed, May 13, 2020 at 03:33:35PM -0300, Jason Gunthorpe wrote: > On Thu, May 07, 2020 at 01:59:21PM -0500, Gustavo A. R. Silva wrote: > > The current codebase makes use of the zero-length array language > > extension to the C90 standard, but the preferred mechanism to declare > > variable-length

Re: [PATCH v5 2/7] firmware: add offset to request_firmware_into_buf

2020-05-13 Thread Scott Branden
Hi Luis, Another question. On 2020-05-12 5:33 p.m., Luis Chamberlain wrote: On Thu, May 07, 2020 at 05:27:34PM -0700, Scott Branden wrote: Add offset to request_firmware_into_buf to allow for portions of firmware file to be read into a buffer. Necessary where firmware needs to be loaded in

Re: [PATCH] dt-bindings: at24: add microchip,24lc[0-9]+ to the compatible pattern

2020-05-13 Thread Masahiro Yamada
Hi Rob, On Tue, May 12, 2020 at 4:14 AM Rob Herring wrote: > > On Wed, 22 Apr 2020 23:18:36 +0900, Masahiro Yamada wrote: > > arch/arm/boot/dts/uniphier-ref-daughter.dtsi has > > > > compatible = "microchip,24lc128", "atmel,24c128"; > > > > and 'make ARCH=arm dtbs_check' warns this: > > > >

Re: [PATCH] IB/rdmavt: Replace zero-length array with flexible-array

2020-05-13 Thread Jason Gunthorpe
On Thu, May 07, 2020 at 01:53:42PM -0500, Gustavo A. R. Silva wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced

Re: [PATCH] IB/mlx4: Replace zero-length array with flexible-array

2020-05-13 Thread Jason Gunthorpe
On Thu, May 07, 2020 at 01:59:21PM -0500, Gustavo A. R. Silva wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced

Re: [PATCH] mfd: Export LPC attributes for the system SPI chip

2020-05-13 Thread Richard Hughes
On Wed, 2020-05-13 at 19:25 +0300, Mika Westerberg wrote: > This may be problematic if there is driver bound to the device and > accessing the hardware simultaneusly. Although this is just read side > and I don't think these registers have any side effects when you read > them, so should not be an

Re: [PATCH 12/15] md: stop using ->queuedata

2020-05-13 Thread Song Liu
On Fri, May 8, 2020 at 9:17 AM Christoph Hellwig wrote: > > Signed-off-by: Christoph Hellwig Thanks for the cleanup. IIUC, you want this go through md tree? Otherwise, Acked-by: Song Liu > --- > drivers/md/md.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

Re: [PATCH 12/15] md: stop using ->queuedata

2020-05-13 Thread Christoph Hellwig
On Wed, May 13, 2020 at 11:29:17AM -0700, Song Liu wrote: > On Fri, May 8, 2020 at 9:17 AM Christoph Hellwig wrote: > > > > Signed-off-by: Christoph Hellwig > > Thanks for the cleanup. IIUC, you want this go through md tree? Yes, please pick it up though the md tree.

Re: [PATCH] mm/compaction: avoid VM_BUG_ON(PageSlab()) in page_mapcount()

2020-05-13 Thread Andrew Morton
On Wed, 13 May 2020 17:05:25 +0300 Konstantin Khlebnikov wrote: > Function isolate_migratepages_block() runs some checks out of lru_lock > when choose pages for migration. After checking PageLRU() it checks extra > page references by comparing page_count() and page_mapcount(). Between > these

Re: [PATCH] drm/i915: Remove duplicate inline specifier on write_pte

2020-05-13 Thread Chris Wilson
Quoting Nathan Chancellor (2020-05-13 19:23:40) > When building with clang: > > drivers/gpu/drm/i915/gt/gen8_ppgtt.c:392:24: warning: duplicate > 'inline' declaration specifier [-Wduplicate-decl-specifier] > declaration specifier [-Wduplicate-decl-specifier] > static __always_inline inline

Re: [PATCH 07/10] rcu: Temporarily assume that nohz full CPUs might not be NOCB

2020-05-13 Thread Paul E. McKenney
On Wed, May 13, 2020 at 06:47:11PM +0200, Frederic Weisbecker wrote: > So far nohz_full CPUs had to be nocb. This requirement may change > temporarily as we are working on preparing RCU to be able to toggle the > nocb state of a CPU. Once that is done and nohz_full can be toggled as > well

Re: [PATCH v3] sched/fair: fix unthrottle_cfs_rq for leaf_cfs_rq list

2020-05-13 Thread bsegall
Vincent Guittot writes: > Although not exactly identical, unthrottle_cfs_rq() and enqueue_task_fair() > are quite close and follow the same sequence for enqueuing an entity in the > cfs hierarchy. Modify unthrottle_cfs_rq() to use the same pattern as > enqueue_task_fair(). This fixes a problem

[PATCH] drm/i915: Remove duplicate inline specifier on write_pte

2020-05-13 Thread Nathan Chancellor
When building with clang: drivers/gpu/drm/i915/gt/gen8_ppgtt.c:392:24: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier] declaration specifier [-Wduplicate-decl-specifier] static __always_inline inline void ^

Re: [PATCH] sched/fair: fix unthrottle_cfs_rq for leaf_cfs_rq list

2020-05-13 Thread bsegall
Vincent Guittot writes: > On Tue, 12 May 2020 at 20:59, wrote: >> >> Vincent Guittot writes: >> >> > Although not exactly identical, unthrottle_cfs_rq() and enqueue_task_fair() >> > are quite close and follow the same sequence for enqueuing an entity in the >> > cfs hierarchy. Modify

Re: [PATCH 04/10] rcu: Implement rcu_segcblist_is_offloaded() config dependent

2020-05-13 Thread Paul E. McKenney
On Wed, May 13, 2020 at 06:47:08PM +0200, Frederic Weisbecker wrote: > This simplify the usage of this API and avoid checking the kernel > config from the callers. > > Signed-off-by: Frederic Weisbecker > Cc: Paul E. McKenney > Cc: Josh Triplett > Cc: Steven Rostedt > Cc: Mathieu Desnoyers >

Re: [PATCH 0/3] fs: reduce export usage of kerne_read*() calls

2020-05-13 Thread Christoph Hellwig
Can you also move kernel_read_* out of fs.h? That header gets pulled in just about everywhere and doesn't really need function not related to the general fs interface.

Re: [PATCH 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-13 Thread Darrick J. Wong
On Wed, May 13, 2020 at 04:35:26PM +0200, Jan Kara wrote: > On Tue 12-05-20 22:43:22, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > We add 'always', 'never', and 'inode' (default). '-o dax' continue to > > operate the same. > > > > Specifically we introduce a 2nd DAX mount flag

Re: [PATCH 00/10] rcu: Allow a CPU to leave and reenter NOCB state

2020-05-13 Thread Paul E. McKenney
On Wed, May 13, 2020 at 06:47:04PM +0200, Frederic Weisbecker wrote: > This is a necessary step toward making nohz_full controllable through > cpuset. Next step should be to allow a CPU to be nocb even if it wasn't > part of the nocb set on boot. > > The core design of this set is mostly based on

Re: [PATCH 4.19 00/48] 4.19.123-rc1 review

2020-05-13 Thread Naresh Kamboju
On Wed, 13 May 2020 at 15:17, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.123 release. > There are 48 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 2/3] remoteproc/k3-dsp: Add a remoteproc driver of K3 C66x DSPs

2020-05-13 Thread Suman Anna
Hi Mathieu, On 4/27/20 5:57 PM, Mathieu Poirier wrote: On Wed, Mar 25, 2020 at 03:18:38PM -0500, Suman Anna wrote: The Texas Instrument's K3 J721E SoCs have two C66x DSP Subsystems in MAIN voltage domain that are based on the TI's standard TMS320C66x DSP CorePac module. Each subsystem has a

Re: [RFC PATCH 1/3] drm/debugfs: create debugfs files during drm_dev_register().

2020-05-13 Thread Wambui Karuga
On Wed, 13 May 2020, Thomas Zimmermann wrote: Hi Am 13.05.20 um 13:41 schrieb Wambui Karuga: Introduce the ability to track requests for the addition of drm debugfs files at any time and have them added all at once during drm_dev_register(). Drivers can add drm debugfs file requests to a

Re: [PATCH V4 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2020-05-13 Thread kbuild test robot
the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Arun-Kumar-Neelakantam/Add-TIOCM-Signals-support-for-RPMSG-char-devices/20200513-134544 base: https

Re: [RFC PATCH] arm: Don't trap conditional UDF instructions

2020-05-13 Thread Russell King - ARM Linux admin
On Wed, May 13, 2020 at 05:41:58PM +0200, Fredrik Strupe wrote: > Hi, > > This is more of a question than a patch, but I hope the attached patch makes > the issue a bit clearer. > > The arm port of Linux supports hooking/trapping of undefined instructions. > Some > parts of the code use this to

stable-rc 4.19: WARNING: at lib/refcount.c:187 refcount_sub_and_test_checked

2020-05-13 Thread Naresh Kamboju
While running LTP sched on stable-rc 4.19 branch kernel on arm64 hikey device. Thermal alarm triggered and followed by kernel warnings and Internal error: Oops: steps to reproduce: cd /opt/ltp ./runltp -f sched Test running hackbench test case from LTP sched Test case: hackbench 50 process 1000

Re: [PATCH 2/3] security: add symbol namespace for reading file data

2020-05-13 Thread Josh Triplett
On Wed, May 13, 2020 at 04:16:22PM +, Luis Chamberlain wrote: > On Wed, May 13, 2020 at 10:40:31AM -0500, Eric W. Biederman wrote: > > Luis Chamberlain writes: > > > > > Certain symbols are not meant to be used by everybody, the security > > > helpers for reading files directly is one such

Re: [PATCH 2/3] remoteproc: Add inline coredump functionality

2020-05-13 Thread Mathieu Poirier
On Mon, 11 May 2020 at 18:32, Bjorn Andersson wrote: > > On Mon 11 May 17:11 PDT 2020, risha...@codeaurora.org wrote: > > > On 2020-05-07 13:21, Bjorn Andersson wrote: > > > On Thu 16 Apr 11:38 PDT 2020, Rishabh Bhatnagar wrote: > > > > > > > This patch adds the inline coredump functionality. The

Re: [PATCH] wfx: typo fix

2020-05-13 Thread Jérôme Pouiller
Hello, On Wednesday 13 May 2020 09:24:33 CEST Mohamed Dawod wrote: > > fixing some typo errors in traces.h file > > Signed-off-by: Mohamed Dawod > --- > drivers/staging/wfx/traces.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > It would be great if the subject started with

Re: [PATCH 32/33] sctp: add sctp_sock_get_primary_addr

2020-05-13 Thread Marcelo Ricardo Leitner
On Wed, May 13, 2020 at 08:26:47AM +0200, Christoph Hellwig wrote: > Add a helper to directly get the SCTP_PRIMARY_ADDR sockopt from kernel > space without going through a fake uaccess. Same comment as on the other dlm/sctp patch. > > Signed-off-by: Christoph Hellwig > --- > fs/dlm/lowcomms.c

[PATCH USB] usb: raw-gadget: fix null-ptr-deref when reenabling endpoints

2020-05-13 Thread Andrey Konovalov
Currently we preassign gadget endpoints to raw-gadget endpoints during initialization. Fix resetting this assignment in raw_ioctl_ep_disable(), otherwise we will get null-ptr-derefs when an endpoint is reenabled. Signed-off-by: Andrey Konovalov --- Felipe, this is technically a fix for "usb:

Re: [PATCH net-next v1] net: phy: tja11xx: add cable-test support

2020-05-13 Thread Andrew Lunn
> What would be the best place to do a test before the link is getting up? > Can it be done in the phy core, or it should be done in the PHY driver? > > So far, no action except of logging these errors is needed. You could do it in the config_aneg callback. A kernel log entry is not very easy

Re: [PATCH 27/33] sctp: export sctp_setsockopt_bindx

2020-05-13 Thread Marcelo Ricardo Leitner
On Wed, May 13, 2020 at 08:26:42AM +0200, Christoph Hellwig wrote: > And call it directly from dlm instead of going through kernel_setsockopt. The advantage on using kernel_setsockopt here is that sctp module will only be loaded if dlm actually creates a SCTP socket. With this change, sctp will

Re: [PATCH v3 25/75] x86/sev-es: Add support for handling IOIO exceptions

2020-05-13 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:16:35PM +0200, Joerg Roedel wrote: > From: Tom Lendacky > > Add support for decoding and handling #VC exceptions for IOIO events. > > Signed-off-by: Tom Lendacky > [ jroe...@suse.de: Adapted code to #VC handling framework ] > Co-developed-by: Joerg Roedel >

Re: [PATCH] perf expr: Fix memory leaks in metric bison

2020-05-13 Thread Arnaldo Carvalho de Melo
Em Wed, May 13, 2020 at 07:52:53PM +0200, Jiri Olsa escreveu: > On Tue, May 12, 2020 at 05:03:18PM -0700, Ian Rogers wrote: > > Add a destructor for strings to reclaim memory in the event of errors. > > Free the ID given for a lookup, it was previously strdup-ed in the lex > > code. > > > >

Re: [PATCH v2 2/2] fs: avoid fdput() after failed fdget() in kernel_read_file_from_fd()

2020-05-13 Thread Shuah Khan
On 5/12/20 11:49 PM, Al Viro wrote: On Tue, May 12, 2020 at 01:43:05PM -0600, Shuah Khan wrote: Fix kernel_read_file_from_fd() to avoid fdput() after a failed fdget(). fdput() doesn't do fput() on this file since FDPUT_FPUT isn't set in fd.flags. Fix it anyway since failed fdget() doesn't

Re: [PATCH] perf expr: Fix memory leaks in metric bison

2020-05-13 Thread Jiri Olsa
On Tue, May 12, 2020 at 05:03:18PM -0700, Ian Rogers wrote: > Add a destructor for strings to reclaim memory in the event of errors. > Free the ID given for a lookup, it was previously strdup-ed in the lex > code. > > Reviewed-by: Andi Kleen > Signed-off-by: Ian Rogers Acked-by: Jiri Olsa

Re: [PATCH 5.4 00/90] 5.4.41-rc1 review

2020-05-13 Thread Naresh Kamboju
On Wed, 13 May 2020 at 15:19, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.41 release. > There are 90 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 2/2] perf test: Improve pmu event metric testing

2020-05-13 Thread Jiri Olsa
On Tue, May 12, 2020 at 11:22:36PM -0700, Ian Rogers wrote: SNIP > + > +static int check_parse_id(const char *id, bool same_cpu, struct pmu_event > *pe) > +{ > + struct parse_events_error error; > + struct evlist *evlist; > + int ret; > + > + /* Numbers are always valid. */ > +

Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen

2020-05-13 Thread Will Deacon
On Wed, May 13, 2020 at 07:32:58PM +0200, Marco Elver wrote: > On Wed, 13 May 2020 at 18:50, Will Deacon wrote: > > > > On Wed, May 13, 2020 at 03:15:55PM +0200, Marco Elver wrote: > > > On Wed, 13 May 2020 at 14:40, Will Deacon wrote: > > > > > > > > On Wed, May 13, 2020 at 02:32:43PM +0200,

Re: [PATCH v10 1/5] usb: xhci: Change the XHCI link order in the Makefile

2020-05-13 Thread Florian Fainelli
On 5/13/2020 10:39 AM, Alan Stern wrote: > On Wed, May 13, 2020 at 07:05:05PM +0200, Greg Kroah-Hartman wrote: >> On Wed, May 13, 2020 at 09:31:11AM -0700, Florian Fainelli wrote: >>> >>> >>> On 5/13/2020 9:27 AM, Greg Kroah-Hartman wrote: On Wed, May 13, 2020 at 08:08:07AM -0700, Florian

Re: [PATCH] greybus: audio: remove unused code

2020-05-13 Thread Mark Greer
On Thu, May 07, 2020 at 11:29:11PM +0200, Alexandre Belloni wrote: > GREYBUS_AUDIO_MSM8994 is not an existing configuration option and as > reported in September 2016, it depends on an "out-of-tree qualcomm audio > driver". This driver never made it upstream. > >

Re: [PATCH v2 0/2] PCI: Check for platform_get_irq() failure consistently

2020-05-13 Thread Bjorn Helgaas
On Fri, May 01, 2020 at 05:40:40PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > All callers of platform_get_irq() and related functions interpret a > negative return value as an error. A few also interpret zero as an error. > > platform_get_irq() should return either a negative error

Re: [PATCH] firmware: xilinx: Fix an error handling path in 'zynqmp_firmware_probe()'

2020-05-13 Thread Jolly Shah
Reviewed-by: Jolly Shah > --Original Message-- > From: Christophe Jaillet > Sent: Sunday, May 10, 2020 6:03AM > To: Michal Simek , Rajan Vaja , Jolly Shah , 'Greg Kh' , Tejas Patel , Manish Narani , Ravi Patel > Cc: linux-arm-ker...@lists.infradead.org ,

stable-rc 5.4: libhugetlbfs fallocate_stress.sh: Unable to handle kernel paging request at virtual address ffff00006772f000

2020-05-13 Thread Naresh Kamboju
While running libhugetlbfs fallocate_stress.sh on stable-rc 5.4 branch kernel on arm64 hikey device. The following kernel Internal error: Oops: crash dump noticed. fallocate_stress.sh (2M: 64): [ 129.706506] Unable to handle kernel paging request at virtual address 6772f000 [

[PATCH stable-5.4.y] net: dsa: Do not make user port errors fatal

2020-05-13 Thread Florian Fainelli
commit 86f8b1c01a0a537a73d2996615133be63cdf75db upstream Prior to 1d27732f411d ("net: dsa: setup and teardown ports"), we would not treat failures to set-up an user port as fatal, but after this commit we would, which is a regression for some systems where interfaces may be declared in the Device

Re: [PATCH net-next v1] net: phy: tja11xx: add cable-test support

2020-05-13 Thread Oleksij Rempel
On Wed, May 13, 2020 at 03:39:25PM +0200, Andrew Lunn wrote: > On Wed, May 13, 2020 at 02:34:40PM +0200, Oleksij Rempel wrote: > > Add initial cable testing support. > > This PHY needs only 100usec for this test and it is recommended to run it > > before the link is up. For now, provide at least

[PATCH v1 1/1] drivers: phy: sr-usb: do not use internal fsm for USB2 phy init

2020-05-13 Thread Rayagonda Kokatanur
From: Bharat Gooty During different reboot cycles, USB PHY PLL may not always lock during initialization and therefore can cause USB to be not usable. Hence do not use internal FSM programming sequence for the USB PHY initialization. Fixes: 4dcddbb38b64 ("phy: sr-usb: Add Stingray USB PHY

Re: remove kernel_setsockopt and kernel_getsockopt

2020-05-13 Thread Joe Perches
On Wed, 2020-05-13 at 08:26 +0200, Christoph Hellwig wrote: > this series removes the kernel_setsockopt and kernel_getsockopt > functions, and instead switches their users to small functions that > implement setting (or in one case getting) a sockopt directly using > a normal kernel function call

Re: [PATCH v10 1/5] usb: xhci: Change the XHCI link order in the Makefile

2020-05-13 Thread Alan Stern
On Wed, May 13, 2020 at 07:05:05PM +0200, Greg Kroah-Hartman wrote: > On Wed, May 13, 2020 at 09:31:11AM -0700, Florian Fainelli wrote: > > > > > > On 5/13/2020 9:27 AM, Greg Kroah-Hartman wrote: > > > On Wed, May 13, 2020 at 08:08:07AM -0700, Florian Fainelli wrote: > > >> > > >> > > >> On

Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen

2020-05-13 Thread Marco Elver
On Wed, 13 May 2020 at 18:50, Will Deacon wrote: > > On Wed, May 13, 2020 at 03:15:55PM +0200, Marco Elver wrote: > > On Wed, 13 May 2020 at 14:40, Will Deacon wrote: > > > > > > On Wed, May 13, 2020 at 02:32:43PM +0200, Peter Zijlstra wrote: > > > > On Wed, May 13, 2020 at 01:48:41PM +0200,

Re: [PATCH] ASoC: tlv320adcx140: Add controls for PDM clk and edge

2020-05-13 Thread Mark Brown
On Wed, May 13, 2020 at 12:16:03PM -0500, Dan Murphy wrote: > On 5/13/20 10:32 AM, Mark Brown wrote: > > Are these (especially the clock and polarity) things that are going to > > vary at runtime? I'd have expected these to come from the hardware > > rather than being something that could

RE: [PATCH] platform/x86: dell-wmi: Ignore keyboard attached / detached events

2020-05-13 Thread Mario.Limonciello
> -Original Message- > From: Hans de Goede > Sent: Wednesday, May 13, 2020 8:06 AM > To: Darren Hart; Andy Shevchenko; Pali Rohár; Matthew Garrett > Cc: Hans de Goede; Limonciello, Mario; platform-driver-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: [PATCH] platform/x86:

Re: [PATCH] ASoC: tlv320adcx140: Add controls for PDM clk and edge

2020-05-13 Thread Dan Murphy
Mark On 5/13/20 10:32 AM, Mark Brown wrote: On Wed, May 13, 2020 at 09:47:46AM -0500, Dan Murphy wrote: +static const char * const pdmclk_text[] = { + "2.8224 MHz", "1.4112 MHz", "705.6 kHz", "5.6448 MHz" +}; + +static SOC_ENUM_SINGLE_DECL(pdmclk_select_enum, ADCX140_PDMCLK_CFG, 0, +

Re: [PATCH 5.6 000/118] 5.6.13-rc1 review

2020-05-13 Thread Naresh Kamboju
On Wed, 13 May 2020 at 15:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.6.13 release. > There are 118 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. > >

[PATCH v8 3/3] arm64: dts: zynqmp: Add GTR transceivers

2020-05-13 Thread Laurent Pinchart
Add a DT node for the PS-GTR transceivers. Signed-off-by: Laurent Pinchart Acked-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index

[PATCH v8 0/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-05-13 Thread Laurent Pinchart
Hello, The patch series adds a PHY driver for the Xilinx ZynqMP gigabit serial transceivers (PS-GTR). The PS-GTR is a set of 4 PHYs that can be used by the PCIe, USB 3.0, DisplayPort, SATA and Ethernet controllers that are part of the Serial I/O Unit (SIOU). The code is based on a previous

Re: [PATCH] security: fix the default value of secid_to_secctx hook

2020-05-13 Thread Alexei Starovoitov
James, since you took the previous similar patch are you going to pick this one up as well? Or we can route it via bpf tree to Linus asap. Thanks On Tue, May 12, 2020 at 10:46 AM Anders Roxell wrote: > > security_secid_to_secctx is called by the bpf_lsm hook and a successful > return value

[PATCH v8 2/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-05-13 Thread Laurent Pinchart
From: Anurag Kumar Vulisha Xilinx ZynqMP SoCs have a Gigabit Transceiver with four lanes. All the high speed peripherals such as USB, SATA, PCIE, Display Port and Ethernet SGMII can rely on any of the four GT lanes for PHY layer. This patch adds driver for that ZynqMP GT core. Signed-off-by:

[PATCH v8 1/3] dt-bindings: phy: Add DT bindings for Xilinx ZynqMP PSGTR PHY

2020-05-13 Thread Laurent Pinchart
From: Anurag Kumar Vulisha Add DT bindings for the Xilinx ZynqMP PHY. ZynqMP SoCs have a High Speed Processing System Gigabit Transceiver which provides PHY capabilities to USB, SATA, PCIE, Display Port and Ehernet SGMII controllers. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Laurent

Re: stable-rc 4.19: NETDEV WATCHDOG: eth0 (asix): transmit queue 0 timed out - net/sched/sch_generic.c:466 dev_watchdog

2020-05-13 Thread Naresh Kamboju
While running selftests bpf test_sysctl on stable rc 5.6 branch kernel on arm64 hikey device. The following warning was noticed. [ 1097.207013] NETDEV WATCHDOG: eth0 (asix): transmit queue 0 timed out [ 1097.387913] WARNING: CPU: 0 PID: 206 at /usr/src/kernel/net/sched/sch_generic.c:443

Re: [EXT] Re: [v1,net-next, 1/2] ethtool: add setting frame preemption of traffic classes

2020-05-13 Thread Vinicius Costa Gomes
Hi Murali, Murali Karicheri writes: > Any progress on your side for a patch for the support? > Sorry for the delay, things got a bit crazy here for some time. I have a RFC-quality series that I am finishing testing, I'll try to post it this week. > I have posted my EST offload series for

Re: [PATCH v2] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread Rodrigo Alencar
Em qua., 13 de mai. de 2020 às 14:13, Andy Shevchenko escreveu: > > On Wed, May 13, 2020 at 7:56 PM Rodrigo Rolim Mendes de Alencar > <455.rodrigo.alen...@gmail.com> wrote: > > > > This patch provides support for displays like VGM128064B0W10, > > which requires a column offset of 2, i.e., its

Re: [PATCH 1/3] dt-bindings: remoteproc: Add bindings for C66x DSPs on TI K3 SoCs

2020-05-13 Thread Suman Anna
On 4/27/20 2:49 PM, Mathieu Poirier wrote: Hi Suman, I have started to review this set - comments will come over the next few days. On Wed, Mar 25, 2020 at 03:18:37PM -0500, Suman Anna wrote: Some Texas Instruments K3 family of SoCs have one of more Digital Signal Processor (DSP) subsystems

Re: [PATCH] input: keyboard: imx_sc_key: Use devm_add_action_or_reset() to handle all cleanups

2020-05-13 Thread Dmitry Torokhov
On Fri, Mar 13, 2020 at 02:59:11PM +0800, Anson Huang wrote: > Use devm_add_action_or_reset() to handle all cleanups of failure in > .probe and .remove, then .remove callback can be dropped. > > Signed-off-by: Anson Huang Applied, thank you. -- Dmitry

Re: [PATCH] platform/x86: touchscreen_dmi: Add info for the Trekstor Yourbook C11B

2020-05-13 Thread Andy Shevchenko
On Tue, May 12, 2020 at 11:44 PM Hans de Goede wrote: > > Hi, > > On 5/12/20 10:40 PM, Bernhard Übelacker wrote: > > Add touchscreen info for the Trekstor Yourbook C11B. It seems to > > use the same touchscreen as the Primebook C11, so we only add a new DMI > > match. > > > > Cc: Otmar Meier > >

Re: [PATCH net-next 1/4] net: ethernet: validate pause autoneg setting

2020-05-13 Thread Russell King - ARM Linux admin
On Wed, May 13, 2020 at 03:49:25PM +0200, Andrew Lunn wrote: > Hi Russell, Doug > > With netlink ethtool we have the possibility of adding a new API to > control this. And we can leave the IOCTL API alone, and the current > ethtool commands. We can add a new command to ethtool which uses the new

Re: [PATCH v2] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread Andy Shevchenko
On Wed, May 13, 2020 at 7:56 PM Rodrigo Rolim Mendes de Alencar <455.rodrigo.alen...@gmail.com> wrote: > > This patch provides support for displays like VGM128064B0W10, > which requires a column offset of 2, i.e., its segments starts > in SEG2 and ends in SEG129. Also, include Rob as well into

[PATCH] Bluetooth: L2CAP: Replace zero-length array with flexible-array

2020-05-13 Thread Gustavo A. R. Silva
The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member[1][2], introduced in C99: struct foo { int stuff; struct boo array[]; }; By

Re: [PATCH v2] uapi, posix-timers: provide clockid-related macros and functions to UAPI

2020-05-13 Thread John Stultz
On Wed, May 13, 2020 at 2:13 AM Sergey Organov wrote: > > John Stultz writes: > > > On Tue, May 12, 2020 at 3:31 PM Eugene Syromiatnikov > > wrote: > >> On Tue, May 12, 2020 at 10:58:16PM +0300, Sergey Organov wrote: > >> > Eugene Syromiatnikov writes: > >> > > >> > > As of now, there is no

Re: [PATCH] hwmon: da9052: Synchronize access with mfd

2020-05-13 Thread Guenter Roeck
On Mon, May 11, 2020 at 01:02:19PM +0200, Sebastian Reichel wrote: > From: Samu Nuutamo > > When tsi-as-adc is configured it is possible for in7[0123]_input read to > return an incorrect value if a concurrent read to in[456]_input is > performed. This is caused by a concurrent manipulation of

[ANN] linux-arts v2.0 update

2020-05-13 Thread Shuah Khan
linux-arts git has been updated with the new reproducers from https://github.com/dvyukov/syzkaller-repros.git - a total of 1138 new linux reproducers - new script to collect reprogs from file system - updates to README.md - Updates to README on how linux-arts is synced with

RE: [PATCH v4.19.x] make 'user_access_begin()' do 'access_ok()'

2020-05-13 Thread Ashwin H
> Ok, but what does that mean for us? > > You need to say why you are sending a patch, otherwise we will guess wrong. In drivers/gpu/drm/i915/i915_gem_execbuffer.c, ioctl functions does user_access_begin() without doing access_ok(Checks if a user space pointer is valid) first. A local

Re: [PATCH 2/3] drm/etnaviv: Don't ignore errors on getting clocks

2020-05-13 Thread Fabio Estevam
On Wed, May 13, 2020 at 12:08 PM Lubomir Rintel wrote: > > There might be good reasons why the getting a clock failed. To treat the > clocks as optional we're specifically only interested in ignoring -ENOENT, > and devm_clk_get_optional() does just that. > > Signed-off-by: Lubomir Rintel > --- >

Re: [PATCH v10 1/5] usb: xhci: Change the XHCI link order in the Makefile

2020-05-13 Thread Greg Kroah-Hartman
On Wed, May 13, 2020 at 09:31:11AM -0700, Florian Fainelli wrote: > > > On 5/13/2020 9:27 AM, Greg Kroah-Hartman wrote: > > On Wed, May 13, 2020 at 08:08:07AM -0700, Florian Fainelli wrote: > >> > >> > >> On 5/13/2020 5:26 AM, Greg Kroah-Hartman wrote: > >>> On Tue, May 12, 2020 at 11:00:15AM

Re: [PATCH 5.6 000/118] 5.6.13-rc1 review

2020-05-13 Thread Guenter Roeck
On Wed, May 13, 2020 at 11:43:39AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.6.13 release. > There are 118 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

Re: [PATCH 2/3] input: serio: allow more than one byte to be sent at once

2020-05-13 Thread Sean Young
On Tue, May 12, 2020 at 10:37:27AM -0700, Dmitry Torokhov wrote: > On Tue, May 12, 2020 at 10:07:24AM +0100, Sean Young wrote: > > Now it would be nice to have a discussion about this rather than being > > dismissed with: > > > > > > > Ummm, serial protocol data size is at most 9 bits so I have

Re: [PATCH 4.19 00/48] 4.19.123-rc1 review

2020-05-13 Thread Guenter Roeck
On Wed, May 13, 2020 at 11:44:26AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.123 release. > There are 48 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

Re: [PATCH 5.4 00/90] 5.4.41-rc1 review

2020-05-13 Thread Guenter Roeck
On Wed, May 13, 2020 at 11:43:56AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.41 release. > There are 90 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

Re: [PATCH] KEYS: Replace zero-length array with flexible-array

2020-05-13 Thread Jarkko Sakkinen
On Thu, May 07, 2020 at 01:57:10PM -0500, Gustavo A. R. Silva wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced

Re: [PATCH 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-05-13 Thread kbuild test robot
the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Vinod-Koul/Add-LT9611-DSI-to-HDMI-bridge/20200513-181150 base: https://git.kernel.org/pub/scm/linux

Re: x86_64: 5.6.0: locking/lockdep.c:1155 lockdep_register_key

2020-05-13 Thread Naresh Kamboju
On Thu, 16 Apr 2020 at 23:15, Naresh Kamboju wrote: > > On Sat, 11 Apr 2020 at 02:20, Cong Wang wrote: > > > > On Tue, Apr 7, 2020 at 2:58 AM Naresh Kamboju > > wrote: > > > > > > On Linux mainline kernel 5.6.0 running kselftest on i386 kernel running on > > > x86_64 devices we have noticed

Re: [PATCH 3/3] net: cleanly handle kernel vs user buffers for ->msg_control

2020-05-13 Thread Christoph Hellwig
On Wed, May 13, 2020 at 09:18:36AM -0700, Eric Dumazet wrote: > Please try the following syzbot repro, since it crashes after your patch. Doesn't crash here, but I could totally see why it could depending in the stack initialization. Please try the patch below - these msghdr intance were

Re: [RFC][PATCH 3/5] objtool: Add support for relocations without addends

2020-05-13 Thread Julien Thierry
On 5/13/20 5:26 PM, Matt Helsley wrote: On Tue, May 12, 2020 at 06:04:50PM +0100, Julien Thierry wrote: Hi Matt, On 5/11/20 6:35 PM, Matt Helsley wrote: Currently objtool only collects information about relocations with addends. In recordmcount, which we are about to merge into objtool,

Re: [RFC][PATCH 4/5] objtool: Enable compilation of objtool for all architectures

2020-05-13 Thread Julien Thierry
On 5/13/20 4:59 PM, Matt Helsley wrote: On Tue, May 12, 2020 at 06:04:56PM +0100, Julien Thierry wrote: Hi Matt, On 5/11/20 6:35 PM, Matt Helsley wrote: objtool currently only compiles for x86 architectures. This is fine as it presently does not support tooling for other architectures.

[PATCH v2] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread Rodrigo Rolim Mendes de Alencar
This patch provides support for displays like VGM128064B0W10, which requires a column offset of 2, i.e., its segments starts in SEG2 and ends in SEG129. Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.com> --- Documentation/devicetree/bindings/display/ssd1307fb.txt | 1 +

Re: WARNING in memtype_reserve

2020-05-13 Thread Greg KH
On Wed, May 13, 2020 at 06:22:58PM +0200, Thomas Gleixner wrote: > Greg KH writes: > > On Sat, May 09, 2020 at 12:00:57PM +0200, Thomas Gleixner wrote: > >> Greg KH writes: > >> > On Sat, May 09, 2020 at 12:20:14AM -0700, syzbot wrote: > >> >> memtype_reserve failed: [mem

Re: [PATCH] Bluetooth: Replace zero-length array with flexible-array

2020-05-13 Thread Gustavo A. R. Silva
Hi Marcel, On Wed, May 13, 2020 at 09:30:03AM +0200, Marcel Holtmann wrote: > > --- > > include/net/bluetooth/l2cap.h |6 +++--- > > include/net/bluetooth/mgmt.h | 40 > > > > 2 files changed, 23 insertions(+), 23 deletions(-) > > the mgmt.h portion

Re: file system permissions regression affecting root

2020-05-13 Thread Patrick Donnelly
On Wed, May 13, 2020 at 9:11 AM Al Viro wrote: > > On Wed, May 13, 2020 at 08:00:28AM -0700, Patrick Donnelly wrote: > > In newer kernels (at least 5.6), it appears root is not able to write > > to files owned by other users in a sticky directory: > > Yes. Controlled by

Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen

2020-05-13 Thread Will Deacon
On Wed, May 13, 2020 at 03:15:55PM +0200, Marco Elver wrote: > On Wed, 13 May 2020 at 14:40, Will Deacon wrote: > > > > On Wed, May 13, 2020 at 02:32:43PM +0200, Peter Zijlstra wrote: > > > On Wed, May 13, 2020 at 01:48:41PM +0200, Marco Elver wrote: > > > > > > > Disabling most instrumentation

[PATCH 02/10] rcu: Use direct rdp->nocb_lock operations on local calls

2020-05-13 Thread Frederic Weisbecker
Unconditionally lock rdp->nocb_lock on nocb code that is called after we verified that the rdp is offloaded: This clarify the locking rules and expectations. Signed-off-by: Frederic Weisbecker Cc: Paul E. McKenney Cc: Josh Triplett Cc: Steven Rostedt Cc: Mathieu Desnoyers Cc: Lai Jiangshan

[PATCH 04/10] rcu: Implement rcu_segcblist_is_offloaded() config dependent

2020-05-13 Thread Frederic Weisbecker
This simplify the usage of this API and avoid checking the kernel config from the callers. Signed-off-by: Frederic Weisbecker Cc: Paul E. McKenney Cc: Josh Triplett Cc: Steven Rostedt Cc: Mathieu Desnoyers Cc: Lai Jiangshan Cc: Joel Fernandes --- include/linux/rcu_segcblist.h | 2 ++

[PATCH 06/10] rcu: Make nocb_cb kthread parkable

2020-05-13 Thread Frederic Weisbecker
This will be necessary to correctly implement rdp de-offloading. We don't want rcu_do_batch() in nocb_cb kthread to race with local rcu_do_batch(). Signed-off-by: Frederic Weisbecker Cc: Paul E. McKenney Cc: Josh Triplett Cc: Steven Rostedt Cc: Mathieu Desnoyers Cc: Lai Jiangshan Cc: Joel

[PATCH 07/10] rcu: Temporarily assume that nohz full CPUs might not be NOCB

2020-05-13 Thread Frederic Weisbecker
So far nohz_full CPUs had to be nocb. This requirement may change temporarily as we are working on preparing RCU to be able to toggle the nocb state of a CPU. Once that is done and nohz_full can be toggled as well dynamically, we'll restore that initial requirement. Thus for now as a temporary

[PATCH 08/10] rcu: Allow to deactivate nocb on a CPU

2020-05-13 Thread Frederic Weisbecker
Allow a CPU's rdp to quit the callback offlined mode. The switch happens on the target with IRQs disabled and rdp->nocb_lock held to avoid races between local callbacks handling and kthread offloaded callbacks handling. nocb_cb kthread is first parked to avoid any future race with concurrent

[PATCH 10/10] rcu: Nocb (de)activate through sysfs

2020-05-13 Thread Frederic Weisbecker
Not for merge. Make nocb toggable for a given CPU using: /sys/devices/system/cpu/cpu*/hotplug/nocb This is only intended for those who want to test this patchset. The real interfaces will be cpuset/isolation and rcutorture. Not-Signed-off-by: Frederic Weisbecker Cc: Paul E. McKenney

[PATCH 09/10] rcu: Allow to re-offload a CPU that used to be nocb

2020-05-13 Thread Frederic Weisbecker
This is essentially the reverse operation of de-offloading. For now it's only supported on CPUs that used to be offloaded and therefore still have the relevant nocb_cb/nocb_gp kthreads around. Inspired-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Paul E. McKenney Cc: Josh

[PATCH 05/10] rcu: Remove useless conditional nocb unlock

2020-05-13 Thread Frederic Weisbecker
Not only is it in the bad order (rdp->nocb_lock should be unlocked after rnp) but it's also dead code as we are in the !offloaded path. Signed-off-by: Frederic Weisbecker Cc: Paul E. McKenney Cc: Josh Triplett Cc: Steven Rostedt Cc: Mathieu Desnoyers Cc: Lai Jiangshan Cc: Joel Fernandes

<    1   2   3   4   5   6   7   8   9   10   >