Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-10 Thread John Hubbard
On 9/10/20 3:11 PM, Jason Gunthorpe wrote: On Thu, Sep 10, 2020 at 02:22:37PM -0700, John Hubbard wrote: Or am I way off here, and it really is possible (aside from the current s390 situation) to observe something that "is no longer a page table"? Yes, that is the issue. Remember there is no

Re: [PATCH net-next 0/6] Fix some kernel-doc warnings for hns

2020-09-10 Thread David Miller
From: Wang Hai Date: Thu, 10 Sep 2020 22:56:14 +0800 > Fix some kernel-doc warnings for hns. Series applied to net-next, thanks.

Re: [PATCH] net: mvpp2: ptp: Fix unused variables

2020-09-10 Thread David Miller
From: Alex Dewar Date: Thu, 10 Sep 2020 14:49:10 +0100 > In the functions mvpp2_isr_handle_xlg() and > mvpp2_isr_handle_gmac_internal(), the bool variable link is assigned a > true value in the case that a given bit of val is set. However, if the > bit is unset, no value is assigned to link and

Re: [PATCH net-next] net: cxgb3: Fix some kernel-doc warnings

2020-09-10 Thread David Miller
From: Wang Hai Date: Thu, 10 Sep 2020 21:36:16 +0800 > Fixes the following W=1 kernel build warning(s): > > drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:2209: warning: Excess function > parameter 'adapter' description in 'clear_sge_ctxt' > drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:2975:

Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-10 Thread Jason Gunthorpe
On Thu, Sep 10, 2020 at 02:22:37PM -0700, John Hubbard wrote: > Or am I way off here, and it really is possible (aside from the current > s390 situation) to observe something that "is no longer a page table"? Yes, that is the issue. Remember there is no locking for GUP fast. While a page table

Re: [PATCH v4 5/5] iommu/vt-d: Add is_aux_domain support

2020-09-10 Thread Alex Williamson
On Tue, 1 Sep 2020 11:34:22 +0800 Lu Baolu wrote: > With subdevice information opt-in through iommu_ops.aux_at(de)tach_dev() > interfaces, the vendor iommu driver is able to learn the knowledge about > the relationships between the subdevices and the aux-domains. Implement > is_aux_domain()

Re: [PATCH v4 1/5] iommu: Add optional subdev in aux_at(de)tach ops

2020-09-10 Thread Alex Williamson
On Tue, 1 Sep 2020 11:34:18 +0800 Lu Baolu wrote: > In the vfio/mdev use case of aux-domain, the subdevices are created from > the physical devices with IOMMU_DEV_FEAT_AUX enabled and the aux-domains > are attached to the subdevices through the iommu_ops.aux_attach_dev() > interface. > >

Re: [PATCH v4 2/5] iommu: Add iommu_at(de)tach_subdev_group()

2020-09-10 Thread Alex Williamson
On Tue, 1 Sep 2020 11:34:19 +0800 Lu Baolu wrote: > This adds two new APIs for the use cases like vfio/mdev where subdevices > derived from physical devices are created and put in an iommu_group. The > new IOMMU API interfaces mimic the vfio_mdev_at(de)tach_domain() directly, > testing whether

Re: [PATCH v2] macsec: Support 32bit PN netlink attribute for XPN links

2020-09-10 Thread David Miller
From: Era Mayflower Date: Thu, 10 Sep 2020 09:56:09 + > - pn_len = secy->xpn ? MACSEC_XPN_PN_LEN : MACSEC_DEFAULT_PN_LEN; > - if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { > - pr_notice("macsec: nl: upd_rxsa: bad pn length: %d != > %d\n", > -

Re: [PATCH 2/3] arm64: dts: sc7180: add bus clock to mdp node for sc7180 target

2020-09-10 Thread Rob Clark
On Thu, Sep 10, 2020 at 3:00 PM Bjorn Andersson wrote: > > On Thu 16 Jul 11:35 UTC 2020, Kalyan Thota wrote: > > > From: Krishna Manikandan > > > > Move the bus clock to mdp device node,in order > > to facilitate bus band width scaling on sc7180 > > target. > > > > The parent device MDSS will

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

2020-09-10 Thread Stephen Rothwell
Hi all, Commit 3e88e7243277 ("xfs: don't crash with assfail") is missing a Signed-off-by from its author and committer. -- Cheers, Stephen Rothwell pgpLzfyEZHU_R.pgp Description: OpenPGP digital signature

Re: [PATCH 1/2] media: i2c: Add driver for the Analog Devices ADDI9036 ToF front-end

2020-09-10 Thread Laurent Pinchart
Hi Bogdan, Thank you for the patch. On Thu, Sep 10, 2020 at 07:24:06PM +0300, Bogdan Togorean wrote: > The ADDI9036 is a complete, 45 MHz, front-end solution for charge > coupled device (CCD) time of flight (TOF) imaging applications. > > It has 2-lane MIPI CSI-2 RAW12 data output and i2c

Re: [PATCH 04/10] clk: gpio: Simplify with dev_err_probe()

2020-09-10 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2020-09-02 08:03:42) > diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c > index 38755a241ab7..a3cc53edcb11 100644 > --- a/drivers/clk/clk-gpio.c > +++ b/drivers/clk/clk-gpio.c > @@ -211,17 +210,10 @@ static int gpio_clk_driver_probe(struct platform_device

Re: [[PATCH]] mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged

2020-09-10 Thread Kirill A. Shutemov
On Thu, Sep 10, 2020 at 01:47:39PM -0700, Vijay Balakrishna wrote: > When memory is hotplug added or removed the min_free_kbytes must be > recalculated based on what is expected by khugepaged. Currently > after hotplug, min_free_kbytes will be set to a lower default and higher > default set when

Re: WARNING in bpf_raw_tp_link_fill_link_info

2020-09-10 Thread Andrii Nakryiko
On Thu, Sep 10, 2020 at 2:31 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:7fb5eefd selftests/bpf: Fix test_sysctl_loop{1, 2} failure.. > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1424fdb390 > kernel config:

Re: [PATCH 2/3] arm64: dts: sc7180: add bus clock to mdp node for sc7180 target

2020-09-10 Thread Bjorn Andersson
On Thu 16 Jul 11:35 UTC 2020, Kalyan Thota wrote: > From: Krishna Manikandan > > Move the bus clock to mdp device node,in order > to facilitate bus band width scaling on sc7180 > target. > > The parent device MDSS will not vote for bus bw, > instead the vote will be triggered by mdp device >

[PATCH v1 0/3] convert sifive's prci, plic and pwm bindings to yaml

2020-09-10 Thread Sagar Kadam
The PRCI and PLIC controller bindings are in txt format. Here, we convert them to yaml format. These patches are tested on commit f4d51dffc6c0 ("Linux 5.9-rc4"). I have added the log of dt_binding_check for these IP block's on 5.9-rc4 kernel here [1] in case someone want's to refer it. [1]

Re: [RFC 1/5] mm, page_alloc: clean up pageset high and batch update

2020-09-10 Thread David Hildenbrand
On 10.09.20 10:31, Oscar Salvador wrote: > On Mon, Sep 07, 2020 at 06:36:24PM +0200, Vlastimil Babka wrote: >> Signed-off-by: Vlastimil Babka > >> for_each_possible_cpu(cpu) >> -setup_pageset(_cpu(boot_pageset, cpu), 0); >> +setup_pageset(_cpu(boot_pageset, cpu)); >

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-10 Thread Johan Hovold
On Thu, Sep 10, 2020 at 12:27:15PM +0300, Andy Shevchenko wrote: > +Cc: Tony, let me add Tony to the discussion. > > On Thu, Sep 10, 2020 at 09:35:27AM +0200, Johan Hovold wrote: > > On Wed, Sep 09, 2020 at 06:48:15PM +0300, Andy Shevchenko wrote: > > > On Wed, Sep 09, 2020 at 04:31:01PM +0200,

Re: [PATCHSET 0/4] perf stat: Add --multiply-cgroup option

2020-09-10 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 10, 2020 at 11:15:42AM +0200, Jiri Olsa escreveu: > On Tue, Sep 08, 2020 at 01:42:24PM +0900, Namhyung Kim wrote: > > When we profile cgroup events with perf stat, it's very annoying to > > specify events and cgroups on the command line as it requires the > > mapping between events and

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-09-10 Thread Andy Shevchenko
On Thu, Aug 27, 2020 at 06:02:03PM +0200, Bartosz Golaszewski wrote: > On Thu, Aug 27, 2020 at 5:53 PM Linus Walleij > wrote: > please hold it maybe for one more week - I'd love to have some more > people take a look at the user facing header at least. Andy is usually > very thorough in his

Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-10 Thread Jason Gunthorpe
On Thu, Sep 10, 2020 at 12:32:05PM -0700, Linus Torvalds wrote: > Yeah, I get hung up on naming sometimes. I don't tend to care much > about private local variables ("i" is a perfectly fine variable name), > but these kinds of somewhat subtle cross-architecture definitions I > feel matter. One of

[PATCH] scripts : config : Added example use when run without argument,extend help

2020-09-10 Thread Bhaskar Chowdhury
This patch extends the help section by adding an explicit example of use. Signed-off-by: Bhaskar Chowdhury --- scripts/config | 19 +++ 1 file changed, 19 insertions(+) diff --git a/scripts/config b/scripts/config index eee5b7f3a092..b75a5aab2453 100755 --- a/scripts/config +++

[PATCH] drm: kernel-doc: add description for a new function parameter

2020-09-10 Thread Mauro Carvalho Chehab
As reported by "make htmldocs": ./drivers/gpu/drm/drm_prime.c:808: warning: Function parameter or member 'dev' not described in 'drm_prime_pages_to_sg' Add a description for the new parameter. Fixes: 707d561f77b5 ("drm: allow limiting the scatter list size.") Signed-off-by: Mauro

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-10 Thread Laurent Dufour
Le 10/09/2020 à 13:12, Michal Hocko a écrit : On Thu 10-09-20 09:51:39, Laurent Dufour wrote: Le 10/09/2020 à 09:23, Michal Hocko a écrit : On Wed 09-09-20 18:07:15, Laurent Dufour wrote: Le 09/09/2020 à 12:59, Michal Hocko a écrit : On Wed 09-09-20 11:21:58, Laurent Dufour wrote: [...]

[sparc64] kernel OOPS bisected from "lockdep: improve current->(hard|soft)irqs_enabled synchronisation with actual irq state"

2020-09-10 Thread Anatoly Pugachev
Hello! The following git patch 044d0d6de9f50192f9697583504a382347ee95ca (linux git master branch) introduced the following kernel OOPS upon kernel boot on my sparc64 T5-2 ldom (VM): $ uname -a Linux ttip 5.9.0-rc2-00011-g044d0d6de9f5 #59 SMP Thu Sep 10 13:07:45 MSK 2020 sparc64 GNU/Linux (OOPS

Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-10 Thread Jason Gunthorpe
On Thu, Sep 10, 2020 at 11:39:25AM +0200, Alexander Gordeev wrote: > As Gerald mentioned, it is very difficult to explain in a clear way. > Hopefully, one could make sense ot of it. I would say the page table API requires this invariant: pud = pud_offset(p4d, addr); do {

Re: [PATCH v3 1/2] leds: mt6360: Add LED driver for MT6360

2020-09-10 Thread Jacek Anaszewski
Hi Gene, Thanks for the update. On 9/7/20 12:27 PM, Gene Chen wrote: From: Gene Chen Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, and 4-channel RGB LED support Register/Flash/Breath Mode Signed-off-by: Gene Chen --- drivers/leds/Kconfig | 11 +

[PATCH v2 3/4] remoteproc: mtk_vpu_rproc: Add support of JTAG

2020-09-10 Thread Alexandre Bailon
The DSP could be debugged using JTAG. The support of JTAG could enabled at build time and it could be enabled using debugfs. Signed-off-by: Alexandre Bailon --- drivers/remoteproc/Kconfig | 9 +++ drivers/remoteproc/mtk_apu.c | 151 ++- 2 files changed, 159

[PATCH net-next 2/3] net: stmmac: Fix incorrect location to set real_num_rx|tx_queues

2020-09-10 Thread Wong Vee Khee
From: Aashish Verma netif_set_real_num_tx_queues() & netif_set_real_num_rx_queues() should be used to inform network stack about the real Tx & Rx queue (active) number in both stmmac_open() and stmmac_resume(), therefore, we move the code from stmmac_dvr_probe() to stmmac_hw_setup(). Fixes:

Re: [PATCH 07/12] dma-direct: lift gfp_t manipulation out of__dma_direct_alloc_pages

2020-09-10 Thread Robin Murphy
On 2020-09-08 17:47, Christoph Hellwig wrote: Move the detailed gfp_t setup from __dma_direct_alloc_pages into the caller to clean things up a little. Other than a mild nitpick that it might be nicer to spend one extra line to keep both gfp adjustments next to each other, Reviewed-by: Robin

[PATCH v2 2/4] remoteproc: Add a remoteproc driver for the MT8183's APU

2020-09-10 Thread Alexandre Bailon
This adds a driver to control the APU present in the MT8183. This loads the firmware and start the DSP. Signed-off-by: Alexandre Bailon --- drivers/remoteproc/Kconfig | 10 ++ drivers/remoteproc/Makefile | 1 + drivers/remoteproc/mtk_apu.c | 288 +++ 3

[PATCH v2 4/4] ARM64: mt8183: Add support of APU to mt8183

2020-09-10 Thread Alexandre Bailon
This adds the support of APU to mt8183. Signed-off-by: Alexandre Bailon --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 39 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index

Re: [PATCH v1 01/12] fpga: fpga security manager class driver

2020-09-10 Thread Tom Rix
On 9/10/20 1:22 PM, Russ Weight wrote: > > > On 9/5/20 12:09 PM, Tom Rix wrote: > > > >> >> On 9/4/20 4:52 PM, Russ Weight wrote: >> >>> >>> Create the Intel Security Manager class driver. The security >>> manager provides interfaces to manage secure updates for

Re: [PATCH 06/12] dma-direct: remove dma_direct_{alloc,free}_pages

2020-09-10 Thread Robin Murphy
On 2020-09-08 17:47, Christoph Hellwig wrote: Just merge these helpers into the main dma_direct_{alloc,free} routines, as the additional checks are always false for the two callers. Reviewed-by: Robin Murphy Signed-off-by: Christoph Hellwig --- arch/x86/kernel/amd_gart_64.c | 6 +++---

Re: [PATCH net-next + leds v2 6/7] net: phy: marvell: add support for LEDs controlled by Marvell PHYs

2020-09-10 Thread Russell King - ARM Linux admin
On Thu, Sep 10, 2020 at 10:31:12PM +0200, Marek Behun wrote: > On Thu, 10 Sep 2020 19:34:35 +0100 > Russell King - ARM Linux admin wrote: > > > On Thu, Sep 10, 2020 at 08:31:54PM +0200, Andrew Lunn wrote: > > > Generally the driver will default to the hardware reset blink > > > pattern. There

[PATCH v2 1/4] dt bindings: remoteproc: Add bindings for MT8183 APU

2020-09-10 Thread Alexandre Bailon
This adds dt bindings for the APU present in the MT8183. Signed-off-by: Alexandre Bailon --- .../bindings/remoteproc/mtk,apu.yaml | 107 ++ 1 file changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/mtk,apu.yaml diff --git

Re: [PATCH] documentation: arm: sunxi: Allwinner H2+/H3 update

2020-09-10 Thread Maxime Ripard
Hi, On Tue, Sep 08, 2020 at 03:18:08PM +0200, Wilken Gottwalt wrote: > Updated information about H2+ and H3 difference and added a link to a > slightly newer datasheet. > > Signed-off-by: Wilken Gottwalt > --- > Documentation/arm/sunxi.rst | 3 +++ > 1 file changed, 3 insertions(+) > > diff

[PATCH v2 0/4] Add support of mt8183 APU

2020-09-10 Thread Alexandre Bailon
Some Mediatek's SoC have an Accelerated Processing Unit. This adds support of the one available in the mt8183 (aswell some derivative SoC). This series depends on two other series: - Mediatek MT8183 scpsys support - arm64: dts: Add m4u and smi-larbs nodes for mt8183 Changes in v2: - Drop the

Re: WARNING in tracepoint_probe_register_prio (4)

2020-09-10 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:34d4ddd3 Merge tag 'linux-kselftest-5.9-rc5' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13ab2b7d90 kernel config:

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-10 Thread David Hildenbrand
On 10.09.20 14:47, Michal Hocko wrote: > On Thu 10-09-20 14:03:48, Oscar Salvador wrote: >> On Thu, Sep 10, 2020 at 01:35:32PM +0200, Laurent Dufour wrote: >> >>> That points has been raised by David, quoting him here: >>> IIRC, ACPI can hotadd memory while SCHEDULING, this patch would

RE: [PATCH -rc v1] gcov: Disable gcov build with GCC 10

2020-09-10 Thread David Laight
From: Linus Torvalds > Sent: 10 September 2020 20:19 > > On Thu, Sep 10, 2020 at 5:52 AM Peter Oberparleiter > wrote: > > > > Fix this by updating the in-kernel GCOV_COUNTERS value. Also re-enable > > config GCOV_KERNEL for use with GCC 10. > > Lovely. > > Is there some way we could see this

Re: [PATCH] sched/fair: use dst group while checking imbalance for NUMA balancer

2020-09-10 Thread Jirka Hladky
Hi Hilf and Mel, thanks a lot for bringing this to my attention. We have tested the proposed patch and we are getting excellent results so far! 1) Threads stability has improved a lot. We see much fewer threads migrations. Check for example this heatmap based on the mpstat results collected

[PATCH v2 2/2] ASoC: ti: j721e-evm: Add support for j7200-cpb audio

2020-09-10 Thread Peter Ujfalusi
When j7200 SOM is attached to the CPB we only have parent clock for 48KHz family and the rate of the parent clock is 2359296000Hz. Signed-off-by: Peter Ujfalusi --- sound/soc/ti/j721e-evm.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/ti/j721e-evm.c

Re: [PATCH] i2c: stm32: do not display error when DMA is not requested

2020-09-10 Thread Wolfram Sang
> Indeed, that's a good point. I'll rework it then, to avoid the dependency > on dev_err_probe change. If that is ok, I propose to push a two patches serie > with both this fix (updated) followed by a rebased version of the > dev_err_probe patch from Krzysztof for dev_err_probe change. Perfect!

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-10 Thread Laurent Dufour
Le 10/09/2020 à 14:00, David Hildenbrand a écrit : On 10.09.20 13:35, Laurent Dufour wrote: Le 10/09/2020 à 13:12, Michal Hocko a écrit : On Thu 10-09-20 09:51:39, Laurent Dufour wrote: Le 10/09/2020 à 09:23, Michal Hocko a écrit : On Wed 09-09-20 18:07:15, Laurent Dufour wrote: Le

[PATCH v2 0/2] ASoC: ti: j721e-evm: Support for j7200 variant

2020-09-10 Thread Peter Ujfalusi
Hi, Changes since v1: - Suffix the 2359296000 constant with 'u' to silence C90 warning When j7200 SOM is connected to the CPB, the audio setup is a bit different: Only 48KHz family have clock path, 44.1KHz is not supported. Update the binding documentation and add support for the j7200 version

[PATCH 1/6] kprobes: Init kprobes in early_initcall

2020-09-10 Thread Masami Hiramatsu
Init kprobes feature in early_initcall as same as jump_label and dynamic_debug does, so that we can use kprobes events in earlier boot stage. Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kprobes.c

[PATCH 2/6] tracing: Define event fields early stage

2020-09-10 Thread Masami Hiramatsu
Define event fields at early stage so that boot-time tracing can access the event fields (like per-event filter setting). Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_events.c | 92 ++- 1 file changed, 55 insertions(+), 37 deletions(-) diff

Re: [PATCH v7 71/72] x86/efi: Add GHCB mappings when SEV-ES is active

2020-09-10 Thread Ard Biesheuvel
On Wed, 9 Sep 2020 at 16:49, Tom Lendacky wrote: > > On 9/9/20 7:44 AM, Laszlo Ersek wrote: > > On 09/09/20 10:27, Ard Biesheuvel wrote: > >> (adding Laszlo and Brijesh) > >> > >> On Tue, 8 Sep 2020 at 20:46, Borislav Petkov wrote: > >>> > >>> + Ard so that he can ack the efi bits. > >>> > >>>

[PATCH 0/6] tracing/boot: Start boot-time tracing in earlier stage

2020-09-10 Thread Masami Hiramatsu
Hi, Here is a series of patches which starts the boot-time tracing earlier, core_initcall_sync, so that we can start tracing from postcore_initcall instead of device_initcall. The boot-time tracing is useful for debugging kernel drivers which are embedded in the kernel. Since most of the drivers

[PATCH] scsi: mvumi: Fix error return in mvumi_io_attach()

2020-09-10 Thread Jing Xiangfeng
Fix to return error code PTR_ERR() from the error handling case instead of 0. Signed-off-by: Jing Xiangfeng --- drivers/scsi/mvumi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c index 8906aceda4c4..0354898d7cac 100644 --- a/drivers/scsi/mvumi.c

Re: [PATCH 03/14] XArray: docs: add missing kernel-doc parameters for xas_split_alloc()

2020-09-10 Thread Mauro Carvalho Chehab
Em Thu, 10 Sep 2020 12:13:22 +0100 Matthew Wilcox escreveu: > On Thu, Sep 10, 2020 at 12:23:56PM +0200, Mauro Carvalho Chehab wrote: > > /** > > - * Allocate memory for splitting an entry of @order size into the order > > - * stored in the @xas. > > + * xas_split_alloc() - Allocate memory for

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-10 Thread David Hildenbrand
On 10.09.20 14:36, Laurent Dufour wrote: > Le 10/09/2020 à 14:00, David Hildenbrand a écrit : >> On 10.09.20 13:35, Laurent Dufour wrote: >>> Le 10/09/2020 à 13:12, Michal Hocko a écrit : On Thu 10-09-20 09:51:39, Laurent Dufour wrote: > Le 10/09/2020 à 09:23, Michal Hocko a écrit :

[PATCH] Handle init_iova_flush_queue failure in dma-iommu path

2020-09-10 Thread Tom Murphy
init_iova_flush_queue can fail if we run out of memory. Fall back to noflush queue if it fails. Signed-off-by: Tom Murphy --- drivers/iommu/dma-iommu.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c index

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-10 Thread Michal Hocko
On Thu 10-09-20 14:03:48, Oscar Salvador wrote: > On Thu, Sep 10, 2020 at 01:35:32PM +0200, Laurent Dufour wrote: > > > That points has been raised by David, quoting him here: > > > > > IIRC, ACPI can hotadd memory while SCHEDULING, this patch would break > > > that. > > > > > > Ccing Oscar,

Re: [PATCH 3/4] clk: meson: axg: add Video Clocks

2020-09-10 Thread Neil Armstrong
Hi, On 10/09/2020 12:13, Jerome Brunet wrote: > > On Mon 07 Sep 2020 at 11:38, Neil Armstrong wrote: > >> Add the Video Clocks present on the Amlogic AXg SoCs. >> >> The AXG only has a single ENCL CTS clock and even if VCLK exist along VCLK2, >> only VCLK2 is used since it clocks the MIPI DSI

[PATCH] vfio: Fix typo of the device_state

2020-09-10 Thread Zenghui Yu
A typo fix ("_RUNNNG" => "_RUNNING") in comment block of the uapi header. Signed-off-by: Zenghui Yu --- include/uapi/linux/vfio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h index 920470502329..d4bd39e124bf 100644 ---

[PATCH] usb: phy: tegra: Use IS_ERR() to check and simplify code

2020-09-10 Thread Tang Bin
Use IS_ERR() and PTR_ERR() instead of PTR_ERR_OR_ZERO() to simplify code, avoid redundant judgements. Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- drivers/usb/phy/phy-tegra-usb.c | 25 ++--- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git

Re: [PATCH net-next + leds v2 6/7] net: phy: marvell: add support for LEDs controlled by Marvell PHYs

2020-09-10 Thread Pavel Machek
On Wed 2020-09-09 18:25:51, Marek Behún wrote: > This patch adds support for controlling the LEDs connected to several > families of Marvell PHYs via the PHY HW LED trigger API. These families > are: 88E1112, 88E1121R, 88E1240, 88E1340S, 88E1510 and 88E1545. More can > be added. > > This patch

[PATCH v2] hv_netvsc: Add validation for untrusted Hyper-V values

2020-09-10 Thread Andrea Parri (Microsoft)
From: Andres Beltran For additional robustness in the face of Hyper-V errors or malicious behavior, validate all values that originate from packets that Hyper-V has sent to the guest in the host-to-guest ring buffer. Ensure that invalid values cannot cause indexing off the end of an array, or

Re: [PATCH 04/12] dma-mapping: fix DMA_OPS dependencies

2020-09-10 Thread Robin Murphy
On 2020-09-08 17:47, Christoph Hellwig wrote: Driver that select DMA_OPS need to depend on HAS_DMA support to work. The vop driver was missing that dependency, so add it, and also add a nother depends in DMA_OPS itself. That won't fix the issue due to how the Kconfig dependencies work, but at

Re: [RESEND PATCH v1] PCI: pcie_bus_config can be set at build time

2020-09-10 Thread Jim Quinlan
Hi Bjorn, On Wed, Sep 9, 2020 at 10:25 PM Bjorn Helgaas wrote: > > On Tue, Sep 08, 2020 at 12:32:48PM -0400, Jim Quinlan wrote: > > 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 > >

Re: [PATCH v2] cpuidle-pseries: Fix CEDE latency conversion from tb to us

2020-09-10 Thread Michael Ellerman
On Thu, 3 Sep 2020 14:57:27 +0530, Gautham R. Shenoy wrote: > commit d947fb4c965c ("cpuidle: pseries: Fixup exit latency for > CEDE(0)") sets the exit latency of CEDE(0) based on the latency values > of the Extended CEDE states advertised by the platform. The values > advertised by the platform

[PATCH V5 3/4] arm64: dts: qcom: sc7180-trogdor: Add pinctrl and interrupt config for BT UART

2020-09-10 Thread satya priya
Add a suitable sleep configuration for uart3 to support Bluetooth wakeup. If QUP function is selected in sleep state, UART RTS/RFR is pulled high during suspend and BT SoC not able to send wakeup bytes. So, configure GPIO mode in sleep state to keep it low during suspend. Signed-off-by: satya

[PATCH v2 1/2] ASoC: dt-bindings: ti,j721e-cpb-audio: Document support for j7200-cpb

2020-09-10 Thread Peter Ujfalusi
j721e or j7200 SOM can be attached to the same Common Processor Board (CPB) With the j7200 SOM only the 48KHz family parent clock is available and McASP0 is used for the audio. Signed-off-by: Peter Ujfalusi --- .../bindings/sound/ti,j721e-cpb-audio.yaml| 92 ++- 1 file

BUG: unable to handle kernel paging request in free_swap_cache

2020-09-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dd9fb9bb Merge tags 'auxdisplay-for-linus-v5.9-rc4', 'clan.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=164e35cd90 kernel config: https://syzkaller.appspot.com/x/.config?x=bd46548257448703

RE: [PATCH RESEND v3 04/11] usb: xhci-rcar: convert to readl_poll_timeout_atomic()

2020-09-10 Thread Yoshihiro Shimoda
Hi Chunfeng, Thank you for the patch! > From: Chunfeng Yun, Sent: Thursday, September 10, 2020 5:22 PM > > Use readl_poll_timeout_atomic() to simplify code > > Cc: Mathias Nyman > Cc: Yoshihiro Shimoda > Signed-off-by: Chunfeng Yun > --- > v2~v3: no changes > --- >

[PATCH V5 4/4] tty: serial: qcom_geni_serial: Fix the UART wakeup issue

2020-09-10 Thread satya priya
As a part of system suspend uart_port_suspend is called from the Serial driver, which calls set_mctrl passing mctrl as 0. This makes RFR high(NOT_READY) during suspend. Due to this BT SoC is not able to send wakeup bytes to UART during suspend. Include if check for non-suspend case to keep RFR

Re: [PATCH] PM: s2idle: Introduce syscore callbacks in s2idle flow

2020-09-10 Thread Rafael J. Wysocki
On Thursday, September 3, 2020 4:14:07 AM CEST Claude. Yen wrote: > On Tue, 2020-09-01 at 13:57 +0200, Rafael J. Wysocki wrote: > > On Tue, Sep 1, 2020 at 9:05 AM Claude Yen wrote: > > > > > > This series based on 5.9-rc1 > > > This patch makes s2idle call existing syscore callbacks. Currently, >

[PATCH] scripts/setlocalversion: make git describe output more reliable

2020-09-10 Thread Rasmus Villemoes
When building for an embedded target using Yocto, we're sometimes observing that the version string that gets built into vmlinux (and thus what uname -a reports) differs from the path under /lib/modules/ where modules get installed in the rootfs, but only in the length of the -gabc123def suffix.

[PATCH net-next 3/3] net: stmmac: use netif_tx_start|stop_all_queues() function

2020-09-10 Thread Wong Vee Khee
From: Ong Boon Leong The current implementation of stmmac_stop_all_queues() and stmmac_start_all_queues() will not work correctly when the value of tx_queues_to_use is changed through ethtool -L DEVNAME rx N tx M command. Also, netif_tx_start|stop_all_queues() are only needed in driver open()

[PATCH v2 02/11] rtc: rx8010: consolidate local variables of the same type

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Move local variables of the same type into a single line for better readability. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-rx8010.c

[PATCH v2 05/11] rtc: rx8010: don't use magic values for time buffer length

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The time buffer len is used directly in this driver. For readability it's better to define it as the difference between the date register offsets and use sizeof() whenever referencing it. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 11

[PATCH v2 07/11] rtc: rx8010: use a helper variable for client->dev in probe()

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Simple 'dev' looks better then repeated >dev and has the added benefit of avoiding unnecessary line breaks. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v2 04/11] rtc: rx8010: rename ret to err in rx8010_set_time()

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski All other functions in this driver use 'err' for integer return values. Do the same in rx8010_set_time() for consistency. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-)

[PATCH v2 03/11] rtc: rx8010: use tabs instead of spaces for code formatting

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The define values in this driver are close to their names and they are separated by spaces. Use tabs instead and align all defines. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 58 1 file changed, 29

[PATCH v2 01/11] rtc: rx8010: remove unnecessary brackets

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Remove brackets wherever they guard a single line. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c index

[PATCH v2 09/11] rtc: rx8010: switch to using the preferred RTC API

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use devm_rtc_allocate_device() + rtc_register_device() instead of the deprecated devm_rtc_device_register(). Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2020-09-10 Thread Paolo Abeni
On Thu, 2020-09-10 at 14:07 -0700, John Fastabend wrote: > Cong Wang wrote: > > On Thu, Sep 3, 2020 at 10:08 PM John Fastabend > > wrote: > > > Maybe this would unlock us, > > > > > > diff --git a/net/core/dev.c b/net/core/dev.c > > > index 7df6c9617321..9b09429103f1 100644 > > > ---

[PATCH v2 08/11] rtc: rx8010: prefer sizeof(*val) over sizeof(struct type_of_val)

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Using the size of the variable is preferred over using the size of its type when allocating memory. Convert the call to devm_kzalloc() in probe(). Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v2 06/11] rtc: rx8010: drop unnecessary initialization

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The 'err' local variable in rx8010_init_client() doesn't need to be initialized. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c

[PATCH v2 10/11] rtc: rx8010: convert to using regmap

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This driver requires SMBUS to work. We can relax this requirement if we switch to using i2c regmap and let the regmap sub-system figure out how to talk to the bus. This also has the advantage of shrinking the code for register updates. Signed-off-by: Bartosz

[PATCH v2 11/11] rtc: rx8010: use range checking provided by core RTC code

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We don't need to check the time range manually in set_time(), we can use range_min and range_max exposed by struct rtc_device. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 10/12] dma-direct: rename and cleanup __phys_to_dma

2020-09-10 Thread Robin Murphy
On 2020-09-08 17:47, Christoph Hellwig wrote: The __phys_to_dma vs phys_to_dma distinction isn't exactly obvious. Try to improve the situation by renaming __phys_to_dma to phys_to_dma_unencryped, and not forcing architectures that want to override phys_to_dma to actually provide __phys_to_dma.

Re: [PATCHSET 0/4] perf stat: Add --multiply-cgroup option

2020-09-10 Thread Namhyung Kim
Hi Arnaldo, On Thu, Sep 10, 2020 at 8:10 PM Arnaldo Carvalho de Melo wrote: > > Em Thu, Sep 10, 2020 at 11:15:42AM +0200, Jiri Olsa escreveu: > > On Tue, Sep 08, 2020 at 01:42:24PM +0900, Namhyung Kim wrote: > > > When we profile cgroup events with perf stat, it's very annoying to > > > specify

Re: [RESEND PATCH v1] PCI: pcie_bus_config can be set at build time

2020-09-10 Thread Bjorn Helgaas
On Thu, Sep 10, 2020 at 08:57:10AM -0400, Jim Quinlan wrote: > Hi Bjorn, > > On Wed, Sep 9, 2020 at 10:25 PM Bjorn Helgaas wrote: > > > > On Tue, Sep 08, 2020 at 12:32:48PM -0400, Jim Quinlan wrote: > > > The Kconfig is modified so that the pcie_bus_config setting can be done at > > > build time

Re: [PATCH] hwmon: (pmbus) Expose PEC debugfs attribute

2020-09-10 Thread Guenter Roeck
On 9/10/20 3:51 AM, Andrew Jeffery wrote: > > > On Thu, 10 Sep 2020, at 20:04, Guenter Roeck wrote: >> On 9/10/20 3:05 AM, Dan Carpenter wrote: >>> Hi Andrew, >>> >>> url: >>> https://github.com/0day-ci/linux/commits/Andrew-Jeffery/hwmon

Re: [PATCH 1/3] fpga: dfl: move dfl_device_id to mod_devicetable.h

2020-09-10 Thread Tom Rix
On 9/10/20 1:41 AM, Xu Yilun wrote: > On Wed, Sep 09, 2020 at 05:55:33AM -0700, Tom Rix wrote: >> On 9/7/20 10:48 PM, Xu Yilun wrote: >>> In order to support MODULE_DEVICE_TABLE() for dfl device driver, this >>> patch moves struct dfl_device_id to mod_devicetable.h >>> >>> Signed-off-by: Xu

Re: [PATCH] i2c: stm32: do not display error when DMA is not requested

2020-09-10 Thread Krzysztof Kozlowski
On Thu, 10 Sep 2020 at 14:27, Alain Volmat wrote: > > On Thu, Sep 10, 2020 at 12:06:07PM +0200, Wolfram Sang wrote: > > On Thu, Sep 10, 2020 at 11:32:29AM +0200, Alain Volmat wrote: > > > DMA usage is optional for the I2C driver. check for the -ENODEV > > > error in order to avoid displaying an

Re: [PATCH 11/12] dma-mapping: move dma_common_{mmap,get_sgtable} out of mapping.c

2020-09-10 Thread Robin Murphy
On 2020-09-08 17:47, Christoph Hellwig wrote: Add a new file that contains helpera for misc DMA ops, which is only The Latin plural of the singular "helperum", I guess? :P built when CONFIG_DMA_OPS is set. Reviewed-by: Robin Murphy Signed-off-by: Christoph Hellwig ---

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

2020-09-10 Thread Andrew Jones
On Thu, Sep 10, 2020 at 02:27:48PM +0100, Dr. David Alan Gilbert wrote: > * Andrew Jones (drjo...@redhat.com) wrote: > > On Wed, Sep 09, 2020 at 06:45:33PM -0700, Richard Henderson wrote: > > > On 9/9/20 8:25 AM, Andrew Jones wrote: > > > >> * Provide a KVM-specific method to extract the tags

Re: [PATCH][next] binder: remove redundant assignment to pointer n

2020-09-10 Thread Todd Kjos
On Thu, Sep 10, 2020 at 8:12 AM Colin King wrote: > > From: Colin Ian King > > The pointer n is being initialized with a value that is > never read and it is being updated later with a new value. The > initialization is redundant and can be removed. > > Addresses-Coverity: ("Unused value") >

[PATCH net-next] net: cxgb3: Fix some kernel-doc warnings

2020-09-10 Thread Wang Hai
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:2209: warning: Excess function parameter 'adapter' description in 'clear_sge_ctxt' drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:2975: warning: Excess function parameter 'adapter' description in

Re: [Intel-gfx] [PATCH 0/8] Convert the intel iommu driver to the dma-iommu api

2020-09-10 Thread Tom Murphy
On Thu, 10 Sep 2020 at 14:33, Tom Murphy wrote: > > On Wed, 9 Sep 2020 at 13:56, Tvrtko Ursulin > wrote: > > > > > > On 09/09/2020 10:16, Tvrtko Ursulin wrote: > > > On 08/09/2020 23:43, Tom Murphy wrote: > > >> On Tue, 8 Sep 2020 at 16:56, Tvrtko Ursulin > > >> wrote: > > >>> On 08/09/2020

[PATCH 3/6] can: mcp25xxfd: add regmap infrastructure

2020-09-10 Thread Manivannan Sadhasivam
From: Marc Kleine-Budde This patch adds the regmap infrastructure for the Microchip MCP25xxFD SPI CAN controller family. The actual driver is added in the next commit. Tested-by: Kurt Van Dijck Tested-by: Manivannan Sadhasivam Signed-off-by: Marc Kleine-Budde Signed-off-by: Manivannan

Re: [PATCH] checkpatch: Warn on self-assignments

2020-09-10 Thread Joe Perches
On Thu, 2020-09-10 at 12:51 -0700, Kees Cook wrote: > On Sat, Sep 05, 2020 at 10:58:29AM -0700, Joe Perches wrote: > > The uninitialized_var() macro was removed recently via > > commit 63a0895d960a ("compiler: Remove uninitialized_var() macro") > > as it's not a particularly useful warning and its

[PATCH] net: mvpp2: ptp: Fix unused variables

2020-09-10 Thread Alex Dewar
In the functions mvpp2_isr_handle_xlg() and mvpp2_isr_handle_gmac_internal(), the bool variable link is assigned a true value in the case that a given bit of val is set. However, if the bit is unset, no value is assigned to link and it is then passed to mvpp2_isr_handle_link() without being

[PATCH 2/6] dt-bindings: can: mcp25xxfd: document device tree bindings

2020-09-10 Thread Manivannan Sadhasivam
From: Oleksij Rempel This patch adds the device-tree binding documentation for the Microchip MCP25xxFD SPI CAN controller family. Signed-off-by: Oleksij Rempel Signed-off-by: Marc Kleine-Budde Signed-off-by: Manivannan Sadhasivam --- .../bindings/net/can/microchip,mcp25xxfd.yaml | 79

[PATCH V2 1/4] perf tools: Rename group to topdown

2020-09-10 Thread kan . liang
From: Kan Liang The group.h/c only include TopDown group related functions. The name "group" is too generic and inaccurate. Use the name "topdown" to replace it. Move topdown related functions to a dedicated file, topdown.c. Acked-by: Jiri Olsa Signed-off-by: Kan Liang ---

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