Re: [PATCH v1 3/6] mm/page_isolation: drop WARN_ON_ONCE() in set_migratetype_isolate()

2020-07-29 Thread Baoquan He
On 06/30/20 at 04:26pm, David Hildenbrand wrote: > Inside has_unmovable_pages(), we have a comment describing how unmovable > data could end up in ZONE_MOVABLE - via "movable_core". Also, besides ~~~ 'movablecore' > checking if the first page in the

[PATCH 2/4] KVM: SVM: Add GHCB definitions

2020-07-29 Thread Joerg Roedel
From: Tom Lendacky Extend the vmcb_safe_area with SEV-ES fields and add a new 'struct ghcb' which will be used for guest-hypervisor communication. Signed-off-by: Tom Lendacky Signed-off-by: Joerg Roedel --- arch/x86/include/asm/svm.h | 45 +-

[PATCH 1/2] f2fs: compress: add sanity check during compressed cluster read

2020-07-29 Thread Chao Yu
From: Chao Yu In f2fs_read_multi_pages(), we don't have to check cluster's type again, since overwrite or partial truncation need page lock in cluster which has already been held by reader, so cluster's type is stable, let's change check condition to sanity check. Signed-off-by: Chao Yu ---

Re: [PATCH v1] farsync: use generic power management

2020-07-29 Thread Vaibhav Gupta
On Wed, Jul 29, 2020 at 07:29:54AM -0500, Bjorn Helgaas wrote: > On Wed, Jul 29, 2020 at 03:47:30PM +0530, Vaibhav Gupta wrote: > > > > Agreed. Actually, as their presence only causes PCI core to call > > pci_legacy_suspend/resume() for them, I thought that after removing > > the binding from

[PATCH 1/4] KVM: SVM: nested: Don't allocate VMCB structures on stack

2020-07-29 Thread Joerg Roedel
From: Joerg Roedel Do not allocate a vmcb_control_area and a vmcb_save_area on the stack, as these structures will become larger with future extenstions of SVM and thus the svm_set_nested_state() function will become a too large stack frame. Signed-off-by: Joerg Roedel ---

[PATCH 2/2] f2fs: compress: disable compression mount option if compression is off

2020-07-29 Thread Chao Yu
From: Chao Yu If CONFIG_F2FS_FS_COMPRESSION is off, don't allow to configure or show compression related mount option. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index

[PATCH 3/4] KVM: SVM: Add GHCB Accessor functions

2020-07-29 Thread Joerg Roedel
From: Joerg Roedel Building a correct GHCB for the hypervisor requires setting valid bits in the GHCB. Simplify that process by providing accessor functions to set values and to update the valid bitmap. Signed-off-by: Joerg Roedel --- arch/x86/include/asm/svm.h | 61

[PATCH 0/4] KVM: SVM: SEV-ES groundwork

2020-07-29 Thread Joerg Roedel
Hi Paolo, here are some groundwork patches for the upcoming SEV-ES support in the Linux kernel. They are part of both the client patch-set and of the KVM hypervisor patches (under development). Patch 1 necesary to fix a compile warning about a stack-frame getting too large. The other 3 patches

Re: [Linux-kernel-mentees] [PATCH v2] block/floppy: Prevent kernel-infoleak in raw_cmd_copyout()

2020-07-29 Thread Denis Efremov
On 7/29/20 3:58 PM, Dan Carpenter wrote: > Argh... This isn't right still. The "ptr" comes from raw_cmd_copyin() > > ptr = kmalloc(sizeof(struct floppy_raw_cmd), GFP_KERNEL); > copy_from_user overwrites the padding bytes: ptr = kmalloc(sizeof(struct floppy_raw_cmd), GFP_KERNEL);

[PATCH 4/4] KVM: SVM: Use __packed shorthand

2020-07-29 Thread Joerg Roedel
From: Borislav Petkov Use the shorthand to make it more readable. No functional changes. Signed-off-by: Joerg Roedel --- arch/x86/include/asm/svm.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h

Re: [PATCH v2 0/3] media: vimc: Allow multiple capture devices to use the same sensor

2020-07-29 Thread Dafna Hirschfeld
On 29.07.20 15:05, Kieran Bingham wrote: Hi Dafna, On 28/07/2020 15:00, Dafna Hirschfeld wrote: On 28.07.20 14:07, Dafna Hirschfeld wrote: Hi On 28.07.20 13:39, Kaaira Gupta wrote: On Mon, Jul 27, 2020 at 02:54:30PM -0300, Helen Koike wrote: Hi, On 7/27/20 11:31 AM, Kieran Bingham

[PATCH bpf-next v2] Documentation/bpf: Use valid and new links in index.rst

2020-07-29 Thread Tiezhu Yang
There exists an error "404 Not Found" when I click the html link of "Documentation/networking/filter.rst" in the BPF documentation [1], fix it. Additionally, use the new links about "BPF and XDP Reference Guide" and "bpf(2)" to avoid redirects. [1] https://www.kernel.org/doc/html/latest/bpf/

Re: [PATCH v2 4/5] prctl: Hook L1D flushing in via prctl

2020-07-29 Thread Tom Lendacky
On 7/28/20 7:11 PM, Balbir Singh wrote: > Use the existing PR_GET/SET_SPECULATION_CTRL API to expose the L1D > flush capability. For L1D flushing PR_SPEC_FORCE_DISABLE and > PR_SPEC_DISABLE_NOEXEC are not supported. > > There is also no seccomp integration for the feature. > > Signed-off-by:

Re: [PATCH] platform/x86:dell-laptop:Add battery charging thresholds and charging mode switch.

2020-07-29 Thread Limonciello, Mario
> The values here seem very Dell specific, but this is going into a > generic sysfs path. Really stuff here should be as vendor independent as > possible. If these values don't correspond to a wider industry > specification it probably makes sense to make this something Dell > specific. Worth

Re: [PATCH v8 2/5] drm/imx: Add initial support for DCSS on iMX8MQ

2020-07-29 Thread Guido Günther
Hi Laurentiu, On Fri, Jul 24, 2020 at 12:07:31PM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > This adds initial support for iMX8MQ's Display Controller Subsystem (DCSS). > Some of its capabilities include: > * 4K@60fps; > * HDR10; > * one graphics and 2 video pipelines; > *

[PATCH bpf-next] Documentation/bpf: Use valid and new links in index.rst

2020-07-29 Thread Tiezhu Yang
There exists an error "404 Not Found" when I clik the html link of "Documentation/networking/filter.rst" in the BPF documentation [1], fix it. Additionally, use the new links about "BPF and XDP Reference Guide" and "bpf(2)" to avoid redirects. [1] https://www.kernel.org/doc/html/latest/bpf/

Re: [PATCH v2 2/3] sched: Cleanup SCHED_THERMAL_PRESSURE kconfig entry

2020-07-29 Thread Quentin Perret
On Tuesday 28 Jul 2020 at 17:16:57 (+0100), Valentin Schneider wrote: > We could change the arch Kconfig into > > select SCHED_THERMAL_PRESSURE if CPU_FREQ_THERMAL > > but that seems redundant; this dependency is already expressed in > SCHED_THERMAL_PRESSURE's definition. Is there a proper

[PATCH] atm: fix atm_dev refcnt leaks in atmtcp_remove_persistent

2020-07-29 Thread Xin Xiong
atmtcp_remove_persistent() invokes atm_dev_lookup(), which returns a reference of atm_dev with increased refcount or NULL if fails. The refcount leaks issues occur in two error handling paths. If dev_data->persist is zero or PRIV(dev)->vcc isn't NULL, the function returns 0 without decreasing the

Re: [PATCH 1/3] dt-bindings: gpio: sunxi:create a DT header for Allwinner pin controller

2020-07-29 Thread Maxime Ripard
Hi, On Sat, Jul 25, 2020 at 02:18:39PM -0500, Samuel Holland wrote: > On 7/17/20 11:07 AM, Maxime Ripard wrote: > > Hi! > > > > On Wed, Jul 15, 2020 at 07:54:12PM +0800, Frank Lee wrote: > >> From: Yangtao Li > >> > >> The sunxi gpio binding defines a few custom cells for its gpio specifier. >

Re: [PATCH v2 0/3] media: vimc: Allow multiple capture devices to use the same sensor

2020-07-29 Thread Kieran Bingham
Hi Dafna, On 28/07/2020 15:00, Dafna Hirschfeld wrote: > > > On 28.07.20 14:07, Dafna Hirschfeld wrote: >> Hi >> >> On 28.07.20 13:39, Kaaira Gupta wrote: >>> On Mon, Jul 27, 2020 at 02:54:30PM -0300, Helen Koike wrote: Hi, On 7/27/20 11:31 AM, Kieran Bingham wrote: > Hi all,

Re: [PATCH v7 7/8] scsi: ufs: Move dumps in IRQ handler to error handler

2020-07-29 Thread Can Guo
Hi Asutosh, On 2020-07-29 02:06, Asutosh Das (asd) wrote: On 7/27/2020 10:00 PM, Can Guo wrote: Sometime dumps in IRQ handler are heavy enough to cause system stability issues, move them to error handler. Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 31

Re: [RFC PATCH 0/6] decrease unnecessary gap due to pmem kmem alignment

2020-07-29 Thread David Hildenbrand
On 29.07.20 15:00, Mike Rapoport wrote: > On Wed, Jul 29, 2020 at 11:35:20AM +0200, David Hildenbrand wrote: >> On 29.07.20 11:31, Mike Rapoport wrote: >>> Hi Justin, >>> >>> On Wed, Jul 29, 2020 at 08:27:58AM +, Justin He wrote: Hi David >> >> Without this series, if qemu creates

Re: [PATCH v1 2/2] timer: mt6873: porting Mediatek timer driver to loadable module

2020-07-29 Thread Thomas Gleixner
Freddy, Freddy Hsin writes: again, please be more careful with subject lines. git log $FILE will give you a hint. > porting Mediatek timer driver to loadable module Repeating the sentence in the subject line is not giving any information. Also changelogs want to tell the WHY and not the

Re: [RFC PATCH 0/6] decrease unnecessary gap due to pmem kmem alignment

2020-07-29 Thread Mike Rapoport
On Wed, Jul 29, 2020 at 11:35:20AM +0200, David Hildenbrand wrote: > On 29.07.20 11:31, Mike Rapoport wrote: > > Hi Justin, > > > > On Wed, Jul 29, 2020 at 08:27:58AM +, Justin He wrote: > >> Hi David > > Without this series, if qemu creates a 4G bytes nvdimm device, we can > >>>

Re: [Linux-kernel-mentees] [PATCH v2] block/floppy: Prevent kernel-infoleak in raw_cmd_copyout()

2020-07-29 Thread Dan Carpenter
Argh... This isn't right still. The "ptr" comes from raw_cmd_copyin() ptr = kmalloc(sizeof(struct floppy_raw_cmd), GFP_KERNEL); The struct hole could still be uninitialized from kmalloc() and instead of from the stack. Smatch is only looking for the common stack info leaks and doesn't worn

Re: [PATCH 0/2] locking/qspinlock: Break qspinlock_types.h header loop

2020-07-29 Thread peterz
On Wed, Jul 29, 2020 at 10:51:44PM +1000, Herbert Xu wrote: > On Wed, Jul 29, 2020 at 02:47:44PM +0200, pet...@infradead.org wrote: > > > > How did you run into this, I haven't seen any build failures due to > > this. > > I didn't, Stephen ran into it after merging the printk tree together > with

[PATCH] checkpatch: skip macros when finding missing switch/case break

2020-07-29 Thread Cambda Zhu
The checkpatch.pl only searches 3 previous lines when finding missing switch/case break, and macros are treated as normal statements. If the cases are surrounded with CONFIG, checkpatch.pl may report false warnings. For example: \+#if xxx \+ case xxx: { \+ ... \+

Re: [PATCH 4/7] gpio: dwapb: Convert driver to using the GPIO-lib-based IRQ-chip

2020-07-29 Thread Serge Semin
On Mon, Jul 27, 2020 at 12:22:28AM +0200, Linus Walleij wrote: > On Sat, Jul 25, 2020 at 1:03 AM Serge Semin > wrote: > > > According to the DW APB GPIO databook it can be configured to provide > > either a > > combined IRQ line or multiple interrupt signals for each GPIO. It's up to > > the

Re: INFO: rcu detected stall in smp_call_function

2020-07-29 Thread peterz
On Wed, Jul 29, 2020 at 01:44:15AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:6ba1b005 Merge tag 'asm-generic-fixes-5.8' of git://git.ke.. Bit useless, having git://git.ke... there, that doesn't really narrow things down. > git tree:

Re: [PATCH 0/7] Optimization to improve cpu online/offline on Powerpc

2020-07-29 Thread Satheesh Rajendran
On Mon, Jul 27, 2020 at 01:25:25PM +0530, Srikar Dronamraju wrote: > Anton reported that his 4096 cpu (1024 cores in a socket) was taking too > long to boot. He also analyzed that most of the time was being spent on > updating cpu_core_mask. > > Here are some optimizations and fixes to make

Re: [PATCH 1/1] vt_ioctl: prevent VT_RESIZEX font height change from causing potential out-of-bounds access

2020-07-29 Thread Greg KH
On Wed, Jul 29, 2020 at 08:39:41AM -0400, George Kennedy wrote: > Add a VT_RESIZEX check to ensure that changing the font height will not > cause a potential out-of-bounds access. The candidate font height contained > in "v_clin", though below the max, could still result in accesses beyond > the

Re: [PATCH 0/2] locking/qspinlock: Break qspinlock_types.h header loop

2020-07-29 Thread Herbert Xu
On Wed, Jul 29, 2020 at 02:47:44PM +0200, pet...@infradead.org wrote: > > How did you run into this, I haven't seen any build failures due to > this. I didn't, Stephen ran into it after merging the printk tree together with the powerpc tree:

Re: [PATCH V4] Softirq:avoid large sched delay from the pending softirqs

2020-07-29 Thread jun qian
On Wed, Jul 29, 2020 at 8:16 PM Thomas Gleixner wrote: > > Qian, > > jun qian writes: > > On Mon, Jul 27, 2020 at 11:41 PM Thomas Gleixner wrote: > >> > + or_softirq_pending(pending << (vec_nr + 1)); > >> > >> To or the value interrupts need to be disabled because otherwise

[PATCH V2] dmaengine: bcm-sba-raid: add missing put_device() call in sba_probe()

2020-07-29 Thread Yu Kuai
if of_find_device_by_node() succeed, sba_probe() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Fixes: 743e1c8ffe4e ("dmaengine: Add Broadcom SBA RAID driver") Signed-off-by: Yu Kuai --- changes from V1: -forgot

Re: [PATCH 0/2] locking/qspinlock: Break qspinlock_types.h header loop

2020-07-29 Thread peterz
On Wed, Jul 29, 2020 at 10:28:07PM +1000, Herbert Xu wrote: > This miniseries breaks a header loop involving qspinlock_types.h. > The issue is that qspinlock_types.h includes atomic.h, which then > eventually includes kernel.h which could lead back to the original > file via spinlock_types.h. How

Re: [PATCH v1 1/2] kernel: time: export sched_clock_register function

2020-07-29 Thread Thomas Gleixner
Freddy, Freddy Hsin writes: please do not come up with random prefixes. Just look at the topmost two commits on that file: 2c8bd58812ee ("time/sched_clock: Expire timer in hardirq context") 2707745533d6 ("time/sched_clock: Disable interrupts in sched_clock_register()") Also the sentence after

Re: [PATCH 11/17] clk: imx: Add blk_ctrl combo driver

2020-07-29 Thread Philipp Zabel
Hi Abel, On Wed, 2020-07-29 at 15:07 +0300, Abel Vesa wrote: > On i.MX8MP, there is a new type of IP which is called BLK_CTRL in > RM and usually is comprised of some GPRs that are considered too > generic to be part of any dedicated IP from that specific subsystem. > > In general, some of the

Re: [char-misc-next] MAINTAINERS: Fix maintainer entry for mei driver

2020-07-29 Thread Gustavo A. R. Silva
On 7/29/20 06:05, Tomas Winkler wrote: > mei driver has sub modules, those are not > listed via scripts/get_maintainer.pl when using asterisk: > drivers/misc/mei/* > The correct notation is: > drivers/misc/mei/ > Yes; it works fine now: $ scripts/get_maintainer.pl --nokeywords --nogit

Re: Minor RST rant

2020-07-29 Thread peterz
On Sat, Jul 25, 2020 at 09:46:55AM +1000, NeilBrown wrote: > Constant names stand out least effectively by themselves. In > kernel-doc comments they are preceded by a '%'. Would that make the > text more readable for you? Does our doc infrastructure honour that in > .rst documents? It

Re: [f2fs-dev] [PATCH] f2fs: fix deadlock between quota writes and checkpoint

2020-07-29 Thread Chao Yu
On 2020-7-29 15:02, Jaegeuk Kim wrote: f2fs_write_data_pages(quota_mapping) __f2fs_write_data_pages f2fs_write_checkpoint * blk_start_plug(); * add bio in write_io[DATA] - block_operations - skip syncing

[PATCH 1/1] vt_ioctl: prevent VT_RESIZEX font height change from causing potential out-of-bounds access

2020-07-29 Thread George Kennedy
Add a VT_RESIZEX check to ensure that changing the font height will not cause a potential out-of-bounds access. The candidate font height contained in "v_clin", though below the max, could still result in accesses beyond the allocated font data size. Signed-off-by: George Kennedy Reported-by:

Re: [PATCH RFC] rcu/segcblist: Add counters to segcblist datastructure

2020-07-29 Thread Joel Fernandes
On Mon, Jul 20, 2020 at 07:29:23AM -0700, Davidlohr Bueso wrote: > On Sat, 18 Jul 2020, Joel Fernandes (Google) wrote: > > > +/* Move from's segment length to to's segment. */ > > +static void rcu_segcblist_move_seglen(struct rcu_segcblist *rsclp, int > > from, int to) > > +{ > > + long len =

Re: [PATCH] arm64: dts: sun50i-pinephone: add led flash

2020-07-29 Thread Maxime Ripard
Hi! On Sat, Jul 25, 2020 at 01:08:12PM +0200, Luca Weiss wrote: > All revisions of the PinePhone have an SGM3140 LED flash. The gpios were > swapped on v1.0 of the board but this was fixed in later revisions. > > Signed-off-by: Luca Weiss > --- >

Re: WARNING: suspicious RCU usage - while installing a VM on a CPU listed under nohz_full

2020-07-29 Thread Nitesh Narayan Lal
On 7/28/20 10:38 PM, Wanpeng Li wrote: > Hi Nitesh, > On Wed, 29 Jul 2020 at 09:00, Wanpeng Li wrote: >> On Tue, 28 Jul 2020 at 22:40, Nitesh Narayan Lal wrote: >>> Hi, >>> >>> I have recently come across an RCU trace with the 5.8-rc7 kernel that has >>> the >>> debug configs enabled while

[PATCH v2] interconnect: Add bulk API helpers

2020-07-29 Thread Georgi Djakov
There are drivers which just need to get multiple interconnect paths, request some predefined amounts of bandwidth and then just toggle the paths between enabled/disabled state. The aim of this patch is simplify the above and to allow drivers to put all the path names and bandwidth data into a

Re: [PATCH v2 1/9] dt-bindings: arm: mstar: Add binding details for mstar,pmsleep

2020-07-29 Thread Daniel Palmer
Hi Arnd, On Wed, 29 Jul 2020 at 21:14, Arnd Bergmann wrote: > > Does calling it "mstar,pmsleepv7" make more sense? I'm not sure what > > to call it really. > > Use the name of the oldest chip you know that supports it in there, > such as "mstar,msc313-pmsleep" if this one is specific to msc313.

[PATCH] net/mlx5e: fix bpf_prog refcnt leaks in mlx5e_alloc_rq

2020-07-29 Thread Xin Xiong
The function invokes bpf_prog_inc(), which increases the refcount of a bpf_prog object "rq->xdp_prog" if the object isn't NULL. The refcount leak issues take place in two error handling paths. When mlx5_wq_ll_create() or mlx5_wq_cyc_create() fails, the function simply returns the error code and

[PATCH 2/2] locking/qspinlock: Do not include atomic.h from qspinlock_types.h

2020-07-29 Thread Herbert Xu
This patch breaks a header loop involving qspinlock_types.h. The issue is that qspinlock_types.h includes atomic.h, which then eventually includes kernel.h which could lead back to the original file via spinlock_types.h. As ATOMIC_INIT is now defined by linux/types.h, there is no longer any need

misaligned vsyscall when vsyscall=emulate

2020-07-29 Thread sibingsong

[PATCH 1/2] locking/atomic: Move ATOMIC_INIT into linux/types.h

2020-07-29 Thread Herbert Xu
This patch moves ATOMIC_INIT from asm/atomic.h into linux/types.h. This allows users of atomic_t to use ATOMIC_INIT without having to include atomic.h as that way may lead to header loops. Signed-off-by: Herbert Xu diff --git a/arch/alpha/include/asm/atomic.h b/arch/alpha/include/asm/atomic.h

[PATCH] dmaengine: bcm-sba-raid: add missing put_device() call in sba_probe()

2020-07-29 Thread Yu Kuai
if of_find_device_by_node() succeed, sba_probe() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Fixes: 743e1c8ffe4e ("dmaengine: Add Broadcom SBA RAID driver") Signed-off-by: Yu Kuai ---

Re: [PATCH v1] farsync: use generic power management

2020-07-29 Thread Bjorn Helgaas
On Wed, Jul 29, 2020 at 03:47:30PM +0530, Vaibhav Gupta wrote: > On Tue, Jul 28, 2020 at 03:04:13PM -0500, Bjorn Helgaas wrote: > > On Tue, Jul 28, 2020 at 09:58:10AM +0530, Vaibhav Gupta wrote: > > > The .suspend() and .resume() callbacks are not defined for this driver. > > > Still, their power

Re: [PATCH v1 1/6] mm/page_alloc: tweak comments in has_unmovable_pages()

2020-07-29 Thread David Hildenbrand
On 29.07.20 12:47, Baoquan He wrote: > On 07/28/20 at 04:07pm, David Hildenbrand wrote: >> On 28.07.20 15:48, Baoquan He wrote: >>> On 06/30/20 at 04:26pm, David Hildenbrand wrote: Let's move the split comment regarding bootmem allocations and memory holes, especially in the context of

[PATCH] dmaengine: at_hdmac: do exception handling appropriately in at_dma_xlate()

2020-07-29 Thread Yu Kuai
Do several things for exception handing: a. check return value of of_find_device_by_node(). b. call put_device() if memory allocation for 'atslave' failed. c. if dma_request_channel() failed, call put_device() and kfree(). Fixes: bbe89c8e3d59 ("at_hdmac: move to generic DMA binding")

[PATCH 0/2] locking/qspinlock: Break qspinlock_types.h header loop

2020-07-29 Thread Herbert Xu
This miniseries breaks a header loop involving qspinlock_types.h. The issue is that qspinlock_types.h includes atomic.h, which then eventually includes kernel.h which could lead back to the original file via spinlock_types.h. The first patch moves ATOMIC_INIT into linux/types.h while the second

Re: [Intel-gfx] [PATCH v12 2/3] drm/i915: add syncobj timeline support

2020-07-29 Thread Daniel Vetter
Hi Kees, Not sure you're the right person, but figured I start with you with an idea I had while looking at this patch. Cut out everything except the relevant part: On Wed, Jul 8, 2020 at 3:18 PM Lionel Landwerlin wrote: > + /* Check multiplication overflow for access_ok() and

Re: [PATCH V13] printk: Add monotonic, boottime, and realtime timestamps

2020-07-29 Thread Prarit Bhargava
Chunyan Zhang wrote: > From: Prarit Bhargava > > printk.time=1/CONFIG_PRINTK_TIME=1 adds a unmodified local hardware clock > timestamp to printk messages. The local hardware clock loses time each > day making it difficult to determine exactly when an issue has occurred in > the kernel log,

Re: [PATCH v3 10/11] PM, libnvdimm: Add runtime firmware activation support

2020-07-29 Thread Rafael J. Wysocki
On Wed, Jul 29, 2020 at 3:35 AM Vishal Verma wrote: > > On Mon, 2020-07-27 at 14:37 +0200, Rafael J. Wysocki wrote: > > On Tue, Jul 21, 2020 at 12:24 AM Dan Williams > > wrote: > > > Abstract platform specific mechanics for nvdimm firmware activation > > > behind a handful of generic ops. At

linux-next: Tree for Jul 29

2020-07-29 Thread Stephen Rothwell
Hi all, Changes since 20200728: My fixes tree contains: dbf24e30ce2e ("device_cgroup: Fix RCU list debugging warning") The vfs tree gained a build failure so I used the version from next-20200728. The printk tree lost its build failure but regained it via another build, so I reverted a

Re: [PATCH v2 3/3] KVM: SVM: Fix disable pause loop exit/pause filtering capability on SVM

2020-07-29 Thread Vitaly Kuznetsov
Wanpeng Li writes: > From: Wanpeng Li > > Commit 8566ac8b (KVM: SVM: Implement pause loop exit logic in SVM) drops > disable pause loop exit/pause filtering capability completely, I guess it > is a merge fault by Radim since disable vmexits capabilities and pause > loop exit for SVM patchsets

[PATCH v1 3/3] arm64: defconfig: Enable imx8mq-librem5-devkit display stack

2020-07-29 Thread Guido Günther
Enable the panel, NWL DSI host controller and dphy. This also needs the reset controller. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

Re: [PATCHv2] staging/speakup: Move out of staging

2020-07-29 Thread Samuel Thibault
Greg KH, le mer. 29 juil. 2020 14:05:33 +0200, a ecrit: > On Wed, Jul 29, 2020 at 02:35:31AM +0200, Samuel Thibault wrote: > > The nasty TODO items are done. > > > > Signed-off-by: Samuel Thibault > > Now applied, thanks for all of the work so far. > > I will be glad to merge patches for this

[PATCH v1 0/3] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit

2020-07-29 Thread Guido Günther
These patches add the NWL host controller to the imx8mq and make use of it on the Librem 5 Devkit enabling the built in MIPI DSI LCD panel. I opted to add imx8mq internal ports and endpoints between nwl and lcdif to the generic dtsi since those are SOC rather than board specific properties.

[PATCH v1 2/3] arm64: dts: imx8mq-librem5-devkit: Enable the LCD panel

2020-07-29 Thread Guido Günther
Enable LCD panel output by adding nodes for the NWL DSI host controller, the Rocktech panel and the eLCDIF display controller. Signed-off-by: Guido Günther --- .../dts/freescale/imx8mq-librem5-devkit.dts | 33 +++ 1 file changed, 33 insertions(+) diff --git

[PATCH v1 1/3] arm64: dts: imx8mq: Add NWL MIPI DSI controller

2020-07-29 Thread Guido Günther
Add a node for the Northwest Logic MIPI DSI IP core, "disabled" by default. This also adds the necessary port to LCDIF. Signed-off-by: Guido Günther --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git

Re: [GIT PULL] iommu/arm-smmu: Move driver files into their own subdir

2020-07-29 Thread Joerg Roedel
On Mon, Jul 27, 2020 at 01:05:11PM +0100, Will Deacon wrote: > As requested in [1], here is a second Arm SMMU pull request for 5.9, moving > the driver files into their own subdirectory to avoid cluttering > drivers/iommu/. Pulled, thanks a lot, Will.

Re: [patch V4 04/15] entry: Provide generic interrupt entry/exit code

2020-07-29 Thread Thomas Gleixner
Andy Lutomirski writes: > On Tue, Jul 21, 2020 at 4:08 AM Thomas Gleixner wrote: >> >> From: Thomas Gleixner >> >> Like the syscall entry/exit code interrupt/exception entry after the real >> low level ASM bits should not be different accross architectures. >> >> Provide a generic version based

Re: [PATCH 17/17] arm64: dts: imx8mp: Add hdmi_blk_ctrl node

2020-07-29 Thread Abel Vesa
On 20-07-29 15:08:03, Abel Vesa wrote: > Some of the features of the hdmi_ctrl will be used by some > different drivers in a way those drivers will know best, so adding the > syscon compatible we allow those to do just that. Only the resets > and the clocks are registered bit the clk-blk-ctrl

Re: [PATCH 16/17] arm64: dts: imx8mp: Add media_blk_ctrl node

2020-07-29 Thread Abel Vesa
On 20-07-29 15:08:02, Abel Vesa wrote: > Some of the features of the media_ctrl will be used by some > different drivers in a way those drivers will know best, so adding the > syscon compatible we allow those to do just that. Only the resets > and the clocks are registered bit the clk-blk-ctrl

Re: [PATCH v2 0/2] iommu: Move AMD and Intel Kconfig + Makefile bits into their directories

2020-07-29 Thread Joerg Roedel
On Mon, Jul 27, 2020 at 03:47:58PM -0700, Jerry Snitselaar wrote: > Looks like I forgot to cc you on this cover letter for v2. > Does this work for you now? Got it, applied now, thanks Jerry.

Re: [PATCH 15/17] arm64: dts: imx8mp: Add audio_blk_ctrl node

2020-07-29 Thread Abel Vesa
On 20-07-29 15:08:01, Abel Vesa wrote: > Some of the features of the audio_ctrl will be used by some > different drivers in a way those drivers will know best, so adding the > syscon compatible we allow those to do just that. Only the resets > and the clocks are registered bit the clk-blk-ctrl

Re: [PATCH V4] Softirq:avoid large sched delay from the pending softirqs

2020-07-29 Thread Thomas Gleixner
Qian, jun qian writes: > On Mon, Jul 27, 2020 at 11:41 PM Thomas Gleixner wrote: >> > + or_softirq_pending(pending << (vec_nr + 1)); >> >> To or the value interrupts need to be disabled because otherwise you can >> lose a bit when an interrupt happens in the middle of the

Re: [greybus-dev] [PATCH][next] greybus: Use fallthrough pseudo-keyword

2020-07-29 Thread Alex Elder
On 7/29/20 5:51 AM, Viresh Kumar wrote: > On 28-07-20, 17:37, Alex Elder wrote: >> On 7/27/20 1:32 PM, Gustavo A. R. Silva wrote: >>> Replace the existing /* fall through */ comments and its variants with >>> the new pseudo-keyword macro fallthrough[1]. >>> >>> [1] >>>

Re: [PATCH v2 1/9] dt-bindings: arm: mstar: Add binding details for mstar,pmsleep

2020-07-29 Thread Arnd Bergmann
On Wed, Jul 29, 2020 at 11:14 AM Daniel Palmer wrote: > On Wed, 29 Jul 2020 at 04:18, Rob Herring wrote: > > > > +properties: > > > + compatible: > > > +oneOf: > > > + - items: > > > + - enum: > > > + - mstar,pmsleep > > > > Needs to be SoC specific. Random

[PATCH] test_power: Fix battery_current initial value

2020-07-29 Thread lh lin
From: LH Lin Since default battery_status is POWER_SUPPLY_STATUS_DISCHARGING, we should change default battery_current to a negative value. Signed-off-by: LH Lin --- drivers/power/supply/test_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 03/17] dt-bindings: clock: imx8mp: Add ids for the audio shared gate

2020-07-29 Thread Abel Vesa
All these IDs are for one single HW gate (CCGR101) that is shared between these root clocks. Signed-off-by: Abel Vesa --- include/dt-bindings/clock/imx8mp-clock.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx8mp-clock.h

[PATCH 17/17] arm64: dts: imx8mp: Add hdmi_blk_ctrl node

2020-07-29 Thread Abel Vesa
Some of the features of the hdmi_ctrl will be used by some different drivers in a way those drivers will know best, so adding the syscon compatible we allow those to do just that. Only the resets and the clocks are registered bit the clk-blk-ctrl driver. Signed-off-by: Abel Vesa ---

[PATCH 11/17] clk: imx: Add blk_ctrl combo driver

2020-07-29 Thread Abel Vesa
On i.MX8MP, there is a new type of IP which is called BLK_CTRL in RM and usually is comprised of some GPRs that are considered too generic to be part of any dedicated IP from that specific subsystem. In general, some of the GPRs have some clock bits, some have reset bits, so in order to be able

[PATCH 10/17] Documentation: bindings: clk: Add bindings for i.MX BLK_CTRL

2020-07-29 Thread Abel Vesa
Document the i.MX BLK_CTRL with its devicetree properties. Signed-off-by: Abel Vesa --- .../bindings/clock/fsl,imx-blk-ctrl.yaml | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml diff --git

[PATCH 12/17] clk: imx8mp: Add audio blk_ctrl clocks and resets

2020-07-29 Thread Abel Vesa
Add audio blk_ctrl clocks and resets in the i.MX8MP clock driver to be picked up by the clk-blk-ctrl driver. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-blk-ctrl.c | 4 ++ drivers/clk/imx/clk-imx8mp.c | 138 + 2 files changed, 142 insertions(+)

[PATCH 14/17] clk: imx8mp: Add media blk_ctrl clocks and resets

2020-07-29 Thread Abel Vesa
Add media blk_ctrl clocks and resets in the i.MX8MP clock driver to be picked up by the clk-blk-ctrl driver. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-blk-ctrl.c | 4 +++ drivers/clk/imx/clk-imx8mp.c | 68 ++ 2 files changed, 72 insertions(+)

[PATCH 09/17] arm64: dts: Remove imx-hdmimix-reset header file

2020-07-29 Thread Abel Vesa
The hdmi BLK_CTRL ids have been moved to imx8mp-reset.h Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 9de2aa1..daa1769 100644

[PATCH 08/17] clk: imx8mp: Add audio shared gate

2020-07-29 Thread Abel Vesa
According to the RM, the CCGR101 is shared for the following root clocks: - AUDIO_AHB_CLK_ROOT - AUDIO_AXI_CLK_ROOT - SAI2_CLK_ROOT - SAI3_CLK_ROOT - SAI5_CLK_ROOT - SAI6_CLK_ROOT - SAI7_CLK_ROOT - PDM_CLK_ROOT Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-imx8mp.c | 12 +++- 1 file

[PATCH 07/17] dt-bindings: reset: imx8mp: Add hdmi blk_ctrl reset IDs

2020-07-29 Thread Abel Vesa
These will be used imx8mp for blk-ctrl driver. Signed-off-by: Abel Vesa --- include/dt-bindings/reset/imx8mp-reset.h | 12 1 file changed, 12 insertions(+) diff --git a/include/dt-bindings/reset/imx8mp-reset.h b/include/dt-bindings/reset/imx8mp-reset.h index 13e56dd..c1ca79c

[PATCH 04/17] dt-bindings: clock: imx8mp: Add media blk_ctrl clock IDs

2020-07-29 Thread Abel Vesa
These will be used by the imx8mp for blk-ctrl driver. Signed-off-by: Abel Vesa --- include/dt-bindings/clock/imx8mp-clock.h | 28 1 file changed, 28 insertions(+) diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h

[PATCH 15/17] arm64: dts: imx8mp: Add audio_blk_ctrl node

2020-07-29 Thread Abel Vesa
Some of the features of the audio_ctrl will be used by some different drivers in a way those drivers will know best, so adding the syscon compatible we allow those to do just that. Only the resets and the clocks are registered bit the clk-blk-ctrl driver. Signed-off-by: Abel Vesa ---

[PATCH 06/17] dt-bindings: clock: imx8mp: Add hdmi blk_ctrl clock IDs

2020-07-29 Thread Abel Vesa
These will be used by the imx8mp for blk-ctrl driver. Signed-off-by: Abel Vesa --- include/dt-bindings/clock/imx8mp-clock.h | 40 1 file changed, 40 insertions(+) diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h

[PATCH 01/17] dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to audio_blk_ctrl

2020-07-29 Thread Abel Vesa
In the reference manual the actual name is Audio BLK_CTRL. Lets make it more obvious here by renaming from audiomix to audio_blk_ctrl. Signed-off-by: Abel Vesa --- include/dt-bindings/clock/imx8mp-clock.h | 120 +++ 1 file changed, 60 insertions(+), 60 deletions(-)

[PATCH 02/17] dt-bindings: reset: imx8mp: Add audio blk_ctrl reset IDs

2020-07-29 Thread Abel Vesa
These will be used by the imx8mp for blk-ctrl driver. Signed-off-by: Abel Vesa --- include/dt-bindings/reset/imx8mp-reset.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/reset/imx8mp-reset.h b/include/dt-bindings/reset/imx8mp-reset.h index 2e8c910..fca0c9bff

[PATCH 16/17] arm64: dts: imx8mp: Add media_blk_ctrl node

2020-07-29 Thread Abel Vesa
Some of the features of the media_ctrl will be used by some different drivers in a way those drivers will know best, so adding the syscon compatible we allow those to do just that. Only the resets and the clocks are registered bit the clk-blk-ctrl driver. Signed-off-by: Abel Vesa ---

[PATCH 13/17] clk: imx8mp: Add hdmi blk_ctrl clocks and resets

2020-07-29 Thread Abel Vesa
Add hdmi blk_ctrl clocks and resets in the i.MX8MP clock driver to be picked up by the clk-blk-ctrl driver. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-blk-ctrl.c | 4 +++ drivers/clk/imx/clk-imx8mp.c | 63 ++ 2 files changed, 67 insertions(+)

[PATCH 05/17] dt-bindings: reset: imx8mp: Add media blk_ctrl reset IDs

2020-07-29 Thread Abel Vesa
These will be used by the imx8mp for blk-ctrl driver. Signed-off-by: Abel Vesa --- include/dt-bindings/reset/imx8mp-reset.h | 28 1 file changed, 28 insertions(+) diff --git a/include/dt-bindings/reset/imx8mp-reset.h b/include/dt-bindings/reset/imx8mp-reset.h

[PATCH 00/17] Add BLK_CTRL support for i.MX8MP

2020-07-29 Thread Abel Vesa
The BLK_CTRL according to HW design is basically the wrapper of the entire function specific group of IPs and holds GPRs that usually cannot be placed into one specific IP from that group. Some of these GPRs are used to control some clocks, other some resets, others some very specific function

[PATCH v5 4/4] power: supply: bq27xxx_battery: Add the BQ28z610 Battery monitor

2020-07-29 Thread Dan Murphy
Add the Texas Instruments BQ28z610 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register bits are similar to the bq27z561 but they are different compared to other fuel gauge devices within this file.

[PATCH v5 3/4] dt-bindings: power: Add BQ28z610 compatible

2020-07-29 Thread Dan Murphy
Add the Texas Instruments bq28z610 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 2/4] power: supply: bq27xxx_battery: Add the BQ27z561 Battery monitor

2020-07-29 Thread Dan Murphy
Add the Texas Instruments BQ27z561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register has differing bits to determine if the battery is full, discharging or dead. Signed-off-by: Dan Murphy ---

Re: [PATCHv2] staging/speakup: Move out of staging

2020-07-29 Thread Greg KH
On Wed, Jul 29, 2020 at 02:35:31AM +0200, Samuel Thibault wrote: > The nasty TODO items are done. > > Signed-off-by: Samuel Thibault Now applied, thanks for all of the work so far. I will be glad to merge patches for this subsystem to Linus if you want me to collect them. If so, feel free to

[PATCH v5 1/4] dt-bindings: power: Add BQ27z561 compatible

2020-07-29 Thread Dan Murphy
Add the Texas Instruments bq27z561 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- v5 - Rebased on power-next and changed bq27561->bq27z561 Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v2 09/10] clk: qcom: gcc-msm8994: Fix up the driver and modernize it

2020-07-29 Thread Konrad Dybcio
Wouldn't be myself if I didn't forget that Fixes: aec89f78cf01 (clk: qcom: Add support for msm8994 global clock controller) Konrad

[tip: sched/core] Documentation/sysctl: Document uclamp sysctl knobs

2020-07-29 Thread tip-bot2 for Qais Yousef
The following commit has been merged into the sched/core branch of tip: Commit-ID: 1f73d1abe5836bd8ffe747ff5cb7561b17ce5bc6 Gitweb: https://git.kernel.org/tip/1f73d1abe5836bd8ffe747ff5cb7561b17ce5bc6 Author:Qais Yousef AuthorDate:Thu, 16 Jul 2020 12:03:46 +01:00

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