Re: [PATCH] ASoC: tegra20-spdif: remove "default m"

2020-09-28 Thread Michał Mirosław
On Mon, Sep 28, 2020 at 10:10:26AM +0200, Thierry Reding wrote: > On Sat, Sep 26, 2020 at 09:42:40PM +0200, Michał Mirosław wrote: > > Make tegra20-spdif default to N as all other drivers do. > > > > Signed-off-by: Michał Mirosław > > Fixes: 774fec338bfc ("ASoC: Tegra: Implement SPDIF CPU DAI") >

Re: [PATCH v4 1/2] power: bq25890: document IBAT compensation DT properties

2020-09-28 Thread Rob Herring
On Sat, 26 Sep 2020 21:05:34 +0200, Michał Mirosław wrote: > Document new properties for IBAT compensation feature. > > Signed-off-by: Michał Mirosław > --- > v2: initial version > v4: renamed properties applying property-suffix > --- > Documentation/devicetree/bindings/power/supply/bq25890.txt

Re: [PATCH v4 6/6] io_uring: add support for zone-append

2020-09-28 Thread Kanchan Joshi
On Fri, Sep 25, 2020 at 8:22 AM Damien Le Moal wrote: > > On 2020/09/25 2:20, Kanchan Joshi wrote: > > On Tue, Sep 8, 2020 at 8:48 PM h...@infradead.org > > wrote: > >> > >> On Mon, Sep 07, 2020 at 12:31:42PM +0530, Kanchan Joshi wrote: > >>> But there are use-cases which benefit from supporting

Re: [PATCH v12 0/6] IOMMU user API enhancement

2020-09-28 Thread Jacob Pan
Hi Joerg, Just wondering if you will be able to take this for v5.10? There hasn't been any material changes since we last discussed in LPC. We have VFIO and other vSVA patches depending on it. Thanks! Jacob On Fri, 25 Sep 2020 09:32:41 -0700, Jacob Pan wrote: > IOMMU user API header was intr

Re: [PATCH v4 1/2] dt-bindings: clock: add QCOM SM8150 and SM8250 display clock bindings

2020-09-28 Thread Rob Herring
On Sun, 27 Sep 2020 15:06:50 -0400, Jonathan Marek wrote: > Add device tree bindings for display clock controller for > Qualcomm Technology Inc's SM8150 and SM8250 SoCs. > > Signed-off-by: Jonathan Marek > Tested-by: Dmitry Baryshkov (SM8250) > --- > .../bindings/clock/qcom,dispcc-sm8x50.yaml

Re: [PATCH 1/2] drm/bridge: sii902x: Enable I/O and core VCC supplies if present

2020-09-28 Thread Sam Ravnborg
Hi Alex. On Mon, Sep 28, 2020 at 12:35:01PM -0500, Alex G. wrote: > On 9/26/20 1:49 PM, Sam Ravnborg wrote: > > Hi Alexandru > > > > On Thu, Sep 24, 2020 at 03:05:05PM -0500, Alexandru Gagniuc wrote: > > > On the SII9022, the IOVCC and CVCC12 supplies must reach the correct > > > voltage before t

Re: [PATCH v13 8/8] x86/vsyscall/64: Fixup Shadow Stack and Indirect Branch Tracking for vsyscall emulation

2020-09-28 Thread Yu, Yu-cheng
On 9/28/2020 10:37 AM, Andy Lutomirski wrote: On Mon, Sep 28, 2020 at 9:59 AM Yu-cheng Yu wrote: On Fri, 2020-09-25 at 09:51 -0700, Andy Lutomirski wrote: On Sep 25, 2020, at 9:48 AM, Yu, Yu-cheng wrote: + + cet = get_xsave_addr(&fpu->state.xsave, XFEATURE_CET_USER); +

RE: [PATCH 2/2] dt-bindings: devfreq: Document L2 Krait CPU Cache devfreq driver

2020-09-28 Thread ansuelsmth
> -Original Message- > From: Rob Herring > Sent: Monday, September 28, 2020 8:09 PM > To: Ansuel Smith > Cc: MyungJoo Ham ; Kyungmin Park > ; Chanwoo Choi > ; linux...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/2] dt-bindings: de

Re: [PATCH v4 01/20] dt-bindings: arm: hisilicon: split the dt-bindings of each controller into a separate file

2020-09-28 Thread Rob Herring
On Mon, Sep 28, 2020 at 11:13:05PM +0800, Zhen Lei wrote: > Split the devicetree bindings of each Hisilicon controller from > hisilicon.txt into a separate file, the file name is the compatible name > attach the .txt file name extension. > > All Hi6220 dedicated controllers are grouped into subdir

Re: [PATCH v4 02/20] dt-bindings: arm: hisilicon: convert Hisilicon board/soc bindings to json-schema

2020-09-28 Thread Rob Herring
On Mon, 28 Sep 2020 23:13:06 +0800, Zhen Lei wrote: > Convert Hisilicon SoC bindings to DT schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../bindings/arm/hisilicon/hisilicon.txt | 57 > .../bindings/arm/hisilicon/hisilicon.yaml | 62

Re: [PATCH v4 03/20] dt-bindings: arm: hisilicon: add binding for SD5203 SoC

2020-09-28 Thread Rob Herring
On Mon, Sep 28, 2020 at 11:13:07PM +0800, Zhen Lei wrote: > Add devicetree binding for Hisilicon SD5203 SoC. > > Signed-off-by: Zhen Lei > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml | 4 > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/b

[PATCH v4] : Add nitems()

2020-09-28 Thread Alejandro Colomar
'nitems()' calculates the length of an array in number of items. It is safe: if a pointer is passed to the macro (or function, in C++), the compilation is broken due to: - In >= C11: _Static_assert() - In C89, C99: Negative anonymous bitfield - In C++: The template requires an array Some BSDs a

[PATCH v2] ASoC: tegra20-spdif: remove "default m"

2020-09-28 Thread Michał Mirosław
Make tegra20-spdif default to N as all other drivers do. Add the selection to defconfigs instead. Signed-off-by: Michał Mirosław Fixes: 774fec338bfc ("ASoC: Tegra: Implement SPDIF CPU DAI") --- v2: add the symbol to defconfig as suggested by Thierry Reding --- arch/arm/configs/multi_v7_defconfi

Re: [patch 15/35] net: sfc: Replace in_interrupt() usage.

2020-09-28 Thread Edward Cree
On 27/09/2020 20:49, Thomas Gleixner wrote: > Note, that the fixes tag is empty as it is unclear which of the commits to > blame. Seems like it should be Fixes: f00bf2305cab("sfc: don't update stats on VF when called in atomic context")  since that adds the in_interrupt() check and the code concer

Re: [PATCH v4 07/20] dt-bindings: arm: hisilicon: convert system controller bindings to json-schema

2020-09-28 Thread Rob Herring
On Mon, Sep 28, 2020 at 11:13:11PM +0800, Zhen Lei wrote: > Convert the Hisilicon system controller and its variants binding to DT > schema format using json-schema. All of them are grouped into one yaml > file, to help users understand differences and avoid repeated > descriptions. > > Signed-off

Re: [PATCH v5 10/17] mm/memremap_pages: convert to 'struct range'

2020-09-28 Thread boris . ostrovsky
On 9/25/20 3:12 PM, Dan Williams wrote: > > diff --git a/drivers/xen/unpopulated-alloc.c b/drivers/xen/unpopulated-alloc.c > index 3b98dc921426..091b8669eca3 100644 > --- a/drivers/xen/unpopulated-alloc.c > +++ b/drivers/xen/unpopulated-alloc.c > @@ -18,27 +18,37 @@ static unsigned int list_cou

[PATCH] ubifs: journal: Make sure to not dirty twice for auth nodes

2020-09-28 Thread Richard Weinberger
When removing the last reference of an inode the size of an auth node is already part of write_len. So we must not call ubifs_add_auth_dirt(). Call it only when needed. Cc: Cc: Sascha Hauer Cc: Kristof Havasi Fixes: 6a98bc4614de ("ubifs: Add authentication nodes to journal") Reported-by: Kristo

Re: linux-next: Tree for Sep 28 (drivers/usb/dwc2/drd.o)

2020-09-28 Thread Randy Dunlap
On 9/28/20 4:55 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20200925: > on x86_64: CONFIG_USB_ROLE_SWITCH=m while this driver is builtin. ld: drivers/usb/dwc2/drd.o: in function `dwc2_drd_role_sw_set': drd.c:(.text+0xd0): undefined reference to `usb_role_switch_get_drvdata' ld: driv

Re: [PATCH v4 12/20] dt-bindings: arm: hisilicon: convert hisilicon,hi3798cv200-perictrl bindings to json-schema

2020-09-28 Thread Rob Herring
On Mon, Sep 28, 2020 at 11:13:16PM +0800, Zhen Lei wrote: > Convert the Hisilicon Hi3798CV200 Peripheral Controller binding to DT > schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../controller/hisilicon,hi3798cv200-perictrl.txt | 21 -- > .../controller/hisilicon,

[PATCH] drm/msm/dpu: Add newline to printks

2020-09-28 Thread Stephen Boyd
Printk messages need newlines. Add it here. Cc: Abhinav Kumar Cc: Jeykumar Sankaran Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") Signed-off-by: Stephen Boyd --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/g

Re: [PATCH v4 20/20] dt-bindings: arm: hisilicon: convert LPC controller bindings to json-schema

2020-09-28 Thread Rob Herring
On Mon, Sep 28, 2020 at 11:13:24PM +0800, Zhen Lei wrote: > Convert the Hisilicon Hip06 SoCs implement a Low Pin Count (LPC) > controller binding to DT schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../arm/hisilicon/hisilicon-low-pin-count.txt | 33 > ...

Re: [ANNOUNCE][CFP] Real-Time Linux Mini-Summit 2020 - Virtual

2020-09-28 Thread Daniel Bristot de Oliveira
Hi all! This is a gentle reminder about the CFP deadline for the Real-time Linux Mini-Summit 2020. The CFP will be open until September 30th, 2020, at 23:59 PST. IOW: this Wednesday (in the previous mail I said that Sept 30th was on Saturday, which is not the case (at last, not this year :-)) my

Re: perf script, libperf: python binding bug (bytearrays vs. strings)

2020-09-28 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 28, 2020 at 03:39:42PM +0200, Jiri Olsa escreveu: > On Mon, Sep 28, 2020 at 12:43:11PM +0200, Hagen Paul Pfeifer wrote: > > * Jiri Olsa | 2020-09-28 12:08:08 [+0200]: > > > > >patch below fixes it for me, but seems strange this was > > >working till now.. maybe you're the only one usin

Re: [PATCH] arm64: dts: fix endianness of rcpm

2020-09-28 Thread Fabio Estevam
Hi Ran, On Mon, Sep 28, 2020 at 6:14 AM Ran Wang wrote: > > From: Biwen Li > > Add little-endian property of rcpm for ls1028a,ls1088a,ls208xa > > Signed-off-by: Biwen Li You missed your Signed-off-by tag. What about adding a Fixes tag?

Re: [Freedreno] [PATCH] drm/msm/dpu: Add newline to printks

2020-09-28 Thread abhinavk
On 2020-09-28 12:16, Stephen Boyd wrote: Printk messages need newlines. Add it here. Cc: Abhinav Kumar Cc: Jeykumar Sankaran Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") Signed-off-by: Stephen Boyd Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 ++--

Re: REGRESSION: in intel video driver following introduction of mm_struct.has_pinned

2020-09-28 Thread Peter Xu
On Mon, Sep 28, 2020 at 02:14:16PM -0400, Tony Fischetti wrote: > After a length git bisection, I determined the commit that introduced > a change that ultimately caused a bug/oops null dereference (see below > for relevant syslog entries) was 008cfe4418b3dbda2ff.. (mm: Introduce > mm_struct.has_pi

Re: [PATCH 6/8] selftests/vm: gup_test: introduce the dump_pages() sub-test

2020-09-28 Thread Ira Weiny
On Sun, Sep 27, 2020 at 11:21:57PM -0700, John Hubbard wrote: > For quite a while, I was doing a quick hack to gup_test.c (previously, > gup_benchmark.c) whenever I wanted to try out my changes to dump_page(). > This makes that hack unnecessary, and instead allows anyone to easily > get the same co

Re: [PATCH 7/8] selftests/vm: run_vmtest.sh: update and clean up gup_test invocation

2020-09-28 Thread Ira Weiny
On Sun, Sep 27, 2020 at 11:21:58PM -0700, John Hubbard wrote: > Run benchmarks on the _fast variants of gup and pup, as originally > intended. > > Run the new gup_test sub-test: dump pages. In addition to exercising the > dump_page() call, it also demonstrates the various options you can use > to

Re: [PATCH v11 6/6] docs: mm: numaperf.rst Add brief description for access class 1.

2020-09-28 Thread Randy Dunlap
Hi-- On 9/28/20 5:52 AM, Jonathan Cameron wrote: > Try to make minimal changes to the document which already describes > access class 0 in a generic fashion (including IO initiatiors that > are not CPUs). > > Signed-off-by: Jonathan Cameron > --- > v11: No change. > > Documentation/admin-guid

Re: [RESEND PATCH net-next v5 1/2] net: phy: dp83869: support Wake on LAN

2020-09-28 Thread Andrew Lunn
On Mon, Sep 28, 2020 at 09:51:34AM -0500, Dan Murphy wrote: > This adds WoL support on TI DP83869 for magic, magic secure, unicast and > broadcast. > > Signed-off-by: Dan Murphy Reviewed-by: Andrew Lunn Andrew

Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

2020-09-28 Thread Linus Torvalds
On Mon, Sep 28, 2020 at 11:39 AM Jason Gunthorpe wrote: > > I prefer the version where read pin and write pin are symmetric. The > PTE in the MM should not change once pinned. The thing is, I don't really see how to do that. Right now the write pin fastpath part depends on the PTE being writable

Re: [PATCH v1 net] net: stmmac: Modify configuration method of EEE timers

2020-09-28 Thread David Miller
From: Voon Weifeng Date: Mon, 28 Sep 2020 18:02:41 +0800 > @@ -90,11 +90,12 @@ static const u32 default_msg_level = (NETIF_MSG_DRV | > NETIF_MSG_PROBE | > NETIF_MSG_LINK | NETIF_MSG_IFUP | > NETIF_MSG_IFDOWN | NETIF_MSG_TIME

Re: [PATCH 00/10] rpmsg: Make RPMSG name service modular

2020-09-28 Thread Mathieu Poirier
Hey Guennadi, On Mon, Sep 28, 2020 at 11:49:42AM +0200, Guennadi Liakhovetski wrote: > (re-sending, mailing list delivery attempts last Friday failed) > I got your email on Friday but had to tend to other things. > Hi Mathieu, > > On Thu, Sep 24, 2020 at 12:18:53PM -0600, Mathieu Poirier wrote

Re: [RESEND PATCH net-next v5 2/2] net: phy: dp83869: Add speed optimization feature

2020-09-28 Thread Andrew Lunn
On Mon, Sep 28, 2020 at 09:51:35AM -0500, Dan Murphy wrote: > Set the speed optimization bit on the DP83869 PHY. > > Speed optimization, also known as link downshift, enables fallback to 100M > operation after multiple consecutive failed attempts at Gigabit link > establishment. Such a case could

Re: [PATCH v4] mtd: parsers: bcm63xx: simplify CFE detection

2020-09-28 Thread Florian Fainelli
On 9/28/2020 7:16 AM, Miquel Raynal wrote: Hello, Guenter Roeck wrote on Mon, 21 Sep 2020 20:26:19 -0700: On 9/21/20 8:18 PM, Naresh Kamboju wrote: On Fri, 14 Aug 2020 at 14:26, Guenter Roeck wrote: On Mon, Jun 15, 2020 at 11:17:40AM +0200, Álvaro Fernández Rojas wrote: Instead of try

Re: [RFC PATCH v2 03/30] mm: thp: use single linked list for THP page table page deposit.

2020-09-28 Thread Matthew Wilcox
On Mon, Sep 28, 2020 at 01:54:01PM -0400, Zi Yan wrote: > struct {/* Page table pages */ > - unsigned long _pt_pad_1;/* compound_head */ > - pgtable_t pmd_huge_pte; /* protected by page->ptl */ > + struct llis

Re: [PATCH] ASoC: dt-bindings: sgtl5000: Add common clock properties

2020-09-28 Thread Mark Brown
On Fri, 25 Sep 2020 23:27:19 +0200, Krzysztof Kozlowski wrote: > Add common properties appearing in DTSes (assigned-clocks and similar) > to fix dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dt.yaml: audio-codec@a: > 'assigned-clock-parents', 'assigned-clo

Re: [PATCH] ASoC: q6afe-clocks: Fix typo in SPDX Licence

2020-09-28 Thread Mark Brown
On Sat, 26 Sep 2020 18:18:44 +0100, Srinivas Kandagatla wrote: > Looks like there was a major typo in SPDX Licence version, > Not sure how it was missed. > This patch is to fix it. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: q6afe

Re: [PATCH v2 0/2] regmap: add support to regmap_field_bulk_alloc/free

2020-09-28 Thread Mark Brown
On Fri, 25 Sep 2020 17:48:54 +0100, Srinivas Kandagatla wrote: > Usage of regmap_field_alloc becomes much overhead when number of fields > exceed more than 3. Most of driver seems to totally covered up with these > allocs/free making to very hard to read the code! On such driver is QCOM LPASS > dri

Re: [PATCH v2 1/2] ASoC: cs4234: Add dtschema binding document

2020-09-28 Thread Mark Brown
On Mon, 28 Sep 2020 12:18:20 +0100, Richard Fitzgerald wrote: > Document the bindings for the CS4234 ASoC codec driver. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: cs4234: Add dtschema binding document commit: 5ebba5e7d71c96

Re: [PATCH v3] spi: fsl-dspi: fix NULL pointer dereference

2020-09-28 Thread Mark Brown
On Mon, 28 Sep 2020 10:55:00 +0200, Michael Walle wrote: > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in remove > path") this driver causes a kernel oops: > > [1.891065] Unable to handle kernel NULL pointer dereference at virtual > address 0080 > [..] > [2.0

Re: [PATCH v2] spi: fsl-dspi: fix NULL pointer dereference

2020-09-28 Thread Mark Brown
On Mon, 28 Sep 2020 10:32:38 +0200, Michael Walle wrote: > Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in remove > path") this driver causes a kernel oops: > > [1.891065] Unable to handle kernel NULL pointer dereference at virtual > address 0080 > [1.899889]

Re: [PATCH] regmap: destroy mutex (if used) in regmap_exit()

2020-09-28 Thread Mark Brown
On Mon, 28 Sep 2020 14:06:14 +0200, Bartosz Golaszewski wrote: > While not destroying mutexes doesn't lead to memory leaks, it's still > the correct thing to do for mutex debugging accounting. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1

Re: [PATCH v2 1/2] regulator: rtmv20: Adds support for Richtek RTMV20 load switch regulator

2020-09-28 Thread Mark Brown
On Mon, 28 Sep 2020 15:19:43 +0800, cy_huang wrote: > Add support for Richtek RTMV20 load switch regulator. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/2] regulator: rtmv20: Adds support for Richtek RTMV20 load switch regulator

Re: [PATCH][next] spi: hisi-sfc-v3xx: fix spelling mistake "occured" -> "occurred"

2020-09-28 Thread Mark Brown
On Mon, 28 Sep 2020 13:30:42 +0100, Colin King wrote: > There is a spelling mistake in a dev_err message. Fix it. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: hisi-sfc-v3xx: fix spelling mistake "occured" -> "occurred" commit: 0

Re: [PATCH net v3] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-28 Thread Jakub Kicinski
On Mon, 28 Sep 2020 13:52:23 +0800 Willy Liu wrote: > diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c > old mode 100644 > new mode 100755 Please don't change the file mode to executable. Checkpatch should warn you about this.

Re: [PATCH net] net: ethernet: ave: Replace alloc_etherdev() with devm_alloc_etherdev()

2020-09-28 Thread David Miller
From: Kunihiko Hayashi Date: Mon, 28 Sep 2020 19:04:53 +0900 > Use devm_alloc_etherdev() to simplify the code instead of alloc_etherdev(). > > Signed-off-by: Kunihiko Hayashi Applied to net-next, thanks.

Re: [PATCH v5 2/3] remoteproc: qcom: Add capability to collect minidumps

2020-09-28 Thread Siddharth Gupta
On 9/25/2020 9:10 PM, Bjorn Andersson wrote: On Thu 24 Sep 16:51 PDT 2020, Siddharth Gupta wrote: This patch adds support for collecting minidump in the event of remoteproc crash. Parse the minidump table based on remoteproc's unique minidump-id, read all memory regions from the remoteproc's

Re: [PATCH 1/5] iommu/tegra-smmu: Unwrap tegra_smmu_group_get

2020-09-28 Thread Nicolin Chen
Hi Thierry, Thanks for the review. On Mon, Sep 28, 2020 at 09:13:56AM +0200, Thierry Reding wrote: > > -static struct iommu_group *tegra_smmu_group_get(struct tegra_smmu *smmu, > > - unsigned int swgroup) > > +static struct iommu_group *tegra_smmu_device_

Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

2020-09-28 Thread Linus Torvalds
On Mon, Sep 28, 2020 at 11:39 AM Jason Gunthorpe wrote: > > All of gup_fast and copy_mm could be wrappered in a seq count so that > gup_fast always goes to the slow path if fork is concurrent. > > That doesn't sound too expensive and avoids all the problems you > pointed with the WP scheme. Ok, I

Re: [PATCH net-next v5 1/2] net: phy: dp83869: support Wake on LAN

2020-09-28 Thread David Miller
From: Dan Murphy Date: Mon, 28 Sep 2020 09:47:24 -0500 > Hello > > On 9/28/20 9:46 AM, Dan Murphy wrote: >> This adds WoL support on TI DP83869 for magic, magic secure, unicast >> and >> broadcast. >> >> Signed-off-by: Dan Murphy >> --- >> >> v5 - Fixed 0-day warning for u16 >> >> arch/arm/co

Re: [PATCH v6 4/4] Bluetooth: Add toggle to switch off interleave scan

2020-09-28 Thread Jakub Kicinski
On Mon, 28 Sep 2020 15:41:21 +0800 Howard Chung wrote: > This patch add a configurable parameter to switch off the interleave > scan feature. > > Signed-off-by: Howard Chung > Reviewed-by: Alain Michaud This seems to cause new warnings on W=1 C=1 builds: In file included from ../net/bluetooth/

Re: [RESEND PATCH net-next v5 0/2] DP83869 WoL and Speed optimization

2020-09-28 Thread David Miller
From: Dan Murphy Date: Mon, 28 Sep 2020 09:51:33 -0500 > Add the WoL and Speed Optimization (aka downshift) support for the DP83869 > Ethernet PHY. Series applied.

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-28 Thread Dave Hansen
On 9/28/20 12:32 PM, Jarkko Sakkinen wrote: > My problem is that I fully agree what you say in your description but > disagree on that EMODPE should not be mentioned. I'll just be very clear: I'm not willing to ack any patch with a changelog that has more than a passing mention of EMODPE. Do what

[PATCH v2 RESEND 0/1] PCI: pcie_bus_config can be set at build time

2020-09-28 Thread Jim Quinlan
v2: Add more description text in the new Kconfig settings (Bjorn). v1: Original Jim Quinlan (1): PCI: pcie_bus_config can be set at build time drivers/pci/Kconfig | 56 + drivers/pci/pci.c | 12 ++ 2 files changed, 68 insertions(+) -- 2.

[PATCH v2 RESEND 1/1] PCI: pcie_bus_config can be set at build time

2020-09-28 Thread Jim Quinlan
The Kconfig is modified so that the pcie_bus_config setting can be done at build time in the same manner as the CONFIG_PCIEASPM_ choice. The pci_bus_config setting may still be overridden by the bootline param. Signed-off-by: Jim Quinlan --- drivers/pci/Kconfig | 56

[PATCH] ACPI / NUMA: Add stub function for pxm_to_node

2020-09-28 Thread Nathan Chancellor
After commit 01feba590cd6 ("ACPI: Do not create new NUMA domains from ACPI static tables that are not SRAT"): $ scripts/config --file arch/x86/configs/x86_64_defconfig -d NUMA -e ACPI_NFIT $ make -skj"$(nproc)" distclean defconfig drivers/acpi/nfit/ drivers/acpi/nfit/core.c: In function ‘acpi_nfi

Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

2020-09-28 Thread Linus Torvalds
On Mon, Sep 28, 2020 at 12:36 PM Linus Torvalds wrote: > > So I'll do the pte wrprotect/restore removal. Anybody willing to do > and test the sequence count approach? So the wrprotect removal is trivial, with most of it being about the comments. However, when I look at this, I am - once again -

Re: KASLR support on ARM with Kernel 4.9 and 4.14

2020-09-28 Thread Kees Cook
On Mon, Sep 28, 2020 at 07:41:13PM +0530, Pintu Agarwal wrote: > On Mon, 28 Sep 2020 at 19:15, Pintu Agarwal wrote: > > > > On Sat, 26 Sep 2020 at 22:10, Kees Cook wrote: > > > > > > >> I wonder if this is an Android Common kernel? > > > > It uses the below kernel for 4.14: > > > > https://gitlab

[RFC 1/3] iommu: Fix merging in iommu_insert_resv_region

2020-09-28 Thread Eric Auger
We currently fail to merge a region into another one whose top address is ULLONG_MAX. This situation shouldn't have been encountered yet due to the nature of reserved regions being exposed but this would happen if we were to expose regions beyond the reach of dma_mask or beyond the reach of the iom

[RFC 3/3] vfio/type1: Increase the version of VFIO_IOMMU_TYPE1_INFO_CAP_IOVA_RANGE

2020-09-28 Thread Eric Auger
Now the IOVA regions beyond the dma_mask and the vfio aperture are removed from the usable IOVA ranges, the API becomes reliable to compute the max IOVA. Let's advertise this by using a new version for the capability. Signed-off-by: Eric Auger --- drivers/vfio/vfio_iommu_type1.c | 2 +- 1 file c

[RFC 0/3] iommu: Reserved regions for IOVAs beyond dma_mask and iommu aperture

2020-09-28 Thread Eric Auger
VFIO currently exposes the usable IOVA regions through the VFIO_IOMMU_GET_INFO ioctl / VFIO_IOMMU_TYPE1_INFO_CAP_IOVA_RANGE capability. However it fails to take into account the dma_mask of the devices within the container. The top limit currently is defined by the iommu aperture. So, for instance

[RFC 2/3] iommu: Account for dma_mask and iommu aperture in IOVA reserved regions

2020-09-28 Thread Eric Auger
VFIO currently exposes the usable IOVA regions through the VFIO_IOMMU_GET_INFO ioctl. However it fails to take into account the dma_mask of the devices within the container. The top limit currently is defined by the iommu aperture. So, for instance, if the IOMMU supports up to 48bits, it may give

Re: [patch 11/35] net: ionic: Replace in_interrupt() usage.

2020-09-28 Thread Shannon Nelson
On 9/28/20 10:24 AM, Shannon Nelson wrote: On 9/27/20 12:48 PM, Thomas Gleixner wrote: From: Sebastian Andrzej Siewior The in_interrupt() usage in this driver tries to figure out which context may sleep and which context may not sleep. in_interrupt() is not really suitable as it misses both

Re: [PATCH AUTOSEL 4.14 112/127] perf parse-events: Fix incorrect conversion of 'if () free()' to 'zfree()'

2020-09-28 Thread Naresh Kamboju
On Fri, 18 Sep 2020 at 08:00, Sasha Levin wrote: > > From: Arnaldo Carvalho de Melo > > [ Upstream commit 7fcdccd4237724931d9773d1e3039bfe053a6f52 ] > > When applying a patch by Ian I incorrectly converted to zfree() an > expression that involved testing some other struct member, not the one > be

Re: [PATCH] media: uapi: h264: Add documentation to the interface header

2020-09-28 Thread Ezequiel Garcia
On Thu, 2020-09-24 at 10:29 +0200, Hans Verkuil wrote: > Hi Ezequiel, > > On 21/09/2020 21:38, Ezequiel Garcia wrote: > > In preparation for making the interface public, > > document all the structures. Special care is taken to > > annotate those fields that depart from the H264 syntax. > > > > T

Re: [PATCH V1 vhost-next] vdpa/mlx5: Make vdpa core driver a distinct module

2020-09-28 Thread Michael S. Tsirkin
On Thu, Sep 24, 2020 at 05:32:31PM +0300, Eli Cohen wrote: > Change core vdpa functionality into a loadbale module such that upcoming > block implementation will be able to use it. > > Signed-off-by: Eli Cohen Why don't we merge this patch together with the block module? > --- > V0 --> V1: > Re

[PATCH v2 0/2] Add SDM630/636/660 interconnect driver

2020-09-28 Thread kholk11
From: AngeloGioacchino Del Regno This patch series adds the SDM660 interconnect provider driver in order to stop some timeouts and achieve some decent performance by avoiding to be NoC limited. It's also providing some power consumption improvement, but I have only measured that as less heat, whi

Re: [PATCH 7/8] selftests/vm: run_vmtest.sh: update and clean up gup_test invocation

2020-09-28 Thread John Hubbard
On 9/28/20 12:26 PM, Ira Weiny wrote: On Sun, Sep 27, 2020 at 11:21:58PM -0700, John Hubbard wrote: ... +echo "--" +echo "running gup_test -ct -F 0x1 0 19 0x1000" +echo " Dumps pages 0, 19, and 4096, using pin_user_pages (-F 0x1)" +e

[PATCH v2 1/2] interconnect: qcom: Add SDM660 interconnect provider driver

2020-09-28 Thread kholk11
From: AngeloGioacchino Del Regno Introduce a driver for the Qualcomm interconnect busses found in the SDM630/SDM636/SDM660 SoCs. The topology consists of several NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-slave pairs. On a note, these ch

[PATCH v2 2/2] dt-bindings: interconnect: Add bindings for Qualcomm SDM660 NoC

2020-09-28 Thread kholk11
From: AngeloGioacchino Del Regno Add the bindings for the Qualcomm SDM660-class NoC, valid for SDM630, SDM636, SDM660 and SDA variants. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/interconnect/qcom,sdm660.yaml| 147 ++ 1 file changed, 147 insertions(+) creat

[PATCH v1] kunit: tool: handle when .kunit exists but .kunitconfig does not

2020-09-28 Thread Brendan Higgins
Right now .kunitconfig and the build dir are automatically created if the build dir does not exists; however, if the build dir is present and .kunitconfig is not, kunit_tool will crash. Fix this by checking for both the build dir as well as the .kunitconfig. NOTE: This depends on commit 5578d008d

Re: [PATCH 4.19 38/92] kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler

2020-09-28 Thread Naresh Kamboju
On Thu, 20 Aug 2020 at 15:23, Greg Kroah-Hartman wrote: > > From: Muchun Song > > commit 0cb2f1372baa60af8456388a574af6133edd7d80 upstream. > > We found a case of kernel panic on our server. The stack trace is as > follows(omit some irrelevant information): > > BUG: kernel NULL pointer derefere

Re: [PATCH v1 0/6] seccomp: Implement constant action bitmaps

2020-09-28 Thread Kees Cook
On Sat, Sep 26, 2020 at 01:11:50PM -0500, YiFei Zhu wrote: > On Fri, Sep 25, 2020 at 2:07 AM YiFei Zhu wrote: > > I'll try to profile the latter later on my qemu-kvm, with a recent > > libsecomp with binary tree and docker's profile, probably both direct > > filter attaches and filter attaches wit

Re: [PATCH] media: coda: avoid starvation on well-compressed data

2020-09-28 Thread Ezequiel Garcia
Hi Benjamin, On Fri, 18 Sep 2020 at 05:35, Benjamin Bara - SKIDATA wrote: > > Hi all, > > there are still cases where the decoder starves. > Also, the failure log at the bottom contradicts with the 2x256 bytes > assumption. > When I increase the threshold to 512 bytes, the respective video (and

Re: [PATCHv5 kselftest next] selftests/run_kselftest.sh: make each test individually selectable

2020-09-28 Thread Kees Cook
On Sun, Sep 27, 2020 at 09:53:34AM +0800, Hangbin Liu wrote: > On Fri, Sep 25, 2020 at 02:16:14PM -0700, Kees Cook wrote: > > On Fri, Sep 25, 2020 at 01:51:53PM +0530, Naresh Kamboju wrote: > > > On Mon, 14 Sep 2020 at 07:53, Hangbin Liu wrote: > > > > > > > > Currently, after generating run_kself

Re: [PATCH 2/2] selftests/run_kselftest.sh: Make each test individually selectable

2020-09-28 Thread Kees Cook
On Sun, Sep 27, 2020 at 10:48:40AM +0800, Hangbin Liu wrote: > On Fri, Sep 25, 2020 at 04:45:27PM -0700, Kees Cook wrote: > > Currently with run_kselftest.sh there is no way to choose which test > > we could run. All the tests listed in kselftest-list.txt are all run > > every time. This patch enha

Re: [PATCH 2/8] selftests/vm: use a common gup_test.h

2020-09-28 Thread John Hubbard
On 9/28/20 5:57 AM, Jason Gunthorpe wrote: On Sun, Sep 27, 2020 at 11:21:53PM -0700, John Hubbard wrote: diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile index d1ae706d9927..9cc6bc087461 100644 +++ b/tools/testing/selftests/vm/Makefile @@ -130,3 +130,5 @@ e

[RFC PATCH net-next] sfc: replace in_interrupt() usage

2020-09-28 Thread Edward Cree
efx_ef10_try_update_nic_stats_vf() used in_interrupt() to figure out whether it is safe to sleep (for MCDI) or not. The only caller from which it was not is efx_net_stats(), which can be invoked under dev_base_lock from net-sysfs::netstat_show(). So add a new update_stats_atomic() method to struc

Re: [PATCH AUTOSEL 4.9 64/90] serial: uartps: Wait for tx_empty in console setup

2020-09-28 Thread Naresh Kamboju
On Fri, 18 Sep 2020 at 07:55, Sasha Levin wrote: > > From: Raviteja Narayanam > > [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] > > On some platforms, the log is corrupted while console is being > registered. It is observed that when set_termios is called, there > are still some by

Re: [PATCH v3] mm: cma: indefinitely retry allocations in cma_alloc

2020-09-28 Thread Chris Goldsworthy
On 2020-09-27 12:23, Minchan Kim wrote: On Wed, Sep 23, 2020 at 10:16:25PM -0700, Chris Goldsworthy wrote: CMA allocations will fail if 'pinned' pages are in a CMA area, since we +config CMA_RETRY_SLEEP_DURATION + int "Sleep duration between retries" + depends on CMA + def

Re: [PATCH v1 1/5] mm/page_alloc: convert "report" flag of __free_one_page() to a proper flag

2020-09-28 Thread Pankaj Gupta
> Let's prepare for additional flags and avoid long parameter lists of bools. > Follow-up patches will also make use of the flags in __free_pages_ok(), > however, I wasn't able to come up with a better name for the type - should > be good enough for internal purposes. > > Reviewed-by: Alexander Duy

Re: [PATCH AUTOSEL 4.9 64/90] serial: uartps: Wait for tx_empty in console setup

2020-09-28 Thread Naresh Kamboju
On Tue, 29 Sep 2020 at 01:41, Naresh Kamboju wrote: > > On Fri, 18 Sep 2020 at 07:55, Sasha Levin wrote: > > > > From: Raviteja Narayanam > > > > [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] > > > > On some platforms, the log is corrupted while console is being > > registered. It

Re: [PATCH v2 00/12] Overhaul multi-page lookups for THP

2020-09-28 Thread Matthew Wilcox
ping On Mon, Sep 14, 2020 at 02:00:30PM +0100, Matthew Wilcox (Oracle) wrote: > The critical patch to review here is patch 11, "Handle truncates that > split THPs". This code is shared with shmem, and while xfstests passes > (both with the tmpfs filesystem and with THPs enabled for XFS), it is

[PATCH v2] media: uapi: h264: Add documentation to the interface header

2020-09-28 Thread Ezequiel Garcia
In preparation for making the interface public, document all the structures. Special care is taken to annotate those fields that depart from the H264 syntax. This commit only adds documentation and doesn't affect functionality in any way. Signed-off-by: Ezequiel Garcia --- v2: * Address the feed

Re: [PATCH] h8300: Make irq disable and enable a compiler barrier

2020-09-28 Thread Steven Rostedt
Ping! (Warning 1: is this architecture still maintained?) -- Steve On Fri, 18 Sep 2020 15:25:07 -0400 Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > In a conversation on #linux-rt, it was asked if the irq disabling and > enabling functions were a compiler barrier, and reads wont

Re: [PATCH v1 0/6] seccomp: Implement constant action bitmaps

2020-09-28 Thread YiFei Zhu
On Mon, Sep 28, 2020 at 3:04 PM Kees Cook wrote: > Regardless, let's take things one step at a time. First, let's do > the simplest version of the feature, and then let's look at further > optimizations. > > Can you send a v3 and we can continue from there? ok, will do later tonight / tomorrow.

[PATCH] perf tools: Fix printable strings in python3 scripts

2020-09-28 Thread Jiri Olsa
Hagen reported broken strings in python3 tracepoint scripts: make PYTHON=python3 ./perf record -e sched:sched_switch -a -- sleep 5 ./perf script --gen-script py ./perf script -s ./perf-script.py [..] sched__sched_switch 7 563231.7595257920 swapper \ prev_comm=bytearra

Re: [PATCH AUTOSEL 4.4 42/64] serial: uartps: Wait for tx_empty in console setup

2020-09-28 Thread Naresh Kamboju
On Fri, 18 Sep 2020 at 07:51, Sasha Levin wrote: > > From: Raviteja Narayanam > > [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] > > On some platforms, the log is corrupted while console is being > registered. It is observed that when set_termios is called, there > are still some by

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-28 Thread Jarkko Sakkinen
On Mon, Sep 28, 2020 at 09:48:10AM -0700, Dave Hansen wrote: > On 9/28/20 9:19 AM, Jarkko Sakkinen wrote: > > On Mon, Sep 28, 2020 at 07:04:38AM -0700, Dave Hansen wrote: > >> EMODPE is virtually irrelevant for this whole thing. The x86 PTE > >> permissions still specify the most restrictive permi

Re: [PATCH 8/8] selftests/vm: hmm-tests: remove the libhugetlbfs dependency

2020-09-28 Thread John Hubbard
On 9/28/20 6:02 AM, Jason Gunthorpe wrote: On Sun, Sep 27, 2020 at 11:21:59PM -0700, John Hubbard wrote: ... +gcc -c $tmpfile_c -o $tmpfile_o >/dev/null 2>&1 This gcc has to come from some makefile variable ahem, yes, that really should have just been $(CC), will change to that. This is

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-28 Thread Jarkko Sakkinen
On Mon, Sep 28, 2020 at 12:45:27PM -0700, Dave Hansen wrote: > On 9/28/20 12:32 PM, Jarkko Sakkinen wrote: > > My problem is that I fully agree what you say in your description but > > disagree on that EMODPE should not be mentioned. > > I'll just be very clear: I'm not willing to ack any patch wi

Re: general protection fault in perf_misc_flags

2020-09-28 Thread Borislav Petkov
On Mon, Sep 28, 2020 at 12:33:57PM +0200, Dmitry Vyukov wrote: > It may be related to VMs, but also may well not be related to VMs. Right, and so I tried to set it up on a test box here, it looks like it worked, see below. I'll let it fuzz in the coming days and see what explodes... 2020/09/28 22

Re: RGMII timing calibration (on 12nm Amlogic SoCs) - integration into dwmac-meson8b

2020-09-28 Thread Martin Blumenstingl
Hi Andrew, On Sat, Sep 26, 2020 at 4:45 PM Andrew Lunn wrote: > > > I checked this again for the vendor u-boot (where Ethernet is NOT > > working) as well as the Android kernel which this board was shipped > > with (where Ethernet is working) > > - in u-boot the MAC side adds a 2ns TX delay and t

Re: [RFC PATCH net-next] sfc: replace in_interrupt() usage

2020-09-28 Thread Thomas Gleixner
On Mon, Sep 28 2020 at 21:05, Edward Cree wrote: > efx_ef10_try_update_nic_stats_vf() used in_interrupt() to figure out > whether it is safe to sleep (for MCDI) or not. > The only caller from which it was not is efx_net_stats(), which can be > invoked under dev_base_lock from net-sysfs::netstat_s

[PATCH v2 3/3] doc: dev-tools: kselftest.rst: Update examples and paths

2020-09-28 Thread Kees Cook
Update the installation commands and path details, detail the new options available in the run_kselftests.sh script. Signed-off-by: Kees Cook --- Documentation/dev-tools/kselftest.rst | 35 +-- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/Documentation/

[PATCH v2 2/3] selftests/run_kselftest.sh: Make each test individually selectable

2020-09-28 Thread Kees Cook
Currently with run_kselftest.sh there is no way to choose which test we could run. All the tests listed in kselftest-list.txt are all run every time. This patch enhanced the run_kselftest.sh to make the test collections (or tests) individually selectable. e.g.: $ ./run_kselftest.sh -c seccomp -t t

[PATCH v2 1/3] selftests: Extract run_kselftest.sh and generate stand-alone test list

2020-09-28 Thread Kees Cook
Instead of building a script on the fly (which just repeats the same thing for each test collection), move the script out of the Makefile and into run_kselftest.sh, which reads kselftest-list.txt. Adjust the emit_tests target to report each test on a separate line so that test running tools (e.g.

[PATCH v2 0/3] Extract run_kselftest.sh and generate stand-alone test list

2020-09-28 Thread Kees Cook
v2: - update documentation - include SPDX line in extracted script v1: https://lore.kernel.org/linux-kselftest/20200925234527.1885234-1-keesc...@chromium.org/ Hi! I really like Hangbin Liu's intent[1] but I think we need to be a little more clean about the implementation. This extracts run_ksel

Re: [PATCH 5/7] drm/msm/a5xx: Fix VPC protect value in gpu_write()

2020-09-28 Thread AngeloGioacchino Del Regno
Il giorno lun 28 set 2020 alle ore 18:16 Jordan Crouse ha scritto: > > On Sat, Sep 26, 2020 at 02:51:44PM +0200, khol...@gmail.com wrote: > > From: Konrad Dybcio > > > > The upstream API for some reason uses logbase2 instead of > > just passing the argument as-is, whereas downstream CAF > > kerne

<    5   6   7   8   9   10   11   12   13   14   >