Re: [PATCH] usb: gadget: fix langid kernel-doc warning in usbstring.c

2020-06-29 Thread Tao Ren
On Sun, Jun 28, 2020 at 08:08:03PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix spelling of the 'langid' function argument in the kernel-doc > notation to quieten a kernel-doc warning. > > ../drivers/usb/gadget/usbstring.c:77: warning: Function parameter or member > 'langid' not

Re: [PATCH] mm/vmscan: restore zone_reclaim_mode ABI

2020-06-29 Thread Dave Hansen
On 6/29/20 4:30 PM, Baoquan He wrote: >> The only way I can plausibly think of "cleaning up" the RECLAIM_ZONE bit >> would be to raise our confidence that it is truly unused. That takes >> time, and probably a warning if we see it being set. If we don't run >> into anybody setting it or

Re: [PATCH 00/12] ACPI/NVDIMM: Runtime Firmware Activation

2020-06-29 Thread Dan Williams
On Sun, Jun 28, 2020 at 10:23 AM Rafael J. Wysocki wrote: > > On Fri, Jun 26, 2020 at 8:43 PM Dan Williams wrote: > > > > On Fri, Jun 26, 2020 at 7:22 AM Rafael J. Wysocki wrote: > > > > > > On Fri, Jun 26, 2020 at 2:06 AM Dan Williams > > > wrote: > > > > > > > > Quoting the documentation: >

Re: [PATCH v3 7/7] x86/boot: Check that there are no runtime relocations

2020-06-29 Thread Fangrui Song
On 2020-06-29, Ard Biesheuvel wrote: On Mon, 29 Jun 2020 at 19:37, Fangrui Song wrote: On 2020-06-29, Arvind Sankar wrote: >On Mon, Jun 29, 2020 at 09:20:31AM -0700, Kees Cook wrote: >> On Mon, Jun 29, 2020 at 06:11:59PM +0200, Ard Biesheuvel wrote: >> > On Mon, 29 Jun 2020 at 18:09, Kees

arm-linux-gnueabi-ld: section .data VMA overlaps section .text VMA

2020-06-29 Thread kernel test robot
months ago config: arm-randconfig-c022-20200629 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> arm-linux-gnueabi-ld: secti

Re: [PATCH] mm/vmscan: restore zone_reclaim_mode ABI

2020-06-29 Thread Baoquan He
On 06/29/20 at 07:27am, Dave Hansen wrote: > On 6/28/20 11:52 PM, Baoquan He wrote: > > On 06/25/20 at 05:34pm, Dave Hansen wrote: > >> > >> From: Dave Hansen > >> > >> I went to go add a new RECLAIM_* mode for the zone_reclaim_mode > >> sysctl. Like a good kernel developer, I also went to go

Re: [PATCH] security: selinux: ss: conditional.c fixed a checkpatch warning

2020-06-29 Thread Paul Moore
On Wed, Jun 24, 2020 at 12:13 PM Ethan Edwards wrote: > `sizeof buf` changed to `sizeof(buf)` > > Signed-off-by: Ethan Edwards > --- > security/selinux/ss/conditional.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Merged into selinux/next but I rewrote the subject line to

RE: [PATCH v7 3/3] iommu/arm-smmu: Add global/context fault implementation hooks

2020-06-29 Thread Krishna Reddy
>> +static irqreturn_t nvidia_smmu_context_fault_bank(int irq, >> + void __iomem *cb_base = nvidia_smmu_page(smmu, inst, >> + smmu->numpage + idx); [...] >> + fsr = arm_smmu_cb_read(smmu, idx, ARM_SMMU_CB_FSR); [...] >> + writel_relaxed(fsr, cb_base + ARM_SMMU_CB_FSR); >It reads FSR

Re: [PATCH ghak124 v3fix] audit: add gfp parameter to audit_log_nfcfg

2020-06-29 Thread Paul Moore
On Sat, Jun 27, 2020 at 11:25 PM Richard Guy Briggs wrote: > > Fixed an inconsistent use of GFP flags in nft_obj_notify() that used > GFP_KERNEL when a GFP flag was passed in to that function. Given this > allocated memory was then used in audit_log_nfcfg() it led to an audit > of all other GFP

Re: [PATCH V2] riscv: Fixup compile error BUILD_BUG_ON failed

2020-06-29 Thread Palmer Dabbelt
On Sun, 28 Jun 2020 09:25:24 PDT (-0700), mhira...@kernel.org wrote: On Sun, 28 Jun 2020 16:07:37 + guo...@kernel.org wrote: From: Guo Ren Unfortunately, the current code couldn't be compiled: CC arch/riscv/kernel/patch.o In file included from ./include/linux/kernel.h:11,

Re: [PATCH 00/22] add support for Clang LTO

2020-06-29 Thread Sami Tolvanen
Hi Masahiro, On Mon, Jun 29, 2020 at 01:56:19AM +0900, Masahiro Yamada wrote: > On Thu, Jun 25, 2020 at 5:32 AM 'Sami Tolvanen' via Clang Built Linux > wrote: > > > > This patch series adds support for building x86_64 and arm64 kernels > > with Clang's Link Time Optimization (LTO). > > > > In

Re: [PATCH v2] soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's

2020-06-29 Thread Kevin Hilman
Neil Armstrong writes: > On 09/06/2020 10:13, Christian Hewitt wrote: >> Correct the SoC revision and package bits/mask values for S905D3/X3 to detect >> a wider range of observed SoC IDs, and tweak sort order for A311D/S922X. >> >> S905X3 05 0101 (SEI610 initial devices) >> S905X3 10

Re: [PATCH] arm64: dts: meson: add missing gxl rng clock

2020-06-29 Thread Kevin Hilman
On Wed, 17 Jun 2020 14:53:46 +0200, Jerome Brunet wrote: > The peripheral clock of the RNG is missing for gxl while it is present > for gxbb. Applied, thanks! [1/1] arm64: dts: meson: add missing gxl rng clock commit: 95ca6f06dd4827ff63be5154120c7a8511cd9a41 Best regards, -- Kevin Hilman

Re: [PATCH] arm64: dts: meson-gxl-s805x: reduce initial Mali450 core frequency

2020-06-29 Thread Kevin Hilman
On Thu, 18 Jun 2020 15:27:37 +0200, Neil Armstrong wrote: > When starting at 744MHz, the Mali 450 core crashes on S805X based boards: > lima d00c.gpu: IRQ ppmmu3 not found > lima d00c.gpu: IRQ ppmmu4 not found > lima d00c.gpu: IRQ ppmmu5 not found > lima d00c.gpu: IRQ ppmmu6

Re: [PATCH] ARM: dts: meson: Align L2 cache-controller nodename with dtschema

2020-06-29 Thread Kevin Hilman
On Fri, 26 Jun 2020 10:06:26 +0200, Krzysztof Kozlowski wrote: > Fix dtschema validator warnings like: > l2-cache-controller@c420: $nodename:0: > 'l2-cache-controller@c420' does not match > '^(cache-controller|cpu)(@[0-9a-f,]+)*$' Applied, thanks! [1/1] ARM: dts: meson:

Re: [PATCH 5.7 000/265] 5.7.7-rc1 review

2020-06-29 Thread Sasha Levin
On Mon, Jun 29, 2020 at 02:37:53PM -0600, Shuah Khan wrote: Hi Sasha, On 6/29/20 9:13 AM, Sasha Levin wrote: This is the start of the stable review cycle for the 5.7.7 release. There are 265 patches in this series, all will be posted as a response to this one. If anyone has any issues with

Re: [PATCH v6 1/6] tty: serial: qcom_geni_serial: Use OPP API to set clk/perf state

2020-06-29 Thread Stephen Boyd
Quoting Rajendra Nayak (2020-06-15 05:02:39) > diff --git a/drivers/tty/serial/qcom_geni_serial.c > b/drivers/tty/serial/qcom_geni_serial.c > index 457c0bf..a90f8ec 100644 > --- a/drivers/tty/serial/qcom_geni_serial.c > +++ b/drivers/tty/serial/qcom_geni_serial.c > @@ -9,6 +9,7 @@ > #include >

Re: linux-next: Signed-off-by missing for commit in the xen-tip tree

2020-06-29 Thread Stefano Stabellini
On Tue, 30 Jun 2020, Stephen Rothwell wrote: > Hi all, > > Commit > > 724f239c3401 ("arm/xen: remove the unused macro GRANT_TABLE_PHYSADDR") > > is missing a Signed-off-by from its committer. Fixed. Thank you so much, I love linux-next :-)

[PATCH v4 0/6] arm64: ti: k3-j721e: Add SERDES PHY and USB3.0 support

2020-06-29 Thread Roger Quadros
Hi Tero, This series adds SERDES PHY support and Type-C USB Super-Speed support to the J721E EVM. Please queue this for -next. Thanks. cheers, -roger Changelog: v4: - Removed redundant patch - used compaible string for yaml filename - typo fix s/mdf/mfd in patch subject - added simple-mfd,

Re: [PATCH v8 1/7] of_graph: add of_graph_presents()

2020-06-29 Thread Rob Herring
On Thu, Jun 18, 2020 at 01:26:57AM +0300, Dmitry Osipenko wrote: > In some case, like a DRM display code for example, it's useful to silently > check whether port node exists at all in a device-tree before proceeding > with parsing of the graph. > > This patch adds of_graph_presents() that

Re: [RFC PATCH 1/2] Explicitly include linux/major.h where it is needed

2020-06-29 Thread Stephen Rothwell
Hi Greg, On Wed, 17 Jun 2020 07:58:43 +0200 Greg KH wrote: > > On Wed, Jun 17, 2020 at 09:27:47AM +1000, Stephen Rothwell wrote: > > This is in preparation for removing the include of major.h where it is > > not needed. > > > > These files were found using > > > > grep -E -L

Re: [PATCH] pci: consolidate typing of pci_error_handlers::error_detected()

2020-06-29 Thread Luc Van Oostenryck
On Mon, Jun 29, 2020 at 04:29:28PM -0500, Bjorn Helgaas wrote: > On Sun, Jun 28, 2020 at 06:12:33PM +0200, Luc Van Oostenryck wrote: > > The method struct pci_error_handlers::error_detected() is defined and > > documented as taking an 'enum pci_channel_state' for the second > > argument but most

KASAN: use-after-free Read in dev_get_by_name

2020-06-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4e99b321 Merge tag 'nfs-for-5.8-2' of git://git.linux-nfs... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1013cb2910 kernel config: https://syzkaller.appspot.com/x/.config?x=20c907630cbdbe5

[PATCH] SPI LPC information kernel module

2020-06-29 Thread Daniel Gutson
This kernel module exports configuration attributes for the system SPI chip. This initial version exports the BIOS Write Enable (bioswe), BIOS Lock Enable (ble), and the SMM Bios Write Protect (SMM_BWP) fields of the Bios Control register. The idea is to keep adding more flags, not only from the

Re: [PATCH v3 1/5] docs: IOMMU user API

2020-06-29 Thread Jacob Pan
On Fri, 26 Jun 2020 16:19:23 -0600 Alex Williamson wrote: > On Tue, 23 Jun 2020 10:03:53 -0700 > Jacob Pan wrote: > > > IOMMU UAPI is newly introduced to support communications between > > guest virtual IOMMU and host IOMMU. There has been lots of > > discussions on how it should work with

Re: [PATCH] mm/spase: never partially remove memmap for early section

2020-06-29 Thread Wei Yang
On Mon, Jun 29, 2020 at 03:13:25PM -0700, Dan Williams wrote: >On Mon, Jun 29, 2020 at 1:34 AM Wei Yang > wrote: >> >> On Thu, Jun 25, 2020 at 12:46:43PM -0700, Dan Williams wrote: >> >On Wed, Jun 24, 2020 at 10:53 PM David Hildenbrand wrote: >> >> >> >> >> >> >> >> > Am 25.06.2020 um 01:47

Re: [PATCH v13 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-06-29 Thread Rob Herring
On Mon, 22 Jun 2020 14:18:36 -0500, Ricardo Rivera-Matos wrote: > The BQ2515X family of devices are highly integrated battery management > ICs that integrate the most common functions for wearable devices > namely a charger, an output voltage rail, ADC for battery and system > monitoring, and a

Re: [PATCH v13 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-06-29 Thread Rob Herring
On Mon, Jun 22, 2020 at 02:18:35PM -0500, Ricardo Rivera-Matos wrote: > From: Dan Murphy > > Convert the battery.txt file to yaml and fix up the examples. > > Signed-off-by: Dan Murphy > --- > .../bindings/power/supply/battery.txt | 83 +-- >

RE: [PATCH v7 1/3] iommu/arm-smmu: add NVIDIA implementation for dual ARM MMU-500 usage

2020-06-29 Thread Krishna Reddy
>> + if (!nvidia_smmu->bases[0]) >> + nvidia_smmu->bases[0] = smmu->base; >> + >> + return nvidia_smmu->bases[inst] + (page << smmu->pgshift); } >Not critical -- just a nit: why not put the bases[0] in init()? smmu->base is not available during nvidia_smmu_impl_init() call.

Re: [PATCH v2] Fix undefined operation VMXOFF during reboot and crash

2020-06-29 Thread David P. Reed
On Monday, June 29, 2020 5:49pm, "Sean Christopherson" said: > On Mon, Jun 29, 2020 at 02:22:45PM -0700, Andy Lutomirski wrote: >> >> >> > On Jun 29, 2020, at 1:54 PM, David P. Reed wrote: >> > >> > Simple question for those on the To: and CC: list here. Should I >> > abandon any hope of

Re: linux-next: Fixes tag needs some work in the block tree

2020-06-29 Thread Jens Axboe
On 6/29/20 4:36 PM, Stephen Rothwell wrote: > Hi all, > > On Mon, 29 Jun 2020 10:25:01 -0600 Jens Axboe wrote: >> >> On 6/29/20 10:21 AM, Pavel Begunkov wrote: >>> On 29/06/2020 01:05, Stephen Rothwell wrote: Hi all, In commit 8c9cb6cd9a46 ("io_uring: fix refs

Re: [RFC PATCH v1 2/2] Bluetooth: queue L2CAP conn req if encryption is needed

2020-06-29 Thread Luiz Augusto von Dentz
Hi Marcel, On Mon, Jun 29, 2020 at 1:21 PM Marcel Holtmann wrote: > > Hi Luiz, > > >>> It is possible to receive an L2CAP conn req for an encrypted > >>> connection, before actually receiving the HCI change encryption > >>> event. If this happened, the received L2CAP packet will be ignored. > >

Re: [Regression] "iommu/amd: Relax locking in dma_ops path" makes tg3 ethernet transmit queue timeout

2020-06-29 Thread Kai-Heng Feng
> On May 18, 2020, at 23:32, Kai-Heng Feng wrote: > > > >> On May 18, 2020, at 22:05, Kai-Heng Feng wrote: >> >> >> >>> On May 18, 2020, at 21:32, Joerg Roedel wrote: >>> >>> On Mon, May 18, 2020 at 05:06:45PM +0800, Kai-Heng Feng wrote: Particularly, as soon as the spinlock is

Re: [PATCH v7 3/3] iommu/arm-smmu: Add global/context fault implementation hooks

2020-06-29 Thread Nicolin Chen
On Sun, Jun 28, 2020 at 07:28:38PM -0700, Krishna Reddy wrote: > Add global/context fault hooks to allow NVIDIA SMMU implementation > handle faults across multiple SMMUs. > > Signed-off-by: Krishna Reddy > +static irqreturn_t nvidia_smmu_global_fault_inst(int irq, > +

Re: [PATCH 1/2] kbuild: remove cc-option test of -fno-stack-protector

2020-06-29 Thread Nick Desaulniers
On Mon, Jun 29, 2020 at 11:26 AM Nick Desaulniers wrote: > > On Sat, Jun 27, 2020 at 4:59 AM Masahiro Yamada wrote: > > > > On Sat, Jun 27, 2020 at 5:13 AM Nick Desaulniers > > wrote: > > > > > > On Fri, Jun 26, 2020 at 12:00 PM Masahiro Yamada > > > wrote: > > > > > > > > diff --git

Re: [PATCH] MAINTAINERS: remove obsolete entry after file renaming

2020-06-29 Thread Seth Forshee
On Sun, Jun 28, 2020 at 08:02:29PM +0200, Lukas Bulwahn wrote: > Commit f16861b12fa0 ("regulator: rename da903x to da903x-regulator") missed > to adjust the DIALOG SEMICONDUCTOR DRIVERS section in MAINTAINERS. > > Hence, ./scripts/get_maintainer.pl --self-test=patterns complains: > > warning:

[PATCH v3] HID: intel-ish-hid: Replace PCI_DEV_FLAGS_NO_D3 with pci_save_state

2020-06-29 Thread Kai-Heng Feng
PCI_DEV_FLAGS_NO_D3 should not be used outside of PCI core. Instead, we can use pci_save_state() to hint PCI core that the device should stay at D0 during suspend. By doing so, PCI core will let the upstream bridges also stays at D0 so the entire hierarchy is in the correct power state as PCI

[PATCH] drm/nouveau/kms/nvd9-: Fix disabling CRCs alongside OR reprogramming

2020-06-29 Thread Lyude Paul
While I had thought I'd tested this before, it looks like this one issue slipped by my original CRC patches. Basically, there seem to be a few rules we need to follow when sending CRC commands to the display controller: * CRCs cannot be both disabled and enabled for a single head in the same

Re: linux-next: Fixes tag needs some work in the block tree

2020-06-29 Thread Stephen Rothwell
Hi all, On Mon, 29 Jun 2020 10:25:01 -0600 Jens Axboe wrote: > > On 6/29/20 10:21 AM, Pavel Begunkov wrote: > > On 29/06/2020 01:05, Stephen Rothwell wrote: > >> Hi all, > >> > >> In commit > >> > >> 8c9cb6cd9a46 ("io_uring: fix refs underflow in io_iopoll_queue()") > >> > >> Fixes tag > >>

Re: [PATCH 0/6] Overhaul memalloc_no*

2020-06-29 Thread Dave Chinner
On Mon, Jun 29, 2020 at 09:43:23AM -0400, Mikulas Patocka wrote: > On Mon, 29 Jun 2020, Dave Chinner wrote: > > On Sat, Jun 27, 2020 at 09:09:09AM -0400, Mikulas Patocka wrote: > > > On Sat, 27 Jun 2020, Dave Chinner wrote: > > > > On Fri, Jun 26, 2020 at 11:02:19AM -0400, Mikulas Patocka wrote: >

linux-next: Signed-off-by missing for commit in the xen-tip tree

2020-06-29 Thread Stephen Rothwell
Hi all, Commit 724f239c3401 ("arm/xen: remove the unused macro GRANT_TABLE_PHYSADDR") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpO3BdcTgbQA.pgp Description: OpenPGP digital signature

RE: [PATCH v3] ASoC: Intel: kbl_rt5663_rt5514_max98927: Split be_hw_params_fixup function

2020-06-29 Thread N, Harshapriya
> > Hi Harsha, > > I've put the reason for this change in the commit message. > I had to split be_hw_params_fixup function for different codecs because > current approach (made for kernel 4.4) used in kernel 5.4, leads to crash > while > trying to get snd_soc_dpcm with container_of() macro in

Re: [PATCH v2] misc: atmel-ssc: lock with mutex instead of spinlock

2020-06-29 Thread Alexandre Belloni
On 24/06/2020 13:35:41+0200, Michał Mirosław wrote: > Uninterruptible context is not needed in the driver and causes lockdep > warning because of mutex taken in of_alias_get_id(). Convert the lock to > mutex to avoid the issue. > > Cc: sta...@vger.kernel.org > Fixes: 099343c64e16 ("ARM: at91:

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

2020-06-29 Thread Rob Herring
On Mon, 29 Jun 2020 15:00:52 +0300, Laurent Pinchart wrote: > From: Anurag Kumar Vulisha > > Add DT bindings for the Xilinx ZynqMP PHY. ZynqMP SoCs have a High Speed > Processing System Gigabit Transceiver which provides PHY capabilities to > USB, SATA, PCIE, Display Port and Ehernet SGMII

ERROR: "min_low_pfn" undefined!

2020-06-29 Thread kernel test robot
-20200629 (attached as .config) compiler: microblaze-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): ERROR: "min_low_pfn" [drivers/ntb/ntb_transport.ko] undefined! >&g

[PATCH -next] arm64: dts: sdm630: Temporarily disable SMMUs by default

2020-06-29 Thread Konrad Dybcio
There happens to be an issue between how kernel handles qcom-smmuv2 and how the hypervisor would like it to be handled. That results in the platform hanging completely after the SMMUs are probed. Hence, disable the SMMU nodes temporarily, until the issue is rectified. This has been overlooked by

Re: [PATCH v2 3/3] hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening

2020-06-29 Thread Wei Liu
On Mon, Jun 29, 2020 at 09:33:15PM +, Haiyang Zhang wrote: > > > > -Original Message- > > From: Andres Beltran > > Sent: Monday, June 29, 2020 4:02 PM > > To: KY Srinivasan ; Haiyang Zhang > > ; Stephen Hemminger ; > > wei@kernel.org > > Cc: linux-hyp...@vger.kernel.org;

Re: [PATCH V4 3/3] dt-bindings: clock: Correct example in i.MX8QXP LPCG binding

2020-06-29 Thread Rob Herring
On Thu, 18 Jun 2020 11:22:58 +0800, Anson Huang wrote: > In i.MX8QXP LPCG binding's example, "fsl,imx7d-usdhc" as fallback > compatible is incorrect, remove it to avoid below build error: > > Documentation/devicetree/bindings/clock/imx8qxp-lpcg.example.dt.yaml: > mmc@5b01: compatible:

Re: [PATCH V4 2/3] dt-bindings: clock: Correct mmc node name in i.MX35 binding

2020-06-29 Thread Rob Herring
On Thu, 18 Jun 2020 11:22:57 +0800, Anson Huang wrote: > Nodename should be "mmc" instead of "esdhc" in i.MX35 clock binding > to avoid below build error: > > Documentation/devicetree/bindings/clock/imx35-clock.example.dt.yaml: > esdhc@53fb4000: $nodename:0: 'esdhc@53fb4000' does not match

Re: [PATCH] xen: introduce xen_vring_use_dma

2020-06-29 Thread Michael S. Tsirkin
On Mon, Jun 29, 2020 at 03:05:19AM +, Peng Fan wrote: > > Subject: Re: [PATCH] xen: introduce xen_vring_use_dma > > > > On Thu, Jun 25, 2020 at 10:31:27AM -0700, Stefano Stabellini wrote: > > > On Wed, 24 Jun 2020, Michael S. Tsirkin wrote: > > > > On Wed, Jun 24, 2020 at 02:53:54PM -0700,

Re: [PATCH V4 1/3] dt-bindings: mmc: Convert imx esdhc to json-schema

2020-06-29 Thread Rob Herring
On Thu, 18 Jun 2020 11:22:56 +0800, Anson Huang wrote: > Convert the i.MX ESDHC binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > No change. > --- > .../devicetree/bindings/mmc/fsl-imx-esdhc.txt | 67 --- >

Re: [PATCH] rtc: max77686: Do not allow interrupt to fire before system resume

2020-06-29 Thread Alexandre Belloni
Hi, On 15/06/2020 18:14:55+0200, Krzysztof Kozlowski wrote: > The rtc-max77686 device shares the main interrupt line with parent MFD > device (max77686 driver). During the system suspend, the parent MFD > device disables this IRQ to prevent an early event happening before > resuming I2C bus

Re: [PATCH v2 1/3] Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening

2020-06-29 Thread Wei Liu
On Mon, Jun 29, 2020 at 05:51:05PM -0400, Andres Beltran wrote: > On Mon, Jun 29, 2020 at 4:46 PM Wei Liu wrote: > > > > On Mon, Jun 29, 2020 at 04:02:25PM -0400, Andres Beltran wrote: > > > Currently, VMbus drivers use pointers into guest memory as request IDs > > > for interactions with

Re: [PATCH] ring-buffer: speed up buffer resets by avoiding synchronize_rcu for each CPU

2020-06-29 Thread Steven Rostedt
On Thu, 25 Jun 2020 15:34:03 +1000 Nicholas Piggin wrote: > Batch these up so we disable all the per-cpu buffers first, then > synchronize_rcu() once, then reset each of the buffers. This brings > the time down to about 0.5s. After applying this patch, running tools/testing/selftests/ftracetest

Re: [PATCH v2 1/3] Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening

2020-06-29 Thread Wei Liu
On Mon, Jun 29, 2020 at 09:56:08PM +, Michael Kelley wrote: > From: Andres Beltran Sent: Monday, June 29, 2020 2:51 PM > > > > On Mon, Jun 29, 2020 at 4:46 PM Wei Liu wrote: > > > > > > On Mon, Jun 29, 2020 at 04:02:25PM -0400, Andres Beltran wrote: > > > > Currently, VMbus drivers use

Re: [PATCH] mm/spase: never partially remove memmap for early section

2020-06-29 Thread Dan Williams
On Mon, Jun 29, 2020 at 1:34 AM Wei Yang wrote: > > On Thu, Jun 25, 2020 at 12:46:43PM -0700, Dan Williams wrote: > >On Wed, Jun 24, 2020 at 10:53 PM David Hildenbrand wrote: > >> > >> > >> > >> > Am 25.06.2020 um 01:47 schrieb Dan Williams : > >> > > >> > On Wed, Jun 24, 2020 at 3:44 PM Wei

Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-06-29 Thread Alexei Starovoitov
On Mon, Jun 29, 2020 at 02:55:05PM -0500, Eric W. Biederman wrote: > > I have tested thes changes by booting with the code compiled in and > by killing "bpfilter_umh" and running iptables -vnL to restart > the userspace driver. > > I have compiled tested each change with and without

ERROR: "__mulsi3" undefined!

2020-06-29 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7c30b859a947535f2213277e827d7ac7dcff9c84 commit: 57a10d8c1123068e3cb06434fbc9634f945d3062 ptp: Add a ptp clock driver for IDT 82P33 SMU. date: 4 months ago config: openrisc-randconfig-c003-20200629

Re: [PATCH v2] kdb: remove unnecessary null check of dbg_io_ops

2020-06-29 Thread Cengiz Can
On June 30, 2020 00:16:54 Doug Anderson wrote: Hi, On Mon, Jun 29, 2020 at 1:50 PM Cengiz Can wrote: `kdb_msg_write` operates on a global `struct kgdb_io *` called `dbg_io_ops`. It's initialized in `debug_core.c` and checked throughout the debug flow. There's a null check in

Re: [PATCH v2 1/3] Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening

2020-06-29 Thread Andres Beltran
On Mon, Jun 29, 2020 at 5:56 PM Michael Kelley wrote: > I'm not understanding the problem here. Any VMbus driver that uses > this requestID allocation mechanism must set newchannel->rqstor_size > to a non-zero value. But if a VMbus driver doesn't use the mechanism, > then

Re: [PATCH v4 2/6] dt-bindings: usb: Add Qualcomm PMIC type C controller dt-binding

2020-06-29 Thread Rob Herring
On Fri, 26 Jun 2020 11:55:12 -0700, Wesley Cheng wrote: > Introduce the dt-binding for enabling USB type C orientation and role > detection using the PM8150B. The driver will be responsible for receiving > the interrupt at a state change on the CC lines, reading the orientation/role, > and

Re: [PATCH v3 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-06-29 Thread Rob Herring
On Mon, 29 Jun 2020 17:03:46 +0800, Rahul Tanwar wrote: > Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller > which is only used to control the fan attached to the system. This > PWM controller does not have any other consumer other than fan. > Add DT bindings documentation for

Re: [PATCH v5 1/8] dt-bindings: add documentation of xilinx clocking wizard

2020-06-29 Thread Rob Herring
On Fri, 26 Jun 2020 23:26:18 +0530, Shubhrajyoti Datta wrote: > Add the devicetree binding for the xilinx clocking wizard. > > Signed-off-by: Shubhrajyoti Datta > --- > v4: > change to yaml format > > .../bindings/clock/xlnx,clocking-wizard.yaml | 71 > ++ > 1 file

Re: [PATCH 0/2] Enable IPU and DSP rprocs on AM5729 BeagleBone AI

2020-06-29 Thread Tony Lindgren
* Suman Anna [200611 08:30]: > Hi Tony, Jason, Caleb, > > The IPU and DSP remote processors are finally booting as of latest master > on almost all the TI DRA7xx/AM57xx boards except for AM5729 BeagleBone AI > board. We have most of the common dts pieces available due to the usage > of common

Re: [PATCH v2] arm: dts: am335x-pocketbeagle: add gpio-line-names

2020-06-29 Thread Tony Lindgren
* Drew Fustini [200618 11:30]: > The BeagleBoard.org PocketBeagle has P1 and P2 headers [0] which expose > many of the TI AM3358 SoC balls to stacking expansion boards called > "capes", or to other external connections like jumper wires connected > to a breadboard. Thanks applying into

Re: [TEGRA194_CPUFREQ PATCH v4 1/4] dt-bindings: arm: Add t194 ccplex compatible and bpmp property

2020-06-29 Thread Rob Herring
On Fri, 26 Jun 2020 21:13:53 +0530, Sumit Gupta wrote: > To do frequency scaling on all CPUs within T194 CPU Complex, we need > to query BPMP for data on valid operating points. Document a compatible > string under 'cpus' node to represent the CPU Complex for binding drivers > like cpufreq which

[PATCH 5.7 049/265] ionic: update the queue count on open

2020-06-29 Thread Sasha Levin
From: Shannon Nelson [ Upstream commit fa48494cce5f6360b0f8683cdf258fb45c666287 ] Let the network stack know the real number of queues that we are using. v2: added error checking Fixes: 49d3b493673a ("ionic: disable the queues on link down") Signed-off-by: Shannon Nelson Reviewed-by: Jakub

[PATCH 5.7 250/265] drm/amdgpu/display: Unlock mutex on error

2020-06-29 Thread Sasha Levin
From: John van der Kamp commit ee434a4f9f5ea15b0f84bddd8c012838cf9472c5 upstream. Make sure we pass through ret label to unlock the mutex. Signed-off-by: John van der Kamp Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org Signed-off-by: Greg Kroah-Hartman ---

[PATCH 5.7 182/265] sata_rcar: handle pm_runtime_get_sync failure cases

2020-06-29 Thread Sasha Levin
From: Navid Emamdoost [ Upstream commit eea1238867205b9e48a67c1a63219529a73c46fd ] Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count. Call pm_runtime_put if pm_runtime_get_sync fails. Signed-off-by: Navid Emamdoost Signed-off-by: Jens

[PATCH 5.7 204/265] blktrace: break out of blktrace setup on concurrent calls

2020-06-29 Thread Sasha Levin
From: Luis Chamberlain [ Upstream commit 1b0b283648163dae2a214ca28ed5a99f62a77319 ] We use one blktrace per request_queue, that means one per the entire disk. So we cannot run one blktrace on say /dev/vda and then /dev/vda1, or just two calls on /dev/vda. We check for concurrent setup only at

[PATCH 5.7 087/265] xhci: Fix enumeration issue when setting max packet size for FS devices.

2020-06-29 Thread Sasha Levin
From: Al Cooper commit a73d9d9cfc3cfceabd91fb0b0c13e4062b6dbcd7 upstream. Unable to complete the enumeration of a USB TV Tuner device. Per XHCI spec (4.6.5), the EP state field of the input context shall be cleared for a set address command. In the special case of an FS device that has

[PATCH 5.7 260/265] NFSv4 fix CLOSE not waiting for direct IO compeletion

2020-06-29 Thread Sasha Levin
From: Olga Kornievskaia commit d03727b248d0dae6199569a8d7b629a681154633 upstream. Figuring out the root case for the REMOVE/CLOSE race and suggesting the solution was done by Neil Brown. Currently what happens is that direct IO calls hold a reference on the open context which is decremented as

[PATCH 5.7 170/265] clk: sifive: allocate sufficient memory for struct __prci_data

2020-06-29 Thread Sasha Levin
From: Vincent Chen [ Upstream commit d0a5fdf4cc83dabcdea668f971b8a2e916437711 ] The (struct __prci_data).hw_clks.hws is an array with dynamic elements. Using struct_size(pd, hw_clks.hws, ARRAY_SIZE(__prci_init_clocks)) instead of sizeof(*pd) to get the correct memory size of struct __prci_data

Re: [RESEND 07/10] regulator: cpcap-regulator: Remove declared and set, but never used variable 'ignore'

2020-06-29 Thread Tony Lindgren
* Lee Jones [200625 19:18]: > It's okay to not check the return value that you're not conserned > about, however it is not okay to assign a variable and not check or > use the result. > > Fixes W=1 warnings(s): > > drivers/regulator/cpcap-regulator.c:172:13: warning: variable ‘ignore’ set >

[PATCH 5.7 155/265] cxgb4: move handling L2T ARP failures to caller

2020-06-29 Thread Sasha Levin
From: Rahul Lakkireddy [ Upstream commit 11d8cd5c9f3b46f397f889cefdb66795518aaebd ] Move code handling L2T ARP failures to the only caller. Fixes following sparse warning: skbuff.h:2091:29: warning: context imbalance in 'handle_failed_resolution' - unexpected unlock Fixes: 749cb5fe48bb

[PATCH 5.7 181/265] sched/cfs: change initial value of runnable_avg

2020-06-29 Thread Sasha Levin
From: Vincent Guittot [ Upstream commit e21cf43406a190adfcc4bfe592768066fb3aaa9b ] Some performance regression on reaim benchmark have been raised with commit 070f5e860ee2 ("sched/fair: Take into account runnable_avg to classify group") The problem comes from the init value of runnable_avg

[PATCH 5.7 053/265] nvmet: cleanups the loop in nvmet_async_events_process

2020-06-29 Thread Sasha Levin
From: David Milburn [ Upstream commit 1cdf9f7670a7d74e27177d5c390c2f8b3b9ba338 ] Based-on-a-patch-by: Christoph Hellwig Tested-by: Yi Zhang Signed-off-by: David Milburn Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/target/core.c | 15 ++- 1 file

[PATCH 5.7 066/265] USB: ehci: reopen solution for Synopsys HC bug

2020-06-29 Thread Sasha Levin
From: Longfang Liu commit 1ddcb71a3edf0e1682b6e056158e4c4b00325f66 upstream. A Synopsys USB2.0 core used in Huawei Kunpeng920 SoC has a bug which might cause the host controller not issuing ping. Bug description: After indicating an Interrupt on Async Advance, the software uses the doorbell

[PATCH 5.7 114/265] efi/libstub: Fix path separator regression

2020-06-29 Thread Sasha Levin
From: Philipp Fent [ Upstream commit 7a88a6227dc7f2e723bba11ece05e57bd8dce8e4 ] Commit 9302c1bb8e47 ("efi/libstub: Rewrite file I/O routine") introduced a regression that made a couple of (badly configured) systems fail to boot [1]: Until 5.6, we silently accepted Unix-style file separators in

[PATCH 5.7 230/265] mm/slab: use memzero_explicit() in kzfree()

2020-06-29 Thread Sasha Levin
From: Waiman Long commit 8982ae527fbef170ef298650c15d55a9ccd33973 upstream. The kzfree() function is normally used to clear some sensitive information, like encryption keys, in the buffer before freeing it back to the pool. Memset() is currently used for buffer clearing. However unlikely,

[PATCH 5.7 101/265] ASoC: q6asm: handle EOS correctly

2020-06-29 Thread Sasha Levin
From: Srinivas Kandagatla [ Upstream commit 6476b60f32866be49d05e2e0163f337374c55b06 ] Successful send of EOS command does not indicate that EOS is actually finished, correct event to wait EOS is finished is EOS_RENDERED event. EOS_RENDERED means that the DSP has finished processing all the

[PATCH 5.7 127/265] devmap: Use bpf_map_area_alloc() for allocating hash buckets

2020-06-29 Thread Sasha Levin
From: Toke Høiland-Jørgensen [ Upstream commit 99c51064fb06146b3d494b745c947e438a10aaa7 ] Syzkaller discovered that creating a hash of type devmap_hash with a large number of entries can hit the memory allocator limit for allocating contiguous memory regions. There's really no reason to use

[PATCH 5.7 194/265] s390/seccomp: pass syscall arguments via seccomp_data

2020-06-29 Thread Sasha Levin
From: Sven Schnelle [ Upstream commit 664f5f8de825648d1d31f6f5652e3cd117c77b50 ] Use __secure_computing() and pass the register data via seccomp_data so secure computing doesn't have to fetch it again. Signed-off-by: Sven Schnelle Signed-off-by: Vasily Gorbik Signed-off-by: Sasha Levin ---

Re: [PATCH 01/11] kexec_file: allow archs to handle special regions while locating memory hole

2020-06-29 Thread Hari Bathini
Hi Petr, On 29/06/20 5:09 pm, Petr Tesarik wrote: > Hi Hari, > > is there any good reason to add two more functions with a very similar > name to an existing function? AFAICS all you need is a way to call a > PPC64-specific function from within kexec_add_buffer (PATCH 4/11), so > you could add

[PATCH 5.7 211/265] ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems

2020-06-29 Thread Sasha Levin
From: Kai-Heng Feng commit b2c22910fe5aae10b7e17b0721e63a3edf0c9553 upstream. There are two more HP systems control mute LED from HDA codec and need to expose micmute led class so SoF can control micmute LED. Add quirks to support them. Signed-off-by: Kai-Heng Feng Cc: Link:

[PATCH 5.7 162/265] nvme: fix possible deadlock when I/O is blocked

2020-06-29 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 3b4b19721ec652ad2c4fe51dfbe5124212b5f581 ] Revert fab7772bfbcf ("nvme-multipath: revalidate nvme_ns_head gendisk in nvme_validate_ns") When adding a new namespace to the head disk (via nvme_mpath_set_live) we will see partition scan which triggers I/O on

[PATCH 5.7 175/265] wil6210: account for napi_gro_receive never returning GRO_DROP

2020-06-29 Thread Sasha Levin
From: "Jason A. Donenfeld" [ Upstream commit 045790b7bc66a75070c112a61558c639cef2263e ] The napi_gro_receive function no longer returns GRO_DROP ever, making handling GRO_DROP dead code. This commit removes that dead code. Further, it's not even clear that device drivers have any business in

[PATCH 5.7 137/265] s390/qeth: fix error handling for isolation mode cmds

2020-06-29 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit e2dfcfba00ba4a414617ef4c5a8501fe21567eb3 ] Current(?) OSA devices also store their cmd-specific return codes for SET_ACCESS_CONTROL cmds into the top-level cmd->hdr.return_code. So once we added stricter checking for the top-level field a while ago, none

Re: [PATCH V4 3/3] dt-bindings: clock: Correct example in i.MX8QXP LPCG binding

2020-06-29 Thread Rob Herring
On Thu, Jun 18, 2020 at 11:22:58AM +0800, Anson Huang wrote: > In i.MX8QXP LPCG binding's example, "fsl,imx7d-usdhc" as fallback > compatible is incorrect, remove it to avoid below build error: > > Documentation/devicetree/bindings/clock/imx8qxp-lpcg.example.dt.yaml: > mmc@5b01: compatible:

[PATCH 5.7 255/265] Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()

2020-06-29 Thread Sasha Levin
From: Dan Carpenter commit b65a2d8c8614386f7e8d38ea150749f8a862f431 upstream. The "ie_len" variable is in the 0-255 range and it comes from the network. If it's over NDIS_802_11_LENGTH_RATES_EX (16) then that will lead to memory corruption. Fixes: 554c0a3abf21 ("staging: Add rtl8723bs sdio

[PATCH 5.7 072/265] ALSA: usb-audio: Add implicit feedback quirk for SSL2+.

2020-06-29 Thread Sasha Levin
From: Laurence Tratt commit e7585db1b0b5b4e4eb1967bb1472df308f7ffcbf upstream. This uses the same quirk as the Motu M2 and M4 to ensure the driver uses the audio interface's clock. Tested on an SSL2+. Signed-off-by: Laurence Tratt Cc: Link:

Re: [RFC PATCH] kvm,x86: Exit to user space in case of page fault error

2020-06-29 Thread Vivek Goyal
On Mon, Jun 29, 2020 at 10:56:25PM +0200, Vitaly Kuznetsov wrote: > Vivek Goyal writes: > > > On Fri, Jun 26, 2020 at 11:25:19AM +0200, Vitaly Kuznetsov wrote: > > > > [..] > >> > diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c > >> > index 76817d13c86e..a882a6a9f7a7 100644 > >> >

[PATCH 5.7 085/265] cifs/smb3: Fix data inconsistent when zero file range

2020-06-29 Thread Sasha Levin
From: Zhang Xiaoxu commit 6b69040247e14b43419a520f841f2b3052833df9 upstream. CIFS implements the fallocate(FALLOC_FL_ZERO_RANGE) with send SMB ioctl(FSCTL_SET_ZERO_DATA) to server. It just set the range of the remote file to zero, but local page cache not update, then the data inconsistent with

Re: [PATCH RFC 1/5] dt-bindings: add binding for CDNSP-DRD controller

2020-06-29 Thread Rob Herring
On Fri, 26 Jun 2020 06:54:46 +0200, Pawel Laszczak wrote: > This patch aim at documenting USB related dt-bindings for the > Cadence CDNSP-DRD controller. > > Signed-off-by: Pawel Laszczak > --- > .../devicetree/bindings/usb/cdns-cdnsp.yaml | 104 ++ > 1 file changed, 104

[PATCH 5.7 030/265] bnxt_en: Fix statistics counters issue during ifdown with older firmware.

2020-06-29 Thread Sasha Levin
From: Michael Chan [ Upstream commit c2dec363feb41544a76c8083aca2378990e17166 ] On older firmware, the hardware statistics are not cleared when the driver frees the hardware stats contexts during ifdown. The driver expects these stats to be cleared and saves a copy before freeing the stats

[PATCH 5.7 031/265] bnxt_en: Read VPD info only for PFs

2020-06-29 Thread Sasha Levin
From: Vasundhara Volam [ Upstream commit c55e28a8b43fcd7dc71868bd165705bc7741a7ca ] Virtual functions does not have VPD information. This patch modifies calling bnxt_read_vpd_info() only for PFs and avoids an unnecessary error log. Fixes: a0d0fd70fed5 ("bnxt_en: Read partno and serialno of the

[PATCH 5.7 227/265] btrfs: fix RWF_NOWAIT write not failling when we need to cow

2020-06-29 Thread Sasha Levin
From: Filipe Manana commit 260a63395f90f67d6ab89e4266af9e3dc34a77e9 upstream. If we attempt to do a RWF_NOWAIT write against a file range for which we can only do NOCOW for a part of it, due to the existence of holes or shared extents for example, we proceed with the write as if it were

Re: [PATCH v33 12/21] x86/sgx: Allow a limited use of ATTRIBUTE.PROVISIONKEY for attestation

2020-06-29 Thread Sean Christopherson
On Mon, Jun 29, 2020 at 06:02:42PM +0200, Borislav Petkov wrote: > On Thu, Jun 18, 2020 at 01:08:34AM +0300, Jarkko Sakkinen wrote: > > Provisioning Certification Enclave (PCE), the root of trust for other > > enclaves, generates a signing key from a fused key called Provisioning > > Certification

[PATCH 5.7 074/265] ALSA: usb-audio: Set 48 kHz rate for Rodecaster

2020-06-29 Thread Sasha Levin
From: Christopher Swenson commit 8abf41dcd1bcdda0d09905fb59d18f45c035c752 upstream. Like the Line6 devices, the Rode Rodecaster Pro does not support UAC2_CS_RANGE and only supports a sample rate of 48 kHz. Tested against a Rode Rodecaster Pro. Tested-by: Christopher Swenson Signed-off-by:

[PATCH 5.7 029/265] bnxt_en: Do not enable legacy TX push on older firmware.

2020-06-29 Thread Sasha Levin
From: Michael Chan [ Upstream commit fed7edd18143c68c63ea04a7e861123de6de ] Older firmware may not support legacy TX push properly and may not be disabling it. So we check certain firmware versions that may have this problem and disable legacy TX push unconditionally. Fixes: c0c050c58d84

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