[PATCH] iommu: add include/uapi/linux/iommu.h to MAINTAINERS file

2020-06-05 Thread Jerry Snitselaar
When include/uapi/linux/iommu.h was created it was never added to the file list in MAINTAINERS. Cc: Joerg Roedel Signed-off-by: Jerry Snitselaar --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e1897ed32930..061648b6e393 100644 --- a/MAINTAINER

Re: [RFC] METADATA design using V4l2 Request API

2020-06-05 Thread dikshita
Hi Hans, Nicolas, On 2020-05-29 13:01, Hans Verkuil wrote: On 29/05/2020 04:18, Nicolas Dufresne wrote: Le jeudi 28 mai 2020 à 16:18 +0530, diksh...@codeaurora.org a écrit : not allowed. So I need to know more about this. Regards, Hans we need this for use cases like HDR10+ where meta

Re: v5.7: new core kernel option missing help text

2020-06-05 Thread Vincent Guittot
On Thu, 4 Jun 2020 at 17:38, Valentin Schneider wrote: > > > On 04/06/20 14:05, Thara Gopinath wrote: > > On Thu, 4 Jun 2020 at 06:56, Valentin Schneider > >> > >> Right, s/defconfig/arch kconfig/ or somesuch. > >> > > > > CPU_FREQ_THERMAL also has to be enabled for this to be effective. > > Sin

Re: [sched/fair] 0b0695f2b3: phoronix-test-suite.compress-gzip.0.seconds 19.8% regression

2020-06-05 Thread Vincent Guittot
On Thu, 4 Jun 2020 at 10:57, Mel Gorman wrote: > > On Wed, Jun 03, 2020 at 07:06:18PM +0200, Vincent Guittot wrote: > > > still exists, just the gap becomes smaller - > > > release run1run2 > > > v5.44.324.3 <-- little change comparing to above > > > v5.5

Re: Security Random Number Generator support

2020-06-05 Thread Neal Liu
On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > On Wed, Jun 03, 2020 at 08:40:58AM +0100, Marc Zyngier wrote: > > On 2020-06-03 08:29, Neal Liu wrote: > > > On Tue, 2020-06-02 at 21:02 +0800, Marc Zyngier wrote: > > > > On 2020-06-02 13:14, Ard Biesheuvel wrote: > > > > >

[PATCH] arm64: fpsimd: Added API to manage fpsimd state inside kernel

2020-06-05 Thread Wooyeon Kim
From: Wooki Min This is an patch to use FPSIMD register in Kernel space. It need to manage to use FPSIMD register without damaging it of the user task. Following items have been implemented and added. 1. Using FPSIMD in ISR (in_interrupt) It can used __efi_fpsimd

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

2020-06-05 Thread Namjae Jeon
> 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 error without setting > EXFAT_SB_DIRTY. > If performe 'sync' in this state, VOL_DIRTY will not be clear

Re: system time goes weird in kvm guest after host suspend/resume

2020-06-05 Thread Miklos Szeredi
On Thu, Jun 4, 2020 at 10:14 PM Paolo Bonzini wrote: > > On 04/06/20 21:28, Miklos Szeredi wrote: > > time(2) returns good time, while clock_gettime(2) returns bad time. > > Here's an example: > > > > time=1591298725 RT=1591300383 MONO=39582 MONO_RAW=39582 BOOT=39582 > > time=1591298726 RT=1591300

Re: linux-next: manual merge of the livepatching tree with the modules tree

2020-06-05 Thread Jessica Yu
+++ Jiri Kosina [05/06/20 08:56 +0200]: On Fri, 5 Jun 2020, Stephen Rothwell wrote: > Today's linux-next merge of the livepatching tree got a conflict in: > > kernel/module.c > > between commits: > > db991af02f11 ("module: break nested ARCH_HAS_STRICT_MODULE_RWX and STRICT_MODULE_RWX #ifde

[PATCH v5] kbuild: add variables for compression tools

2020-06-05 Thread Denis Efremov
Allow user to use alternative implementations of compression tools, such as pigz, pbzip2, pxz. For example, multi-threaded tools to speed up the build: $ make GZIP=pigz BZIP2=pbzip2 Variables _GZIP, _BZIP2, _LZOP are used internally because original env vars are reserved by the tools. The use of G

Re: [PATCH 4/5] x86/ftrace: Add annotations for ftrace_arch_code_modify_prepare() and ftrace_arch_code_modify_post_process()

2020-06-05 Thread ý€€€„
On Wed, 3 Jun 2020, Luc Van Oostenryck wrote: On Mon, Jun 01, 2020 at 03:46:47PM -0400, Steven Rostedt wrote: On Mon, 1 Jun 2020 19:45:51 +0100 Jules Irenge wrote: Sparse reports warnings warning: context imbalance in ftrace_arch_code_modify_prepare() - wrong count at exit warni

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

2020-06-05 Thread Peter Zijlstra
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 wrote: > > > The recent commit: 90b5363acd47 ("sched: Clean up scheduler_ipi()") > > > got smp_call_function_si

Re: [PATCH] x86/mm: use max memory block size with unaligned memory end

2020-06-05 Thread David Hildenbrand
On 04.06.20 22:00, Dave Hansen wrote: > On 6/4/20 11:12 AM, Daniel Jordan wrote: >>> E.g., on powerpc that's 16MB so they have *a lot* of memory blocks. >>> That's why that's not papering over the problem. Increasing the memory >>> block size isn't always the answer. >> Ok. If you don't mind, what

Re: [PATCH 0/5] cleanups

2020-06-05 Thread ý€€€„
On Tue, 2 Jun 2020, Paul E. McKenney wrote: On Mon, Jun 01, 2020 at 07:45:47PM +0100, Jules Irenge wrote: Jules Irenge (5): rcu/rcutorture: replace 0 with false rcu: replace 1 with true I queued these two, thank you! rcu: replace + with | This one I am not all that excited about

[PATCH 3/6 v4] arm64/vdso: Add time namespace page

2020-06-05 Thread Andrei Vagin
Allocate the time namespace page among VVAR pages. Provide __arch_get_timens_vdso_data() helper for VDSO code to get the code-relative position of VVARs on that special page. If a task belongs to a time namespace then the VVAR page which contains the system wide VDSO data is replaced with a names

Re: [PATCH v7 00/13] perf: support enable and disable commands in stat and record modes

2020-06-05 Thread Alexey Budankov
Friendly reminder. ~Alexey On 03.06.2020 18:47, Alexey Budankov wrote: > > Changes in v7: > - added missing perf-record.txt changes > - adjusted docs wording for --ctl-fd,ctl-fd-ack options > to additionally mention --delay=-1 effect > > v6: > https://lore.kernel.org/lkml/f8e3a714-d9b1-464

Re: [PATCH v4 7/7] mtd: spi-nor: macronix: Add Octal 8D-8D-8D supports for Macronix mx25uw51245g

2020-06-05 Thread Pratyush Yadav
On 05/06/20 10:53AM, masonccy...@mxic.com.tw wrote: > > > > > > > > > > > +#define MXIC_CR2_DUMMY_SET_ADDR 0x300 > > > > > + > > > > > +/* Fixup the dummy cycles to device and setup octa_dtr_enable() > */ > > > > > +static void mx25uw51245g_post_sfdp_fixups(struct spi_nor *nor) > > > > > +{ > >

Re: [PATCH] kernel/modules: fix build without ARCH_HAS_STRICT_MODULE_RWX

2020-06-05 Thread Miroslav Benes
Hi, On Thu, 4 Jun 2020, Max Filippov wrote: > On configurations with CONFIG_ARCH_HAS_STRICT_MODULE_RWX disabled kernel > build fails with the following message: > > kernel/module.c:3593:2: error: implicit declaration of function > ‘module_enable_ro’; > > Add empty module_enable_ro definitio

[PATCH v2] dt-bindings: usb: ti,keystone-dwc3.yaml: Improve schema

2020-06-05 Thread Roger Quadros
There were some review comments after the patch was integrated. Address those. Fixes: 1883a934e156 ("dt-bindings: usb: convert keystone-usb.txt to YAML") Signed-off-by: Roger Quadros --- Changelog: v2 - don't use quotes for enum/const string - use phandle instead of phandle-array for phys - add

Re: [PATCH] software node: recursively unregister child swnodes

2020-06-05 Thread Greg Kroah-Hartman
On Thu, Jun 04, 2020 at 01:57:01PM -0700, Jordan Hand wrote: > On 6/4/20 1:15 PM, Greg Kroah-Hartman wrote: > > On Thu, Jun 04, 2020 at 12:36:23PM -0700, jorh...@linux.microsoft.com wrote: > > > From: Jordan Hand > > > > > > If a child swnode is unregistered after it's parent, it can lead to > >

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-05 Thread Sargun Dhillon
On Thu, Jun 04, 2020 at 02:52:26PM +0200, Christian Brauner wrote: > On Wed, Jun 03, 2020 at 07:22:57PM -0700, Kees Cook wrote: > > On Thu, Jun 04, 2020 at 03:24:52AM +0200, Christian Brauner wrote: > > > On Tue, Jun 02, 2020 at 06:10:41PM -0700, Sargun Dhillon wrote: > > > > Previously there were

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-05 Thread Patrick Bellasi
Hi Qais, On Wed, Jun 03, 2020 at 18:52:00 +0200, Qais Yousef wrote... > On 06/03/20 16:59, Vincent Guittot wrote: >> When I want to stress the fast path i usually use "perf bench sched pipe -T " >> The tip/sched/core on my arm octo core gives the following results for >> 20 iterations of perf

Re: [RFC 1/4] regulator: lp87565: enable voltage regardless of ENx pin

2020-06-05 Thread Luca Ceresoli
Hi Mark, On 04/06/20 13:07, Mark Brown wrote: > On Wed, Jun 03, 2020 at 10:03:16PM +0200, Luca Ceresoli wrote: > >> I suspect the only solution that allows to configure the EN_PIN_CTRLn bits >> correctly in all the possible hardware setups would be to tell in device >> tree / board info whether e

Re: (EXT) RE: [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family

2020-06-05 Thread Matthias Schiffer
On Fri, 2020-06-05 at 02:45 +, Robin Gong wrote: > On 2020/06/03 Matthias Schiffer > wrote: > > On Wed, 2020-06-03 at 09:50 +, Robin Gong wrote: > > > On 2020/06/03 Matthias Schiffer < > > > matthias.schif...@ew.tq-group.com> > > > wrote: > > > > On Thu, 2020-05-21 at 04:34 +0800, Robin G

[PATCH] scsi: storvsc: Remove memset before memory freeing in storvsc_suspend()

2020-06-05 Thread Denis Efremov
Remove memset with 0 for stor_device->stor_chns in storvsc_suspend() before the call to kfree() as the memory contains no sensitive information. Fixes: 56fb10585934 ("scsi: storvsc: Add the support of hibernation") Suggested-by: Dexuan Cui Signed-off-by: Denis Efremov --- drivers/scsi/storvsc_d

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 5, 2020 at 12:16 AM Michael Walle wrote: > > Add the core support for the board management controller found on the > SMARC-sAL28 board. It consists of the following functions: > - watchdog > - GPIO controller > - PWM controller > - fan sensor > - interrupt controller > > At the mo

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-05 Thread Greg Kroah-Hartman
On Thu, Jun 04, 2020 at 12:38:18PM -0700, Rajat Jain wrote: > Hello, > > I spent some more thoughts into this... > > On Wed, Jun 3, 2020 at 5:16 AM Greg Kroah-Hartman > wrote: > > > > On Wed, Jun 03, 2020 at 04:51:18AM -0700, Rajat Jain wrote: > > > Hello, > > > > > > > > > > > > Thanks for the

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 5, 2020 at 11:01 AM Andy Shevchenko wrote: > On Fri, Jun 5, 2020 at 12:16 AM Michael Walle wrote: ... > > Please note that the MFD driver is defined as bool in the Kconfig > > because the next patch will add interrupt support. > > + bool "Kontron sl28 core driver" > > +

Re: [PATCH v8 08/14] media: platform: Change case for improving code quality

2020-06-05 Thread Xia Jiang
On Mon, 2020-05-11 at 10:37 +0200, Hans Verkuil wrote: > On 03/04/2020 11:40, Xia Jiang wrote: > > Change register offset hex numberals from upercase to lowercase. > > Typos: > > numberals -> numerals > > upercase -> uppercase Done. > > Regards, > > Hans > > > > > Signed-off-by: Xia Ji

Re: [PATCH V2 1/2] mmc: sdhci-msm: Add interconnect bandwidth scaling support

2020-06-05 Thread ppvk
On 2020-06-05 00:04, Sibi Sankar wrote: On 2020-06-04 22:39, Matthias Kaehlcke wrote: On Thu, Jun 04, 2020 at 04:44:42PM +0530, Pradeep P V K wrote: Interconnect bandwidth scaling support is now added as a part of OPP [1]. So, make sure interconnect driver is ready before handling interconnect

Re: [PATCH v4 03/11] irqchip: add sl28cpld interrupt controller support

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 5, 2020 at 12:13 AM Michael Walle wrote: > > Add support for the interrupt controller inside the sl28 CPLD management > controller. > > The interrupt controller can handle at most 8 interrupts and is really > simplistic and consists only of an interrupt mask and an interrupt > pending

RE: [PATCH] scsi: storvsc: Remove memset before memory freeing in storvsc_suspend()

2020-06-05 Thread Dexuan Cui
> From: Denis Efremov > Sent: Friday, June 5, 2020 1:00 AM > To: Dexuan Cui ; Michael Kelley > > Cc: Denis Efremov ; James E . J . Bottomley > ; Martin K . Petersen ; > linux-hyp...@vger.kernel.org; Linux SCSI List ; > Linux Kernel Mailing List > Subject: [PATCH] scsi: storvsc: Remove memset bef

Re: system time goes weird in kvm guest after host suspend/resume

2020-06-05 Thread Paolo Bonzini
On 05/06/20 09:35, Miklos Szeredi wrote: >> time(2) instead should actually be gettimeofday(2), which just returns >> tk->xtime_sec. So the problem is the nanosecond part which is off by >> 2199*10^9 nanoseconds, and that is suspiciously close to 2^31... > Yep: looking at the nanosecond values as

Re: [PATCH v8 14/14] media: platform: Add jpeg dec/enc feature

2020-06-05 Thread Xia Jiang
On Mon, 2020-05-11 at 11:04 +0200, Hans Verkuil wrote: > On 03/04/2020 11:40, Xia Jiang wrote: > > Add mtk jpeg encode v4l2 driver based on jpeg decode, because that jpeg > > decode and encode have great similarities with function operation. > > > > Signed-off-by: Xia Jiang > > --- > > v8:jpeg en

Re: Security Random Number Generator support

2020-06-05 Thread Russell King - ARM Linux admin
On Fri, Jun 05, 2020 at 03:19:03PM +0800, Neal Liu wrote: > On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > > This kind of thing is something that ARM have seems to shy away from > > doing - it's a point I brought up many years ago when the whole > > trustzone thing first

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

2020-06-05 Thread Peter Zijlstra
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 wrote: > > + BUILD_BUG_ON(offsetof(struct task_struct, wake_entry_type) - > > offsetof(struct task_struct, wake_entry) != > > +offsetof(struct __call_single_

[GIT PULL v3] x86/mm changes for v5.8

2020-06-05 Thread Ingo Molnar
* Linus Torvalds wrote: > On Thu, Jun 4, 2020 at 10:29 AM Ingo Molnar wrote: > > > > Yeah, sure - here's the updated pull request for the rest: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > x86-mm-2020-06-04 > > > ># HEAD: bd1de2a7aace4d1d312fb1be264b8fafdb70620

Re: [PATCH] mm/vmalloc: track which page-table levels were modified

2020-06-05 Thread Joerg Roedel
On Thu, Jun 04, 2020 at 10:16:07AM -0700, Linus Torvalds wrote: > On Thu, Jun 4, 2020 at 1:35 AM Joerg Roedel wrote: > > > > I posted the fix for this already: > > > > https://lore.kernel.org/lkml/20200604074446.23944-1-j...@8bytes.org/ > > Ugh. > > I was going to apply this directly, bu

Re: [PATCH v3 01/18] nitro_enclaves: Add ioctl interface definition

2020-06-05 Thread Stefan Hajnoczi
On Mon, Jun 01, 2020 at 10:20:18AM +0300, Paraschiv, Andra-Irina wrote: > > > On 01/06/2020 06:02, Benjamin Herrenschmidt wrote: > > On Wed, 2020-05-27 at 09:49 +0100, Stefan Hajnoczi wrote: > > > What about feature bits or a API version number field? If you add > > > features to the NE driver, h

Re: [PATCH v4 04/11] watchdog: add support for sl28cpld watchdog

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 5, 2020 at 12:14 AM Michael Walle wrote: > > Add support for the watchdog of the sl28cpld board management > controller. This is part of a multi-function device driver. ... > +#include Didn't find a user of this. ... > +static bool nowayout = WATCHDOG_NOWAYOUT; > +module_param(no

Re: v5.7: new core kernel option missing help text

2020-06-05 Thread Russell King - ARM Linux admin
On Thu, Jun 04, 2020 at 04:38:40PM +0100, Valentin Schneider wrote: > diff --git a/init/Kconfig b/init/Kconfig > index 74a5ac65644f..ba846f6e805b 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -439,8 +439,11 @@ config HAVE_SCHED_AVG_IRQ > depends on SMP > > config SCHED_THERMAL_PRE

Re: [PATCH v4 05/11] pwm: add support for sl28cpld PWM controller

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 5, 2020 at 12:16 AM Michael Walle wrote: > > Add support for the PWM controller of the sl28cpld board management > controller. This is part of a multi-function device driver. > > The controller has one PWM channel and can just generate four distinct > frequencies. So same comments (ex

Re: [PATCH] mm/vmalloc: track which page-table levels were modified

2020-06-05 Thread Joerg Roedel
On Thu, Jun 04, 2020 at 02:12:14PM -0700, Linus Torvalds wrote: > That said, the commentary about "why is p.._alloc_track() in such a > core header file, when it's only used by two special cases" is > probably still true regardless of the 5-level fixup header.. I assume > Mike didn't do those kinds

Re: [PATCH v8 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-06-05 Thread Nicolas Saenz Julienne
On Thu, 2020-06-04 at 21:26 -0500, John Donnelly wrote: > On 6/4/20 12:01 PM, Nicolas Saenz Julienne wrote: > > On Thu, 2020-06-04 at 01:17 +0530, Bhupesh Sharma wrote: > > > Hi All, > > > > > > On Wed, Jun 3, 2020 at 9:03 PM John Donnelly > > > wrote: > > > > > On Jun 3, 2020, at 8:20 AM, chenzh

Re: LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01

2020-06-05 Thread Yang Xu
Hi Martijn Hi Naresh, I just sent a patch and cc'd you. I verified all the loop tests pass again with that patch. I think you want to say "without". I verified the ioctl_loop01 fails with faf1d25440 ("loop: Clean up LOOP_SET_STATUS lo_flags handling"). This kernel commit breaks old behaviou

Guten Tag, wie geht es ihnen?

2020-06-05 Thread Andy Jack Chin
Hallo mein guter Freund. Guten Tag, wie geht es ihnen? Es ist zu lange her, dass ich von dir höre. Im Moment freue ich mich sehr, Sie über meinen Erfolg bei der Überweisung dieser Erbschaftsgelder in Zusammenarbeit mit einem neuen Partner aus Indien zu informieren. Er ist ein Deutscher, lebt aber

Re: LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01

2020-06-05 Thread Jan Stancek
- Original Message - > Following three test cases reported as regression on Linux mainline kernel > on x86_64, arm64, arm and i386 > > ltp-syscalls-tests: > * ioctl_loop01 > * mknod07 Test updated: https://github.com/linux-test-project/ltp/commit/13fcfa2d6bdd1fb71c4528b471

[PATCH -tip v3 1/2] kcov: Make runtime functions noinstr-compatible

2020-06-05 Thread Marco Elver
While we lack a compiler attribute to add to noinstr that would disable KCOV, make the KCOV runtime functions return if the caller is in a noinstr section, and mark them noinstr. Declare write_comp_data() as __always_inline to ensure it is inlined, which also reduces stack usage and removes one ex

[PATCH -tip v3 2/2] kcov: Unconditionally add -fno-stack-protector to compiler options

2020-06-05 Thread Marco Elver
Unconditionally add -fno-stack-protector to KCOV's compiler options, as all supported compilers support the option. This saves a compiler invocation to determine if the option is supported. Because Clang does not support -fno-conserve-stack, and -fno-stack-protector was wrapped in the same cc-opti

Re: [PATCH 13/18] drm/amdgpu/dc: Stop dma_resv_lock inversion in commit_tail

2020-06-05 Thread Pierre-Eric Pelloux-Prayer
Hi Daniel, On 04/06/2020 10:12, Daniel Vetter wrote: [...] > @@ -6910,7 +6910,11 @@ static void amdgpu_dm_commit_planes(struct > drm_atomic_state *state, >* explicitly on fences instead >* and in general should be called for >* blocking commit to as

Re: [PATCH v2] block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Markus Elfring
> … released the refcount of the bdev (actually the refcount of > the bdev inode). Wording adjustments: … released the reference count of the block device inode. > … access bdev after … … access block device after … > accually bdev is … bdev is … > … This may leads to use-after-free if the

[PATCH v4 1/5] dt-bindings: bus: Add firewall bindings

2020-06-05 Thread Benjamin Gaignard
Add schemas for firewall consumer and provider. Signed-off-by: Benjamin Gaignard Reviewed-by: Linus Walleij --- .../bindings/bus/stm32/firewall-consumer.yaml | 36 ++ .../bindings/bus/stm32/firewall-provider.yaml | 18 +++ 2 files changed, 54 insertions(+)

[PATCH v4 4/5] bus: stm32: Add stm32 ETZPC firewall bus controller

2020-06-05 Thread Benjamin Gaignard
Add STM32 Extended TrustZone Protection bus controller. For each of device-tree nodes it will check and apply firewall configuration. If it doesn't match the device will not be probed by platform bus. A device could be configured to be accessible by trusted world, co-processor or non-secure world.

[PATCH v4 5/5] ARM: dts: stm32: Use ETZPC firewall bus

2020-06-05 Thread Benjamin Gaignard
Allow STM32 ETZPC to check firewall configuration before populating the platform bus. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32mp151.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp15

[PATCH v4 2/5] bus: stm32: Introduce firewall controller helpers

2020-06-05 Thread Benjamin Gaignard
The goal of these helpers are to offer an interface for the hardware blocks controlling bus accesses rights. Bus firewall controllers are typically used to control if a hardware block can perform read or write operations on bus. Smarter firewall controllers could be able to define accesses rights

[PATCH v4 3/5] dt-bindings: bus: Add STM32 ETZPC firewall controller

2020-06-05 Thread Benjamin Gaignard
Document STM32 ETZPC firewall controller bindings Signed-off-by: Benjamin Gaignard --- .../bindings/bus/stm32/st,stm32-etzpc.yaml | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/stm32/st,stm32-etzpc.yaml diff --git

[PATCH v4 0/5] STM32 ETZPC bus controller

2020-06-05 Thread Benjamin Gaignard
STM32 Extended TrustZone Protection controller act like a firewall on the platform bus. Depending of its configuration devices could be accessible by the TrustZone, the co-processor or the non-secure world. ETZPC configuration could evolve at runtime for example to switch a device from non-secure w

Re: [PATCH RFC 11/13] vhost/scsi: switch to buf APIs

2020-06-05 Thread Stefan Hajnoczi
On Tue, Jun 02, 2020 at 09:06:20AM -0400, Michael S. Tsirkin wrote: > Switch to buf APIs. Doing this exposes a spec violation in vhost scsi: > all used bufs are marked with length 0. > Fix that is left for another day. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/vhost/scsi.c | 73 +

Re: [PATCH RFC 12/13] vhost/vsock: switch to the buf API

2020-06-05 Thread Stefan Hajnoczi
On Tue, Jun 02, 2020 at 09:06:22AM -0400, Michael S. Tsirkin wrote: > A straight-forward conversion. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/vhost/vsock.c | 30 ++ > 1 file changed, 18 insertions(+), 12 deletions(-) Reviewed-by: Stefan Hajnoczi signa

5.7.0 / BUG: kernel NULL pointer dereference / setup_cpu_watcher

2020-06-05 Thread Christian Kujau
Hi, I'm running a small Xen PVH domain and upgrading from vanilla 5.6.0 to 5.7.0 caused the splat below, really early during boot. The configuration has not changed, all new "make oldconfig" prompts have been answered with "N". Old and new config, dmesg are here: http://nerdbynature.de/bits/

Re: [PATCH 0/2] overlayfs: C/R enhancements

2020-06-05 Thread Pavel Tikhomirov
On 6/5/20 5:35 AM, Amir Goldstein wrote: On Fri, Jun 5, 2020 at 12:34 AM Alexander Mikhalitsyn wrote: Hello, But overlayfs won't accept these "output only" options as input args, which is a problem. Will it be problematic if we simply ignore "lowerdir_mnt_id" and "upperdir_mnt_id" opti

Re: [PATCH v2 00/91] drm/vc4: Support BCM2711 Display Pipelin

2020-06-05 Thread Jian-Hong Pan
Maxime Ripard 於 2020年6月2日 週二 下午7:04寫道: > > Hi, > > On Mon, Jun 01, 2020 at 03:58:26PM +0800, Jian-Hong Pan wrote: > > Maxime Ripard 於 2020年5月28日 週四 下午3:30寫道: > > > > > > Hi Daniel, > > > > > > On Wed, May 27, 2020 at 05:15:12PM +0800, Daniel Drake wrote: > > > > On Wed, May 27, 2020 at 5:13 PM Ma

Re: [PATCH v2] spi: bcm2835: Enable shared interrupt support

2020-06-05 Thread Nicolas Saenz Julienne
Hi Florian, Thanks for taking over this! On Thu, 2020-06-04 at 14:28 -0700, Florian Fainelli wrote: > The 4 SPI controller instances added in BCM2711 and BCM7211 SoCs (SPI3, > SPI4, SPI5 and SPI6) share the same interrupt line with SPI0. I think this isn't 100% correct. SPI0 has its own interrupt

Re: [PATCH v4 05/11] pwm: add support for sl28cpld PWM controller

2020-06-05 Thread Lee Jones
On Thu, 04 Jun 2020, Michael Walle wrote: > Add support for the PWM controller of the sl28cpld board management > controller. This is part of a multi-function device driver. > > The controller has one PWM channel and can just generate four distinct > frequencies. > > Signed-off-by: Michael Walle

Re: [PATCH 5/6] vdpa: introduce virtio pci driver

2020-06-05 Thread Jason Wang
On 2020/6/2 下午3:08, Jason Wang wrote: +static const struct pci_device_id vp_vdpa_id_table[] = { +    { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, +    { 0 } +}; This looks like it'll create a mess with either virtio pci or vdpa being loaded at random. Maybe just don't specify a

Re: [PATCH RFC v4 00/13] virtio-mem: paravirtualized memory

2020-06-05 Thread Alex Shi
在 2020/1/9 下午9:48, David Hildenbrand 写道: > Ping, > > I'd love to get some feedback on > > a) The remaining MM bits from MM folks (especially, patch #6 and #8). > b) The general virtio infrastructure (esp. uapi in patch #2) from virtio > folks. > > I'm planning to send a proper v1 (!RFC) once

[PATCH] f2fs: allow writeback on error status filesystem

2020-06-05 Thread Chao Yu
71.07% 0.01% kworker/u256:1+ [kernel.kallsyms] [k] wb_writeback | --71.06%--wb_writeback | |--68.96%--__writeback_inodes_wb | | | --68.95%--writeback_sb

Re: [PATCH] usb: gadget: function: printer: Fix use-after-free in __lock_acquire()

2020-06-05 Thread Markus Elfring
> Fix this by increase object reference count. I find this description incomplete according to the proposed changes. Would you like to add the tag “Fixes” to the commit message? Regards, Markus

Re: [PATCH 1/3] dma-direct: provide the ability to reserve per-numa CMA

2020-06-05 Thread Dan Carpenter
On Fri, Jun 05, 2020 at 06:04:31AM +, Song Bao Hua (Barry Song) wrote: > > > > -Original Message- > > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > > Sent: Thursday, June 4, 2020 11:37 PM > > To: kbu...@lists.01.org; Song Bao Hua (Barry Song) > > ; h...@lst.de; m.szyprow...@

Re: [RFC] dt-bindings: mailbox: add doorbell support to ARM MHU

2020-06-05 Thread Sudeep Holla
On Fri, Jun 05, 2020 at 01:30:54AM -0500, Jassi Brar wrote: > On Thu, Jun 4, 2020 at 11:56 PM Sudeep Holla wrote: > > > > > > >> bash-1526 [000] 1149.472553: scmi_xfer_begin: > > > >> transfer_id=1538 msg_id=6 protocol_id=21 seq=0 poll=0 > > > >> -0 [001] 1149.472733: scmi_xf

Re: Security Random Number Generator support

2020-06-05 Thread Neal Liu
On Fri, 2020-06-05 at 09:09 +0100, Russell King - ARM Linux admin wrote: > On Fri, Jun 05, 2020 at 03:19:03PM +0800, Neal Liu wrote: > > On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > > > This kind of thing is something that ARM have seems to shy away from > > > doing -

Re: [LTP] LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01

2020-06-05 Thread Yang Xu
Hi Martijn Sorry for noise. I see your patch in here[1] . I will modify ioctl_loop01 to test that LO_FLAGS_PARTSCAN can not clear and LO_FLAGS_AUTOCLEAR can be clear. ps: Giving the url of patch is better so that other people doesn't need to investigate it again. [1]https://patchwork.kernel

Re: [PATCH v2 1/1] riscv: Select ARCH_SUPPORTS_ATOMIC_RMW by default

2020-06-05 Thread Anup Patel
On Fri, Jun 5, 2020 at 10:45 AM Chenxi Mao wrote: > > Select ARCH_SUPPORTS_ATOMIC_RMW by default to enabel osqlocks. > > PS2: Add signed off info. > > Signed-off-by: Chenxi Mao > --- > arch/riscv/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kco

Re: [PATCH v3 4/7] mfd: arizona: Move binding over to dtschema

2020-06-05 Thread Charles Keepax
On Wed, May 27, 2020 at 01:43:29PM -0600, Rob Herring wrote: > On Wed, May 13, 2020 at 10:57:17AM +0100, Charles Keepax wrote: > > Signed-off-by: Charles Keepax > > --- > > +LDOVDD-supply: > > + description: > > +Digital power supply, used internally to generate DCVDD

Re: [PATCH v2] block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Jason Yan
Hi, Markus Thanks for the review. Sorry for the wording because I'm not an English native speaker. 在 2020/6/5 16:30, Markus Elfring 写道: Would you like to add the tag “Fixes” to the commit message? I tried to find the commit in the git history which introduced this issue, but I am not sur

Re: [PATCH] ARM: imx6: add missing put_device() call in imx6q_suspend_init()

2020-06-05 Thread yukuai (C)
On 2020/6/5 3:07, Markus Elfring wrote: if of_find_device_by_node() succeed, imx6q_suspend_init() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Do you find a previous update suggestion useful? ARM: imx6: Add mi

Re: [PATCH RFC v4 00/13] virtio-mem: paravirtualized memory

2020-06-05 Thread David Hildenbrand
On 05.06.20 10:55, Alex Shi wrote: > > > 在 2020/1/9 下午9:48, David Hildenbrand 写道: >> Ping, >> >> I'd love to get some feedback on >> >> a) The remaining MM bits from MM folks (especially, patch #6 and #8). >> b) The general virtio infrastructure (esp. uapi in patch #2) from virtio >> folks. >> >>

Re: slub freelist issue / BUG: unable to handle page fault for address: 000000003ffe0018

2020-06-05 Thread Vlastimil Babka
On 6/4/20 8:46 PM, Vlastimil Babka wrote: > On 6/4/20 7:57 PM, Kees Cook wrote: >> On Thu, Jun 04, 2020 at 07:20:18PM +0200, Vegard Nossum wrote: >>> On 2020-06-04 19:18, Vlastimil Babka wrote: On 6/4/20 7:14 PM, Vegard Nossum wrote: > > Hi all, > > I ran into a boot problem wi

Re: [LTP] LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01

2020-06-05 Thread Martijn Coenen
Hey Yang, On Fri, Jun 5, 2020 at 10:59 AM Yang Xu wrote: > > Hi Martijn > > Sorry for noise. I see your patch in here[1] . I will modify > ioctl_loop01 to test that LO_FLAGS_PARTSCAN can not clear and > LO_FLAGS_AUTOCLEAR can be clear. Thanks, that would indeed be useful. > > ps: Giving the url

[PATCH 2/2] MIPS: Add writable-applies-readable policy with pgrot

2020-06-05 Thread Bibo Mao
On Linux system, writable applies readable privilege in most architectures, this patch adds this policy on MIPS platform where hardware rixi is supported. Signed-off-by: Bibo Mao --- arch/mips/mm/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/mm/cache.c

[PATCH 1/2] MIPS: set page access bit with pgprot on some MIPS platform

2020-06-05 Thread Bibo Mao
On MIPS system which has rixi hardware bit, page access bit is not set in pgrot. For memory reading, there will be one page fault to allocate physical page; however valid bit is not set, there will be the second fast tlb-miss fault handling to set valid/access bit. This patch set page access/valid

Re: [PATCH 3/4] platform/chrome: typec: Add USB mux control

2020-06-05 Thread Prashant Malani
Hi, On Thu, May 28, 2020 at 04:36:07AM -0700, Prashant Malani wrote: > Add support to configure various Type C switches appropriately using the > Type C connector class API, when the Chrome OS EC informs the AP that > the USB operating mode has been entered. > > Signed-off-by: Prashant Malani Fo

Re: [PATCH 4/4] platform/chrome: typec: Support DP alt mode

2020-06-05 Thread Prashant Malani
Hi, On Thu, May 28, 2020 at 04:36:10AM -0700, Prashant Malani wrote: > Handle Chrome EC mux events to configure on-board muxes correctly while > entering DP alternate mode. Since we don't surface SVID and VDO > information regarding the DP alternate mode, configure the Type C > muxes directly from

Re: [PATCH v2] crypto: hisilicon - allow smaller reads in debugfs

2020-06-05 Thread Dan Carpenter
On Fri, Jun 05, 2020 at 09:19:53AM +0800, Shukun Tan wrote: > Hi Dan, > > On 2020/6/2 21:54, Dan Carpenter wrote: > > Originally this code rejected any read less than 256 bytes. There > > is no need for this artificial limit. We should just use the normal > > helper functions to read a string fr

Re: [PATCH] usb: gadget: function: printer: Fix use-after-free in __lock_acquire()

2020-06-05 Thread Greg Kroah-Hartman
On Fri, Jun 05, 2020 at 10:57:55AM +0200, Markus Elfring wrote: > > Fix this by increase object reference count. > > I find this description incomplete according to the proposed changes. > > Would you like to add the tag “Fixes” to the commit message? Hi, This is the semi-friendly patch-bot of

Re: [PATCH 4/4] objtool: orc_gen: Move orc_entry out of instruction structure

2020-06-05 Thread Miroslav Benes
Hi, a nit below... On Thu, 4 Jun 2020, Julien Thierry wrote: > One orc_entry is associated with each instruction in the object file, > but having the orc_entry contained by the instruction structure forces > architectures not implementing the orc subcommands to provide a dummy > definition of th

Re: [PATCH 04/10] rtlwifi: rtl8192cu: Remove uninitialized_var() usage

2020-06-05 Thread Kalle Valo
Kees Cook writes: > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings (e.g. > "unused variable"). If the compiler thinks it is uninitialized, either > simply initialize the variable or make compiler changes.

Re: linux-next: manual merge of the ipsec-next tree with Linus' tree

2020-06-05 Thread Steffen Klassert
On Thu, Jun 04, 2020 at 06:44:10AM -0600, David Ahern wrote: > On 6/4/20 12:41 AM, Steffen Klassert wrote: > > On Wed, Jun 03, 2020 at 08:55:01PM -0600, David Ahern wrote: > >> On 6/3/20 7:26 PM, Stephen Rothwell wrote: > >>> > >>> And now the net-next tree has been merged into Linus' tree without

Re: 5.7.0 / BUG: kernel NULL pointer dereference / setup_cpu_watcher

2020-06-05 Thread Jürgen Groß
On 05.06.20 10:36, Christian Kujau wrote: Hi, I'm running a small Xen PVH domain and upgrading from vanilla 5.6.0 to 5.7.0 caused the splat below, really early during boot. The configuration has not changed, all new "make oldconfig" prompts have been answered with "N". Old and new config, dmesg

Re: [PATCH 03/10] b43: Remove uninitialized_var() usage

2020-06-05 Thread Kalle Valo
Kees Cook writes: > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings (e.g. > "unused variable"). If the compiler thinks it is uninitialized, either > simply initialize the variable or make compiler changes.

[PATCH 1/2] mm/page_idle.c: Skip offline pages

2020-06-05 Thread SeongJae Park
From: SeongJae Park 'Idle page tracking' users can pass random pfn that might be mapped to an offline page. To avoid accessing such pages, this commit modifies the 'page_idle_get_page()' to use 'pfn_to_online_page()' instead of 'pfn_valid()' and 'pfn_to_page()' combination, so that the pfn mappe

[PATCH 0/2] Trivial fixups

2020-06-05 Thread SeongJae Park
From: SeongJae Park This patchset fixes a potential problem in idle page tracking and adds more typos in the scripts/spelling.txt. The problem and the typos were found during my DAMON[1] work. This patchset is based on next/akpm. [1] https://lore.kernel.org/linux-mm/20200602130125.20467-1-sjp.

[PATCH 2/2] scripts/spelling: Add a few more typos

2020-06-05 Thread SeongJae Park
From: SeongJae Park This commit adds typos I found from another works. Signed-off-by: SeongJae Park --- scripts/spelling.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/scripts/spelling.txt b/scripts/spelling.txt index d9cd24cf0d40..c45e9afaab2d 100644 --- a/scripts/spelling.t

Re: [PATCH 09/10] treewide: Remove uninitialized_var() usage

2020-06-05 Thread Kalle Valo
Kees Cook writes: > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings > (e.g. "unused variable"). If the compiler thinks it is uninitialized, > either simply initialize the variable or make compiler changes.

Re: [PATCH v2] gpiolib: split character device into gpiolib-cdev

2020-06-05 Thread Bartosz Golaszewski
pt., 5 cze 2020 o 01:30 Kent Gibson napisał(a): > > On Thu, Jun 04, 2020 at 06:22:43PM +0200, Bartosz Golaszewski wrote: > > czw., 4 cze 2020 o 16:18 Kent Gibson napisał(a): > > > > > > > > > > > Is this comment relevant for the character device? > > > > > > > > > > True - that comment should sta

Re: [PATCH 1/2] mm/page_idle.c: Skip offline pages

2020-06-05 Thread David Hildenbrand
On 05.06.20 11:25, SeongJae Park wrote: > From: SeongJae Park > > 'Idle page tracking' users can pass random pfn that might be mapped to > an offline page. To avoid accessing such pages, this commit modifies > the 'page_idle_get_page()' to use 'pfn_to_online_page()' instead of > 'pfn_valid()' an

Re: [LTP] LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01

2020-06-05 Thread Yang Xu
Hi Martign Also for your kernel commit, lo->lo_flags |= prev_lo_flags & ~LOOP_SET_STATUS_SETTABLE_FLAGS; lo->lo_flags |= prev_lo_flags & ~LOOP_SET_STATUS_CLEARABLE_FLAGS; since ~LOOP_SET_STATUS_SETTABLE_FLAGS has been included in ~LOOP_SET_STATUS_CLEARABLE_FLAGS, do we still need the previous

Re: Security Random Number Generator support

2020-06-05 Thread Russell King - ARM Linux admin
On Fri, Jun 05, 2020 at 04:59:42PM +0800, Neal Liu wrote: > On Fri, 2020-06-05 at 09:09 +0100, Russell King - ARM Linux admin wrote: > > On Fri, Jun 05, 2020 at 03:19:03PM +0800, Neal Liu wrote: > > > On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > > > > This kind of thin

Re: [PATCH v3 12/25] clk: bcm: rpi: Use CCF boundaries instead of rolling our own

2020-06-05 Thread Maxime Ripard
Hi Nicolas, On Thu, Jun 04, 2020 at 08:02:22PM +0200, Nicolas Saenz Julienne wrote: > On Wed, 2020-05-27 at 17:45 +0200, Maxime Ripard wrote: > > The raspberrypi firmware clock driver has a min_rate / max_rate clamping by > > storing the info it needs in a private structure. > > > > However, the

[RFC PATCH v7 0/3] scheduler: Add scheduler overview

2020-06-05 Thread john mathew
This patch series updates the scheduler documentation to add more topics wrt to scheduler overview. New sections are added to provide a brief overview of the kernel structs used by the scheduler, scheduler invocation, context switch and Capacity Aware Scheduling. Previous version of the patch was r

  1   2   3   4   5   6   7   8   9   10   >