R: R: [RFC PATCH v2 2/2] dt-bindings: cpufreq: Document Krait CPU Cache scaling

2020-08-10 Thread ansuelsmth
> -Messaggio originale- > Da: Sudeep Holla > Inviato: lunedì 10 agosto 2020 14:45 > A: ansuels...@gmail.com > Cc: 'Viresh Kumar' ; 'Rafael J. Wysocki' > ; 'Rob Herring' ; linux- > p...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org > Oggetto: Re: R: [RFC

Re: [PATCH][next] vdpa/mlx5: fix memory allocation failure checks

2020-08-10 Thread Michael S. Tsirkin
On Sun, Aug 09, 2020 at 09:03:47AM +0300, Eli Cohen wrote: > On Thu, Aug 06, 2020 at 05:08:28PM +0100, Colin King wrote: > Acked by: Eli Cohen That should be Acked-by: (with a dash).

[v3] drm/msm/dpu: Fix reservation failures in modeset

2020-08-10 Thread Kalyan Thota
In TEST_ONLY commit, rm global_state will duplicate the object and request for new reservations, once they pass then the new state will be swapped with the old and will be available for the Atomic Commit. This patch fixes some of missing links in the resource reservation sequence mentioned above.

[PATCH] vdpa_sim: init iommu lock

2020-08-10 Thread Michael S. Tsirkin
The patch adding the iommu lock did not initialize it. The struct is zero-initialized so this is mostly a problem when using lockdep. Reported-by: kernel test robot Cc: Max Gurtovoy Fixes: 0ea9ee430e74 ("vdpasim: protect concurrent access to iommu iotlb") Signed-off-by: Michael S. Tsirkin ---

Re: R: [RFC PATCH v2 2/2] dt-bindings: cpufreq: Document Krait CPU Cache scaling

2020-08-10 Thread Sudeep Holla
On Mon, Aug 10, 2020 at 01:15:24PM +0200, ansuels...@gmail.com wrote: > > > > -Messaggio originale- > > Da: Sudeep Holla > > Inviato: lunedì 10 agosto 2020 10:02 > > A: Ansuel Smith > > Cc: Viresh Kumar ; Rafael J. Wysocki > > ; Rob Herring ; linux- > > p...@vger.kernel.org;

Re: KCSAN: data-race in __xa_clear_mark / xas_find_marked

2020-08-10 Thread Matthew Wilcox
On Mon, Aug 10, 2020 at 05:41:18AM -0700, syzbot wrote: > == > BUG: KCSAN: data-race in __xa_clear_mark / xas_find_marked This is not a bug. xas_find_marked() is well aware that it is only running under the RCU lock and may see

Re: [PATCH 0/5] kasan: add workqueue and timer stack for generic KASAN

2020-08-10 Thread Qian Cai
On Mon, Aug 10, 2020 at 07:50:57PM +0800, Walter Wu wrote: > On Mon, 2020-08-10 at 07:19 -0400, Qian Cai wrote: > > > > > On Aug 10, 2020, at 3:21 AM, Walter Wu wrote: > > > > > > Syzbot reports many UAF issues for workqueue or timer, see [1] and [2]. > > > In some of these access/allocation

KCSAN: data-race in __xa_clear_mark / xas_find_marked

2020-08-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fc80c51f Merge tag 'kbuild-v5.9' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13cb73fa90 kernel config: https://syzkaller.appspot.com/x/.config?x=997a92ee4b5588ef

From Mr Eric Bello

2020-08-10 Thread Mr Eric Bello
Dear Friend, I am Mr Eric Bello, Working with a reputable bank here in Burkina Faso as the manager in audit department. During our last banking audits we discovered an abandoned account belongs to one of our deceased customer, late Mr. Hamid Amine Razzaq, a billionaire businessman. Meanwhile,

Re: [PATCH] regulator: fix pointer table overallocation

2020-08-10 Thread Mark Brown
On Sun, Aug 09, 2020 at 10:44:25PM +0300, Dmitry Osipenko wrote: > 09.08.2020 22:21, Michał Mirosław пишет: > > The code allocates sizeof(regulator_dev) for a pointer. Make it less > > generous. Let kcalloc() calculate the size, while at it. > > > > Cc: sta...@vger.kernel.org > > Fixes:

Re: [PATCH] iio: documentation: light: Add as73211 sysfs documentation

2020-08-10 Thread Pavel Machek
On Mon 2020-08-10 11:57:46, Christian Eggers wrote: > On Monday, 10 August 2020, 11:00:54 CEST, Pavel Machek wrote: > > Hi! > > > > > The driver for the as73211 light sensor provides the following not yet > > > documented sysfs entries: > > > - in_intensity_(x|y|z)_raw > > > -

Re: [PATCH 2/3] ARM: l2c: update prefetch bits in L2X0_AUX_CTRL using DT value

2020-08-10 Thread Guillaume Tucker
On 29/07/2020 17:22, Guillaume Tucker wrote: > On 29/07/2020 15:18, Russell King - ARM Linux admin wrote: >> On Wed, Jul 29, 2020 at 02:47:32PM +0100, Guillaume Tucker wrote: >>> The L310_PREFETCH_CTRL register bits 28 and 29 to enable data and >>> instruction prefetch respectively can also be

Re: drivers/vhost/net.c:1010 vhost_net_rx_peek_head_len() error: double unlocked 'sk->sk_receive_queue.lock' (orig line 1002)

2020-08-10 Thread Michael S. Tsirkin
On Sat, Aug 08, 2020 at 03:37:07PM +0800, kernel test robot wrote: > Hi Jason, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e > commit:

Re: [PATCH] kcsan: Treat runtime as NMI-like with interrupt tracing

2020-08-10 Thread Paul E. McKenney
On Mon, Aug 10, 2020 at 10:07:44AM +0200, Marco Elver wrote: > On Fri, 7 Aug 2020 at 19:06, Paul E. McKenney wrote: > > On Fri, Aug 07, 2020 at 11:00:31AM +0200, Marco Elver wrote: > > > Since KCSAN instrumentation is everywhere, we need to treat the hooks > > > NMI-like for interrupt tracing. In

Relief Funding.

2020-08-10 Thread Relief Funding.
Dear: Beneficiary, An irrevocable payment guarantee of £250,000,00 GBP has been issued by the UN/ World Bank Group and the International Monetary Fund (IMF) on Covid- 19 relief . Kindly forward the below details correctly to enable us proceed on your file as instructed by IMF AND UN

Re: [PATCH] serial: qcom_geni_serial: Fix recent kdb hang

2020-08-10 Thread Akash Asthana
Hi Doug, On 8/7/2020 10:49 AM, Douglas Anderson wrote: The commit e42d6c3ec0c7 ("serial: qcom_geni_serial: Make kgdb work even if UART isn't console") worked pretty well and I've been doing a lot of debugging with it. However, recently I typed "dmesg" in kdb and then held the space key down to

Re: [RFC-PATCH 1/2] mm: Add __GFP_NO_LOCKS flag

2020-08-10 Thread Michal Hocko
On Sun 09-08-20 22:43:53, Uladzislau Rezki (Sony) wrote: [...] > Limitations and concerns (Main part) > > The current memmory-allocation interface presents to following > difficulties that this patch is designed to overcome: > > a) If built with

[PATCH] net: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear()

2020-08-10 Thread Miaohe Lin
The skb_shared_info part of the data is assigned in the following loop. It is meaningless to do a memcpy here. Signed-off-by: Miaohe Lin --- net/core/skbuff.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 7e2e502ef519..5b983c9472f5 100644 ---

Re: [PATCH] mm/memcg: remove useless check on page->mem_cgroup

2020-08-10 Thread Alex Shi
在 2020/8/10 下午5:55, Michal Hocko 写道: >> >> Signed-off-by: Alex Shi >> Cc: Johannes Weiner >> Cc: Michal Hocko >> Cc: Vladimir Davydov >> Cc: Andrew Morton >> Cc: cgro...@vger.kernel.org >> Cc: linux...@kvack.org >> Cc: linux-kernel@vger.kernel.org > Looks good to me. I am not familiar with

Re: [PATCH 3/3] ARM: exynos: use DT prefetch attributes rather than l2c_aux_val

2020-08-10 Thread Guillaume Tucker
On 03/08/2020 14:13, Krzysztof Kozlowski wrote: > On Wed, Jul 29, 2020 at 02:47:33PM +0100, Guillaume Tucker wrote: >> Use the standard l2c2x0 device tree bindings to enable data and >> instruction prefetch on exynos4210 and exynos4412 and clear the >> respective bits in the default l2c_aux_val.

Re: [RFC v4 1/3] usb: dwc3: Resize TX FIFOs to meet EP bursting requirements

2020-08-10 Thread Felipe Balbi
Wesley Cheng writes: Hi, > Some devices have USB compositions which may require multiple endpoints > that support EP bursting. HW defined TX FIFO sizes may not always be > sufficient for these compositions. By utilizing flexible TX FIFO > allocation, this allows for endpoints to request the

[RFC][PATCH v1.1 3/3] lockdep,trace: Expose tracepoints

2020-08-10 Thread peterz
Subject: lockdep,trace: Expose tracepoints From: Peter Zijlstra Date: Fri Aug 7 20:53:16 CEST 2020 The lockdep tracepoints are under the lockdep recursion counter, this has a bunch of nasty side effects: - TRACE_IRQFLAGS doesn't work across the entire tracepoint - RCU-lockdep doesn't see the

Re: Please pull NFS server updates for v5.9

2020-08-10 Thread Chuck Lever
> On Aug 9, 2020, at 7:03 PM, Stephen Rothwell wrote: > > Hi Chuck, > > On Sun, 9 Aug 2020 11:44:15 -0400 Chuck Lever wrote: >> >> The following changes since commit 11ba468877bb23f28956a35e896356252d63c983: >> >> Linux 5.8-rc5 (2020-07-12 16:34:50 -0700) >> >> are available in the Git

Re: [PATCH 1/3] ARM: exynos: clear L220_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val

2020-08-10 Thread Guillaume Tucker
On 03/08/2020 15:22, Russell King - ARM Linux admin wrote: > On Mon, Aug 03, 2020 at 03:34:39PM +0200, Krzysztof Kozlowski wrote: >> On Wed, Jul 29, 2020 at 02:47:31PM +0100, Guillaume Tucker wrote: >>> The L220_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable >>> sequence. There is no need

Re: [PATCH] mm/gup: Allow real explicit breaking of COW

2020-08-10 Thread Christoph Hellwig
This patch only seems to add a flag, but no actual user of it.

Re: [git pull] drm next for 5.9-rc1

2020-08-10 Thread Christoph Hellwig
On Thu, Aug 06, 2020 at 11:07:02AM +1000, Dave Airlie wrote: > nouveau: > - add CRC support > - start using NVIDIA published class header files Where does Nvdia provide them? I looked into the commits and the Nouveau mailing list archives and could not find anything. Note that various new files

Re: [GIT PULL] sound updates for 5.9

2020-08-10 Thread Mark Brown
On Sat, Aug 08, 2020 at 10:07:36AM +0200, Takashi Iwai wrote: > Takashi Iwai wrote: > > Does the patch below fix the bug? If so, it's rather a bug in the > > commit cf6e26c71bfd ("ASoC: soc-component: merge > > snd_soc_component_read() and snd_soc_component_read32()"). > That said, the commit

[PATCH v2 1/4] ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val

2020-08-10 Thread Guillaume Tucker
The L310_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable sequence. There is no need to set it in the default register value, this was done before support for it was implemented in the code. It is not set in the hardware initial value either. Clean this up by removing this flag from the

[PATCH v2 2/4] ARM: l2c: fix prefetch bits init in L2X0_AUX_CTRL using DT values

2020-08-10 Thread Guillaume Tucker
The L310_PREFETCH_CTRL register bits 28 and 29 to enable data and instruction prefetch respectively can also be accessed via the L2X0_AUX_CTRL register. They appear to be actually wired together in hardware between the registers. Changing them in the prefetch register only will get undone when

[PATCH v2 3/4] ARM: dts: exynos: add prefetch properties for L2C-310 cache

2020-08-10 Thread Guillaume Tucker
Add the devicetree properties to enable instruction and data prefetch on exynos4210 and exynos4412 which use the L2C-310 cache. No other Exynos chip appears to be using this L2 cache hardware. This follows the default bits being set in the l2c_aux_val register for the Exynos platform, which can

[PATCH v2 4/4] ARM: exynos: clear prefetch bits in default l2c_aux_val

2020-08-10 Thread Guillaume Tucker
Clear the L310_AUX_CTRL_DATA_PREFETCH and L310_AUX_CTRL_INSTR_PREFETCH bits in the l2c_aux_val defaults for Exynos since they can now be set using the standard l2c2x0 devicetree bindings. Signed-off-by: Guillaume Tucker --- Notes: v2: split patch to only clear exynos platform register bits

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-10 Thread Daniel Vetter
On Fri, Aug 07, 2020 at 06:30:05PM +0200, Clément Péron wrote: > On Fri, 7 Aug 2020 at 18:28, Clément Péron wrote: > > > > Hi Rob, > > > > On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > > > > > On Fri, Jul 10, 2020 at 3:54 AM Clément Péron > > > wrote: > > > > > > > > Hi, > > > > > > > >

Re: [PATCH] recordmcount: Fix build failure on non arm64

2020-08-10 Thread Catalin Marinas
On Mon, Aug 10, 2020 at 11:17:30AM +0200, Gregory Herrero wrote: > On Mon, Aug 10, 2020 at 08:48:22AM +, Christophe Leroy wrote: > > Commit ea0eada45632 leads to the following build failure on powerpc: > > > > HOSTCC scripts/recordmcount > > scripts/recordmcount.c: In function

[PATCH v2 2/3] mm/slub: Get rid of count_partial()

2020-08-10 Thread Xunlei Pang
Now the partial counters are ready, let's use them directly and get rid of count_partial(). Co-developed-by: Wen Yang Signed-off-by: Xunlei Pang --- mm/slub.c | 57 - 1 file changed, 24 insertions(+), 33 deletions(-) diff --git

[PATCH v2 0/3] mm/slub: Fix count_partial() problem

2020-08-10 Thread Xunlei Pang
v1->v2: - Improved changelog and variable naming for PATCH 1~2. - PATCH3 adds per-cpu counter to avoid performance regression in concurrent __slab_free(). [Testing] On my 32-cpu 2-socket physical machine: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz perf stat --null --repeat 10 -- hackbench 20

[PATCH v2 3/3] mm/slub: Use percpu partial free counter

2020-08-10 Thread Xunlei Pang
The only concern of introducing partial counter is that, partial_free_objs may cause atomic operation contention in case of same SLUB concurrent __slab_free(). This patch changes it to be a percpu counter to avoid that. Co-developed-by: Wen Yang Signed-off-by: Xunlei Pang --- mm/slab.h | 2

[PATCH] net: Fix potential memory leak in proto_register()

2020-08-10 Thread Miaohe Lin
If we failed to assign proto idx, we free the twsk_slab_name but forget to free the twsk_slab. Add a helper function tw_prot_cleanup() to free these together and also use this helper function in proto_unregister(). Fixes: b45ce32135d1 ("sock: fix potential memory leak in proto_register()")

[PATCH v2 1/3] mm/slub: Introduce two counters for partial objects

2020-08-10 Thread Xunlei Pang
The node list_lock in count_partial() spends long time iterating in case of large amount of partial page lists, which can cause thunder herd effect to the list_lock contention. We have HSF RT(High-speed Service Framework Response-Time) monitors, the RT figures fluctuated randomly, then we

Re: [PATCH] erofs: Convert to use the fallthrough macro

2020-08-10 Thread Gao Xiang
On Mon, Aug 10, 2020 at 11:39:42AM +0800, Chao Yu wrote: > On 2020/8/8 17:21, linmiaohe wrote: > > From: Miaohe Lin > > > > Convert the uses of fallthrough comments to fallthrough macro. > > > > Signed-off-by: Hongxiang Lou > > Signed-off-by: Miaohe Lin > > Reviewed-by: Chao Yu Looks good

Re: [PATCH 3/3] usb: dwc3: dwc3-qcom: Find USB connector and register role switch

2020-08-10 Thread Felipe Balbi
Hi, Wesley Cheng writes: > @@ -190,6 +195,73 @@ static int dwc3_qcom_register_extcon(struct dwc3_qcom > *qcom) > return 0; > } > > +static int dwc3_qcom_usb_role_switch_set(struct usb_role_switch *sw, > + enum usb_role role) > +{ > + struct

Re: drivers/usb/core/devio.c:1155 do_proc_control() error: copy_from_user() 'tbuf' too small (4096 vs 8192)

2020-08-10 Thread Christoph Hellwig
On Mon, Aug 10, 2020 at 02:12:23PM +0200, Christoph Hellwig wrote: > As far as I can tell the warning is valid as we copy a user controlled > amount into a fixed sized buffer. But this an old condition not actually > created by this commit.. Actually, is is not. do_proc_control checks the

Re: drivers/usb/core/devio.c:1155 do_proc_control() error: copy_from_user() 'tbuf' too small (4096 vs 8192)

2020-08-10 Thread Christoph Hellwig
As far as I can tell the warning is valid as we copy a user controlled amount into a fixed sized buffer. But this an old condition not actually created by this commit.. On Sat, Aug 08, 2020 at 01:26:39PM +0800, kernel test robot wrote: > tree:

Re: [PATCH 0/5] kasan: add workqueue and timer stack for generic KASAN

2020-08-10 Thread Walter Wu
On Mon, 2020-08-10 at 19:50 +0800, Walter Wu wrote: > On Mon, 2020-08-10 at 07:19 -0400, Qian Cai wrote: > > > > > On Aug 10, 2020, at 3:21 AM, Walter Wu wrote: > > > > > > Syzbot reports many UAF issues for workqueue or timer, see [1] and [2]. > > > In some of these access/allocation happened

Re: [RFC][PATCH 0/3] Tracing, Idle, RCU and such goodness

2020-08-10 Thread peterz
On Mon, Aug 10, 2020 at 11:55:35AM +0200, Marco Elver wrote: > Unfortunately I get LOCKDEP_DEBUG warnings, when testing with one of > syzbot's configs. This appears at some point during boot (no other > test): > > DEBUG_LOCKS_WARN_ON(lockdep_hardirqs_enabled()) > WARNING: CPU: 0 PID:

Re: [PATCH -next] arm64: Export __cpu_logical_map

2020-08-10 Thread Sudeep Holla
On Mon, Aug 10, 2020 at 11:19:55AM +0100, Catalin Marinas wrote: > On Mon, Aug 10, 2020 at 08:49:56AM +0100, Sudeep Holla wrote: > > On Sat, Aug 01, 2020 at 05:46:43PM +0530, Sumit Gupta wrote: > > > > > > > > ERROR: modpost: "__cpu_logical_map" > > > > > > > >

Re: [PATCH v4 7/7] irqchip: qcom-pdc: Reset all pdc interrupts during init

2020-08-10 Thread Felipe Balbi
Maulik Shah writes: > Clear previous kernel's configuration during init by resetting > interrupts in enable bank to zero. > > Suggested-by: Stephen Boyd > Signed-off-by: Maulik Shah > --- > drivers/irqchip/qcom-pdc.c | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >

WARNING: at net/wireless/ti/wlcore/io.h:52 wlcore_set_partition - wl12xx_set_power_on

2020-08-10 Thread Naresh Kamboju
describe: next-20200810 kernel-config: http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/hikey/lkft/linux-next/836/config Test output: # ./fw_filesystem.sh filesystem loading works filesystem: loading_works # # ./fw_filesystem.sh async filesystem loading works async

Re: [PATCH rdma-next] MAINTAINERS: Update Mellanox and Cumulus Network addresses to new domain

2020-08-10 Thread Andy Shevchenko
On Mon, Aug 10, 2020 at 12:13 PM Leon Romanovsky wrote: > From: Leon Romanovsky > > Mellanox and Cumulus Network were acquired by Nvidia, so change the > maintainers emails to new domain name. > > Signed-off-by: Leon Romanovsky ... > MELLANOX HARDWARE PLATFORM SUPPORT > M: Andy

Re: [PATCH 1/4] vdpa: introduce config op to get valid iova range

2020-08-10 Thread Michael S. Tsirkin
On Thu, Aug 06, 2020 at 03:43:54PM +0300, Eli Cohen wrote: > On Thu, Aug 06, 2020 at 08:29:22AM -0400, Michael S. Tsirkin wrote: > > On Thu, Aug 06, 2020 at 03:03:55PM +0300, Eli Cohen wrote: > > > On Wed, Aug 05, 2020 at 08:51:56AM -0400, Michael S. Tsirkin wrote: > > > > On Wed, Jun 17, 2020 at

RE: [RFC][PATCH 2/3] locking,entry: #PF vs TRACE_IRQFLAGS

2020-08-10 Thread David Laight
From: pet...@infradead.org > Sent: 10 August 2020 12:58 > ... > > > --- a/include/linux/entry-common.h > > > +++ b/include/linux/entry-common.h > > > @@ -310,6 +310,7 @@ void irqentry_exit_to_user_mode(struct p > > > #ifndef irqentry_state > > > typedef struct irqentry_state { > > > bool

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-08-10 Thread Martin Kepplinger
On 09.08.20 17:26, Alan Stern wrote: > On Sun, Aug 09, 2020 at 11:20:22AM +0200, Martin Kepplinger wrote: >> Hey Alan, I'm really glad for that, I suspected some of this but I have >> little experience in scsi/block layers, so that is super helpful. >> >> I'd appreciate an opinion on the below

Re: [RFC][PATCH 2/3] locking,entry: #PF vs TRACE_IRQFLAGS

2020-08-10 Thread peterz
On Fri, Aug 07, 2020 at 04:21:48PM -0400, Steven Rostedt wrote: > On Fri, 07 Aug 2020 21:23:38 +0200 > Peter Zijlstra wrote: > > > Much of the complexity in irqenter_{enter,exit}() is due to #PF being > > the sole exception that can schedule from kernel context. > > > > One additional wrinkle

Re: [PATCH 0/5] kasan: add workqueue and timer stack for generic KASAN

2020-08-10 Thread Walter Wu
On Mon, 2020-08-10 at 07:19 -0400, Qian Cai wrote: > > > On Aug 10, 2020, at 3:21 AM, Walter Wu wrote: > > > > Syzbot reports many UAF issues for workqueue or timer, see [1] and [2]. > > In some of these access/allocation happened in process_one_work(), > > we see the free stack is useless in

Re: [PATCH 1/2] mm/slub: Introduce two counters for the partial objects

2020-08-10 Thread xunlei
On 2020/8/8 上午1:28, Pekka Enberg wrote: > Hi Christopher, > > On Fri, 7 Aug 2020, Pekka Enberg wrote: >>> I think we can just default to the counters. After all, if I >>> understood correctly, we're talking about up to 100 ms time period >>> with IRQs disabled when count_partial() is called. As

Re: [PATCH] kernel: update callers of task_work_add() to use TWA_RESUME

2020-08-10 Thread peterz
On Sat, Aug 08, 2020 at 03:43:50PM -0600, Jens Axboe wrote: > Any pre-existing caller of this function uses 'true' to signal to use > notifications or not, but we now also have signaled notifications. > Update existing callers that specify 'true' for notify to use the > updated TWA_RESUME instead.

WARNING in slab_pre_alloc_hook

2020-08-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:449dc8c9 Merge tag 'for-v5.9' of git://git.kernel.org/pub/.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=1658165290 kernel

Re: srvfs: file system for posting open file descriptors into fs namespace

2020-08-10 Thread Enrico Weigelt, metux IT consult
On 07.08.20 18:23, Al Viro wrote: Hi, >> This is a concept from Plan9. The main purpose is allowing applications >> "dialing" some connection, do initial handshakes (eg. authentication) >> and then publish the connection to other applications, that now can now >> make use of the already dialed

Re: [PATCH] dma-buf.rst: repair length of title underline

2020-08-10 Thread Christian König
Am 09.08.20 um 08:17 schrieb Lukas Bulwahn: With commit 72b6ede73623 ("dma-buf.rst: Document why indefinite fences are a bad idea"), document generation warns: Documentation/driver-api/dma-buf.rst:182: \ WARNING: Title underline too short. Repair length of title underline to remove

Re: [PATCH] kvm: selftests: fix spelling mistake: "missmatch" -> "missmatch"

2020-08-10 Thread Paolo Bonzini
On 10/08/20 12:16, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in an error message. Fix it. > > Signed-off-by: Colin Ian King > --- > tools/testing/selftests/kvm/lib/sparsebit.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH v4 0/7] irqchip: qcom: pdc: Introduce irq_set_wake call

2020-08-10 Thread Maulik Shah
Changes in v4: - Drop "Remove irq_disable callback from msmgpio irqchip" patch from v3 - Introduce irq_suspend_one() and irq_resume_one() callbacks - Use the new callbacks to unmask wake interrupts during suspend - Reset only pdc interrupts that are mapped in DTSI Changes in v3: - Drop gpiolib

[PATCH v4 1/7] pinctrl: qcom: Add msmgpio irqchip flags

2020-08-10 Thread Maulik Shah
Add irqchip specific flags for msmgpio irqchip to mask non wakeirqs during suspend and mask before setting irq type. Masking before changing type should make sure any spurious interrupt is not detected during this operation. Fixes: e35a6ae0eb3a ("pinctrl/msm: Setup GPIO chip in hierarchy")

[PATCH v4 5/7] pinctrl: qcom: Call our parent for irq_suspend_one / irq_resume_one

2020-08-10 Thread Maulik Shah
From: Douglas Anderson The parent (PDC) needs to handle this. Call it. Signed-off-by: Douglas Anderson Signed-off-by: Maulik Shah --- drivers/pinctrl/qcom/pinctrl-msm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c

[PATCH v4 3/7] genirq: Introduce irq_suspend_one() and irq_resume_one() callbacks

2020-08-10 Thread Maulik Shah
From: Douglas Anderson The "struct irq_chip" has two callbacks in it: irq_suspend() and irq_resume(). These two callbacks are interesting because sometimes an irq chip needs to know about suspend/resume, but they are a bit awkward because: 1. They are called once for the whole irq_chip, not

[PATCH v4 4/7] genirq: introduce irq_suspend_parent() and irq_resume_parent()

2020-08-10 Thread Maulik Shah
From: Douglas Anderson This goes with the new irq_suspend_one() and irq_resume_one() callbacks and allow us to easily pass things up to our parent. Signed-off-by: Douglas Anderson Signed-off-by: Maulik Shah --- include/linux/irq.h | 2 ++ kernel/irq/chip.c | 28

[PATCH v4 6/7] irqchip: qcom-pdc: Unmask wake up irqs during suspend

2020-08-10 Thread Maulik Shah
From: Douglas Anderson An interrupt that is masked but set for wakeup still needs to be able to wake up the system. Use the new irq_suspend_one() and irq_resume_one() callback to handle this by unmasking at the hardware level at suspend time and putting things back at resume time.

Re: [PATCH] gpu/drm: Remove TTM_PL_FLAG_WC of VRAM to fix writecombine issue for Loongson64

2020-08-10 Thread Christian König
Am 10.08.20 um 12:50 schrieb Michel Dänzer: On 2020-08-09 2:13 p.m., Christian König wrote: Am 08.08.20 um 15:50 schrieb Jiaxun Yang: 在 2020/8/8 下午9:41, Thomas Bogendoerfer 写道: On Sat, Aug 08, 2020 at 03:25:02PM +0800, Tiezhu Yang wrote: Loongson processors have a writecombine issue that

[PATCH v4 7/7] irqchip: qcom-pdc: Reset all pdc interrupts during init

2020-08-10 Thread Maulik Shah
Clear previous kernel's configuration during init by resetting interrupts in enable bank to zero. Suggested-by: Stephen Boyd Signed-off-by: Maulik Shah --- drivers/irqchip/qcom-pdc.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/qcom-pdc.c

[PATCH v4 2/7] pinctrl: qcom: Use return value from irq_set_wake call

2020-08-10 Thread Maulik Shah
msmgpio irqchip is not using return value of irq_set_wake call. Start using it. Fixes: e35a6ae0eb3a ("pinctrl/msm: Setup GPIO chip in hierarchy") Signed-off-by: Maulik Shah Reviewed-by: Douglas Anderson --- drivers/pinctrl/qcom/pinctrl-msm.c | 8 +++- 1 file changed, 3 insertions(+), 5

Re: [PATCH 1/1] x86/hyperv: Make hv_setup_sched_clock inline

2020-08-10 Thread peterz
On Sun, Aug 09, 2020 at 06:29:51PM -0700, Michael Kelley wrote: > Make hv_setup_sched_clock inline so the reference to pv_ops works > correctly with objtool updates to detect noinstr violations. > See https://lore.kernel.org/patchwork/patch/1283635/ > > Signed-off-by: Michael Kelley Thanks!

Re: [PATCH 0/5] kasan: add workqueue and timer stack for generic KASAN

2020-08-10 Thread Qian Cai
> On Aug 10, 2020, at 3:21 AM, Walter Wu wrote: > > Syzbot reports many UAF issues for workqueue or timer, see [1] and [2]. > In some of these access/allocation happened in process_one_work(), > we see the free stack is useless in KASAN report, it doesn't help > programmers to solve UAF on

Re: [PATCH] sched/fair: Fix wrong negative conversion in find_energy_efficient_cpu()

2020-08-10 Thread Valentin Schneider
On 10/08/20 09:30, Lukasz Luba wrote: > In find_energy_efficient_cpu() 'cpu_cap' could be less that 'util'. > It might be because of RT, DL (so higher sched class than CFS), irq or > thermal pressure signal, which reduce the capacity value. > In such situation the result of 'cpu_cap - util'

Re: [RFC PATCH 0/8] fsdax: introduce FS query interface to support reflink

2020-08-10 Thread Matthew Wilcox
On Mon, Aug 10, 2020 at 04:15:50PM +0800, Ruan Shiyang wrote: > > > On 2020/8/7 下午9:38, Matthew Wilcox wrote: > > On Fri, Aug 07, 2020 at 09:13:28PM +0800, Shiyang Ruan wrote: > > > This patchset is a try to resolve the problem of tracking shared page > > > for fsdax. > > > > > > Instead of

Re: [sparc64] enabling CONFIG_PROVE_LOCKING makes kernel unable to build

2020-08-10 Thread peterz
On Mon, Aug 10, 2020 at 12:23:48PM +0300, Anatoly Pugachev wrote: > On Tue, Aug 4, 2020 at 4:34 PM wrote: > > > > On Tue, Aug 04, 2020 at 04:17:16PM +0300, Anatoly Pugachev wrote: > > > Hello! > > > > > > Linus git master sources: > > > > > > $ git desc > > > v5.8-2483-gc0842fbc1b18 > > > > > > >

R: [RFC PATCH v2 2/2] dt-bindings: cpufreq: Document Krait CPU Cache scaling

2020-08-10 Thread ansuelsmth
> -Messaggio originale- > Da: Sudeep Holla > Inviato: lunedì 10 agosto 2020 10:02 > A: Ansuel Smith > Cc: Viresh Kumar ; Rafael J. Wysocki > ; Rob Herring ; linux- > p...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org > Oggetto: Re: [RFC PATCH v2 2/2]

Re: [PATCH 1/2] arm64: dts: renesas: r8a774e1: Add FCPF and FCPV instances

2020-08-10 Thread Geert Uytterhoeven
On Mon, Aug 10, 2020 at 11:22 AM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Add FCPF and FCPV instances to the r8a774e1 dtsi. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10.

Re: [PATCH] kernel: update callers of task_work_add() to use TWA_RESUME

2020-08-10 Thread Oleg Nesterov
On 08/08, Jens Axboe wrote: > > Any pre-existing caller of this function uses 'true' to signal to use > notifications or not, but we now also have signaled notifications. > Update existing callers that specify 'true' for notify to use the > updated TWA_RESUME instead. Thanks, Acked-by: Oleg

Re: [PATCH v2] KVM: SVM: Mark SEV launch secret pages as dirty.

2020-08-10 Thread Brijesh Singh
On 8/7/20 7:37 PM, Cfir Cohen wrote: > The LAUNCH_SECRET command performs encryption of the > launch secret memory contents. Mark pinned pages as > dirty, before unpinning them. > This matches the logic in sev_launch_update_data(). > > Signed-off-by: Cfir Cohen > --- > Changelog since v1: > -

Re: KMSAN: kernel-infoleak in raw_ioctl

2020-08-10 Thread Greg KH
On Mon, Aug 10, 2020 at 12:21:49PM +0200, Dmitry Vyukov wrote: > On Mon, Aug 10, 2020 at 11:57 AM Greg KH wrote: > > > > On Mon, Aug 10, 2020 at 11:15:38AM +0200, Greg KH wrote: > > > On Mon, Aug 10, 2020 at 11:08:33AM +0200, Greg KH wrote: > > > > On Mon, Aug 10, 2020 at 11:00:07AM +0200, Dmitry

Re: [PATCH nf] netfilter: nft_compat: remove flush counter optimization

2020-08-10 Thread Pablo Neira Ayuso
On Sun, Aug 09, 2020 at 08:28:01PM +0200, Florian Westphal wrote: > WARNING: CPU: 1 PID: 16059 at lib/refcount.c:31 > refcount_warn_saturate+0xdf/0xf > [..] > __nft_mt_tg_destroy+0x42/0x50 [nft_compat] > nft_target_destroy+0x63/0x80 [nft_compat] > nf_tables_expr_destroy+0x1b/0x30 [nf_tables] >

Re: [PATCH net-next] ip_vti: Fix unused variable warning

2020-08-10 Thread Steffen Klassert
On Fri, Jul 31, 2020 at 02:49:52PM +0800, YueHaibing wrote: > If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, > > net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used > [-Wunused-variable] > > Signed-off-by: YueHaibing Now applied to the ipsec tree, thanks!

Re: [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device

2020-08-10 Thread Qi Liu
Hi Suzuki, Thanks for your review. On 2020/8/4 18:47, Suzuki K Poulose wrote: > Hi Qi > > On 08/03/2020 02:35 PM, Qi Liu wrote: >> Add ETMv4 periperhal ID for HiSilicon Hip08 and Hip09 platform. Hip08 >> contains ETMv4.2 device and Hip09 contains ETMv4.5 device. > > Does the ETMv4.5 on your

Re: [PATCH] gpu/drm: Remove TTM_PL_FLAG_WC of VRAM to fix writecombine issue for Loongson64

2020-08-10 Thread Michel Dänzer
On 2020-08-09 2:13 p.m., Christian König wrote: > Am 08.08.20 um 15:50 schrieb Jiaxun Yang: >> 在 2020/8/8 下午9:41, Thomas Bogendoerfer 写道: >>> On Sat, Aug 08, 2020 at 03:25:02PM +0800, Tiezhu Yang wrote: Loongson processors have a writecombine issue that maybe failed to write back

RE: [PATCH v11 12/12] dmaengine: imx-sdma: add uart rom script

2020-08-10 Thread Robin Gong
On 2020/08/10 15:33 Frieder Schrempf wrote: > Hi Robin, > > This patch seems to break UART DMA in case the ROM firmware is used. In that > case sdma->script_number is set to SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V1, so > the ROM scripts at uart_2_mcu_addr and uartsh_2_mcu_addr will never be > added in

Get back to me for more details

2020-08-10 Thread Mrs. Maddalena Nicholaus
Greetings dear, I am Mrs. Maddalena Nicholaus, a Finnish citizen and 79 years old with grief. I am looking for your help due to my medical situation here in London. My medical condition is not in good shape and I will need your assistance to grant my last wish over the inheritance of my Late

Re: [PATCH] opp: Fix dev_pm_opp_set_rate() to not return early

2020-08-10 Thread Sibi Sankar
On 2020-08-10 12:36, Rajendra Nayak wrote: dev_pm_opp_set_rate() can now be called with freq = 0 inorder to either drop performance or bandwidth votes or to disable regulators on platforms which support them. In such cases, a subsequent call to dev_pm_opp_set_rate() with the same frequency ends

[PATCH] f2fs: fix compile warning

2020-08-10 Thread Chao Yu
This patch fixes below compile warning reported by LKP (kernel test robot) cppcheck warnings: (new ones prefixed by >>) >> fs/f2fs/file.c:761:9: warning: Identical condition 'err', second condition >> is always false [identicalConditionAfterEarlyExit] return err; ^

[PATCH] f2fs: compress: use more readable atomic_t type for {cic,dic}.ref

2020-08-10 Thread Chao Yu
refcount_t type variable should never be less than one, so it's a little bit hard to understand when we use it to indicate pending compressed page count, let's change to use atomic_t for better readability. Signed-off-by: Chao Yu --- fs/f2fs/compress.c | 10 +- fs/f2fs/data.c | 6

Re: [PATCH] Revert "seqlock: lockdep assert non-preemptibility on seqcount_t write"

2020-08-10 Thread Ahmed S. Darwish
On Mon, Aug 10, 2020 at 12:05:02PM +0200, Greg KH wrote: > On Mon, Aug 10, 2020 at 11:54:28AM +0200, Ahmed S. Darwish wrote: > > This reverts commit 859247d39fb008ea812e8f0c398a58a20c12899e. > > > > Current implementation of lockdep_assert_preemption_disabled() uses > > per-CPU variables, which

Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add VSP instances

2020-08-10 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Mon, Aug 10, 2020 at 11:29 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Mon, Aug 10, 2020 at 11:22 AM Lad Prabhakar > wrote: > > From: Marian-Cristian Rotariu > > > > The RZ/G2H (R8A774E1) has 6 VSP instances. > > > > Based on the work done for

Re: [PATCH v6 12/18] nitro_enclaves: Add logic for starting an enclave

2020-08-10 Thread Alexander Graf
On 05.08.20 11:10, Andra Paraschiv wrote: After all the enclave resources are set, the enclave is ready for beginning to run. Add ioctl command logic for starting an enclave after all its resources, memory regions and CPUs, have been set. The enclave start information includes the local

Re: [PATCH] vdpa/mlx5: Fix pointer math in mlx5_vdpa_get_config()

2020-08-10 Thread Dan Carpenter
On Sun, Aug 09, 2020 at 06:34:04AM +, Eli Cohen wrote: > Acked-by: Eli Cohen > > BTW, vdpa_sim has the same bug. > I sent a patch for that on April 6. [PATCH 2/2] vdpa: Fix pointer math bug in vdpasim_get_config() Jason acked the patch but it wasn't applied. regards, dan carpenter

Re: [PATCH] Introduce support for Systems Management Driver over WMI for Dell Systems

2020-08-10 Thread Andy Shevchenko
On Sat, Aug 08, 2020 at 06:37:44PM +, Limonciello, Mario wrote: > +Andy > > Andy, can you please review this one? Yes, at some point. It's anyway material to at least v5.10. > Thanks, > > > -Original Message- > > From: platform-driver-x86-ow...@vger.kernel.org >

Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add VSP instances

2020-08-10 Thread Geert Uytterhoeven
Hi Prabhakar, On Mon, Aug 10, 2020 at 11:22 AM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > The RZ/G2H (R8A774E1) has 6 VSP instances. > > Based on the work done for r8a7795 SoC. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Thanks for your patch!

RE: [PATCH 19/22] crypto: inside-secure - add check for xts input length equal to zero

2020-08-10 Thread Van Leeuwen, Pascal
> -Original Message- > From: linux-crypto-ow...@vger.kernel.org > On Behalf Of Andrei Botila > Sent: Friday, August 7, 2020 6:20 PM > To: Herbert Xu ; David S. Miller > > Cc: linux-cry...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org;

Re: KMSAN: kernel-infoleak in raw_ioctl

2020-08-10 Thread Dmitry Vyukov
On Mon, Aug 10, 2020 at 11:57 AM Greg KH wrote: > > On Mon, Aug 10, 2020 at 11:15:38AM +0200, Greg KH wrote: > > On Mon, Aug 10, 2020 at 11:08:33AM +0200, Greg KH wrote: > > > On Mon, Aug 10, 2020 at 11:00:07AM +0200, Dmitry Vyukov wrote: > > > > On Mon, Aug 10, 2020 at 9:46 AM Greg KH > > > >

[PATCH] cpupowerutils: fix spelling mistake "dependant" -> "dependent"

2020-08-10 Thread Colin King
From: Colin Ian King There is a spelling mistake in a message. Fix it. Signed-off-by: Colin Ian King --- tools/power/cpupower/debug/i386/intel_gsic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/cpupower/debug/i386/intel_gsic.c

Re: [PATCH -next] arm64: Export __cpu_logical_map

2020-08-10 Thread Catalin Marinas
On Mon, Aug 10, 2020 at 08:49:56AM +0100, Sudeep Holla wrote: > On Sat, Aug 01, 2020 at 05:46:43PM +0530, Sumit Gupta wrote: > > > > > > > ERROR: modpost: "__cpu_logical_map" > > > > > > > [drivers/cpufreq/tegra194-cpufreq.ko] undefined! > > > > > > > > > > > > > > ARM64 tegra194-cpufreq driver

[PATCH] kvm: selftests: fix spelling mistake: "missmatch" -> "missmatch"

2020-08-10 Thread Colin King
From: Colin Ian King There is a spelling mistake in an error message. Fix it. Signed-off-by: Colin Ian King --- tools/testing/selftests/kvm/lib/sparsebit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/lib/sparsebit.c

Re: KCSAN: data-race in __io_cqring_fill_event / io_uring_poll

2020-08-10 Thread Dmitry Vyukov
On Mon, Aug 10, 2020 at 11:58 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:86cfccb6 Merge tag 'dlm-5.9' of git://git.kernel.org/pub/s.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=171cf11a90 > kernel

[PATCH v1 1/2] ite-it6505 change trigger conditions

2020-08-10 Thread allen
it6505 changes trigger conditions. --- Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml

<    8   9   10   11   12   13   14   15   >