Re: [PATCH v4 05/10] powerpc/dt_cpu_ftrs: Add feature for 2nd DAWR

2020-07-21 Thread Ravi Bangoria
On 7/21/20 4:59 PM, Michael Ellerman wrote: Ravi Bangoria writes: On 7/17/20 11:14 AM, Jordan Niethe wrote: On Fri, Jul 17, 2020 at 2:10 PM Ravi Bangoria wrote: Add new device-tree feature for 2nd DAWR. If this feature is present, 2nd DAWR is supported, otherwise not. Signed-off-by:

Re: [PATCH net-next 3/7] net: macb: parse PHY nodes found under an MDIO node

2020-07-21 Thread Codrin.Ciubotariu
On 21.07.2020 16:36, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > >> @@ -755,7 +765,6 @@ static int macb_mdiobus_register(struct macb *bp) >> * decrement it before returning. >>

Re: [PATCH net-next 3/7] net: macb: parse PHY nodes found under an MDIO node

2020-07-21 Thread Codrin.Ciubotariu
On 21.07.2020 16:36, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > >> @@ -755,7 +765,6 @@ static int macb_mdiobus_register(struct macb *bp) >> * decrement it before returning. >>

Re: [PATCH v7 00/18] perf: ftrace enhancement

2020-07-21 Thread Namhyung Kim
Hello, On Sat, Jul 18, 2020 at 3:48 PM Changbin Du wrote: > > The perf has basic kernel ftrace support but lack support of most tracing > options. This serias is target to enhance the perf ftrace functionality so > that we can make full use of kernel ftrace with perf. > > In general, this serias

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

2020-07-21 Thread Michal Hocko
On Tue 21-07-20 09:23:44, Qian Cai wrote: > On Tue, Jul 21, 2020 at 02:17:52PM +0200, Michal Hocko wrote: > > 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

Re: [PATCH] kernel: add a kernel_wait helper

2020-07-21 Thread Eric W. Biederman
Christoph Hellwig writes: > Add a helper that waits for a pid and stores the status in the passed > in kernel pointer. Use it to fix the usage of kernel_wait4 in > call_usermodehelper_exec_sync that only happens to work due to the > implicit set_fs(KERNEL_DS) for kernel threads. Acked-by:

Re: [PATCH net-next 3/7] net: macb: parse PHY nodes found under an MDIO node

2020-07-21 Thread Andrew Lunn
> @@ -755,7 +765,6 @@ static int macb_mdiobus_register(struct macb *bp) >* decrement it before returning. >*/ > of_node_put(child); > - > return of_mdiobus_register(bp->mii_bus, np); > }

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

2020-07-21 Thread Ravi Bangoria
On 7/21/20 5:06 PM, Michael Ellerman wrote: 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.

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

2020-07-21 Thread Sibi Sankar
Hey Georgi, Thanks for the patch! On 2020-07-21 17:37, Georgi Djakov wrote: 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

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

2020-07-21 Thread Alper Nebi Yasak
On 21/07/2020 14:46, Tzung-Bi Shih wrote: > Hi, I got a rk3399-gru-kevin and can reproduce the issue. > > Could you take a try on the proposed patch here > https://patchwork.kernel.org/patch/11675533/ to see if it fixes? It does eliminate the pops, thanks. (I've replied to the patch, I am

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

2020-07-21 Thread Masami Hiramatsu
On Thu, 9 Jul 2020 21:16:36 +0200 "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

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

2020-07-21 Thread Masami Hiramatsu
Hi Naveen, On Tue, 21 Jul 2020 17:18:19 +0530 "Naveen N. Rao" wrote: > This series updates some of the URLs in the kprobes document and moves > the same under trace/ directory. Thank you very much for fixing and updating it! Acked-by: Masami Hiramatsu for this series. Thanks! > > -

Re: [PATCH 4.19 041/133] Revert "usb/ohci-platform: Fix a warning when hibernating"

2020-07-21 Thread Sasha Levin
On Tue, Jul 21, 2020 at 01:29:08PM +0200, Pavel Machek wrote: Hi! > > >After some investigations, we concluded the following: > > > - the issue does not exist in vanilla v5.8-rc4+ > > > - [bisecting shows that] the panic on v4.14.186 is caused by the lack > > > of v5.6-rc1 commit

Re: [tip:sched/fifo 44/45] ERROR: modpost: "sched_setscheduler" undefined!

2020-07-21 Thread Steven Rostedt
On Tue, 21 Jul 2020 10:36:43 +0200 pet...@infradead.org wrote: > > Yeah, that's fine. You don't have any sched_fifo_high() ? > > Thanks! and no. > > I'll go write a Changelog and add it to tip/sched/fifo, so that > hopefully, sfr can stop complaining about this build fail ;-) > > I've even

Re: [PATCH] hwmon: corsair-cpro: add reading pwm values

2020-07-21 Thread Guenter Roeck
On Tue, Jul 21, 2020 at 10:54:47AM +0200, Marius Zachmann wrote: > This adds the possibility for reading pwm values. > These can not be read if the device is controlled via > fan_target or a fan curve and will return an error in > this case. Since an error is expected, this adds some > rudimentary

Re: [PATCH net-next 2/7] macb: bindings doc: use an MDIO node as a container for PHY nodes

2020-07-21 Thread Alexandre Belloni
Hi, The proper subject prefix is dt-bindings: net: macb: On 21/07/2020 13:02:29+0300, Codrin Ciubotariu wrote: > The MACB driver embeds an MDIO bus controller and for this reason there > was no need for an MDIO sub-node present to contain the PHY nodes. Adding > MDIO devies directly under an

[PATCH v2][next] IB/hfi1: Use fallthrough pseudo-keyword

2020-07-21 Thread Gustavo A. R. Silva
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. [1]

RE: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-21 Thread Zhoujian (jay)
Thanks for taking a close look at the code, Alex. We'll check them one by one ASAP. > -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Tuesday, July 21, 2020 6:46 AM > To: Zhoujian (jay) > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org;

Re: [PATCH v3 6/7] riscv: Add KPROBES_ON_FTRACE supported

2020-07-21 Thread Masami Hiramatsu
On Wed, 15 Jul 2020 00:24:54 +0800 Guo Ren wrote: > Thx Masami, > > On Tue, Jul 14, 2020 at 7:38 PM Masami Hiramatsu wrote: > > > > On Mon, 13 Jul 2020 23:39:21 + > > guo...@kernel.org wrote: > > > > > From: Guo Ren > > > > > > This patch adds support for kprobes on ftrace call sites to

[PATCH v2][next] printk: ringbuffer: support dataless records

2020-07-21 Thread John Ogness
://lkml.kernel.org/r/20200718121053.ga691...@elver.google.com Reported-by: Marco Elver Signed-off-by: John Ogness --- based on next-20200721 chages since v1: - Instead of handling empty text messages as special case errors, allow such messages to be handled as any other valid messages. This also a

Re: [PATCH v7 3/3] arm64: implement KPROBES_ON_FTRACE

2020-07-21 Thread Masami Hiramatsu
Hi Jisheng, Would you be still working on this series? If you are still want to put a probe on func+4, it is OK if you can completely emulate the 1st instruction. (lr save on the stack and change the regs->sp) Thank you, On Thu, 26 Dec 2019 18:26:07 +0900 Masami Hiramatsu wrote: > On Thu, 26

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

2020-07-21 Thread Qian Cai
On Tue, Jul 21, 2020 at 02:17:52PM +0200, Michal Hocko wrote: > 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

af_key: pfkey_dump needs parameter validation

2020-07-21 Thread Mark Salyzyn
In pfkey_dump() dplen and splen can both be specified to access the xfrm_address_t structure out of bounds in__xfrm_state_filter_match() when it calls addr_match() with the indexes. Return EINVAL if either are out of range. Signed-off-by: Mark Salyzyn Cc: net...@vger.kernel.org Cc:

Re: [PATCH] csky: Fix build with upstream gcc

2020-07-21 Thread Guenter Roeck
On Tue, Jul 21, 2020 at 01:23:14PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Building a kernel for the CSKY architecture with CONFIG_FRAME_POINTER > set requires a gcc supporting the non-upstream '-mbacktrace' option. > Check for the '-mbacktrace' option before enabling

Re: [PATCH 5.7 000/243] 5.7.10-rc2 review

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 09:16:26PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.7.10 release. > There are 243 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

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

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 05:36:16PM +0200, Greg Kroah-Hartman wrote: > 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

Re: [PATCH 4.9 00/86] 4.9.231-rc1 review

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 05:35:56PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.231 release. > There are 86 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

Re: [PATCH] thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor()

2020-07-21 Thread Daniel Lezcano
On 16/06/2020 11:19, Dan Carpenter wrote: > This condition is reversed and will cause breakage. > > Fixes: 7440f518dad9 ("thermal/drivers/ti-soc-thermal: Avoid dereferencing > ERR_PTR") > Signed-off-by: Dan Carpenter > --- Applied. -- Linaro.org │ Open source

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

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 05:35:47PM +0200, Greg Kroah-Hartman wrote: > 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

Re: [PATCH 4.14 000/125] 4.14.189-rc1 review

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 05:35:39PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.189 release. > There are 125 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

Re: [RFC PATCH 4/7] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-07-21 Thread Mathieu Desnoyers
- On Jul 21, 2020, at 6:04 AM, Nicholas Piggin npig...@gmail.com wrote: > Excerpts from Mathieu Desnoyers's message of July 21, 2020 2:46 am: [...] > > Yeah you're probably right in this case I think. Quite likely most kernel > tasks that asynchronously write to user memory would at least

Re: [PATCH 5.4 000/215] 5.4.53-rc1 review

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 05:34:42PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.53 release. > There are 215 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

Re: [PATCH] clocksource/drivers/timer-ti-dm: Fix suspend and resume for am3 and am4

2020-07-21 Thread Carlos Hernandez
On 7/17/20 6:29 AM, Daniel Lezcano wrote: On 13/07/2020 18:26, Tony Lindgren wrote: Carlos Hernandez reported that we now have a suspend and resume regresssion on am3 and am4 compared to the earlier kernels. While suspend and resume works with v5.8-rc3, we now get errors with rtcwake:

Re: [PATCH] ARM: at91: pm: add missing put_device() call in at91_pm_sram_init()

2020-07-21 Thread yukuai (C)
On 2020/7/18 6:55, Alexandre Belloni wrote: A better fix would have been to also factorize imx_suspend_alloc_ocram, imx6q_suspend_init, socfpga_setup_ocram_self_refresh and at91_pm_sram_init as they were all copied from pm-imx6.c imx_suspend_alloc_ocram and imx6q_suspend_init are done

Re: [PATCH 4.9 00/86] 4.9.231-rc1 review

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 05:35:56PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.231 release. > There are 86 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

Re: [PATCH V6 11/14] perf/x86/intel: Disable sample-read the slots and metrics events

2020-07-21 Thread Peter Zijlstra
On Fri, Jul 17, 2020 at 07:05:51AM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Users fail to sample-read the slots and metrics events, e.g., > perf record -e '{slots, topdown-retiring}:S'. > > When reading the metrics event, the fixed counter 3 (slots) has to be > reset, which

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
On Fri, Jul 17, 2020 at 09:52:09PM +0200, Lukas Wunner wrote: > On Fri, Jul 17, 2020 at 03:04:10PM -0400, Lyude Paul wrote: > > Isn't it possible to tell whether a PCI device is connected through > > thunderbolt or not? We could probably get away with just defaulting > > to 100ms for thunderbolt

Re: [PATCH 5.7 000/244] 5.7.10-rc1 review

2020-07-21 Thread Thierry Reding
On Mon, Jul 20, 2020 at 05:34:31PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.7.10 release. > There are 244 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

Re: [PATCH v8 00/12] Introduce CAP_PERFMON to secure system performance monitoring and observability

2020-07-21 Thread Alexey Budankov
On 13.07.2020 21:51, Arnaldo Carvalho de Melo wrote: > Em Mon, Jul 13, 2020 at 03:37:51PM +0300, Alexey Budankov escreveu: >> >> On 13.07.2020 15:17, Arnaldo Carvalho de Melo wrote: >>> Em Mon, Jul 13, 2020 at 12:48:25PM +0300, Alexey Budankov escreveu: On 10.07.2020 20:09, Arnaldo

[PATCH] kernel: add a kernel_wait helper

2020-07-21 Thread Christoph Hellwig
Add a helper that waits for a pid and stores the status in the passed in kernel pointer. Use it to fix the usage of kernel_wait4 in call_usermodehelper_exec_sync that only happens to work due to the implicit set_fs(KERNEL_DS) for kernel threads. Signed-off-by: Christoph Hellwig ---

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

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

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:

[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

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

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: > >>>

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. > >

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 >

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

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

[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

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, > >>

[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

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,

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. > + *

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

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 |

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) { >

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': >>

[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

答复: 答复: [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;

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

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

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

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

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

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

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: >>>

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

[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

[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

[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

[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

[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

[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

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

[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

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

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 &

[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

[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

[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 +

[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

[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

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

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