Re: [PATCH v2] dmaengine: stm32-dma: call pm_runtime_put if pm_runtime_get_sync fails

2020-06-03 Thread Markus Elfring
>> How do you think about a wording variant like the following? > Please stop proposing rewording on my patches! I am trying to remind you on open issues according to patch review concerns. > I will consider updating my patches only if a maintainer asks for it. * I hope that more contributors w

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

2020-06-03 Thread Bhupesh Sharma
Hi All, On Wed, Jun 3, 2020 at 9:03 PM John Donnelly wrote: > > > > > On Jun 3, 2020, at 8:20 AM, chenzhou wrote: > > > > Hi, > > > > > > On 2020/6/3 19:47, Prabhakar Kushwaha wrote: > >> Hi Chen, > >> > >> On Tue, Jun 2, 2020 at 8:12 PM John Donnelly > >> wrote: > >>> > >>> > On Jun 2, 2

Re: [RFC][PATCH 05/14] ia64: csum_partial_copy_nocheck(): don't abuse csum_partial_copy_from_user()

2020-06-03 Thread Guenter Roeck
On Wed, Jun 03, 2020 at 08:10:38PM +0100, Al Viro wrote: > On Wed, Jun 03, 2020 at 08:37:14AM -0700, Guenter Roeck wrote: > > On Fri, Mar 27, 2020 at 11:31:08PM +, Al Viro wrote: > > > From: Al Viro > > > > > > Just inline the call and use memcpy() instead of __copy_from_user() and > > > note

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

2020-06-03 Thread Russell King - ARM Linux admin
On Wed, Jun 03, 2020 at 09:24:56PM +0200, Vincent Guittot wrote: > On Wed, 3 Jun 2020 at 20:45, Russell King - ARM Linux admin > wrote: > > It's a start. I'm still wondering whether I should answer yes or no > > for the platforms I'm building for. > > > > So far, all I've found is: > > > > arch/a

Re: [PATCH v3 13/13] PCI: brcmstb: Add bcm7211, bcm7216, bcm7445, bcm7278 to match list

2020-06-03 Thread Florian Fainelli
On 6/3/2020 12:20 PM, Jim Quinlan wrote: > Now that the support is in place with previous commits, we add several > chips that use the BrcmSTB driver. > > Signed-off-by: Jim Quinlan Acked-by: Florian Fainelli -- Florian

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

2020-06-03 Thread Luca Ceresoli
This driver enables outputs by setting bit EN_BUCKn in the BUCKn_CTRL1 register. However, if bit EN_PIN_CTRLn in the same register is set, the output is actually enabled only if EN_BUCKn is set AND an enable pin is active. Since the driver does not touch EN_PIN_CTRLn, the choice is left to the hard

[RFC 0/4] regulator: lp87565: ignore ENx pins and add LP87524-Q1

2020-06-03 Thread Luca Ceresoli
Hi, the first patch in this series is a small but significant variation in how the lp87565 driver enables the output rails, allow the kernel to always know when it is enabling an output. However it can change existing behaviour (depending on the hardware setup) and thus it should be carefully eval

[RFC 2/4] regulator: lp87565: dt: remove duplicated section

2020-06-03 Thread Luca Ceresoli
The "Required properties:" section is copied verbatim for each of the two supported chips. In preparation to add a new chip variant make it a common section and keep the two examples to differentiate between the two chips. Signed-off-by: Luca Ceresoli --- .../devicetree/bindings/mfd/lp87565.txt

[RFC 3/4] regulator: lp87565: dt: add LP87524-Q1 variant

2020-06-03 Thread Luca Ceresoli
Add the LP87524-Q1 to the lp87565 bindings document along with an example. Signed-off-by: Luca Ceresoli --- .../devicetree/bindings/mfd/lp87565.txt | 47 ++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/lp87565.txt b/D

[RFC 4/4] regulator: lp87565: add LP87524-Q1 variant

2020-06-03 Thread Luca Ceresoli
Add support for the LP87524B/J/P-Q1 Four 4-MHz Buck Converter. This is a variant of the LP87565 having 4 single-phase outputs and up to 10 A of total output current. Signed-off-by: Luca Ceresoli --- drivers/mfd/lp87565.c | 4 include/linux/mfd/lp87565.h | 1 + 2 files changed, 5 inser

Re: [PATCH v3 12/13] PCI: brcmstb: Set bus max burst size by chip type

2020-06-03 Thread Florian Fainelli
On 6/3/2020 12:20 PM, Jim Quinlan wrote: > From: Jim Quinlan > > The proper value of the parameter SCB_MAX_BURST_SIZE varies per chip. The > 2711 family requires 128B whereas other devices can employ 512. The > assignment is complicated by the fact that the values for this two-bit > field ha

Re: [PATCH v3 105/105] ARM: dts: bcm2711: Enable the display pipeline

2020-06-03 Thread Stefan Wahren
Hi Maxime, Am 27.05.20 um 17:49 schrieb Maxime Ripard: > Now that all the drivers have been adjusted for it, let's bring in the > necessary device tree changes. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 46 +++- > arch/arm/boot/dts/bcm2711.dtsi

Re: [git pull] drm for 5.8-rc1

2020-06-03 Thread Jason Gunthorpe
On Tue, Jun 02, 2020 at 04:06:32PM +1000, Dave Airlie wrote: > Hi Linus, > > This is the main drm pull request for 5.8-rc1. > > Highlights: > Core DRM had a lot of refactoring around managed drm resources to make > drivers simpler. > Intel Tigerlake support is on by default > amdgpu now support p

[git pull] [regression fix] uaccess.csum ia64 braino

2020-06-03 Thread Al Viro
The following changes since commit 001c1a655f0a4e4ebe5d9beb47466dc5c6ab4871: default csum_and_copy_to_user(): don't bother with access_ok() (2020-05-29 16:11:50 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git uaccess.csum for you

[PATCH] Bluetooth: Allow suspend even when preparation has failed

2020-06-03 Thread Abhishek Pandit-Subedi
It is preferable to allow suspend even when Bluetooth has problems preparing for sleep. When Bluetooth fails to finish preparing for suspend, log the error and allow the suspend notifier to continue instead. To also make it clearer why suspend failed, change bt_dev_dbg to bt_dev_err when handling

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

2020-06-03 Thread Vincent Guittot
On Wed, 3 Jun 2020 at 21:59, Russell King - ARM Linux admin wrote: > > On Wed, Jun 03, 2020 at 09:24:56PM +0200, Vincent Guittot wrote: > > On Wed, 3 Jun 2020 at 20:45, Russell King - ARM Linux admin > > wrote: > > > It's a start. I'm still wondering whether I should answer yes or no > > > for t

Re: [PATCH v3 05/13] PCI: brcmstb: Add suspend and resume pm_ops

2020-06-03 Thread Bjorn Helgaas
On Wed, Jun 03, 2020 at 03:20:37PM -0400, Jim Quinlan wrote: > From: Jim Quinlan > > Broadcom Set-top (BrcmSTB) boards typically support S2, S3, and S5 suspend > and resume. Now the PCIe driver may do so as well. > > Signed-off-by: Jim Quinlan > --- > drivers/pci/controller/pcie-brcmstb.c | 4

Re: [PATCH v14 0/3] i2c: npcm7xx: add NPCM i2c controller driver

2020-06-03 Thread Wolfram Sang
On Wed, May 27, 2020 at 11:08:17PM +0300, Tali Perry wrote: > This patch set adds i2c controller support > for the Nuvoton NPCM Baseboard Management Controller (BMC). > > NPCM7xx includes 16 I2C controllers. This driver operates the controller. > This module also includes a slave mode. > > --- >

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

2020-06-03 Thread Valentin Schneider
On 03/06/20 20:58, Russell King - ARM Linux admin wrote: > On Wed, Jun 03, 2020 at 09:24:56PM +0200, Vincent Guittot wrote: >> On Wed, 3 Jun 2020 at 20:45, Russell King - ARM Linux admin >> wrote: >> > It's a start. I'm still wondering whether I should answer yes or no >> > for the platforms I'

Re: [PATCH v3 04/13] PCI: brcmstb: Add bcm7278 reigister info

2020-06-03 Thread Florian Fainelli
On 6/3/2020 12:20 PM, Jim Quinlan wrote: > From: Jim Quinlan > > Add in compatibility strings and code for three Broadcom STB chips. Some > of the register locations, shifts, and masks are different for certain > chips, requiring the use of different constants based on of_id. > > We would li

Re: [PATCH v3 06/13] PCI: brcmstb: Add bcm7278 PERST support

2020-06-03 Thread Florian Fainelli
On 6/3/2020 12:20 PM, Jim Quinlan wrote: > From: Jim Quinlan > > The PERST bit was moved to a different register in 7278-type STB chips. In > addition, the polarity of the bit was also changed; for other chips writing > a 1 specified assert; for 7278-type chips, writing a 0 specifies assert.

Re: [RESEND PATCH v9 4/5] ndctl/papr_scm,uapi: Add support for PAPR nvdimm specific methods

2020-06-03 Thread Vaibhav Jain
Hi Ira, Thanks again for reviewing this patch. My Response below: Ira Weiny writes: > On Tue, Jun 02, 2020 at 01:51:49PM -0700, 'Ira Weiny' wrote: >> On Tue, Jun 02, 2020 at 03:44:37PM +0530, Vaibhav Jain wrote: > > ... > >> > + >> > +/* >> > + * PDSM Envelope: >> > + * >> > + * The ioctl ND_CM

KASAN: use-after-free Read in printer_ioctl

2020-06-03 Thread Kyungtae Kim
We report a bug (in linux-5.6.11) found by FuzzUSB (a modified version of syzkaller) This bug happened when accessing a deallocated instance in printer_ioctl(). This seems to be in line with the following bug. https://groups.google.com/forum/#!topic/syzkaller/U2SJOYi-S08 ===

Re: [PATCH v3 07/13] PCI: brcmstb: Add control of rescal reset

2020-06-03 Thread Florian Fainelli
On 6/3/2020 12:20 PM, Jim Quinlan wrote: > From: Jim Quinlan > > Some STB chips have a special purpose reset controller named RESCAL (reset > calibration). The PCIe HW can now control RESCAL to start and stop its > operation. > > Signed-off-by: Jim Quinlan Acked-by: Florian Fainelli -- F

[GIT PULL] HID for 5.8

2020-06-03 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus to receive HID subsystem updates for 5.8. Highlights: = - hid-mcp2221 GPIO support, from Rishi Gupta - MT_CLS_WIN_8_DUAL obsolete quirk removal from hid-multitouch, from Kai-Heng Feng - a bunch

[PATCH] KVM: VMX: Always treat MSR_IA32_PERF_CAPABILITIES as a valid PMU MSR

2020-06-03 Thread Sean Christopherson
Unconditionally return true when querying the validity of MSR_IA32_PERF_CAPABILITIES so as to defer the validity check to intel_pmu_{get,set}_msr(), which can properly give the MSR a pass when the access is initiated from host userspace. The MSR is emulated so there is no underlying hardware depen

Re: [PATCH v3 10/13] PCI: brcmstb: Set internal memory viewport sizes

2020-06-03 Thread Florian Fainelli
On 6/3/2020 12:20 PM, Jim Quinlan wrote: > BrcmSTB PCIe controllers are intimately connected to the memory > controller(s) on the SOC. There is a "viewport" for each memory controller > that allows inbound accesses to CPU memory. Each viewport's size must be > set to a power of two, and that s

Re: reference to Linux Foundation NDA program obsolete?

2020-06-03 Thread Jonathan Corbet
On Sun, 24 May 2020 07:33:29 +0200 (CEST) Lukas Bulwahn wrote: > http://www.linuxfoundation.org/en/NDA_program > > This kind of review is often enough to avoid serious problems later on > without requiring public disclosure of the project. > > <-- > > The link is dead; internet search only

Re: [PATCH] ovl: explicitly initialize error in ovl_copy_xattr()

2020-06-03 Thread Kees Cook
On Wed, Jun 03, 2020 at 07:47:14PM +0200, gli...@google.com wrote: > Under certain circumstances (we found this out running Docker on a > Clang-built kernel with CONFIG_INIT_STACK_ALL) ovl_copy_xattr() may > return uninitialized value of |error| from ovl_copy_xattr(). > It is then returned by ovl_c

Re: [PATCH v6 2/2] arm64/crash_core: Export TCR_EL1.T1SZ in vmcoreinfo

2020-06-03 Thread Bhupesh Sharma
Hi Kamlakant, Many thanks for having a look at the patchset. On Wed, Jun 3, 2020 at 4:50 PM Kamlakant Patel wrote: > > Hi Bhupesh, > > > -Original Message- > > From: kexec On Behalf Of Bhupesh > > Sharma > > Sent: Thursday, May 14, 2020 12:23 AM > > To: linux-arm-ker...@lists.infradead.

[PATCH] usb: add USB_QUIRK_DELAY_INIT for Logitech C922

2020-06-03 Thread Tomasz Meresiński
The Logitech C922, just like other Logitech webcams, needs the USB_QUIRK_DELAY_INIT or it will randomly not respond after device connection Signed-off-by: Tomasz Meresiński usb: add USB_QUIRK_DELAY_INIT for Logitech C922 The Logitech C922 webcam, just like other Logitech webcams, needs the USB_

Re: [PATCH] i2c: pxa: don't error out if there's no pinctrl

2020-06-03 Thread Wolfram Sang
On Tue, Jun 02, 2020 at 09:38:23PM +0200, Lubomir Rintel wrote: > The bus recovery patch regresses on OLPC XO-1.75 that has no pinctrl in > its DT. > > Fixes: 7c9ec2c52518 ("i2c: pxa: implement generic i2c bus recovery")' > Signed-off-by: Lubomir Rintel Applied to for-next, thanks! signature.

Re: Re: [RESEND PATCH v5 5/5] Documentation/vmcoreinfo: Add documentation for 'TCR_EL1.T1SZ'

2020-06-03 Thread Bhupesh Sharma
Hello Scott, On Thu, Jun 4, 2020 at 12:17 AM Scott Branden wrote: > > Hi Bhupesh, > > Would be great to get this patch series upstreamed? > > On 2019-12-25 10:49 a.m., Bhupesh Sharma wrote: > > Hi James, > > > > On 12/12/2019 04:02 PM, James Morse wrote: > >> Hi Bhupesh, > > > > I am sorry this r

[GIT PULL] livepatching for 5.8

2020-06-03 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git for-linus to receive livepatching subsystem updates for 5.8. You are going to get a minor conflict with modules tree; the correct resolution is documented at http://lore.kernel.org/r

Re: [PATCH 22/28] dt-bindings: i2c: Convert i2c-pxa to json-schema

2020-06-03 Thread Wolfram Sang
On Tue, Mar 17, 2020 at 10:39:16AM +0100, Lubomir Rintel wrote: > A conversion of the i2c-pxa binding to DT schema format using json-schema. > > This also cleans ups some errors in the binding: The compatible string > description suggested that "mmp" in "mrvl,mmp-twsi" is to be substituted > with

Re: [git pull] misc uaccess stuff

2020-06-03 Thread Nathan Chancellor
On Wed, Jun 03, 2020 at 08:23:06PM +0100, Al Viro wrote: > uaccess patches that really didn't fit anywhere else. > kvm_hv_set_msr() patch left as-is; __put_user() is by no means > final there, but that'll be dealt with along with other KVM > uaccess stuff next cycle. > > The following change

Re: [PATCH bpf v2] bpf: fix unused-var without NETDEVICES

2020-06-03 Thread Song Liu
On Wed, Jun 3, 2020 at 12:05 PM Matthieu Baerts wrote: > > A recent commit added new variables only used if CONFIG_NETDEVICES is > set. A simple fix would be to only declare these variables if the same > condition is valid but Alexei suggested an even simpler solution: > > since CONFIG_NETDEVI

Re: [PATCHES] uaccess hpsa

2020-06-03 Thread Martin K. Petersen
Hi Al! > OK... Acked-by/Tested-by added, branch re-pushed (commits are otherwise > identical). Which tree would you prefer that to go through - vfs.git, > scsi.git, something else? I don't have anything queued for 5.8 for hpsa so there shouldn't be any conflicts if it goes through vfs.git. Bu

Re: [git pull] misc uaccess stuff

2020-06-03 Thread Al Viro
On Wed, Jun 03, 2020 at 01:44:39PM -0700, Nathan Chancellor wrote: > > > > Al Viro (9): > > pselect6() and friends: take handling the combined 6th/7th args into > > helper > > binfmt_elf: don't bother with __{put,copy_to}

Re: [PATCHES] uaccess hpsa

2020-06-03 Thread Al Viro
On Wed, Jun 03, 2020 at 04:53:11PM -0400, Martin K. Petersen wrote: > > Hi Al! > > > OK... Acked-by/Tested-by added, branch re-pushed (commits are otherwise > > identical). Which tree would you prefer that to go through - vfs.git, > > scsi.git, something else? > > I don't have anything queued

Re: kobject_init_and_add is easy to misuse

2020-06-03 Thread James Bottomley
On Wed, 2020-06-03 at 16:30 -0300, Jason Gunthorpe wrote: > On Wed, Jun 03, 2020 at 12:02:08PM -0700, James Bottomley wrote: > > On Wed, 2020-06-03 at 15:36 -0300, Jason Gunthorpe wrote: > > > On Wed, Jun 03, 2020 at 11:04:35AM -0700, James Bottomley wrote: > > > > On Tue, 2020-06-02 at 21:22 -0300

Re: [PATCH] arch/{mips,sparc,microblaze,powerpc}: Don't enable pagefault/preempt twice

2020-06-03 Thread Andrew Morton
On Thu, 21 May 2020 10:42:50 -0700 Ira Weiny wrote: > > > > > > Actually it occurs to me that the patch consolidating kmap_prot is odd for > > > sparc 32 bit... > > > > > > Its a long shot but could you try reverting this patch? > > > > > > 4ea7d2419e3f kmap: consolidate kmap_prot definitions

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

2020-06-03 Thread Linus Torvalds
On Tue, Jun 2, 2020 at 5:55 AM Thomas Bogendoerfer wrote: > > Bibo Mao (4): > mm/memory.c: Add memory read privilege on page fault handling Hmm. That's a horribly named commit, but can you clarify why this didn't just use the existing pte_mkyoung? These are all paths that set the dirty bit

Re: [GIT PULL] SELinux patches for v5.8

2020-06-03 Thread Alexei Starovoitov
On Wed, Jun 03, 2020 at 10:37:47AM -0700, Linus Torvalds wrote: > On Wed, Jun 3, 2020 at 10:20 AM Casey Schaufler > wrote: > > > > We could have inode->i_security be the blob, rather than a pointer to it. > > That will have its own performance issues. > > It wouldn't actually really fix anything

Re: [git pull] misc uaccess stuff

2020-06-03 Thread Al Viro
On Wed, Jun 03, 2020 at 09:53:32PM +0100, Al Viro wrote: > On Wed, Jun 03, 2020 at 01:44:39PM -0700, Nathan Chancellor wrote: > > > > > > Al Viro (9): > > > pselect6() and friends: take handling the combined 6th/7th args > > >

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

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Tue, 2 Jun 2020 14:13:52 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > sched-core-2020-06-02 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d479c5a1919b4e569dcd3ae9c84ed74a675d0b94 Thank you! -- Deet-doot-dot, I a

Re: [git pull] [regression fix] uaccess.csum ia64 braino

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Wed, 3 Jun 2020 21:20:27 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git uaccess.csum has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e8f4abf8fd1a2beb94983cb95ed713df75b3d135 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [PULL 0/5] xtensa updates for v5.8

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Wed, 3 Jun 2020 02:23:29 -0700: > git://github.com/jcmvbkbc/linux-xtensa.git tags/xtensa-20200603 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/38696e33e2bdf91cbbc7a2291dc6db862d9dfd42 Thank you! -- Deet-doot-dot, I am a bot. ht

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

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Tue, 2 Jun 2020 14:54:45 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux tags/mips_5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8226f11318bd03ae0dbf028f7c433071cf4927f4 Thank you! -- Deet-doot-dot, I am a bot. htt

Re: [GIT PULL] parisc architecture updates for kernel v5.8-rc1

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Tue, 2 Jun 2020 22:19:12 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git > parisc-5.8-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/44e40e96b5accb18a100fee1a67cde422d791c4c Thank you! -- Deet-doot-dot,

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

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Tue, 2 Jun 2020 14:19:21 +0200: > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux > tags/threads-v5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e7c93cbfe9cb4b0a47633099e78c455b1f79bbac Thank you! -- Deet-doot-dot,

Re: Re: [PATCH v14 13/15] mm/damon-test: Add a kunit test for recording setup

2020-06-03 Thread Brendan Higgins
On Wed, Jun 3, 2020 at 5:42 AM SeongJae Park wrote: > > On Tue, 2 Jun 2020 13:28:03 -0700 Brendan Higgins > wrote: > > > On Tue, Jun 2, 2020 at 6:16 AM SeongJae Park wrote: > > > > > > From: SeongJae Park > > > > > > This commit adds another unit test case for the recording setup. > > > > > >

Re: [PATCH] arch/{mips,sparc,microblaze,powerpc}: Don't enable pagefault/preempt twice

2020-06-03 Thread Ira Weiny
On Wed, Jun 03, 2020 at 01:57:36PM -0700, Andrew Morton wrote: > On Thu, 21 May 2020 10:42:50 -0700 Ira Weiny wrote: > > > > > > > > > Actually it occurs to me that the patch consolidating kmap_prot is odd > > > > for > > > > sparc 32 bit... > > > > > > > > Its a long shot but could you try re

[PATCH] iommu/arm-smmu: Mark qcom_smmu_client_of_match as possibly unused

2020-06-03 Thread Jordan Crouse
When CONFIG_OF=n of_match_device() gets pre-processed out of existence leaving qcom-smmu_client_of_match unused. Mark it as possibly unused to keep the compiler from warning in that case. Fixes: 0e764a01015d ("iommu/arm-smmu: Allow client devices to select direct mapping") Reported-by: kbuild tes

Re: [PATCH v3 0/4] Add seccomp notifier ioctl that enables adding fds

2020-06-03 Thread Robert Sesek
Thanks for working on this, Sargun! I'll briefly interrupt the code review to explain why this is an important enhancement for our application. I’m posting this message on behalf of the Chromium project, which powers Google Chrome and several other open-source browsers (Edge, Brave, Yandex Browser,

Re: [GIT PULL][Security] lockdown: Allow unprivileged users to see lockdown status

2020-06-03 Thread James Morris
On Tue, 2 Jun 2020, Linus Torvalds wrote: > On Mon, Jun 1, 2020 at 7:15 PM James Morris wrote: > > > > Just one update for the security subsystem: allows unprivileged users to > > see the status of the lockdown feature. From Jeremy Cline. > > Hmm. > > That branch seems to have sprouted another

Re: [PATCH 1/2] ima: Directly assign the ima_default_policy pointer to ima_rules

2020-06-03 Thread Mimi Zohar
On Wed, 2020-06-03 at 17:08 +0200, Roberto Sassu wrote: > This patch prevents the following oops: > > [ 10.771813] BUG: kernel NULL pointer dereference, address: 0 > [...] > [ 10.779790] RIP: 0010:ima_match_policy+0xf7/0xb80 > [...] > [ 10.798576] Call Trace: > [ 10.798993] ?

[GIT PULL] core/core updates for v5.8

2020-06-03 Thread Borislav Petkov
Hi Linus, please pull the set disabling automatic READ_IMPLIES_EXEC on x86-64 and arm64. Thx. --- The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: Linux 5.7-rc2 (2020-04-19 14:35:30 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/lin

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

2020-06-03 Thread Stephen Rothwell
Hi all, Commits 2967442ac479 ("drm/amd/display: Add DCN3 to Kconfig") 4e7406acd3e6 ("drm/amd/display: Add DCN3 blocks to Makefile") b8163750954c ("drm/amd/display: fix and simplify pipe split logic for DCN3") a6a7b1845598 ("drm/amdgpu: Enable DM block for DCN3") 5aa25fb310d5 ("drm/amd/d

[PATCH] irqchip: Fix the description of the Loongson PCH MSI controller

2020-06-03 Thread Jonathan Corbet
Commit 632dcc2c75ef ("irqchip: Add Loongson PCH MSI controller") appears to suffer from a lack of copy-and-paste fixup, with the result that the KConfig description describes the wrong device. Avoid potential user confusion by getting the right acronym where it was meant to be. Signed-off-by: Jon

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

2020-06-03 Thread Alex Deucher
On Wed, Jun 3, 2020 at 5:35 PM Stephen Rothwell wrote: > > Hi all, > > Commits > > 2967442ac479 ("drm/amd/display: Add DCN3 to Kconfig") > 4e7406acd3e6 ("drm/amd/display: Add DCN3 blocks to Makefile") > b8163750954c ("drm/amd/display: fix and simplify pipe split logic for DCN3") > a6a7b184

Re: [PATCH] ovl: explicitly initialize error in ovl_copy_xattr()

2020-06-03 Thread Vivek Goyal
On Wed, Jun 03, 2020 at 07:47:14PM +0200, gli...@google.com wrote: > Under certain circumstances (we found this out running Docker on a > Clang-built kernel with CONFIG_INIT_STACK_ALL) ovl_copy_xattr() may > return uninitialized value of |error| from ovl_copy_xattr(). If we are returning uninitial

Re: [PATCH] tracing/doc: Fix ascii-art in histogram-design.rst

2020-06-03 Thread Stephen Rothwell
Hi Tom, On Wed, 03 Jun 2020 10:21:24 -0500 Tom Zanussi wrote: > > This fixes the Sphinx parallel build error when building htmldocs: > > docutils.utils.SystemMessage: > /home/sfr/next/next/Documentation/trace/histogram-design.rst:219: (SEVERE/4) > Unexpected section title. > > It also fixes

Re: linux-next: build failure after merge of the ftrace tree

2020-06-03 Thread Stephen Rothwell
Hi Steven, On Wed, 3 Jun 2020 11:30:58 -0400 Steven Rostedt wrote: > > On Wed, 03 Jun 2020 10:24:36 -0500 > Tom Zanussi wrote: > > > > It appears to be the ascii art that is causing the issue. I have no > > > idea > > > how to fix it. If someone has a patch they would like to submit, I > > > wi

Re: [PATCH] mm,thp: stop leaking unreleased file pages

2020-06-03 Thread Matthew Wilcox
On Wed, May 27, 2020 at 02:28:10PM -0700, Hugh Dickins wrote: > Saying "source inspection" reminds me: there is another funny in there, > but I don't think it matters very much in practice, and might need > rather a lot of testing to justify any particular patch: where > page_cache_sync_readahead()

Re: [PATCH v7 1/4] bitops: Introduce the the for_each_set_clump macro

2020-06-03 Thread Rikard Falkeborn
On Wed, Jun 03, 2020 at 11:49:37AM +0300, Andy Shevchenko wrote: > On Tue, Jun 2, 2020 at 10:01 PM Rikard Falkeborn > wrote: > > On Mon, Jun 01, 2020 at 11:33:30AM +0300, Andy Shevchenko wrote: > > > On Mon, Jun 01, 2020 at 12:37:16AM +0200, Rikard Falkeborn wrote: > > > > On Sun, May 31, 2020 at

[PATCH] lan743x: Use correct MAC_CR configuration for 1 GBit speed

2020-06-03 Thread Roelof Berg
Corrected the MAC_CR configuration bits for 1 GBit operation. The data sheet allows MAC_CR(2:1) to be 10 and also 11 for 1 GBit/s speed, but only 10 works correctly. Devices tested: Microchip Lan7431, fixed-phy mode Microchip Lan7430, normal phy mode Signed-off-by: Roelof Berg --- drivers/net/e

Re: [PATCH v13 3/7] dt-bindings: clock: Add documentation for X1830 bindings.

2020-06-03 Thread Rob Herring
On Fri, May 29, 2020 at 3:11 PM Stephen Boyd wrote: > > Quoting Rob Herring (2020-05-29 12:14:31) > > > > Acked-by: Rob Herring > > Please apply to bindings tree Rob. The yaml conversion is in your tree. Done. Rob

Re: [PATCH v7 1/4] bitops: Introduce the the for_each_set_clump macro

2020-06-03 Thread Andy Shevchenko
On Thu, Jun 4, 2020 at 12:53 AM Rikard Falkeborn wrote: > On Wed, Jun 03, 2020 at 11:49:37AM +0300, Andy Shevchenko wrote: > > On Tue, Jun 2, 2020 at 10:01 PM Rikard Falkeborn > > wrote: ... > I'd be very surprised if compilers warned for explicit casts but I'll > send a proper patch soon to l

Re: [PATCH v7 1/4] bitops: Introduce the the for_each_set_clump macro

2020-06-03 Thread Andy Shevchenko
On Thu, Jun 4, 2020 at 12:58 AM Andy Shevchenko wrote: > > On Thu, Jun 4, 2020 at 12:53 AM Rikard Falkeborn > wrote: > > On Wed, Jun 03, 2020 at 11:49:37AM +0300, Andy Shevchenko wrote: > > > On Tue, Jun 2, 2020 at 10:01 PM Rikard Falkeborn > > > wrote: > > ... > > > I'd be very surprised if com

Re: [GIT PULL] SELinux patches for v5.8

2020-06-03 Thread Casey Schaufler
On 6/3/2020 2:02 PM, Alexei Starovoitov wrote: > On Wed, Jun 03, 2020 at 10:37:47AM -0700, Linus Torvalds wrote: >> On Wed, Jun 3, 2020 at 10:20 AM Casey Schaufler >> wrote: >>> We could have inode->i_security be the blob, rather than a pointer to it. >>> That will have its own performance issues

Re: [PATCH] dmaengine: stm32-mdma: call pm_runtime_put if pm_runtime_get_sync fails

2020-06-03 Thread Geert Uytterhoeven
Hi Markus, Thanks for your comment! On Wed, Jun 3, 2020 at 8:53 PM Markus Elfring wrote: > > Calling pm_runtime_get_sync increments the counter even in case of > > failure, causing incorrect ref count. Call pm_runtime_put if > > pm_runtime_get_sync fails. > > Is it appropriate to copy a sentence

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

2020-06-03 Thread Stephen Rothwell
Hi Alex, On Wed, 3 Jun 2020 17:44:31 -0400 Alex Deucher wrote: > > On Wed, Jun 3, 2020 at 5:35 PM Stephen Rothwell wrote: > > > > Is all this new stuff really destined for v5.8? > > No. 5.9. Then it should not be in linux-next until after v5.8-rc1 is released. -- Cheers, Stephen Rothwell

[PATCH] bus: ti-sysc: Increase max softreset wait

2020-06-03 Thread Tony Lindgren
Otherwise we can get "OCP softreset timed out" warnings occasionally at least for i2c2 on omap4 now that we check the OCP softreset completed bit on enable. Reported-by: Merlijn Wajer Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [PATCH] lan743x: Added fixed link and RGMII support / debugging

2020-06-03 Thread Roelof Berg
Thanks, I found the cause, the delta patch is submitted. Lan7430 runs now in different speeds, also ‚hot swap‘ between different speeds works well. Normal mode and fixed-phy mode coexist properly. So, I guess we’re done :) However, I’ll spend some more time testing to ensure we’re really safe.

[PATCH] linux/bits.h: fix unsigned less than zero warnings

2020-06-03 Thread Rikard Falkeborn
When calling the GENMASK and GENMASK_ULL macros with zero lower bit and an unsigned unknown high bit, some gcc versions warn due to the comparisons of the high and low bit in GENMASK_INPUT_CHECK. To silence the warnings, cast the inputs to int before doing the comparisons. The only valid inputs to

Re: [PATCH 2/2] ima: Call ima_calc_boot_aggregate() in ima_eventdigest_init()

2020-06-03 Thread Mimi Zohar
Hi Roberto, On Wed, 2020-06-03 at 17:08 +0200, Roberto Sassu wrote: > If the template field 'd' is chosen and the digest to be added to the > measurement entry was not calculated with SHA1 or MD5, it is > recalculated with SHA1, by using the passed file descriptor. However, this > cannot be done f

Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken

2020-06-03 Thread Linus Walleij
On Sun, May 31, 2020 at 9:37 AM Christophe JAILLET wrote: > Commit 6d33ee7a0534 ("pinctrl: pxa: Use devm_pinctrl_register() for pinctrl > registration") > has turned a 'pinctrl_register()' into 'devm_pinctrl_register()' in > 'pxa2xx_pinctrl_init()'. > However, the corresponding 'pinctrl_unregist

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

2020-06-03 Thread Borislav Petkov
On Wed, Jun 03, 2020 at 09:23:53PM +0200, Marco Elver wrote: > Hope this is enough. Thanks - it is. :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

Re: [PATCH v32 19/21] selftests/x86: Add a selftest for SGX

2020-06-03 Thread Sean Christopherson
On Mon, Jun 01, 2020 at 10:52:16AM +0300, Jarkko Sakkinen wrote: > Add a selftest for SGX. It is a trivial test where a simple enclave > copies one 64-bit word of memory between two memory locations. ... > --- /dev/null > +++ b/tools/testing/selftests/sgx/Makefile > @@ -0,0 +1,53 @@ > +top_srcdir

Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken

2020-06-03 Thread Linus Walleij
On Mon, Jun 1, 2020 at 8:31 PM Dan Carpenter wrote: > On Mon, Jun 01, 2020 at 01:31:23PM +0200, Christophe JAILLET wrote: > > Le 01/06/2020 à 10:58, Robert Jarzmik a écrit : > > > Christophe JAILLET writes: > > > > > > > Commit 6d33ee7a0534 ("pinctrl: pxa: Use devm_pinctrl_register() for > > > >

Re: [PATCH] mm: thp: Add new kernel parameters transparent_hugepage_defrag/khugepaged_defrag

2020-06-03 Thread Gavin Guo
On Thu, Jun 4, 2020 at 3:27 AM David Rientjes wrote: > > On Wed, 3 Jun 2020, Vlastimil Babka wrote: > > > > There is no way to set up the defrag options in boot time. And it's > > > useful to set it up by default instead of making it work by a > > > systemd/upstart service or put the command to se

Re: [GIT PULL] SELinux patches for v5.8

2020-06-03 Thread James Morris
On Wed, 3 Jun 2020, Casey Schaufler wrote: > The use of security modules was expected to be rare. This is not correct. Capabilities were ported to LSM and stacked from the beginning, and several major distros worked on LSM so they could ship their own security modules. -- James Morris

Re: [PATCH] irqchip/gic-v3-its: Don't try to move a disabled irq

2020-06-03 Thread Herrenschmidt, Benjamin
On Wed, 2020-06-03 at 16:16 +0100, Marc Zyngier wrote: > > My original patch should certain check activated and not disabled. > > With that do you still have reservations Marc? > > I'd still prefer it if we could do something in core code, rather > than spreading these checks in the individual dri

Re: [PATCH v8 00/18] Add AMD SEV guest live migration support

2020-06-03 Thread Ashish Kalra
Hello Steve, On Mon, Jun 01, 2020 at 01:02:23PM -0700, Steve Rutherford wrote: > On Mon, May 18, 2020 at 12:07 PM Ashish Kalra wrote: > > > > Hello All, > > > > Any other feedback, review or comments on this patch-set ? > > > > Thanks, > > Ashish > > > > On Tue, May 05, 2020 at 09:13:49PM +,

Re: [GIT PULL] First batch of KVM changes for Linux 5.8

2020-06-03 Thread Linus Torvalds
On Wed, Jun 3, 2020 at 10:39 AM Paolo Bonzini wrote: > > There could be minor conflicts depending on the order you're processing 5.8 > pull requests. It would have been good if you had actually pointed to the reports from linux-next. As it was, the hyper-v pull request did do that (thanks Wei Li

Re: [PATCH] mm,thp: stop leaking unreleased file pages

2020-06-03 Thread Hugh Dickins
On Wed, 3 Jun 2020, Matthew Wilcox wrote: > On Wed, May 27, 2020 at 02:28:10PM -0700, Hugh Dickins wrote: > > Saying "source inspection" reminds me: there is another funny in there, > > but I don't think it matters very much in practice, and might need > > rather a lot of testing to justify any par

[PATCH v2 08/11] swiotlb-xen: introduce phys_to_dma/dma_to_phys translations

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini With some devices physical addresses are different than dma addresses. To be able to deal with these cases, we need to call phys_to_dma on physical addresses (including machine addresses in Xen terminology) before returning them from xen_swiotlb_alloc_coherent and xen_swi

[PATCH v2 01/11] swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses

2020-06-03 Thread Stefano Stabellini
From: Boris Ostrovsky xen_alloc_coherent_pages might return pages for which virt_to_phys and virt_to_page don't work, e.g. ioremap'ed pages. So in xen_swiotlb_free_coherent we can't assume that virt_to_page works. Instead add a is_vmalloc_addr check and use vmalloc_to_page on vmalloc virt addres

[PATCH v2 03/11] swiotlb-xen: add struct device* parameter to xen_phys_to_bus

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini The parameter is unused in this patch. No functional changes. Signed-off-by: Stefano Stabellini Tested-by: Corey Minyard Tested-by: Roman Shaposhnik --- drivers/xen/swiotlb-xen.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH v2 09/11] swiotlb-xen: rename xen_phys_to_bus to xen_phys_to_dma and xen_bus_to_phys to xen_dma_to_phys

2020-06-03 Thread Stefano Stabellini
so that their names can better describe their behavior. No functional changes. Signed-off-by: Stefano Stabellini --- drivers/xen/swiotlb-xen.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 6

[PATCH v2 06/11] swiotlb-xen: add struct device* parameter to xen_dma_sync_for_device

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini The parameter is unused in this patch. No functional changes. Signed-off-by: Stefano Stabellini Tested-by: Corey Minyard Tested-by: Roman Shaposhnik --- arch/arm/xen/mm.c | 5 +++-- drivers/xen/swiotlb-xen.c | 4 ++-- include/xen/swiotlb-xen.h | 5 +++-- 3 fi

[PATCH v2 04/11] swiotlb-xen: add struct device* parameter to xen_bus_to_phys

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini The parameter is unused in this patch. No functional changes. Signed-off-by: Stefano Stabellini Tested-by: Corey Minyard Tested-by: Roman Shaposhnik --- drivers/xen/swiotlb-xen.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/x

[PATCH v2 10/11] xen/arm: introduce phys/dma translations in xen_dma_sync_for_*

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini xen_dma_sync_for_cpu, xen_dma_sync_for_device, xen_arch_need_swiotlb are getting called passing dma addresses. On some platforms dma addresses could be different from physical addresses. Before doing any operations on these addresses we need to convert them back to physic

[PATCH v2 00/11] fix swiotlb-xen for RPi4

2020-06-03 Thread Stefano Stabellini
Hi all, This series is a collection of fixes to get Linux running on the RPi4 as dom0. Conceptually there are only two significant changes: - make sure not to call virt_to_page on vmalloc virt addresses (patch #1) - use phys_to_dma and dma_to_phys to translate phys to/from dma addresses (all

[PATCH v2 11/11] xen/arm: call dma_to_phys on the dma_addr_t parameter of dma_cache_maint

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini dma_cache_maint is getting called passing a dma address which could be different from a physical address. Add a struct device* parameter to dma_cache_maint. Translate the dma_addr_t parameter of dma_cache_maint by calling dma_to_phys. Do it for the first page and all th

[PATCH v2 05/11] swiotlb-xen: add struct device* parameter to xen_dma_sync_for_cpu

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini The parameter is unused in this patch. No functional changes. Signed-off-by: Stefano Stabellini Tested-by: Corey Minyard Tested-by: Roman Shaposhnik --- arch/arm/xen/mm.c | 5 +++-- drivers/xen/swiotlb-xen.c | 4 ++-- include/xen/swiotlb-xen.h | 5 +++-- 3 fi

[PATCH v2 07/11] swiotlb-xen: add struct device* parameter to is_xen_swiotlb_buffer

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini The parameter is unused in this patch. No functional changes. Signed-off-by: Stefano Stabellini Tested-by: Corey Minyard Tested-by: Roman Shaposhnik --- drivers/xen/swiotlb-xen.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/xen/

[PATCH v2 02/11] swiotlb-xen: remove start_dma_addr

2020-06-03 Thread Stefano Stabellini
From: Stefano Stabellini It is not strictly needed. Call virt_to_phys on xen_io_tlb_start instead. It will be useful not to have a start_dma_addr around with the next patches. Note that virt_to_phys is not the same as xen_virt_to_bus but actually it is used to compared again __pa(xen_io_tlb_star

Urgent Reply

2020-06-03 Thread MUSSA ALI
Dear friend, I know this means of communication may not be morally right to you as a person but I also have had a great thought about it and I have come to this conclusion which I am about to share with you. INTRODUCTION: I am a banker and in one way or the other was hoping you will cooperate

<    4   5   6   7   8   9   10   11   12   >