[PATCH] drm/sched: Add missing structure comment

2020-12-09 Thread Luben Tuikov
Add a missing structure comment for the recently added @list member. Signed-off-by: Luben Tuikov Cc: Stephen Rothwell Cc: Daniel Vetter Cc: Christian König --- include/drm/gpu_scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/gpu_scheduler.h

Re: Review request 0/1: fs/proc: Fix NULL pointer dereference in

2020-12-09 Thread Eric W. Biederman
Yahu Gao writes: > There is a kernel NULL pointer dereference was found in Linux system. > The details of kernel NULL is shown at bellow. > > Currently, we do not have a way to provoke this fault on purpose, but > the reproduction rate in out CI loops is high enough that we could go > for a

INFO: rcu detected stall in tasklet_action_common

2020-12-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b3298500 Merge tag 'for-5.10/dm-fixes' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=135a07ab50 kernel config: https://syzkaller.appspot.com/x/.config?x=e49433cfed49b7d9

Re: [PATCH] kcov: don't instrument with UBSAN

2020-12-09 Thread Stephen Rothwell
Hi all, On Wed, 9 Dec 2020 10:54:39 -0800 Kees Cook wrote: > > On Wed, Dec 09, 2020 at 11:01:52AM +0100, Dmitry Vyukov wrote: > > Both KCOV and UBSAN use compiler instrumentation. If UBSAN detects a bug > > in KCOV, it may cause infinite recursion via printk and other common > > functions. We

Re: [PATCH] drm/bridge: ti-sn65dsi86: Implement the pwm_chip

2020-12-09 Thread Bjorn Andersson
On Tue 08 Dec 02:04 CST 2020, Uwe Kleine-K?nig wrote: > Hello, > > On Mon, Dec 07, 2020 at 10:40:22PM -0600, Bjorn Andersson wrote: > > The SN65DSI86 provides the ability to supply a PWM signal on GPIO 4, > > with the primary purpose of controlling the backlight of the attached > > panel. Add an

[PATCH -1/24] exec: Don't open code get_close_on_exec

2020-12-09 Thread Eric W. Biederman
Al Viro pointed out that using the phrase "close_on_exec(fd, rcu_dereference_raw(current->files->fdt))" instead of wrapping it in rcu_read_lock(), rcu_read_unlock() is a very questionable optimization[1]. Once wrapped with rcu_read_lock()/rcu_read_unlock() that phrase becomes equivalent the

[PATCH v2 2/2] mm: fix initialization of struct page for holes in memory layout

2020-12-09 Thread Mike Rapoport
From: Mike Rapoport There could be struct pages that are not backed by actual physical memory. This can happen when the actual memory bank is not a multiple of SECTION_SIZE or when an architecture does not register memory holes reserved by the firmware as memblock.memory. Such pages are

[PATCH v2 0/2] mm: fix initialization of struct page for holes in memory layout

2020-12-09 Thread Mike Rapoport
From: Mike Rapoport Hi, Commit 73a6e474cb37 ("mm: memmap_init: iterate over memblock regions rather that check each PFN") exposed several issues with the memory map initialization and these patches fix those issues. Initially there were crashes during compaction that Qian Cai reported back in

[PATCH v2 1/2] mm: memblock: enforce overlap of memory.memblock and memory.reserved

2020-12-09 Thread Mike Rapoport
From: Mike Rapoport memblock does not require that the reserved memory ranges will be a subset of memblock.memory. As the result there maybe reserved pages that are not in the range of any zone or node because zone and node boundaries are detected based on memblock.memory and pages that only

Re: [linux-sunxi] [PATCH 5/8] clk: sunxi-ng: Add support for the Allwinner H616 CCU

2020-12-09 Thread André Przywara
On 09/12/2020 14:33, Clément Péron wrote: Hi, > I try to review this, and compare against the vendor Kernel> > On Wed, 2 Dec 2020 at 14:54, Andre Przywara wrote: >> >> While the clocks are fairly similar to the H6, many differ in tiny >> details, so a separate clock driver seems indicated. >>

linux-next: Signed-off-by missing for commit in the arm-soc tree

2020-12-09 Thread Stephen Rothwell
Hi all, Commit 2305d20f251d ("firmware: xilinx: Mark pm_api_features_map with static keyword") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpoUowBVuoOV.pgp Description: OpenPGP digital signature

Re: [PATCH v3 15/15] remoteproc: Refactor rproc delete and cdev release path

2020-12-09 Thread Mathieu Poirier
On Wed, Dec 09, 2020 at 11:13:07AM +0100, Arnaud POULIQUEN wrote: > > > On 11/26/20 10:06 PM, Mathieu Poirier wrote: > > Refactor function rproc_del() and rproc_cdev_release() to take > > into account the policy specified in the device tree. > > > > Signed-off-by: Mathieu Poirier > > --- > >

Re: [PATCH] mtd: parser: cmdline: Support MTD names containing one or more colons

2020-12-09 Thread Ron Minnich
Tested-by: Ian Goegebuer On Mon, Dec 7, 2020 at 7:24 AM ron minnich wrote: > > I pinged the person again. Hope to hear today. Sorry for delay. > > On Sun, Dec 6, 2020 at 11:52 PM Sven Eckelmann wrote: > > > > On Friday, 27 November 2020 19:54:30 CET ron minnich wrote: > > > Thanks, Sven, for

[PATCH] nvme: hwmon: fix crash on device teardown

2020-12-09 Thread Enzo Matsumiya
Fix a possible NULL pointer dereference when trying to read hwmon sysfs entries associated to NVMe-oF devices that were hot-removed or disconnected. Unregister the NVMe hwmon device upon controller teardown (nvme_stop_ctrl()). Signed-off-by: Enzo Matsumiya --- drivers/nvme/host/core.c | 1 +

Re: [PATCH] files: rcu free files_struct

2020-12-09 Thread Eric W. Biederman
Al Viro writes: > On Wed, Dec 09, 2020 at 11:13:38AM -0800, Linus Torvalds wrote: >> On Wed, Dec 9, 2020 at 10:05 AM Eric W. Biederman >> wrote: >> > >> > - struct file * file = xchg(>fd[i], >> > NULL); >> > + struct file * file =

Re: [PATCH] spi: dt-bindings: clarify CS behavior for spi-cs-high and gpio descriptors

2020-12-09 Thread Sven Van Asbroeck
On Wed, Dec 9, 2020 at 3:08 PM H. Nikolaus Schaller wrote: > > But I have tested with > > > spi->mode |= SPI_MODE_3; > > which should keep the mode intact. Right? That did not work either. > - make sure ("spi: fix client driver breakages when using GPIO descriptors") is in your tree - your

[tip:x86/cache 6/6] arch/x86/kernel/cpu/resctrl/monitor.c:291:6: warning: variable 'chunks' set but not used

2020-12-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cache head: 2ba836dbe2467d31fffb439258c2f454c6f1a317 commit: 2ba836dbe2467d31fffb439258c2f454c6f1a317 [6/6] x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled config: i386-allyesconfig (attached as .config)

RE: [PATCH net-next] net: x25: Remove unimplemented X.25-over-LLC code stubs

2020-12-09 Thread David Laight
From: Xie He > Sent: 09 December 2020 03:34 > > According to the X.25 documentation, there was a plan to implement > X.25-over-802.2-LLC. It never finished but left various code stubs in the > X.25 code. At this time it is unlikely that it would ever finish so it > may be better to remove those

linux-next: Signed-off-by missing for commits in the cifs tree

2020-12-09 Thread Stephen Rothwell
Hi all, Commits d24e661920cb ("cifs: Enable sticky bit with cifsacl mount option.") 4bcfb51f82f0 ("cifs: Fix unix perm bits to cifsacl conversion for "other" bits.") are missing a Signed-off-by from their committer. -- Cheers, Stephen Rothwell pgpY7JNWmuTgK.pgp Description: OpenPGP

Re: [RESEND v1 5/5] powerpc/platforms: Move files from 4xx to 44x

2020-12-09 Thread kernel test robot
Hi Christophe, I love your patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on next-20201209] [cannot apply to robh/for-next linus/master mpe/next v5.10-rc7] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH v3 09/15] remoteproc: Introduce function rproc_detach()

2020-12-09 Thread Mathieu Poirier
On Wed, Dec 09, 2020 at 09:45:32AM +0100, Arnaud POULIQUEN wrote: > > > On 12/9/20 1:53 AM, Mathieu Poirier wrote: > > On Tue, Dec 08, 2020 at 07:35:18PM +0100, Arnaud POULIQUEN wrote: > >> Hi Mathieu, > >> > >> > >> On 11/26/20 10:06 PM, Mathieu Poirier wrote: > >>> Introduce function

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Rui Salvaterra
Hi again, Emmanuel, On Wed, 9 Dec 2020 at 21:07, Emmanuel Grumbach wrote: > > Indeed, the bit is reverse logic. So we can put that aside. > Frankly, I have no clue. You can try our backport tree to bisect, > should be easier.. > What I see here is that your GP_CTRL value is 080003d8 > > #define

[patch 3/3] speakup: Simplify spk_ttyio_out error handling.

2020-12-09 Thread samuel . thibault
This avoids most code indentation Signed-off-by: Samuel Thibault Index: linux-5.10/drivers/accessibility/speakup/spk_ttyio.c === --- linux-5.10.orig/drivers/accessibility/speakup/spk_ttyio.c +++

RE: [PATCH 2/2] block: no-copy bvec for direct IO

2020-12-09 Thread David Laight
From: Pavel Begunkov > Sent: 09 December 2020 02:20 > > The block layer spends quite a while in blkdev_direct_IO() to copy and > initialise bio's bvec. However, if we've already got a bvec in the input > iterator it might be reused in some cases, i.e. when new > ITER_BVEC_FLAG_FIXED flag is set.

Re: [patch 1/3] speakup: Add synth parameter to io functions

2020-12-09 Thread Samuel Thibault
Greg KH, le mer. 09 déc. 2020 15:40:29 +0100, a ecrit: > On Mon, Nov 30, 2020 at 11:26:41PM +0100, Samuel Thibault wrote: > > This merely adds the missing synth parameter to all io functions. > > > > Signed-off-by: Samuel Thibault > > This patch breaks the build :( > > Can you rebase and

[patch 2/3] speakup: Reference synth from tty and tty from synth

2020-12-09 Thread samuel . thibault
We do not actually need speakup_tty and spk_ttyio_synth global variables, the synth can store the pointer to the tty, and the tty ldisc_data can store the pointer to the synth. Along the way, we can clench the initialization of the synth and the creation of the tty, so that tty is never NULL.

[patch 1/3] speakup: Add synth parameter to io functions

2020-12-09 Thread samuel . thibault
This merely adds the missing synth parameter to all io functions. Signed-off-by: Samuel Thibault Index: linux-5.10/drivers/accessibility/speakup/spk_ttyio.c === --- linux-5.10.orig/drivers/accessibility/speakup/spk_ttyio.c +++

[patch 0/3] speakup: simplify relation between line disc and synth

2020-12-09 Thread samuel . thibault
This series reworks the relation between the speakup line discipline and the speakup synthesizers. This is probably fixing a few minor issues, but since it is invasive it'll better wait for 5.11.

Re: [PATCH] usb: cdns3: Fixed kernel test robot warning

2020-12-09 Thread Randy Dunlap
On 12/9/20 12:15 PM, Souptick Joarder wrote: > Kernel test robot throws below warning -> > > In file included from drivers/usb/cdns3/core.c:23: >>> drivers/usb/cdns3/host-export.h:27:51: warning: 'struct usb_hcd' >>> declared inside parameter list will not be visible outside of this >>>

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 10:47 PM Emmanuel Grumbach wrote: > > On Wed, Dec 9, 2020 at 10:40 PM Rui Salvaterra wrote: > > > > Hi, Emmanuel, > > > > On Wed, 9 Dec 2020 at 20:32, Emmanuel Grumbach wrote: > > > > > > Rui, I looked at the register dump and looks like you're using AMT on > > > your

[PATCH v4 2/3] Documentation: DT: binding documentation for regulator-poweroff

2020-12-09 Thread Michael Klein
Add devicetree binding documentation for regulator-poweroff driver. Signed-off-by: Michael Klein --- .../power/reset/regulator-poweroff.yaml | 37 +++ 1 file changed, 37 insertions(+) create mode 100644

Re: [PATCH v2 03/12] x86/pv: switch SWAPGS to ALTERNATIVE

2020-12-09 Thread Thomas Gleixner
On Fri, Nov 20 2020 at 12:46, Juergen Gross wrote: > SWAPGS is used only for interrupts coming from user mode or for > returning to user mode. So there is no reason to use the PARAVIRT > framework, as it can easily be replaced by an ALTERNATIVE depending > on X86_FEATURE_XENPV. > > There are

[PATCH v4 1/3] power: reset: new driver regulator-poweroff

2020-12-09 Thread Michael Klein
This driver registers a pm_power_off function to disable a set of regulators defined in the devicetree to turn off the board. Signed-off-by: Michael Klein --- drivers/power/reset/Kconfig | 7 ++ drivers/power/reset/Makefile | 1 +

[PATCH v4 3/3] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add poweroff node

2020-12-09 Thread Michael Klein
Add add devicetree information for the regulator-poweroff driver. Signed-off-by: Michael Klein --- This patch depends on the regulator names added in arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v4 0/3] BPi M2 Zero poweroff support via new regulator-poweroff driver

2020-12-09 Thread Michael Klein
Changes in v2: - rename DT node Changes in v3: - add regulator-poweroff driver - use regulator-poweroff driver instead of gpio-poweroff Changes in v4: - hardcode poweroff timeout to 3000ms, not configurable any more - remove support for multiple regulators - fix Documentation issues

Re: [PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting

2020-12-09 Thread Linus Torvalds
On Wed, Dec 9, 2020 at 12:32 PM Matthew Wilcox wrote: > > If a filesystem has put an Uptodate page into the page cache, the > rest of the kernel can read it without telling the filesystem. XFS does the same thing for xfs_file_read_iter() too. Not that I disagree with you - when you mmap a file,

Re: [PATCH v2 02/12] x86/xen: use specific Xen pv interrupt entry for DF

2020-12-09 Thread Thomas Gleixner
On Fri, Nov 20 2020 at 12:46, Juergen Gross wrote: > Xen PV guests don't use IST. For double fault interrupts switch to > the same model as NMI. > > Correct a typo in a comment while copying it. > > Signed-off-by: Juergen Gross > Acked-by: Peter Zijlstra (Intel) Reviewed-by: Thomas Gleixner

Re: [PATCH v2 01/12] x86/xen: use specific Xen pv interrupt entry for MCE

2020-12-09 Thread Thomas Gleixner
On Fri, Nov 20 2020 at 12:46, Juergen Gross wrote: > Xen PV guests don't use IST. For machine check interrupts switch to > the same model as debug interrupts. > > Signed-off-by: Juergen Gross > Acked-by: Peter Zijlstra (Intel) Reviewed-by: Thomas Gleixner

Re: [PATCH -next] net/mlx5_core: remove unused including

2020-12-09 Thread Jason Gunthorpe
On Wed, Dec 09, 2020 at 09:04:46AM -0800, Jakub Kicinski wrote: > On Wed, 9 Dec 2020 08:21:00 +0200 Leon Romanovsky wrote: > > On Tue, Dec 08, 2020 at 11:22:26AM -0800, Jakub Kicinski wrote: > > > On Mon, 7 Dec 2020 20:14:00 +0800 Zou Wei wrote: > > > > Remove including that don't need it. > >

Re: fs/namei.c: Make status likely to be ECHILD in lookup_fast()

2020-12-09 Thread Steven Rostedt
On Wed, 9 Dec 2020 20:35:00 + Al Viro wrote: > > And most of the d_revalidate() functions have: > > > > if (flags & LOOKUP_RCU) > > return -ECHILD; > > Umm... That depends upon the filesystem mix involved; said that, I'd rather > drop that "unlikely"... Sure enough.

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-09 Thread Tony Luck
On Mon, Dec 7, 2020 at 4:36 PM Michal Kubecek wrote: > Not removal, commit 3351b16af494 ("mm/filemap: add static for function > __add_to_page_cache_locked") made the function static which breaks the > build in btfids phase - but it seems to happen only on some > architectures. In our case, ppc64,

Re: [Patch v3 0/2] cgroup: KVM: New Encryption IDs cgroup controller

2020-12-09 Thread Tejun Heo
Hello, Rough take after skimming: * I don't have an overall objection. In terms of behavior, the only thing which stood out was input rejection depending on the current usage. The preferred way of handling that is rejecting future allocations rather than failing configuration as that makes

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-09 Thread Thomas Gleixner
Marcelo, On Wed, Dec 09 2020 at 13:34, Marcelo Tosatti wrote: > On Tue, Dec 08, 2020 at 10:33:15PM +0100, Thomas Gleixner wrote: >> On Tue, Dec 08 2020 at 15:11, Marcelo Tosatti wrote: >> > max_cycles overflow. Sent a message to Maxim describing it. >> >> Truly helpful. Why the hell did you not

Re: linux-next: build warning after merge of the kbuild tree

2020-12-09 Thread Stephen Rothwell
Hi Dominique, On Wed, 9 Dec 2020 14:01:30 +0100 Dominique Martinet wrote: > > I guess it's possible to make kbuild check both sbin and PATH, would > that be acceptable? I guess so. But, have you actually found any setup where depmod is not /sbin/depmod? i.e. what problem are you trying to

[Patch v3 2/2] cgroup: svm: Encryption IDs cgroup documentation.

2020-12-09 Thread Vipin Sharma
Documentation for both cgroup versions, v1 and v2, of Encryption IDs controller. This new controller is used to track and limit usage of hardware memory encryption capabilities on the CPUs. Signed-off-by: Vipin Sharma Reviewed-by: David Rientjes Reviewed-by: Dionna Glaze ---

[Patch v3 1/2] cgroup: svm: Add Encryption ID controller

2020-12-09 Thread Vipin Sharma
Hardware memory encryption is available on multiple generic CPUs. For example AMD has Secure Encrypted Virtualization (SEV) and SEV - Encrypted State (SEV-ES). These memory encryptions are useful in creating encrypted virtual machines (VMs) and user space programs. There are limited number of

Re: [RFC 0/4] vfio-pci/zdev: Fixing s390 vfio-pci ISM support

2020-12-09 Thread Matthew Rosato
On 12/9/20 3:27 PM, Matthew Rosato wrote: Today, ISM devices are completely disallowed for vfio-pci passthrough as QEMU will reject the device due to an (inappropriate) MSI-X check. However, in an effort to enable ISM device passthrough, I realized that the manner in which ISM performs block

[Patch v3 0/2] cgroup: KVM: New Encryption IDs cgroup controller

2020-12-09 Thread Vipin Sharma
Hello, This patch adds a new cgroup controller, Encryption IDs, to track and limit the usage of encryption IDs on a host. AMD provides Secure Encrypted Virtualization (SEV) and SEV with Encrypted State (SEV-ES) to encrypt the guest OS's memory using limited number of Address Space Identifiers

[PATCH v4] pwm: bcm2835: Support apply function for atomic configuration

2020-12-09 Thread Lino Sanfilippo
Use the newer .apply function of pwm_ops instead of .config, .enable, .disable and .set_polarity. This guarantees atomic changes of the pwm controller configuration. It also reduces the size of the driver. Since now period is a 64 bit value, add an extra check to reject periods that exceed the

Re: [PATCH 3/4] thermal: int340x: processor_thermal: Add RFIM driver

2020-12-09 Thread Daniel Lezcano
On 26/11/2020 18:18, Srinivas Pandruvada wrote: > Add support for RFIM (Radio Frequency Interference Mitigation) support > via processor thermal PCI device. This drivers allows adjustment of > FIVR (Fully Integrated Voltage Regulator) and DDR (Double Data Rate) > frequencies to avoid RF

[PATCH] block: blk-iocost: fix build for ARCH with missing local64.h files

2020-12-09 Thread Randy Dunlap
When building block/blk-iocost.c on arch/x6x/ or arch/nios2/, the build fails due to missing the file. Fix this by adding local64.h as a "generic-y" file in their respective Kbuild files, so that they will use a copy of instead (copied to arch/*/include/generated/local64.h by the build system).

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 10:40 PM Rui Salvaterra wrote: > > Hi, Emmanuel, > > On Wed, 9 Dec 2020 at 20:32, Emmanuel Grumbach wrote: > > > > Rui, I looked at the register dump and looks like you're using AMT on > > your system? > > Can you confirm? > > AMT? You mean Intel Active Management?

Re: [PATCH v3] i2c: pxa: move to generic GPIO recovery

2020-12-09 Thread Wolfram Sang
On Sun, Oct 04, 2020 at 01:07:11PM +0300, Codrin Ciubotariu wrote: > Starting with > commit 75820314de26 ("i2c: core: add generic I2C GPIO recovery") > GPIO bus recovery is supported by the I2C core, so we can remove the > driver implementation and use that one instead. > > Signed-off-by: Codrin

Re: [PATCH v1] scripts: switch explicitly to Python 3

2020-12-09 Thread Andy Shevchenko
On Wed, Dec 09, 2020 at 09:11:15PM +0100, Pavel Machek wrote: > > Some distributions are about to switch to Python 3 support only. > > This means that /usr/bin/python, which is Python 2, is not available > > anymore. Hence, switch scripts to use Python 3 explicitly. > > Should python be

[tip:x86/urgent] BUILD SUCCESS e45cdc71d1fa5ac3a57b23acc31eb959e4f60135

2020-12-09 Thread kernel test robot
allnoconfig i386 randconfig-a004-20201209 i386 randconfig-a005-20201209 i386 randconfig-a001-20201209 i386 randconfig-a002-20201209 i386 randconfig-a006-20201209 i386 randconfig-a003-20201209 x86_64

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 10:32 PM Emmanuel Grumbach wrote: > > On Wed, Dec 9, 2020 at 7:19 PM Jakub Kicinski wrote: > > > > On Tue, 8 Dec 2020 23:17:48 + Rui Salvaterra wrote: > > > Hi, Luca, > > > > > > On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano > > > wrote: > > > > On Tue, 2020-12-08 at

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Rui Salvaterra
Hi, again, On Wed, 9 Dec 2020 at 20:40, Emmanuel Grumbach wrote: > > Besides, don't you get a stack dump in the vicinity of this register > dump? That's be helpful to see. Nope. No stack trace at all. Only the register dump. Thanks, Rui

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Rui Salvaterra
Hi, Emmanuel, On Wed, 9 Dec 2020 at 20:32, Emmanuel Grumbach wrote: > > Rui, I looked at the register dump and looks like you're using AMT on > your system? > Can you confirm? AMT? You mean Intel Active Management? Heavens, no, not that I know of! This is a personal laptop (Lenovo B51-80). (And

Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-09 Thread Uladzislau Rezki
> Initialize the RCU-tasks earlier, before *_initcall() callbacks are > invoked. Do it after the workqueue subsytem is up and running. That > gives us a possibility to make use of synchronize_rcu_tasks*() wait > API in early_initcall() callbacks. > > Fixes: 36dadef23fcc ("kprobes: Init kprobes in

Re: Howto listen to/handle gpio state changes ? Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-09 Thread Arnd Bergmann
On Wed, Dec 9, 2020 at 9:22 PM Grygorii Strashko wrote: > On 09/12/2020 14:53, Linus Walleij wrote: > > On Wed, Dec 9, 2020 at 12:19 PM Arnd Bergmann wrote: > >> On Wed, Dec 9, 2020 at 9:51 AM Linus Walleij > >> wrote: > >>> On Tue, Dec 8, 2020 at 3:07 PM Enrico Weigelt, metux IT consult >

[PATCH v2 5/5] misc: pvpanic: Replace OF headers by mod_devicetable.h

2020-12-09 Thread Andy Shevchenko
There is no use for OF headers in the driver, but mod_devicetable.h must be included. Update driver accordingly. Cc: Peng Hao Cc: Arnd Bergmann Signed-off-by: Andy Shevchenko --- v2: no changes drivers/misc/pvpanic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 2/5] vfio: platform: Switch to use platform_get_mem_or_io()

2020-12-09 Thread Andy Shevchenko
Switch to use new platform_get_mem_or_io() instead of home grown analogue. Cc: Alex Williamson Cc: Cornelia Huck Cc: k...@vger.kernel.org Signed-off-by: Andy Shevchenko Acked-by: Eric Auger --- v2: added tag (Eric) drivers/vfio/platform/vfio_platform.c | 13 + 1 file changed, 1

[PATCH v2 3/5] usb: host: sl811: Switch to use platform_get_mem_or_io()

2020-12-09 Thread Andy Shevchenko
Switch to use new platform_get_mem_or_io() instead of home grown analogue. Note, the code has been moved upper in the function to allow farther cleanups, such as resource sanity check. Cc: linux-...@vger.kernel.org Signed-off-by: Andy Shevchenko --- v2: no changes drivers/usb/host/sl811-hcd.c |

[PATCH v2 4/5] misc: pvpanic: Combine ACPI and platform drivers

2020-12-09 Thread Andy Shevchenko
There is nothing special in the driver that requires to have a special ACPI driver for it. Combine both into simple platform driver. Cc: Peng Hao Cc: Arnd Bergmann Signed-off-by: Andy Shevchenko --- v2: no changes drivers/misc/pvpanic.c | 130 ++--- 1 file

[PATCH v2 1/5] driver core: platform: Introduce platform_get_mem_or_io()

2020-12-09 Thread Andy Shevchenko
There are at least few existing users of the proposed API which retrieves either MEM or IO resource from platform device. Make it common to utilize in the existing and new users. Cc: Eric Auger Cc: Alex Williamson Cc: k...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: Peng Hao Cc: Arnd

Re: [PATCH v3 1/3] power: reset: new driver regulator-poweroff

2020-12-09 Thread Michael Klein
On Tue, Dec 08, 2020 at 11:10:52AM +0100, Maxime Ripard wrote: On Mon, Dec 07, 2020 at 03:27:54PM +0100, Michael Klein wrote: This driver registers a pm_power_off function to disable a set of regulators defined in the devicetree to turn off the board. Signed-off-by: Michael Klein ---

Re: fs/namei.c: Make status likely to be ECHILD in lookup_fast()

2020-12-09 Thread Al Viro
On Wed, Dec 09, 2020 at 03:24:03PM -0500, Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > Running my yearly branch profiling code, it detected a 100% wrong branch > condition in name.c for lookup_fast(). The code in question has: > > status = d_revalidate(dentry,

Re: [Patch v2 0/2] cgroup: KVM: New Encryption IDs cgroup controller

2020-12-09 Thread Vipin Sharma
On Tue, Dec 08, 2020 at 01:35:29PM -0800, Vipin Sharma wrote: > Hello, > > This patch adds a new cgroup controller, Encryption IDs, to track and > limit the usage of encryption IDs on a host. > > AMD provides Secure Encrypted Virtualization (SEV) and SEV with > Encrypted State (SEV-ES) to

Ask Details For Relief

2020-12-09 Thread U. N. Greetings
Your email has been selected for the United Nations Covid-19 Relief Fund, for more details kindly reply to sangior...@aclipisa.it Best regards, Dr. Susan Marshal

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 7:19 PM Jakub Kicinski wrote: > > On Tue, 8 Dec 2020 23:17:48 + Rui Salvaterra wrote: > > Hi, Luca, > > > > On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano > > wrote: > > > On Tue, 2020-12-08 at 11:27 +, Rui Salvaterra wrote: > > > > > > > > [ 3174.003910] iwlwifi

Re: [PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting

2020-12-09 Thread Matthew Wilcox
On Wed, Dec 09, 2020 at 11:04:13AM -0800, Linus Torvalds wrote: > In particular, it made it a nightmare to read what do_fault_around() > does: it does that odd > > if (pmd_none(*vmf->pmd)) { > vmf->prealloc_pte = pte_alloc_one(vmf->vma->vm_mm); > > and then it calls

Re: [PATCH] spi: Limit the spi device max speed to controller's max speed

2020-12-09 Thread Serge Semin
On Wed, Dec 09, 2020 at 08:25:52PM +, Mark Brown wrote: > On Wed, Dec 09, 2020 at 11:15:35PM +0300, Serge Semin wrote: > > On Wed, Dec 09, 2020 at 07:54:20PM +, Mark Brown wrote: > > > > Right, in general we aim to do this sort of fixup on the transfers > > > and messages rather than the

[RFC 4/4] vfio-pci/zdev: Introduce the zPCI I/O vfio region

2020-12-09 Thread Matthew Rosato
Some s390 PCI devices (e.g. ISM) perform I/O operations that have very specific requirements in terms of alignment as well as the patterns in which the data is read/written. Allowing these to proceed through the typical vfio_pci_bar_rw path will cause them to be broken in up in such a way that

[RFC 0/4] vfio-pci/zdev: Fixing s390 vfio-pci ISM support

2020-12-09 Thread Matthew Rosato
Today, ISM devices are completely disallowed for vfio-pci passthrough as QEMU will reject the device due to an (inappropriate) MSI-X check. However, in an effort to enable ISM device passthrough, I realized that the manner in which ISM performs block write operations is highly incompatible with

[RFC 1/4] s390/pci: track alignment/length strictness for zpci_dev

2020-12-09 Thread Matthew Rosato
Some zpci device types (e.g., ISM) follow different rules for length and alignment of pci instructions. Recognize this and keep track of it in the zpci_dev. Signed-off-by: Matthew Rosato Reviewed-by: Niklas Schnelle Reviewed-by: Pierre Morel --- arch/s390/include/asm/pci.h | 3 ++-

[RFC 3/4] s390/pci: Get hardware-reported max store block length

2020-12-09 Thread Matthew Rosato
We'll need to know this information for vfio passthrough. Signed-off-by: Matthew Rosato Reviewed-by: Pierre Morel --- arch/s390/include/asm/pci.h | 1 + arch/s390/include/asm/pci_clp.h | 3 ++- arch/s390/pci/pci_clp.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff

[RFC 2/4] vfio-pci/zdev: Pass the relaxed alignment flag

2020-12-09 Thread Matthew Rosato
Use an additional bit of the VFIO_DEVICE_INFO_CAP_ZPCI_GROUP flags field to pass whether or not the associated device supports relaxed length and alignment for some I/O operations. Signed-off-by: Matthew Rosato Acked-by: Niklas Schnelle Reviewed-by: Pierre Morel ---

Re: [RFC PATCH] drm/panel: Make backlight attachment lazy

2020-12-09 Thread Bjorn Andersson
On Tue 08 Dec 17:52 CST 2020, Daniel Vetter wrote: > On Tue, Dec 08, 2020 at 04:02:16PM -0600, Bjorn Andersson wrote: > > On Tue 08 Dec 06:47 CST 2020, Thierry Reding wrote: > > > > > On Mon, Dec 07, 2020 at 10:44:46PM -0600, Bjorn Andersson wrote: > > > > Some bridge chips, such as the TI

Re: [PATCH v2 0/1] ARM: dts: mmp2-olpc-xo-1-75: clear the warnings when make dtbs

2020-12-09 Thread Arnd Bergmann
From: Arnd Bergmann On Mon, 7 Dec 2020 16:47:51 +0800, Zhen Lei wrote: > v1 --> v2: > Update the patch description and subject. > > I'm going to describe the detailed analysis here, because I don't want the > patch description to be too long. > > 0) make ARCH=arm CROSS_COMPILE=arm-linux-gnu-

[PATCH 2/2] rcu-tasks: add RCU-tasks self tests

2020-12-09 Thread Uladzislau Rezki (Sony)
Add self tests for checking of RCU-tasks API functionality. It covers: - wait API functions; - invoking/completion call_rcu_tasks*(). Self-tests are run when CONFIG_PROVE_RCU kernel parameter is set. Signed-off-by: Uladzislau Rezki (Sony) --- kernel/rcu/tasks.h | 44

[PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-09 Thread Uladzislau Rezki (Sony)
Initialize the RCU-tasks earlier, before *_initcall() callbacks are invoked. Do it after the workqueue subsytem is up and running. That gives us a possibility to make use of synchronize_rcu_tasks*() wait API in early_initcall() callbacks. Fixes: 36dadef23fcc ("kprobes: Init kprobes in

Re: [PATCH v1 2/7] dt-bindings: spi: Add Tegra QSPI device tree binding

2020-12-09 Thread Sowjanya Komatineni
On 12/9/20 9:26 AM, Rob Herring wrote: On Tue, Dec 01, 2020 at 01:12:43PM -0800, Sowjanya Komatineni wrote: This patch adds YAML based device tree binding document for Tegra QSPI driver. Signed-off-by: Sowjanya Komatineni --- .../devicetree/bindings/spi/nvidia,tegra-qspi.yaml | 77

Re: [PATCH 1/2] dt-bindings: add simple-audio-mux binding

2020-12-09 Thread Mark Brown
On Sat, 5 Dec 2020 01:15:07 +0100, Alexandre Belloni wrote: > Add devicetree documentation for simple audio multiplexers Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] dt-bindings: add simple-audio-mux binding commit:

Re: [PATCH] spi: Limit the spi device max speed to controller's max speed

2020-12-09 Thread Mark Brown
On Wed, Dec 09, 2020 at 11:15:35PM +0300, Serge Semin wrote: > On Wed, Dec 09, 2020 at 07:54:20PM +, Mark Brown wrote: > > Right, in general we aim to do this sort of fixup on the transfers > > and messages rather than the devices, I guess we might be missing > > validation in some of the

Re: [PATCH v2 00/17] Refactor fw_devlink to significantly improve boot time

2020-12-09 Thread Saravana Kannan
On Wed, Dec 9, 2020 at 10:15 AM Greg Kroah-Hartman wrote: > > On Fri, Nov 20, 2020 at 06:02:15PM -0800, Saravana Kannan wrote: > > The current implementation of fw_devlink is very inefficient because it > > tries to get away without creating fwnode links in the name of saving > > memory usage.

Re: [PATCH v2 13/18] arm: dts: owl-s500: Add I2C support

2020-12-09 Thread Wolfram Sang
On Sat, Nov 28, 2020 at 01:05:16PM +0530, Manivannan Sadhasivam wrote: > On Fri, Nov 20, 2020 at 01:56:07AM +0200, Cristian Ciocaltea wrote: > > Add I2C controller nodes for Actions Semi S500 SoC. > > > > Signed-off-by: Cristian Ciocaltea > > Reviewed-by: Manivannan Sadhasivam DTS changes

fs/namei.c: Make status likely to be ECHILD in lookup_fast()

2020-12-09 Thread Steven Rostedt
From: Steven Rostedt (VMware) Running my yearly branch profiling code, it detected a 100% wrong branch condition in name.c for lookup_fast(). The code in question has: status = d_revalidate(dentry, nd->flags); if (likely(status > 0))

Re: [PATCH v2 12/18] i2c: owl: Add compatible for the Actions Semi S500 I2C controller

2020-12-09 Thread Wolfram Sang
On Fri, Nov 20, 2020 at 01:56:06AM +0200, Cristian Ciocaltea wrote: > Add S500 variant to the list of devices supported by the Actions Semi > Owl I2C driver. > > Signed-off-by: Cristian Ciocaltea Applied to for-next, thanks! signature.asc Description: PGP signature

Re: Howto listen to/handle gpio state changes ? Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-09 Thread Grygorii Strashko
On 09/12/2020 14:53, Linus Walleij wrote: On Wed, Dec 9, 2020 at 12:19 PM Arnd Bergmann wrote: On Wed, Dec 9, 2020 at 9:51 AM Linus Walleij wrote: On Tue, Dec 8, 2020 at 3:07 PM Enrico Weigelt, metux IT consult wrote: What we need to understand is if your new usecase is an outlier so

Re: [PATCH v2 10/18] dt-bindings: i2c: owl: Convert Actions Semi Owl binding to a schema

2020-12-09 Thread Wolfram Sang
On Fri, Nov 20, 2020 at 01:56:04AM +0200, Cristian Ciocaltea wrote: > Convert the Actions Semi Owl I2C DT binding to a YAML schema for > enabling DT validation. > > Additionally, add a new compatible string corresponding to the I2C > controller found in the S500 variant of the Actions Semi Owl

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-09 Thread Peter Maydell
On Wed, 9 Dec 2020 at 20:13, Richard Henderson wrote: > > On 12/9/20 12:39 PM, Catalin Marinas wrote: > >> I would have thought that the best way is to use TCO, so that we don't > >> have to > >> have dual mappings (and however many MB of extra page tables that might > >> imply). > > > > The

Re: [PATCH v2 11/18] MAINTAINERS: Update entry for Actions Semi Owl I2C binding

2020-12-09 Thread Wolfram Sang
On Fri, Nov 20, 2020 at 01:56:05AM +0200, Cristian Ciocaltea wrote: > The Actions Semi Owl I2C DT binding has been converted to YAML schema, > therefore update accordingly the entry in MAINTAINERS. > > Signed-off-by: Cristian Ciocaltea Squashed with 10/18 and applied to for-next, thanks!

Re: RFC: arch: shall we have generic readl_be()/writel_be()/... or in_be32()/out_be32() ?

2020-12-09 Thread Alan Stern
On Wed, Dec 09, 2020 at 12:08:51PM +0100, Enrico Weigelt, metux IT consult wrote: > Hello folks, > > > while trying to make some more drivers compile-test'able, i've > discovered some arch specific calls in here, eg.: > > > In file included from >

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-09 Thread Dan Williams
On Wed, Dec 9, 2020 at 12:14 PM Matthew Wilcox wrote: [..] > If we put in into a separate patch, someone will suggest backing out the > patch which tells us that there's a problem. You know, like this guy ... >

Re: [PATCH 1/3] Add TX sending hardware timestamp.

2020-12-09 Thread Geva, Erez
On 09/12/2020 18:37, Willem de Bruijn wrote: > On Wed, Dec 9, 2020 at 10:25 AM Geva, Erez wrote: >> >> >> On 09/12/2020 15:48, Willem de Bruijn wrote: >>> On Wed, Dec 9, 2020 at 9:37 AM Erez Geva wrote: Configure and send TX sending hardware timestamp from user space

[PATCH] usb: cdns3: Fixed kernel test robot warning

2020-12-09 Thread Souptick Joarder
Kernel test robot throws below warning -> In file included from drivers/usb/cdns3/core.c:23: >> drivers/usb/cdns3/host-export.h:27:51: warning: 'struct usb_hcd' >> declared inside parameter list will not be visible outside of this >> definition or declaration 27 | static inline int

Re: [RESEND PATCH 1/2] dt-bindings: tegra: Convert HDA doc to json-schema

2020-12-09 Thread Rob Herring
On Thu, 03 Dec 2020 20:06:41 +0530, Sameer Pujar wrote: > Convert Tegra HDA doc to YAML format. > > Signed-off-by: Sameer Pujar > --- > .../bindings/sound/nvidia,tegra30-hda.txt | 35 > .../bindings/sound/nvidia,tegra30-hda.yaml | 98 > ++ > 2

Re: [PATCH v11 01/10] dt-bindings: memory: tegra20: emc: Document opp-supported-hw property

2020-12-09 Thread Rob Herring
On Thu, 03 Dec 2020 22:24:30 +0300, Dmitry Osipenko wrote: > Document opp-supported-hw property, which is not strictly necessary to > have on Tegra20, but it's very convenient to have because all other SoC > core devices will use hardware versioning, and thus, it's good to maintain > the

Re: [PATCH net-next] net: x25: Fix handling of Restart Request and Restart Confirmation

2020-12-09 Thread Xie He
On Wed, Dec 9, 2020 at 2:31 AM Martin Schiller wrote: > > >> 1. When the x25 module gets loaded, layer 2 may already be running and > >> connected. In this case, although we are in X25_LINK_STATE_0, we still > >> need to handle the Restart Request received, rather than ignore it. > > > > Hmm...

Re: [PATCH v4 3/6] remoteproc: pru: Add support for PRU specific interrupt configuration

2020-12-09 Thread Mathieu Poirier
On Tue, Dec 08, 2020 at 03:09:59PM +0100, Grzegorz Jaszczyk wrote: > The firmware blob can contain optional ELF sections: .resource_table > section and .pru_irq_map one. The second one contains the PRUSS > interrupt mapping description, which needs to be setup before powering > on the PRU core. To

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