Re: [PATCH] HID: quirks: add NOGET quirk for Logitech GROUP

2020-07-21 Thread Jiri Kosina
On Tue, 21 Jul 2020, Ikjoon Jang wrote: > Add HID_QUIRK_NOGET for Logitech GROUP device. > > Logitech GROUP is a compound with camera and audio. > When the HID interface in an audio device is requested to get > specific report id, all following control transfers are stalled > and never be restore

Re: [PATCH v1] prism54: islpci_hotplug: use generic power management

2020-07-21 Thread Vaibhav Gupta
This Patch is Compile-tested only.

Re: [PATCH] drm/vkms: add wait_for_vblanks in atomic_commit_tail

2020-07-21 Thread Melissa Wen
Hi all, I traced the subtests' execution to figure out what happens (or not) in a clean run and a blocked run, and this led me to suspect the vkms_crtc_atomic_flush function. Examining the code and considering the DRM doc, it seemed to me that a drm_crtc_vblank_get call was missing a drm_crtc_vbla

Re: [PATCH v5 0/8] Enable ili9341 and l3gd20 on stm32f429-disco

2020-07-21 Thread Alexandre Torgue
On 7/21/20 2:55 PM, dillon min wrote: Hi, Alexandre, On Tue, Jul 21, 2020 at 7:54 PM Alexandre Torgue wrote: On 7/21/20 12:39 PM, dillon min wrote: Hi Alexandre, On Tue, Jul 21, 2020 at 5:19 PM Alexandre Torgue wrote: Hi Dillon On 5/25/20 5:40 AM, dillon.min...@gmail.com wrote: F

[PATCH v1] prism54: islpci_hotplug: use generic power management

2020-07-21 Thread Vaibhav Gupta
Drivers using legacy power management .suspen()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a single "struct dev_pm_ops" variable to take the unn

Re: [Freedreno] [PATCH] drm/msm/dpu: fix/enable 6bpc dither with split-lm

2020-07-21 Thread kalyan_t
On 2020-07-20 20:53, Rob Clark wrote: On Mon, Jul 20, 2020 at 5:53 AM wrote: On 2020-07-16 03:49, Rob Clark wrote: > From: Rob Clark > > If split-lm is used (for ex, on sdm845), we can have multiple ping- > pongs, but only a single phys encoder. We need to configure dithering > on each of th

Re: [PATCH 09/10] block: scsi: sd: use blk_is_valid_logical_block_size

2020-07-21 Thread Maxim Levitsky
On Tue, 2020-07-21 at 11:25 +, Damien Le Moal wrote: > On 2020/07/21 19:55, Maxim Levitsky wrote: > > Use blk_is_valid_logical_block_size instead of hardcoded list > > s/hardcoded list/hardcoded checks./ Done, thanks! Best regards, Maxim Levitsky > > > Signed-off-by: Maxim Levitsky

Re: [PATCH v5 0/8] Enable ili9341 and l3gd20 on stm32f429-disco

2020-07-21 Thread dillon min
Hi, Alexandre, On Tue, Jul 21, 2020 at 7:54 PM Alexandre Torgue wrote: > > > > On 7/21/20 12:39 PM, dillon min wrote: > > Hi Alexandre, > > > > On Tue, Jul 21, 2020 at 5:19 PM Alexandre Torgue > > wrote: > >> > >> Hi Dillon > >> > >> On 5/25/20 5:40 AM, dillon.min...@gmail.com wrote: > >>> From

Re: [PATCH v10 0/2] Add support for the OST in Ingenic X1000.

2020-07-21 Thread Daniel Lezcano
On 20/07/2020 19:31, 周琰杰 (Zhou Yanjie) wrote: > v9->v10: > Fix errors which case "make dt_binding_check" failed. > > 周琰杰 (Zhou Yanjie) (2): > dt-bindings: timer: Add Ingenic X1000 OST bindings. > clocksource: Ingenic: Add support for the Ingenic X1000 OST. > > .../devicetree/bindings/timer/i

Re: [PATCH v12 02/15] tools/libperf: add flags to fdarray fds objects

2020-07-21 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2020 at 09:59:45AM +0300, Alexey Budankov escreveu: > > Store flags per struct pollfd *entries object in a bitmap of int size. > Implement fdarray_flag__nonfilterable flag to skip object from counting > by fdarray__filter(). Fixed fdarray test issue reported by kernel test > robot.

Re: [PATCH v4 00/75] x86: SEV-ES Guest Support

2020-07-21 Thread Joerg Roedel
Hi, On Mon, Jul 20, 2020 at 06:09:19PM -0700, Erdem Aktas wrote: > It looks like there is an expectation that the bootloader will start > from the 64bit entry point in header_64.S. With the current patch > series, it will not boot up if the bootloader jumps to the startup_32 > entry, which might b

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Nicolas Saenz Julienne
On Tue, 2020-07-21 at 17:45 +0530, Amit Pundir wrote: > On Tue, 21 Jul 2020 at 16:45, Nicolas Saenz Julienne > wrote: > > On Tue, 2020-07-21 at 14:24 +0530, Amit Pundir wrote: > > > On Tue, 21 Jul 2020 at 14:09, Nicolas Saenz Julienne > > > wrote: > > > > Hi Amit, > > > > > Hi Nicolas, > > > > >

[PATCH v3 0/2] Selftest for cpuidle latency measurement

2020-07-21 Thread Pratik Rajesh Sampat
v2: https://lkml.org/lkml/2020/7/17/369 Changelog v2-->v3 Based on comments from Gautham R. Shenoy adding the following in the selftest, 1. Grepping modules to determine if already loaded 2. Wrapper to enable/disable states 3. Preventing any operation/test on offlined CPUs --- The patch series in

[PATCH v3 2/2] selftest/cpuidle: Add support for cpuidle latency measurement

2020-07-21 Thread Pratik Rajesh Sampat
This patch adds support to trace IPI based and timer based wakeup latency from idle states Latches onto the test-cpuidle_latency kernel module using the debugfs interface to send IPIs or schedule a timer based event, which in-turn populates the debugfs with the latency measurements. Currently for

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

2020-07-21 Thread Philipp Zabel
Hi Laurentiu, On Tue, 2020-07-21 at 13:20 +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; > * on-the-fly

Re: [PATCH] mm/page_alloc: fix memalloc_nocma_{save/restore} APIs

2020-07-21 Thread Matthew Wilcox
On Tue, Jul 21, 2020 at 02:38:56PM +0200, Vlastimil Babka wrote: > On 7/21/20 2:05 PM, Matthew Wilcox wrote: > > On Tue, Jul 21, 2020 at 12:28:49PM +0900, js1...@gmail.com wrote: > >> @@ -4619,8 +4631,10 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int > >> order, > >>wake_all_ks

[PATCH v3 1/2] cpuidle: Trace IPI based and timer based wakeup latency from idle states

2020-07-21 Thread Pratik Rajesh Sampat
Fire directed smp_call_function_single IPIs from a specified source CPU to the specified target CPU to reduce the noise we have to wade through in the trace log. The module is based on the idea written by Srivatsa Bhat and maintained by Vaidyanathan Srinivasan internally. Queue HR timer and measur

Re: [PATCH 05/10] block: null: use blk_is_valid_logical_block_size

2020-07-21 Thread Maxim Levitsky
On Tue, 2020-07-21 at 11:15 +, Damien Le Moal wrote: > On 2020/07/21 19:54, Maxim Levitsky wrote: > > This slightly changes the behavier of the driver, > > s/behavier/behavior Thanks. This is one of the typos I make very consistently. > > > when given invalid block size (non power of two, or

Re: [PATCH V6 09/14] perf/x86/intel: Support TopDown metrics on Ice Lake

2020-07-21 Thread Peter Zijlstra
On Fri, Jul 17, 2020 at 07:05:49AM -0700, kan.li...@linux.intel.com wrote: > +static inline u64 icl_get_metrics_event_value(u64 metric, u64 slots, int idx) > +{ > + u32 val; > + > + /* > + * The metric is reported as an 8bit integer fraction > + * suming up to 0xff. > + * sl

Re: [PATCH v12 01/15] tools/libperf: avoid internal moving of fdarray fds

2020-07-21 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2020 at 09:59:12AM +0300, Alexey Budankov escreveu: > > Avoid moving of fds by fdarray__filter() so fds indices returned > by fdarray__add() can be used for access and processing of > objects at struct pollfd *entries. Thanks, applied. - Arnaldo > Signed-off-by: Alexey Budankov

Re: [PATCH] mm/page_alloc: fix memalloc_nocma_{save/restore} APIs

2020-07-21 Thread Vlastimil Babka
On 7/21/20 2:05 PM, Matthew Wilcox wrote: > On Tue, Jul 21, 2020 at 12:28:49PM +0900, js1...@gmail.com wrote: >> +static inline unsigned int current_alloc_flags(gfp_t gfp_mask, >> +unsigned int alloc_flags) >> +{ >> +#ifdef CONFIG_CMA >> +unsigned int pflags

Re: [PATCH v1] crypto: ccp: sp-pci: use generic power management

2020-07-21 Thread Vaibhav Gupta
The Patch is Compile-tested only.

Re: [PATCH v15 2/3] drivers: input:keyboard: Add mtk keypad driver

2020-07-21 Thread Mattijs Korpershoek
Hi Fengping, Fengping yu writes: > From: "fengping.yu" > > This adds matrix keypad support for Mediatek SoCs. > > Signed-off-by: fengping.yu > Reviewed-by: Marco Felsch > Reviewed-by: Andy Shevchenko > --- > drivers/input/keyboard/Kconfig | 11 ++ > drivers/input/keyboard/Makefile | 1

Re: [patch V2 2/5] posix-cpu-timers: Convert the flags to a bitmap

2020-07-21 Thread Frederic Weisbecker
On Thu, Jul 16, 2020 at 10:19:25PM +0200, Thomas Gleixner wrote: > --- a/kernel/time/posix-cpu-timers.c > +++ b/kernel/time/posix-cpu-timers.c > @@ -25,7 +25,7 @@ void posix_cputimers_group_init(struct p > posix_cputimers_init(pct); > if (cpu_limit != RLIM_INFINITY) { > pc

Re: [PATCH v2] net: neterion: vxge: reduce stack usage in VXGE_COMPLETE_VPATH_TX

2020-07-21 Thread Bixuan Cui
On 2020/7/21 9:38, David Miller wrote: > From: Bixuan Cui > Date: Mon, 20 Jul 2020 09:58:39 +0800 > >> Fix the warning: [-Werror=-Wframe-larger-than=] >> >> drivers/net/ethernet/neterion/vxge/vxge-main.c: >> In function'VXGE_COMPLETE_VPATH_TX.isra.37': >> drivers/net/ethernet/neterion/vxge/vxg

[PATCH v1] crypto: ccp: sp-pci: use generic power management

2020-07-21 Thread Vaibhav Gupta
Drivers using legacy power management .suspen()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a single "struct dev_pm_ops" variable to take the unn

答复: 答复: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

2020-07-21 Thread liwei (CM)
-邮件原件- 发件人: Mike Rapoport [mailto:r...@linux.ibm.com] 发送时间: 2020年7月21日 14:35 收件人: liwei (CM) 抄送: Song Bao Hua (Barry Song) ; catalin.mari...@arm.com; w...@kernel.org; fengbaopeng ; nsaenzjulie...@suse.de; steve.cap...@arm.com; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.k

Re: [PATCH] dt-bindings: spi: update bindings for MT8192 SoC

2020-07-21 Thread lei liu
On Tue, 2020-07-21 at 10:48 +0100, Mark Brown wrote: > On Tue, Jul 21, 2020 at 10:48:19AM +0800, Leilk Liu wrote: > > From: "leilk.liu" > > > > Add a DT binding documentation for the MT8192 soc. > > I'd expect to see a matching driver patch. OK,I'll send patch v2. Thanks.

Re: nouveau regression with 5.7 caused by "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"

2020-07-21 Thread Mika Westerberg
Hi, [Sorry for the delay, I was on vacation] On Fri, Jul 17, 2020 at 01:32:10PM +0200, Karol Herbst wrote: > Filed at https://bugzilla.kernel.org/show_bug.cgi?id=208597 Thanks for reporting. I'll check your logs and try to figure if there is something we can do to make both nouveau and TBT work

Re: [PATCH] leds: Replace HTTP links with HTTPS ones

2020-07-21 Thread Dan Murphy
Hi On 7/13/20 9:51 AM, Alexander A. Klimov wrote: Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`:

Re: [PATCH v3 4/4] regulator: core: Add voltage support for sync_state() callbacks

2020-07-21 Thread Mark Brown
On Mon, Jul 20, 2020 at 08:24:59PM -0700, Saravana Kannan wrote: > Btw, going a tangent, why is regulator_set_voltage() not dependent on > a consumer's regulator enable request? If they don't care if the > regulator goes off, do they really care if the voltage goes lower? > What's the reason behin

Re: [PATCH] iio: core: fix/re-introduce back parent assignment

2020-07-21 Thread Jonathan Cameron
On Tue, 21 Jul 2020 13:34:19 +0300 Dmitry Baryshkov wrote: > вт, 21 июл. 2020 г. в 13:24, Alexandru Ardelean > : > [...] > > Tested-by: Dmitry Baryshkov > Applied to the togreg branch of iio.git and pushed out as testing. Current plan is to do a pull request tomorrow so should make it in t

Re: [PATCH] serial: 8250: fix null-ptr-deref in serial8250_start_tx()

2020-07-21 Thread Yang Yingliang
On 2020/7/21 19:54, Yang Yingliang wrote: On 2020/7/21 18:48, Greg KH wrote: On Tue, Jul 21, 2020 at 02:38:52PM +, Yang Yingliang wrote: I got null-ptr-deref in serial8250_start_tx(): [   78.114630] Unable to handle kernel NULL pointer dereference at virtual address [

Re: [RFC PATCH] mm: silence soft lockups from unlock_page

2020-07-21 Thread Michal Hocko
On Tue 21-07-20 07:44:07, Qian Cai wrote: > > > > On Jul 21, 2020, at 7:25 AM, Michal Hocko wrote: > > > > Are these really important? I believe I can dig that out from the bug > > report but I didn't really consider that important enough. > > Please dig them out. We have also been running tho

Re: [PATCH v3 1/2] dt-bindings: tas2770: Convert tas2770 binding to yaml

2020-07-21 Thread Dan Murphy
Mark On 7/21/20 4:33 AM, Mark Brown wrote: On Mon, Jul 20, 2020 at 01:12:01PM -0500, Dan Murphy wrote: Convert the tas2770 binding to yaml format. Add in the reset-gpio to the binding as it is in the code but not documented in the binding. What's new about this version? The licensing was upd

Re: [PATCH v4 4/4] dt-bindings: timer: Add CLINT bindings

2020-07-21 Thread Sean Anderson
On 7/20/20 9:15 PM, Atish Patra wrote: > On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: >> >> We add DT bindings documentation for CLINT device. >> >> Signed-off-by: Anup Patel >> Reviewed-by: Palmer Dabbelt >> Tested-by: Emil Renner Berhing >> --- >> .../bindings/timer/sifive,clint.yaml

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
On Tue, 21 Jul 2020 at 17:07, Nicolas Saenz Julienne wrote: > > On Tue, 2020-07-21 at 13:28 +0200, Christoph Hellwig wrote: > > On Tue, Jul 21, 2020 at 01:15:23PM +0200, Nicolas Saenz Julienne > > wrote: > > > I'm at loss at what could be failing here. Your device should be > > > able > > > to add

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Daniel Lezcano
On 21/07/2020 13:49, Anup Patel wrote: > On Tue, Jul 21, 2020 at 4:32 PM Daniel Lezcano > wrote: >> >> On 17/07/2020 09:50, Anup Patel wrote: >>> We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. >>> RISC-V NoMMU kernel). >>> >>> The CLINT MMIO device provides three things: >>> 1.

Re: [PATCH 1/2] dt-bindings: display: panel: Add bindings for Tianma nt36672a panel

2020-07-21 Thread Sumit Semwal
Hello Rob, Thanks for the review! On Tue, 21 Jul 2020 at 09:03, Rob Herring wrote: > > On Thu, Jul 16, 2020 at 09:08:57PM +0530, Sumit Semwal wrote: > > The nt36672a panel from Tianma is a FHD+ panel with a resolution of > > 1080x2246 > > and 6.18 inches size. It is found in some of the Poco F1

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Amit Pundir
On Tue, 21 Jul 2020 at 16:45, Nicolas Saenz Julienne wrote: > > On Tue, 2020-07-21 at 14:24 +0530, Amit Pundir wrote: > > On Tue, 21 Jul 2020 at 14:09, Nicolas Saenz Julienne > > wrote: > > > Hi Amit, > > > > Hi Nicolas, > > > > > > > > I see a boot regression with this commit d9765e41d8e9 "dma-p

[PATCH] sched: Fix race against ptrace_freeze_trace()

2020-07-21 Thread peterz
There is apparently one site that violates the rule that only current and ttwu() will modify task->state, namely ptrace_{,un}freeze_traced() will change task->state for a remote task. Oleg explains: "TASK_TRACED/TASK_STOPPED was always protected by siglock. In particular, ttwu(__TASK_TRACED)

Re: [PATCH v5 01/18] nitro_enclaves: Add ioctl interface definition

2020-07-21 Thread Greg KH
On Wed, Jul 15, 2020 at 10:45:23PM +0300, Andra Paraschiv wrote: > The Nitro Enclaves driver handles the enclave lifetime management. This > includes enclave creation, termination and setting up its resources such > as memory and CPU. > > An enclave runs alongside the VM that spawned it. It is abs

[RFC 4/5] serial: amba-pl011: Enable NMI aware uart port

2020-07-21 Thread Sumit Garg
Allow serial device interrupt to be requested as an NMI during initialization in polling mode. If the irqchip doesn't support serial device interrupt as an NMI then fallback to it being as a normal IRQ. Currently this NMI aware uart port only supports NMI driven programmed IO operation whereas DMA

[RFC 2/5] serial: core: Add framework to allow NMI aware serial drivers

2020-07-21 Thread Sumit Garg
Add NMI framework APIs in serial core which can be leveraged by serial drivers to have NMI driven serial transfers. These APIs are kept under CONFIG_CONSOLE_POLL as currently kgdb initializing uart in polling mode is the only known user to enable NMI driven serial port. The general idea is to inte

[RFC 0/5] Introduce NMI aware serial drivers

2020-07-21 Thread Sumit Garg
Make it possible for UARTs to trigger magic sysrq from an NMI. With the advent of pseudo NMIs on arm64 it became quite generic to request serial device interrupt as an NMI rather than IRQ. And having NMI driven serial RX will allow us to trigger magic sysrq as an NMI and hence drop into kernel debu

[RFC 5/5] serial: Remove KGDB NMI serial driver

2020-07-21 Thread Sumit Garg
This driver provided a special ttyNMI0 port to enable NMI debugging capabilities for kgdb but it remained in silos with the serial core/drivers which made it a bit odd to enable using serial device interrupt and hence remained unused. But now with the serial core/drivers becoming NMI aware which i

[RFC 3/5] serial: amba-pl011: Re-order APIs definition

2020-07-21 Thread Sumit Garg
A future patch will need to call pl011_hwinit() and pl011_enable_interrupts() before they are currently defined. Move them closer to the front of the file. There is no change in the implementation of either function. Signed-off-by: Sumit Garg --- drivers/tty/serial/amba-pl011.c | 148 +++

[RFC 1/5] tty/sysrq: Make sysrq handler NMI aware

2020-07-21 Thread Sumit Garg
In a future patch we will add support to the serial core to make it possible to trigger a magic sysrq from an NMI context. Prepare for this by marking some sysrq actions as NMI safe. Safe actions will be allowed to run from NMI context whilst that cannot run from an NMI will be queued as irq_work f

Re: [PATCH v6 0/4] add some power supply properties about wireless/wired charging

2020-07-21 Thread Greg KH
On Tue, Jul 21, 2020 at 07:43:49PM +0800, Qiwu Huang wrote: > From: Qiwu Huang > > This patchset aims to provide power supply properties about wireless/wired > charging. > "quick_charge_type" reports different types of quick charge based on the > charging power; > "tx_adapter" shows" the type o

[PATCH] interconnect: Do not skip aggregation for disabled paths

2020-07-21 Thread Georgi Djakov
When an interconnect path is being disabled, currently we don't aggregate the requests for it afterwards. But the re-aggregation step shouldn't be skipped, as it may leave the nodes with outdated bandwidth data. This outdated data may actually keep the path still enabled and prevent the device from

Re: [PATCH v4 1/2] kernel: Implement selective syscall userspace redirection

2020-07-21 Thread Mark Rutland
On Thu, Jul 16, 2020 at 09:48:50PM -0700, Andy Lutomirski wrote: > On Thu, Jul 16, 2020 at 7:15 PM Gabriel Krisman Bertazi > wrote: > > > > Andy Lutomirski writes: > > > > > On Thu, Jul 16, 2020 at 12:31 PM Gabriel Krisman Bertazi > > > wrote: > > >> > > > > > > This is quite nice. I have a few

Re: [PATCH] mm/page_alloc: fix memalloc_nocma_{save/restore} APIs

2020-07-21 Thread Matthew Wilcox
On Tue, Jul 21, 2020 at 12:28:49PM +0900, js1...@gmail.com wrote: > +static inline unsigned int current_alloc_flags(gfp_t gfp_mask, > + unsigned int alloc_flags) > +{ > +#ifdef CONFIG_CMA > + unsigned int pflags = current->flags; > + > + if (!(pflags & PF

[PATCH linux dev-5.7 v1] ARM: dts: aspeed: rainier: Add I2c buses for nvme use

2020-07-21 Thread Jet Li
From: Jet Li Adding pca9552 exposes the presence detect lines for the cards and tca9554 exposes the presence details for the cards. Signed-off-by: Jet Li --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 105 +++ 1 file changed, 105 insertions(+) diff --git a/arch/arm

[PATCH v7 3/4] power: supply: core: add wireless signal strength property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 22 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v7 4/4] power: supply: core: property to control reverse charge

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 14 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1 + 3 files changed, 16 insertions(+

[PATCH v7 2/4] power: supply: core: add wireless charger adapter type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply/pow

[PATCH v7 0/4] add some power supply properties about wireless/wired charging

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_strength" shows the coupling level be

[PATCH v7 1/4] power: supply: core: add quick charge type property

2020-07-21 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 10 ++

Re: [PATCH 4.4 00/58] 4.4.231-rc1 review

2020-07-21 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.4.231 release. > There are 58 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Wed, 22 Jul 2020 15:27:31 +0

Re: [PATCH v2 2/2] selftest/cpuidle: Add support for cpuidle latency measurement

2020-07-21 Thread Pratik Sampat
Hi Gautham, Thanks for the review. On 20/07/20 11:22 am, Gautham R Shenoy wrote: Hi Pratik, On Fri, Jul 17, 2020 at 02:48:01PM +0530, Pratik Rajesh Sampat wrote: This patch adds support to trace IPI based and timer based wakeup latency from idle states Latches onto the test-cpuidle_latency

Re: [PATCH 4.19 000/133] 4.19.134-rc1 review

2020-07-21 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.134 release. > There are 133 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Wed, 22 Jul 2020 15:27:31

Re: [PATCH v2 1/8] usb: dwc2: gadget: Make use of GINTMSK2

2020-07-21 Thread Felipe Balbi
Hi, Lee Jones writes: > On Tue, 21 Jul 2020, Felipe Balbi wrote: > >> Minas Harutyunyan writes: >> >> > Hi Felipe, >> > >> > On 7/21/2020 1:43 PM, Felipe Balbi wrote: >> >> Minas Harutyunyan writes: >> >> >> >>> On 7/15/2020 1:32 PM, Lee Jones wrote: >> The value obtained from GINTSTS2 s

Re: WARNING in pvr2_i2c_core_done

2020-07-21 Thread B K Karthik
On Tue, Jul 21, 2020 at 4:50 PM syzbot wrote: > > Hello, > > syzbot has tested the proposed patch but the reproducer is still triggering > an issue: > general protection fault in kernfs_find_ns > > pvrusb2: Invalid write control endpoint > pvrusb2: Invalid write control endpoint > pvrusb2: Invali

Re: [PATCH 4.19 094/133] USB: serial: iuu_phoenix: fix memory corruption

2020-07-21 Thread Johan Hovold
On Tue, Jul 21, 2020 at 01:33:00PM +0200, Pavel Machek wrote: > Hi! > > > commit e7b931bee739e8a77ae216e613d3b99342b6dec0 upstream. > > > > The driver would happily overwrite its write buffer with user data in > > 256 byte increments due to a removed buffer-space sanity check. > > > +++ b/driver

Re: [PATCH v5 0/8] Enable ili9341 and l3gd20 on stm32f429-disco

2020-07-21 Thread Alexandre Torgue
On 7/21/20 12:39 PM, dillon min wrote: Hi Alexandre, On Tue, Jul 21, 2020 at 5:19 PM Alexandre Torgue wrote: Hi Dillon On 5/25/20 5:40 AM, dillon.min...@gmail.com wrote: From: dillon min V5's update based on Mark Brown's suggestion, use 'SPI_MASTER_MUST_RX' for SPI_SIMPLEX_RX mode on s

Re: [PATCH] serial: 8250: fix null-ptr-deref in serial8250_start_tx()

2020-07-21 Thread Yang Yingliang
On 2020/7/21 18:48, Greg KH wrote: On Tue, Jul 21, 2020 at 02:38:52PM +, Yang Yingliang wrote: I got null-ptr-deref in serial8250_start_tx(): [ 78.114630] Unable to handle kernel NULL pointer dereference at virtual address [ 78.123778] Mem abort info: [ 78.126560]

Re: [PATCH v5 00/11] Add ASoC AHUB components for Tegra210 and later

2020-07-21 Thread Sameer Pujar
Hi Mark, On 7/20/2020 8:08 PM, Mark Brown wrote: External email: Use caution opening links or attachments On Sun, 19 Jul 2020 10:31:19 +0530, Sameer Pujar wrote: Overview Audio Processing Engine (APE) comprises of Audio DMA (ADMA) and Audio Hub (AHUB) unit. AHUB is a collection of ha

Re: [PATCH v2 1/8] usb: dwc2: gadget: Make use of GINTMSK2

2020-07-21 Thread Lee Jones
On Tue, 21 Jul 2020, Felipe Balbi wrote: > Minas Harutyunyan writes: > > > Hi Felipe, > > > > On 7/21/2020 1:43 PM, Felipe Balbi wrote: > >> Minas Harutyunyan writes: > >> > >>> On 7/15/2020 1:32 PM, Lee Jones wrote: > The value obtained from GINTSTS2 should be masked with the GINTMSK2 >

[PATCH 2/3] docs: staging/kprobes.rst: Move references to a separate appendix

2020-07-21 Thread Naveen N. Rao
Kprobes references are currently listed right after kretprobes example, and appears to be part of the same section. Move this out to a separate appendix for clarity. Signed-off-by: Naveen N. Rao --- Documentation/staging/kprobes.rst | 14 +- 1 file changed, 9 insertions(+), 5 deletio

Re: [PATCH 4.19 123/133] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-07-21 Thread Pavel Machek
Hi! > From: Finley Xiao > > commit 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb upstream. > > The function cpu_power_to_freq is used to find a frequency and set the > cooling device to consume at most the power to be converted. For example, > if the power to be converted is 80mW, and the em table i

[PATCH 3/3] docs: Move kprobes.rst from staging/ to trace/

2020-07-21 Thread Naveen N. Rao
Kprobes contitutes a dynamic tracing technology and as such can be moved alongside documentation of other tracing technologies. Signed-off-by: Naveen N. Rao --- Documentation/staging/index.rst | 1 - Documentation/trace/index.rst| 1 + Documentation/{staging => trace

[PATCH 0/3] docs: kprobes: Update URLs and move under trace/

2020-07-21 Thread Naveen N. Rao
This series updates some of the URLs in the kprobes document and moves the same under trace/ directory. - Naveen Naveen N. Rao (3): docs: staging/kprobes.rst: Update some of the references docs: staging/kprobes.rst: Move references to a separate appendix docs: Move kprobes.rst from stagin

[PATCH 1/3] docs: staging/kprobes.rst: Update some of the references

2020-07-21 Thread Naveen N. Rao
Some of the kprobes references are not valid anymore. Update the URLs to point to their changed locations, where appropriate. Drop two URLs which do not exist anymore. Reported-by: Masami Hiramatsu Signed-off-by: Naveen N. Rao --- Documentation/staging/kprobes.rst | 6 ++ 1 file changed, 2

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Anup Patel
On Tue, Jul 21, 2020 at 4:32 PM Daniel Lezcano wrote: > > On 17/07/2020 09:50, Anup Patel wrote: > > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > > RISC-V NoMMU kernel). > > > > The CLINT MMIO device provides three things: > > 1. 64bit free running counter register > > 2. 6

Re: Speaker pops with max98357a on rk3399-gru-kevin since v5.7

2020-07-21 Thread Tzung-Bi Shih
On Tue, Jul 21, 2020 at 6:40 AM Alper Nebi Yasak wrote: > > On 17/07/2020 05:27, Tzung-Bi Shih wrote: > > I am not convinced the pop comes from 128f825aeab7. > > Maybe some pre-existing defect in rk3399_gru_sound got exposed by > 128f825aeab7 or the machine driver needs some changes to complement

Re: [PATCH v2] MAINTAINERS: add KCOV section

2020-07-21 Thread Dmitry Vyukov
On Tue, Jul 21, 2020 at 1:41 PM Andrey Konovalov wrote: > > To link KCOV to the kasan-dev@ mailing list. > > Signed-off-by: Andrey Konovalov > --- > MAINTAINERS | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index d53db30d1365..fbe59955646d 1006

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Anup Patel
On Tue, Jul 21, 2020 at 6:41 AM Atish Patra wrote: > > On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > > > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > > RISC-V NoMMU kernel). > > > > The CLINT MMIO device provides three things: > > 1. 64bit free running counter reg

Re: [PATCH 4.19 123/133] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-07-21 Thread Pavel Machek
On Mon 2020-07-20 17:37:50, Greg Kroah-Hartman wrote: > From: Finley Xiao > > commit 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb upstream. > > The function cpu_power_to_freq is used to find a frequency and set the > cooling device to consume at most the power to be converted. For example, > if the

Re: [RFC PATCH] mm: silence soft lockups from unlock_page

2020-07-21 Thread Qian Cai
> On Jul 21, 2020, at 7:25 AM, Michal Hocko wrote: > > Are these really important? I believe I can dig that out from the bug > report but I didn't really consider that important enough. Please dig them out. We have also been running those things on “large” powerpc as well and never saw such

Re: [PATCH] MAINTAINERS: add KCOV section

2020-07-21 Thread Andrey Konovalov
On Tue, Jul 21, 2020 at 1:38 PM Marco Elver wrote: > > On Tue, 21 Jul 2020 at 13:34, Andrey Konovalov wrote: > > > > To link KCOV to the kasan-dev@ mailing list. > > > > Signed-off-by: Andrey Konovalov > > --- > > MAINTAINERS | 9 + > > 1 file changed, 9 insertions(+) > > > > diff --git

[PATCH v2] MAINTAINERS: add KCOV section

2020-07-21 Thread Andrey Konovalov
To link KCOV to the kasan-dev@ mailing list. Signed-off-by: Andrey Konovalov --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d53db30d1365..fbe59955646d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9305,6 +9305,17 @@ F: Docu

RE: [PATCH 2/2] fpga: dfl: create a dfl bus type to support DFL devices

2020-07-21 Thread Wu, Hao
> > > +} > > > + > > > +dfl_dev->type = feature_dev_id_type(pdev); > > > +dfl_dev->feature_id = (unsigned long long)feature->id; > > > + > > > +dfl_dev->dev.parent = &pdev->dev; > > > +dfl_dev->dev.bus = &dfl_bus_type; > > > +dfl_dev->dev.release = release_dfl_dev; > > > +dev_set_name(&dfl_dev

Re: [RESEND PATCH] usb: common: usb-conn-gpio: Register optional charger

2020-07-21 Thread Greg Kroah-Hartman
On Mon, Jun 22, 2020 at 12:48:07AM +0200, Paul Cercueil wrote: > Register a power supply charger, if the Kconfig option > USB_CONN_GPIO_CHARGER is set, whose online state depends on whether > the USB role is set to device or not. > > This is useful when the USB role is the only way to know if the

[PATCH v2 03/10] powerpc/smp: Move powerpc_topology above

2020-07-21 Thread Srikar Dronamraju
Just moving the powerpc_topology description above. This will help in using functions in this file and avoid declarations. No other functional changes Cc: linuxppc-dev Cc: LKML Cc: Michael Ellerman Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Valentin Schneider Cc: Nick Piggin Cc: Oliver OHallor

Re: [PATCH v4 4/4] dt-bindings: timer: Add CLINT bindings

2020-07-21 Thread Anup Patel
On Tue, Jul 21, 2020 at 6:45 AM Atish Patra wrote: > > On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > > > We add DT bindings documentation for CLINT device. > > > > Signed-off-by: Anup Patel > > Reviewed-by: Palmer Dabbelt > > Tested-by: Emil Renner Berhing > > --- > > .../bindings/ti

Re: [PATCH] MAINTAINERS: add KCOV section

2020-07-21 Thread Marco Elver
On Tue, 21 Jul 2020 at 13:34, Andrey Konovalov wrote: > > To link KCOV to the kasan-dev@ mailing list. > > Signed-off-by: Andrey Konovalov > --- > MAINTAINERS | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index d53db30d1365..eec0b687eb08 100644 > -

[PATCH v2 10/10] powerpc/smp: Implement cpu_to_coregroup_id

2020-07-21 Thread Srikar Dronamraju
Lookup the coregroup id from the associativity array. If unable to detect the coregroup id, fallback on the core id. This way, ensure sched_domain degenerates and an extra sched domain is not created. Ideally this function should have been implemented in arch/powerpc/kernel/smp.c. However if its

[PATCH v2 04/10] powerpc/smp: Enable small core scheduling sooner

2020-07-21 Thread Srikar Dronamraju
Enable small core scheduling as soon as we detect that we are in a system that supports thread group. Doing so would avoid a redundant check. Cc: linuxppc-dev Cc: LKML Cc: Michael Ellerman Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Valentin Schneider Cc: Nick Piggin Cc: Oliver OHalloran Cc: Na

[PATCH v2 08/10] powerpc/smp: Allocate cpumask only after searching thread group

2020-07-21 Thread Srikar Dronamraju
If allocated earlier and the search fails, then cpumask need to be freed. However cpu_l1_cache_map can be allocated after we search thread group. Cc: linuxppc-dev Cc: LKML Cc: Michael Ellerman Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Valentin Schneider Cc: Nick Piggin Cc: Oliver OHalloran Cc

[PATCH v2 07/10] Powerpc/numa: Detect support for coregroup

2020-07-21 Thread Srikar Dronamraju
Add support for grouping cores based on the device-tree classification. - The last domain in the associativity domains always refers to the core. - If primary reference domain happens to be the penultimate domain in the associativity domains device-tree property, then there are no coregroups. Howev

[PATCH v2 06/10] powerpc/smp: Generalize 2nd sched domain

2020-07-21 Thread Srikar Dronamraju
Currently "CACHE" domain happens to be the 2nd sched domain as per powerpc_topology. This domain will collapse if cpumask of l2-cache is same as SMT domain. However we could generalize this domain such that it could mean either be a "CACHE" domain or a "BIGCORE" domain. While setting up the "CACHE

[PATCH v2 09/10] Powerpc/smp: Create coregroup domain

2020-07-21 Thread Srikar Dronamraju
Add percpu coregroup maps and masks to create coregroup domain. If a coregroup doesn't exist, the coregroup domain will be degenerated in favour of SMT/CACHE domain. Cc: linuxppc-dev Cc: LKML Cc: Michael Ellerman Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Valentin Schneider Cc: Nick Piggin Cc:

[PATCH v2 05/10] powerpc/smp: Dont assume l2-cache to be superset of sibling

2020-07-21 Thread Srikar Dronamraju
Current code assumes that cpumask of cpus sharing a l2-cache mask will always be a superset of cpu_sibling_mask. Lets stop that assumption. cpu_l2_cache_mask is a superset of cpu_sibling_mask if and only if shared_caches is set. Cc: linuxppc-dev Cc: LKML Cc: Michael Ellerman Cc: Ingo Molnar C

[PATCH v2 02/10] powerpc/smp: Merge Power9 topology with Power topology

2020-07-21 Thread Srikar Dronamraju
A new sched_domain_topology_level was added just for Power9. However the same can be achieved by merging powerpc_topology with power9_topology and makes the code more simpler especially when adding a new sched domain. Cc: linuxppc-dev Cc: LKML Cc: Michael Ellerman Cc: Ingo Molnar Cc: Peter Zij

[PATCH v2 01/10] powerpc/smp: Cache node for reuse

2020-07-21 Thread Srikar Dronamraju
While cpu_to_node is inline function with access to per_cpu variable. However when using repeatedly, it may be cleaner to cache it in a local variable. Also fix a build error in a some weird config. "error: _numa_cpu_lookup_table_ undeclared" No functional change Cc: linuxppc-dev Cc: LKML Cc:

Re: [PATCH -v2 1/5] sched: Fix ttwu() race

2020-07-21 Thread peterz
On Tue, Jul 21, 2020 at 11:49:05AM +0100, Chris Wilson wrote: > Quoting Peter Zijlstra (2020-06-22 11:01:23) > > @@ -2378,6 +2385,9 @@ static inline bool ttwu_queue_cond(int c > > static bool ttwu_queue_wakelist(struct task_struct *p, int cpu, int > > wake_flags) > > { > > if (sched_feat

[PATCH v2 00/10] Coregroup support on Powerpc

2020-07-21 Thread Srikar Dronamraju
Changelog v1 -> v2: v1: https://lore.kernel.org/linuxppc-dev/20200714043624.5648-1-sri...@linux.vnet.ibm.com/t/#u powerpc/smp: Merge Power9 topology with Power topology Replaced a reference to cpu_smt_mask with per_cpu(cpu_sibling_map, cpu) since cpu_smt_mask is only defined under

Re: [PATCH v4 09/10] powerpc/watchpoint: Return available watchpoints dynamically

2020-07-21 Thread Michael Ellerman
Ravi Bangoria writes: > On 7/20/20 9:12 AM, Jordan Niethe wrote: >> On Fri, Jul 17, 2020 at 2:11 PM Ravi Bangoria >> wrote: >>> >>> So far Book3S Powerpc supported only one watchpoint. Power10 is >>> introducing 2nd DAWR. Enable 2nd DAWR support for Power10. >>> Availability of 2nd DAWR will depe

Re: [PATCH] dma-pool: Do not allocate pool memory from CMA

2020-07-21 Thread Nicolas Saenz Julienne
On Tue, 2020-07-21 at 13:28 +0200, Christoph Hellwig wrote: > On Tue, Jul 21, 2020 at 01:15:23PM +0200, Nicolas Saenz Julienne > wrote: > > I'm at loss at what could be failing here. Your device should be > > able > > to address the whole 8GB memory space, which AFAIK is the max > > available > > o

Re: [PATCH 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-07-21 Thread Cheng-yi Chiang
Hi Tzung-Bi, Thanks for the review! On Mon, Jul 20, 2020 at 10:47 AM Tzung-Bi Shih wrote: > > On Fri, Jul 17, 2020 at 8:02 PM Cheng-Yi Chiang wrote: > > diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c > > new file mode 100644 > > index ..cbe6b487d432 > > --- /dev/null >

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