Re: [PATCH v3 06/19] dt-bindings: pwm: imx-pwm: Add i.MX 8M compatibles

2020-09-23 Thread Krzysztof Kozlowski
On Wed, 23 Sep 2020 at 13:52, Thierry Reding wrote: > > On Tue, Aug 25, 2020 at 09:35:23PM +0200, Krzysztof Kozlowski wrote: > > DTSes with new i.MX 8M SoCs introduce their own compatibles so add them > > to fix dtbs_check warnings like: > > > > arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml:

Re: [PATCH 2/9] sched: Fix balance_callback()

2020-09-23 Thread Thomas Gleixner
On Mon, Sep 21 2020 at 18:35, Peter Zijlstra wrote: > return 0; > --- a/kernel/sched/sched.h > +++ b/kernel/sched/sched.h > @@ -1220,6 +1220,8 @@ static inline void rq_pin_lock(struct rq > #ifdef CONFIG_SCHED_DEBUG > rq->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP); >

RE: [PATCH v2 2/3] media: dt-bindings: media: renesas,drif: Convert to json-schema

2020-09-23 Thread Fabrizio Castro
Hi Geert, Thank you for getting back to me. > From: Geert Uytterhoeven > Sent: 23 September 2020 14:33 > > Hi Fabrizio, > > On Wed, Sep 23, 2020 at 1:55 PM Fabrizio Castro > wrote: > > > From: Geert Uytterhoeven > > > On Wed, Sep 16, 2020 at 1:00 PM Fabrizio Castro > > > wrote: > > > >

Re: [PATCH 1/4] net: usbnet: use usb_control_msg_recv() and usb_control_msg_send()

2020-09-23 Thread Himadri Pandya
On Wed, Sep 23, 2020 at 3:54 PM Greg KH wrote: > > On Wed, Sep 23, 2020 at 02:35:16PM +0530, Himadri Pandya wrote: > > Potential incorrect use of usb_control_msg() has resulted in new wrapper > > functions to enforce its correct usage with proper error check. Hence > > use these new wrapper

Re: [PATCH 1/2] perf stat: Fix segfault when counting armv8_pmu events

2020-09-23 Thread Jiri Olsa
On Wed, Sep 23, 2020 at 10:49:52PM +0900, Namhyung Kim wrote: > On Wed, Sep 23, 2020 at 2:44 PM Jiri Olsa wrote: > > > > On Tue, Sep 22, 2020 at 11:13:45AM +0800, Wei Li wrote: > > > When executing perf stat with armv8_pmu events with a workload, it will > > > report a segfault as result. > > > >

Re: [PATCH 6/9] sched: Massage set_cpus_allowed

2020-09-23 Thread Thomas Gleixner
On Mon, Sep 21 2020 at 18:36, Peter Zijlstra wrote: > @@ -1899,7 +1900,9 @@ extern void update_group_capacity(struct > > extern void trigger_load_balance(struct rq *rq); > > -extern void set_cpus_allowed_common(struct task_struct *p, const struct > cpumask *new_mask); > +#define SCA_CHECK

Re: [PATCH v2] perf script: add min, max to futex-contention

2020-09-23 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 23, 2020 at 02:40:10PM +0200, Hagen Paul Pfeifer escreveu: > > On 09/23/2020 2:31 PM Arnaldo Carvalho de Melo wrote: > > > > Didn't apply here, I did it by hand, please check, probably some > > indentation artifact. > > Probably you missed patch one of the patchset - the autopep8

Re: [PATCH 3/4] net: usb: rtl8150: use usb_control_msg_recv() and usb_control_msg_send()

2020-09-23 Thread Himadri Pandya
On Wed, Sep 23, 2020 at 3:52 PM Oliver Neukum wrote: > > Am Mittwoch, den 23.09.2020, 14:35 +0530 schrieb Himadri Pandya: > > Hi, > > > Many usage of usb_control_msg() do not have proper error check on return > > value leaving scope for bugs on short reads. New usb_control_msg_recv() > > and

Re: [PATCH v3 1/3] media: dt-bindings: media: Document Rockchip VIP bindings

2020-09-23 Thread Rob Herring
On Tue, Sep 22, 2020 at 06:55:33PM +0200, Maxime Chevallier wrote: > Add a documentation for the Rockchip Camera Interface controller > binding. > > This controller can be found on platforms such as the PX30 or the > RK3288, the PX30 being the only platform supported so far. > > Signed-off-by:

Re: [PATCH v4] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-09-23 Thread Borislav Petkov
Smita, pls sync the time of the box where you create the patch: Date: Fri, 4 Sep 2020 09:04:44 -0500 but your mail headers have: Received: from ... with mapi id 15.20.3370.019; Fri, 18 Sep 2020 14:49:12 + ^^ On Wed, Sep

Re: [PATCH 5/5] mm/thp: Split huge pmds/puds if they're pinned when fork()

2020-09-23 Thread Jan Kara
On Wed 23-09-20 09:50:04, Peter Xu wrote: > On Wed, Sep 23, 2020 at 11:22:05AM +0200, Jan Kara wrote: > > On Tue 22-09-20 13:01:13, John Hubbard wrote: > > > On 9/22/20 3:33 AM, Jan Kara wrote: > > > > On Mon 21-09-20 23:41:16, John Hubbard wrote: > > > > > On 9/21/20 2:20 PM, Peter Xu wrote: > >

Re: [PATCH v2 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-09-23 Thread Arnd Bergmann
On Sun, Sep 20, 2020 at 8:37 PM Corentin Labbe wrote: > > Ciphers produce invalid results on BE. > Key and IV need to be written in LE. > > Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System > crypto accelerator") > Cc: > Signed-off-by: Corentin Labbe > --- >

Re: [PATCH v3 1/3] media: dt-bindings: media: Document Rockchip VIP bindings

2020-09-23 Thread Rob Herring
On Tue, 22 Sep 2020 18:55:33 +0200, Maxime Chevallier wrote: > Add a documentation for the Rockchip Camera Interface controller > binding. > > This controller can be found on platforms such as the PX30 or the > RK3288, the PX30 being the only platform supported so far. > > Signed-off-by: Maxime

Re: [PATCH v2 0/4] i2c-hid: Save power by reducing i2c xfers with block reads

2020-09-23 Thread Jarkko Nikula
On 9/17/20 5:02 PM, Andy Shevchenko wrote: On Thu, Sep 17, 2020 at 8:26 AM Sultan Alsawaf wrote: From: Sultan Alsawaf This is a fixed resubmission of "[PATCH 0/2] i2c-hid: Save power by reducing i2c xfers with block reads". That original patchset did not have enough fixes for the designware

Re: [Intel-gfx] [PATCH 4/6] drm/i915: use vmap in i915_gem_object_map

2020-09-23 Thread Tvrtko Ursulin
On 23/09/2020 14:41, Christoph Hellwig wrote: On Wed, Sep 23, 2020 at 10:52:33AM +0100, Tvrtko Ursulin wrote: On 18/09/2020 17:37, Christoph Hellwig wrote: i915_gem_object_map implements fairly low-level vmap functionality in a driver. Split it into two helpers, one for remapping kernel

[RFC 2/2] printk: Add more information about the printk caller

2020-09-23 Thread Petr Mladek
The information about the printk caller has been added by the commit 15ff2069cb7f967da ("printk: Add caller information to printk() output."). The main motivation was to reconstruct original messages when they longer output from different CPUs got mixed. But there are more usecases. The number of

[PATCH 1/2] printk: Store all three timestamps

2020-09-23 Thread Petr Mladek
printk() historically shows the timestamps from the monotonic clock. It is fast, available early during boot, in any context, and even without using any lock. There are repeated requests [1][2][3] to show the timestamps from other clocks. The main motivation is to make it easier to correlate the

[RFC 0/2] printk: Add more metadata for each record

2020-09-23 Thread Petr Mladek
There have been repeated requests to store and print more metadata for each line, see the two patches for more details. This patchset handles the storing part so that we could do it together with the other changes of the ring buffer structure. It would be nice to get it into the same kernel

[PATCH v2] nvmem: core: fix possibly memleak when use nvmem_cell_info_to_nvmem_cell()

2020-09-23 Thread Vadym Kochan
Fix missing 'kfree_const(cell->name)' when call to nvmem_cell_info_to_nvmem_cell() in several places: * after nvmem_cell_info_to_nvmem_cell() failed during nvmem_add_cells() * during nvmem_device_cell_{read,write}. This is fixed by simply re-using info->name instead of

Re: [PATCH v5 2/2] PHY: Ingenic: Add USB PHY driver using generic PHY framework.

2020-09-23 Thread Zhou Yanjie
Hello Vinod, 在 2020/9/23 下午1:35, Vinod Koul 写道: On 22-09-20, 00:24, 周琰杰 (Zhou Yanjie) wrote: +#define USBPCR_IDPULLUP_LSB28 +#define USBPCR_IDPULLUP_MASK GENMASK(29, USBPCR_IDPULLUP_LSB) +#define USBPCR_IDPULLUP_ALWAYS (0x2 << USBPCR_IDPULLUP_LSB) +#define

My business proposal

2020-09-23 Thread Wang Xiu Ying
Good Day, I am Wang Xiu Ying, the Director for Credit & Marketing Chong Hing Bank, Hong Kong, Chong Hing Bank Center, 24 Des Voeux Road Central, Hong Kong. I have a business proposal of USD$13,991,674 All confirmable documents to back up the claims will be made availableto you prior to your

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-23 Thread Jarkko Sakkinen
On Tue, Sep 22, 2020 at 09:43:02AM -0700, Sean Christopherson wrote: > On Tue, Sep 22, 2020 at 08:35:15AM +0300, Jarkko Sakkinen wrote: > > On Tue, Sep 22, 2020 at 08:30:06AM +0300, Jarkko Sakkinen wrote: > > > On Mon, Sep 21, 2020 at 02:18:49PM -0700, Sean Christopherson wrote: > > > > Userspace

Re: [PATCH] drivers: optee: i2c: add bus retry configuration

2020-09-23 Thread Jorge Ramirez-Ortiz, Foundries
On 23/09/20, Jens Wiklander wrote: > On Wed, Sep 23, 2020 at 01:26:31PM +0200, Jorge Ramirez-Ortiz, Foundries > wrote: > > On 23/09/20, Jorge Ramirez-Ortiz, Foundries wrote: > > > On 22/09/20, Jens Wiklander wrote: > > > > On Wed, Sep 16, 2020 at 05:27:32PM +0200, Jorge Ramirez-Ortiz wrote: > > >

Re: [PATCH 1/2] perf stat: Fix segfault when counting armv8_pmu events

2020-09-23 Thread Namhyung Kim
On Wed, Sep 23, 2020 at 2:44 PM Jiri Olsa wrote: > > On Tue, Sep 22, 2020 at 11:13:45AM +0800, Wei Li wrote: > > When executing perf stat with armv8_pmu events with a workload, it will > > report a segfault as result. > > please share the perf stat command line you see that segfault for It seems

Re: [PATCH 5/5] mm/thp: Split huge pmds/puds if they're pinned when fork()

2020-09-23 Thread Peter Xu
On Wed, Sep 23, 2020 at 11:22:05AM +0200, Jan Kara wrote: > On Tue 22-09-20 13:01:13, John Hubbard wrote: > > On 9/22/20 3:33 AM, Jan Kara wrote: > > > On Mon 21-09-20 23:41:16, John Hubbard wrote: > > > > On 9/21/20 2:20 PM, Peter Xu wrote: > > > > ... > > > > > + if

Re: [PATCH v38 23/24] docs: x86/sgx: Document SGX micro architecture and kernel internals

2020-09-23 Thread Borislav Petkov
This patch must come first in the set so that other reviewers can read what all this jazz is about first, before exposing them to the gory details later. On Tue, Sep 15, 2020 at 02:28:41PM +0300, Jarkko Sakkinen wrote: > diff --git a/Documentation/x86/sgx.rst b/Documentation/x86/sgx.rst > new

Re: [PATCH V2 1/4] cpufreq: stats: Defer stats update to cpufreq_stats_record_transition()

2020-09-23 Thread Rafael J. Wysocki
On Wed, Sep 16, 2020 at 8:45 AM Viresh Kumar wrote: > > In order to prepare for lock-less stats update, add support to defer any > updates to it until cpufreq_stats_record_transition() is called. This is a bit devoid of details. I guess you mean reset in particular, but that's not clear from

Re: [PATCH] KVM: x86: VMX: Make smaller physical guest address space support user-configurable

2020-09-23 Thread Paolo Bonzini
On 03/09/20 16:11, Mohammed Gamal wrote: > This patch exposes allow_smaller_maxphyaddr to the user as a module parameter. > > Since smaller physical address spaces are only supported on VMX, the parameter > is only exposed in the kvm_intel module. > Modifications to VMX page fault and EPT

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-23 Thread Jarkko Sakkinen
On Tue, Sep 22, 2020 at 08:11:14AM -0700, Dave Hansen wrote: > On 9/22/20 5:58 AM, Jarkko Sakkinen wrote: > > Intel Sofware Guard eXtensions (SGX) allows creation of executable blobs > > called enclaves, of which page permissions are defined when the enclave > > "of which" => "for which" > > >

Re: [PATCH net-next RFC v5 00/15] Add devlink reload action and limit level options

2020-09-23 Thread Moshe Shemesh
I see no more comments, we reached consensus on API. I will finalize my work and re-send as a feature to net-next. Thanks, Moshe. On 9/18/2020 7:06 PM, Moshe Shemesh wrote: Introduce new options on devlink reload API to enable the user to select the reload action required and contrains

[PATCH] ovl: introduce new "index=nouuid" option for inodes index feature

2020-09-23 Thread Pavel Tikhomirov
This relaxes uuid checks for overlay index feature. It is only possible in case there is only one filesystem for all the work/upper/lower directories and bare file handles from this backing filesystem are uniq. In case we have multiple filesystems here just fall back to normal "index=on". This is

Re: [PATCH] mm: swapfile: avoid split_swap_cluster() NULL pointer dereference

2020-09-23 Thread Rafael Aquini
On Tue, Sep 22, 2020 at 12:47:50PM -0700, Andrew Morton wrote: > On Tue, 22 Sep 2020 14:48:38 -0400 Rafael Aquini wrote: > > > The swap area descriptor only gets struct swap_cluster_info *cluster_info > > allocated if the swapfile is backed by non-rotational storage. > > When the swap area is

Re: [Intel-gfx] [PATCH 4/6] drm/i915: use vmap in i915_gem_object_map

2020-09-23 Thread Christoph Hellwig
On Wed, Sep 23, 2020 at 10:52:33AM +0100, Tvrtko Ursulin wrote: > > On 18/09/2020 17:37, Christoph Hellwig wrote: >> i915_gem_object_map implements fairly low-level vmap functionality in >> a driver. Split it into two helpers, one for remapping kernel memory >> which can use vmap, and one for I/O

Re: BUG: Bad page state in process dirtyc0w_child

2020-09-23 Thread Gerald Schaefer
On Tue, 22 Sep 2020 19:03:50 +0200 Gerald Schaefer wrote: > On Wed, 16 Sep 2020 16:28:06 +0200 > Heiko Carstens wrote: > > > On Sat, Sep 12, 2020 at 09:54:12PM -0400, Qian Cai wrote: > > > Occasionally, running this LTP test will trigger an error below on > > > s390: > > >

[PATCH] sched/fair: Use bool parameter for update_tg_load_avg()

2020-09-23 Thread Xianting Tian
In the file fair.c, sometims update_tg_load_avg(cfs_rq, 0) is used, sometimes update_tg_load_avg(cfs_rq, false) is used. So change it to use bool parameter. Signed-off-by: Xianting Tian --- kernel/sched/fair.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [Intel-wired-lan] [PATCH] e1000e: Power cycle phy on PM resume

2020-09-23 Thread Paul Menzel
Dear Kai-Heng, Am 23.09.20 um 09:47 schrieb Kai-Heng Feng: We are seeing the following error after S3 resume: [ 704.746874] e1000e :00:1f.6 eno1: Setting page 0x6020 [ 704.844232] e1000e :00:1f.6 eno1: MDI Write did not complete [ 704.902817] e1000e :00:1f.6 eno1: Setting page

Re: [PATCH] leds: lp50xx: Fix an error handling path in 'lp50xx_probe_dt()'

2020-09-23 Thread Dan Carpenter
I've added Heikki Krogerus to the CC list because my question is mostly about commit 59abd83672f7 ("drivers: base: Introducing software nodes to the firmware node framework"). I have been trying to teach Smatch to understand reference counting so it can discover these kinds of bugs automatically.

Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends

2020-09-23 Thread Thomas Gleixner
On Wed, Sep 23 2020 at 10:40, peterz wrote: > Right, so I'm concerned. migrate_disable() wrecks pretty much all > Real-Time scheduler theory we have, and PREEMPRT_RT bringing it in is > somewhat ironic. It's even more ironic that the approach of PREEMPT_RT has been 'pragmatic ignorance of theory'

RE: [PATCH v6 04/12] KVM: SVM: Modify intercept_exceptions to generic intercepts

2020-09-23 Thread Babu Moger
> -Original Message- > From: Paolo Bonzini > Sent: Tuesday, September 22, 2020 9:44 PM > To: Moger, Babu ; Sean Christopherson > > Cc: vkuzn...@redhat.com; jmatt...@google.com; wanpen...@tencent.com; > k...@vger.kernel.org; j...@8bytes.org; x...@kernel.org; linux- >

Re: [PATCH v2 2/3] media: dt-bindings: media: renesas,drif: Convert to json-schema

2020-09-23 Thread Geert Uytterhoeven
Hi Fabrizio, On Wed, Sep 23, 2020 at 1:55 PM Fabrizio Castro wrote: > > From: Geert Uytterhoeven > > On Wed, Sep 16, 2020 at 1:00 PM Fabrizio Castro > > wrote: > > > Convert the Renesas DRIF bindings to DT schema and update > > > MAINTAINERS accordingly. > > > > > > Signed-off-by: Fabrizio

Re: [PATCH] ovl: introduce new "index=nouuid" option for inodes index feature

2020-09-23 Thread Pavel Tikhomirov
Please drop, I accidentally missed several hunks... On 9/23/20 3:50 PM, Pavel Tikhomirov wrote: dd if=/dev/zero of=loopbackfile.img bs=100M count=10 losetup -fP loopbackfile.img losetup -a #/dev/loop0: [64768]:35 (/loop-test/loopbackfile.img) mkfs.ext4 /root/loopbackfile.img mkdir loop-mp

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-23 Thread Jarkko Sakkinen
On Tue, Sep 22, 2020 at 08:11:14AM -0700, Dave Hansen wrote: > > Enclave permissions can be dynamically modified by using ENCLS[EMODPE] > > I'm not sure this sentence matters. I'm not sure why I care what the > instruction is named that does this. But, it _sounds_ here like an > enclave can

Re: [PATCH v7 00/14] HWPOISON: soft offline rework

2020-09-23 Thread Aristeu Rozanski
Hi Oscar, On Tue, Sep 22, 2020 at 03:56:36PM +0200, Oscar Salvador wrote: > This patchset is the latest version of soft offline rework patchset > targetted for v5.9. > > This patchset fixes a couple of issues that the patchset Naoya > sent [1] contained due to rebasing problems and a

Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

2020-09-23 Thread Geert Uytterhoeven
Hi Thierry, On Wed, Sep 23, 2020 at 2:14 PM Thierry Reding wrote: > On Tue, Aug 25, 2020 at 03:32:08PM +0200, Geert Uytterhoeven wrote: > > On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar > > wrote: > > > From: Marian-Cristian Rotariu > > > > > > This patch adds PWM[0123456] device nodes to the

Re: [PATCH] leds: lp50xx: Fix an error handling path in 'lp50xx_probe_dt()'

2020-09-23 Thread Dan Murphy
Christophe On 9/22/20 4:05 PM, Christophe JAILLET wrote: In case of memory allocation failure, we must release some resources as done in all other error handling paths of the function. 'goto child_out' instead of a direct return so that 'fwnode_handle_put()' is called when we break out of a

[PATCH 6/6] ASoC: tas2770: Remove unused variables

2020-09-23 Thread Dan Murphy
Remove unused variables in the private struct and the code as these variables are initially set and then there is no additional code utilizing these variables. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 11 --- sound/soc/codecs/tas2770.h | 8 ++-- 2 files changed, 2

[PATCH 3/6] ASoC: tas2770: Set regcache when shutting down and waking device

2020-09-23 Thread Dan Murphy
Set the regcache to cache data and mark cache as dirty when the device is shutdown when suspend is called. When the device is woken up then sync the cache and set to not caching the data. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 14 ++ 1 file changed, 10

[PATCH 1/6] dt-bindings: tas2770: Add shutdown gpio property

2020-09-23 Thread Dan Murphy
Add the shutdown-gpios property to the yaml to define the GPIO that can be used to place the device in shutdown mode or wake the device up. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2770.yaml | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 5/6] ASoC: tas2770: Remove ti,asi-format code

2020-09-23 Thread Dan Murphy
Remove the code to support the asi-format binding property. The code does nothing except read the property and set a variable. No additional action is taken except to reset the variable. The property is supposed to set the rising or falling RX edge detection of the SBCLK but this edge detection is

[PATCH 2/6] ASoC: tas2770: Add shutdown capability via a GPIO

2020-09-23 Thread Dan Murphy
Add the hardware shutdown mechanism to shutdown and wake up the device via a GPIO. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 53 -- sound/soc/codecs/tas2770.h | 1 + 2 files changed, 40 insertions(+), 14 deletions(-) diff --git

[PATCH 4/6] dt-bindings: tas2770: Remove ti,asi-format property

2020-09-23 Thread Dan Murphy
Remove the property ti,asi-format as the driver only reads this property and performs no action against it. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2770.yaml | 7 --- 1 file changed, 7 deletions(-) diff --git

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-23 Thread Al Viro
On Wed, Sep 23, 2020 at 11:01:34AM +0300, Pavel Begunkov wrote: > > I'm not following why that would be considered a valid option, > > as that clearly breaks existing users that update from a 32-bit > > kernel to a 64-bit one. > > Do you mean users who move 32-bit binaries (without recompiling)

Re: [PATCH v38 17/24] x86/sgx: ptrace() support for the SGX driver

2020-09-23 Thread Jarkko Sakkinen
On Tue, Sep 22, 2020 at 05:44:24PM +0200, Borislav Petkov wrote: > > > Subject: Re: [PATCH v38 17/24] x86/sgx: ptrace() support for the SGX driver >... x86/sgx: Add ptrace() support... > > subject needs a verb. > > On Tue, Sep 15, 2020 at 02:28:35PM +0300, Jarkko

[PATCH v2 1/2] arm64: dts: rockchip: add spiflash node to rk3399-khadas-edge

2020-09-23 Thread Artem Lapkin
The Khadas Edge Boards uses winbond - w25q128 spi flash with 104Mhz Signed-off-by: Artem Lapkin Tested-by: Artem Lapkin --- arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi

Re: [PATCH 1/2] leds: lm3552: Fix warnings for undefined parameters

2020-09-23 Thread Marek Behun
Wrong subject, it says lm3552 but driver is called lm3532 Besides this: Reviewed-by: Marek Behún

[PATCH v2 2/2] arm64: dts: rockchip: add ir-receiver node to rk3399-khadas-edge

2020-09-23 Thread Artem Lapkin
add missed ir-receiver and ir_rx pinctl nodes to rk3399-khadas-edge Khadas Edge board uses gpio-ir-receiver on RK_PB6 gpio Signed-off-by: Artem Lapkin Tested-by: Artem Lapkin --- .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff

[PATCH v2 0/2] arm64: dts: rockchip: add spiflash and ir-receiver nodes to rk3399-khadas-edge

2020-09-23 Thread Artem Lapkin
add missed spiflash and ir-receiver dts nodes to Khadas Edge Board Artem Lapkin (2): arm64: dts: rockchip: add spiflash node to rk3399-khadas-edge arm64: dts: rockchip: add ir-receiver node to rk3399-khadas-edge .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 24 +++ 1 file

Re: [PATCH -next] drm/v3d: Remove set but not used variable

2020-09-23 Thread Dave Stevenson
Hi On Wed, 23 Sep 2020 at 08:53, Li Heng wrote: > > This addresses the following gcc warning with "make W=1": > > drivers/gpu/drm/v3d/v3d_drv.c:73:32: warning: > ‘v3d_v3d_pm_ops’ defined but not used [-Wunused-const-variable=] > > Reported-by: Hulk Robot > Signed-off-by: Li Heng > --- >

Re: [PATCH] scripts/gdb: fix list_for_each

2020-09-23 Thread George Prekas
Hi Kieran, On 9/22/2020 2:11 PM, Kieran Bingham wrote: > Hi George, > > On 22/09/2020 18:17, Prekas, George wrote: >> >> On 9/22/2020 9:32 AM, Jan Kiszka wrote: >>> >>> On 22.09.20 16:28, George Prekas wrote: If the next pointer is NULL, list_for_each gets stuck in an infinite loop.

Re: [PATCH] perf annotate mips: Add perf arch instructions annotate handlers

2020-09-23 Thread Jiaxun Yang
在 2020/9/23 18:56, Peng Fan 写道: From: Dengcheng Zhu Support the MIPS architecture using the ins_ops association method. With this patch, perf-annotate can work well on MIPS. Testing it with a perf.data file collected on a mips machine: $./perf annotate -i perf.data :

Re: NVFS XFS metadata (was: [PATCH] pmem: export the symbols __copy_user_flushcache and __copy_from_user_flushcache)

2020-09-23 Thread Mikulas Patocka
On Wed, 23 Sep 2020, Jan Kara wrote: > On Tue 22-09-20 12:46:05, Mikulas Patocka wrote: > > > mapping 2^21 blocks requires a 5 level indirect tree. Which one if going > > > to be faster to truncate away - a single record or 2 million individual > > > blocks? > > > > > > IOWs, we can take

Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

2020-09-23 Thread Peter Xu
On Tue, Sep 22, 2020 at 08:27:35PM -0400, Peter Xu wrote: > On Tue, Sep 22, 2020 at 04:11:16PM -0300, Jason Gunthorpe wrote: > > On Tue, Sep 22, 2020 at 01:54:15PM -0400, Peter Xu wrote: > > > diff --git a/mm/memory.c b/mm/memory.c > > > index 8f3521be80ca..6591f3f33299 100644 > > > +++

Re: [PATCH 2/2] leds: lm36274: Fix warning for undefined parameters

2020-09-23 Thread Marek Behún
On Tue, 22 Sep 2020 14:06:38 -0500 Dan Murphy wrote: > Fix warnings for undefined parameters when building with W=1. > > Fixes: 11e1bbc116a75 ("leds: lm36274: Introduce the TI LM36274 LED driver") > Signed-off-by: Dan Murphy > --- > drivers/leds/leds-lm36274.c | 5 +++-- > 1 file changed, 3

Re: [PATCH v7 2/2] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW

2020-09-23 Thread Hector Yuan
On Tue, 2020-09-22 at 14:28 -0600, Rob Herring wrote: > On Thu, Sep 10, 2020 at 12:31:02PM +0800, Hector Yuan wrote: > > From: "Hector.Yuan" > > > > Add devicetree bindings for MediaTek HW driver. > > > > Signed-off-by: Hector.Yuan > > --- > > .../bindings/cpufreq/cpufreq-mediatek-hw.yaml

[PATCH] mmc: host: meson-gx-mmc: fix possible deadlock condition for preempt_rt

2020-09-23 Thread Brad Harper
Force threaded interrupts for meson_mmc_irq to prevent possible deadlock condition during mmc operations when using preempt_rt with 5.9.0-rc3-rt3 patches on arm64. Using meson-gx-mmc with an emmc device on Hardkernel Odroid N2+ configured with preempt_rt resulted in the soc becoming

[PATCH] iio: cros_ec: unify hw fifo attributes into the core file

2020-09-23 Thread Alexandru Ardelean
The intent here is to minimize the use of iio_buffer_set_attrs(). Since we are planning to add support for multiple IIO buffers per IIO device, the issue has to do with: 1. Accessing 'indio_dev->buffer' directly (as is done with 'iio_buffer_set_attrs(indio_dev->buffer, )'). 2. The way that the

Re: [PATCH v1 10/12] fpga: enable sec-mgr update cancel

2020-09-23 Thread Tom Rix
On 9/22/20 5:55 PM, Russ Weight wrote: > > On 9/6/20 10:00 AM, Tom Rix wrote: >> On 9/4/20 4:53 PM, Russ Weight wrote: >>> Extend the Intel Security Manager class driver to include >>> an update/cancel sysfs file that can be written to request >>> that an update be canceled. The write may return

Re: [PATCH] mm: swapfile: avoid split_swap_cluster() NULL pointer dereference

2020-09-23 Thread Rafael Aquini
On Wed, Sep 23, 2020 at 01:13:49PM +0800, Huang, Ying wrote: > Rafael Aquini writes: > > > On Wed, Sep 23, 2020 at 10:21:36AM +0800, Huang, Ying wrote: > >> Hi, Rafael, > >> > >> Rafael Aquini writes: > >> > >> > The swap area descriptor only gets struct swap_cluster_info *cluster_info > >> >

linux-next: possible bug in 'block: remove the BIO_NULL_MAPPED flag'

2020-09-23 Thread Marc Hartmayer
Hi Christoph, Jens, I found an interesting bug in my KVM guest (tested on s390x). The guest uses a virtio-scsi disk and the current linux-next kernel. The problem is that I cannot get the SCSI ID of the attached SCSI disk. Running the command `lsscsi --scsi_id` in the guest returns:

Re: [PATCH v1 08/12] fpga: expose sec-mgr update errors

2020-09-23 Thread Tom Rix
On 9/22/20 4:42 PM, Russ Weight wrote: > > On 9/6/20 9:27 AM, Tom Rix wrote: >> On 9/4/20 4:53 PM, Russ Weight wrote: >>> Extend Intel Security Manager class driver to include >>> an update/error sysfs node that can be read for error >>> information when a secure update fails. >>> >>>

[PATCH v1] dt-binding: can: mcp25xxfd: documentation fixes

2020-09-23 Thread Oleksij Rempel
Apply following fixes: - Use 'interrupts'. (interrupts-extended will automagically be supported by the tools) - *-supply is always a single item. So, drop maxItems=1 - add "additionalProperties: false" flag to detect unneeded properties. Signed-off-by: Oleksij Rempel ---

Re: [Openipmi-developer] [PATCH] x86: Fix MCE error handing when kdump is enabled

2020-09-23 Thread Corey Minyard
On Wed, Sep 23, 2020 at 04:48:31PM +0800, Wu Bo wrote: > On 2020/9/23 2:43, Corey Minyard wrote: > > On Tue, Sep 22, 2020 at 01:29:40PM -0500, miny...@acm.org wrote: > > > From: Corey Minyard > > > > > > If kdump is enabled, the handling of shooting down CPUs does not use the > > > RESET_VECTOR

INFO: task can't die in request_wait_answer

2020-09-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:dcf2427b Add linux-next specific files for 20200923 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=111346c590 kernel config: https://syzkaller.appspot.com/x/.config?x=254e028a642027c dashboard

Re: A bug in ext4 with big directories (was: NVFS XFS metadata)

2020-09-23 Thread Mikulas Patocka
On Wed, 23 Sep 2020, Jan Kara wrote: > Hi! > > On Wed 23-09-20 05:20:55, Mikulas Patocka wrote: > > There seems to be a bug in ext4 - when I create very large directory, ext4 > > fails with -ENOSPC despite the fact that there is plenty of free space and > > free inodes on the filesystem. >

Re: [RFC Patch 0/2] KVM: SVM: Cgroup support for SVM SEV ASIDs

2020-09-23 Thread Paolo Bonzini
On 22/09/20 03:48, Sean Christopherson wrote: > This should be genericized to not be SEV specific. TDX has a similar > scarcity issue in the form of key IDs, which IIUC are analogous to SEV ASIDs > (gave myself a quick crash course on SEV ASIDs). Functionally, I doubt it > would change anything,

Re: [PATCH v2] perf script: add min, max to futex-contention

2020-09-23 Thread Hagen Paul Pfeifer
> On 09/23/2020 2:31 PM Arnaldo Carvalho de Melo wrote: > > Didn't apply here, I did it by hand, please check, probably some > indentation artifact. Probably you missed patch one of the patchset - the autopep8 formatting one for the lock contention script? > Thanks for the patch! You are

[PATCH] mailbox: cancel timer before starting it

2020-09-23 Thread Jerome Brunet
If the txdone is done by polling, it is possible for msg_submit() to start the timer while txdone_hrtimer() callback is running. If the timer needs recheduling, it could already be enqueued by the time hrtimer_forward_now() is called, leading hrtimer to loudly complain. WARNING: CPU: 3 PID: 74 at

Re: [PATCH] reset: sti: reset-syscfg: fix struct description warnings

2020-09-23 Thread Philipp Zabel
Hi Alain, On Mon, 2020-08-31 at 22:38 +0200, Alain Volmat wrote: > Fix formating of struct description to avoid warning highlighted > by W=1 compilation. > > Fixes: e5d76075d930 ("drivers: reset: STi SoC system configuration reset > controller support") > Signed-off-by: Alain Volmat Thank

Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends

2020-09-23 Thread Thomas Gleixner
On Wed, Sep 23 2020 at 12:19, peterz wrote: > On Mon, Sep 21, 2020 at 09:27:57PM +0200, Thomas Gleixner wrote: >> Alternatively this could of course be solved with per CPU page tables >> which will come around some day anyway I fear. > > Previously (with PTI) we looked at making the entire kernel

Re: [PATCH v2] perf script: add min, max to futex-contention

2020-09-23 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 22, 2020 at 10:09:22PM +0200, Hagen Paul Pfeifer escreveu: > Average is quite informative, but the outliners - especially max - are > also of interest. > > Before: > > mutex-locker[793299] lock 5637ec61e080 contended 3400 times, 446 avg ns > mutex-locker[793301] lock 5637ec61e080

Re: [PATCH v2 3/3] ARM: dts: Add i2c0 pinctrl information for 98dx3236

2020-09-23 Thread Andrew Lunn
On Wed, Sep 23, 2020 at 03:08:22AM +, Chris Packham wrote: > Hi Jason, Andrew, Gregory, > > On 13/09/20 4:16 am, Linus Walleij wrote: > > On Mon, Sep 7, 2020 at 11:17 PM Chris Packham > > wrote: > > > >> Add pinctrl information for the 98dx3236 (and variants). There is only > >> one choice

[PATCH v2] iio: adc: at91-sama5d2_adc: fix DMA conversion crash

2020-09-23 Thread Eugen Hristev
After the move of the postenable code to preenable, the DMA start was done before the DMA init, which is not correct. The DMA is initialized in set_watermark. Because of this, we need to call the DMA start functions in set_watermark, after the DMA init, instead of preenable hook, when the DMA is

Re: [PATCH v9 04/20] gpio: uapi: define uAPI v2

2020-09-23 Thread Arnd Bergmann
On Wed, Sep 23, 2020 at 1:16 PM Andy Shevchenko wrote: > On Wed, Sep 23, 2020 at 1:30 PM Kent Gibson wrote: > > On Wed, Sep 23, 2020 at 01:04:05PM +0300, Andy Shevchenko wrote: > > > On Tue, Sep 22, 2020 at 5:34 AM Kent Gibson wrote: > > > > There is also some minor renaming of fields for

Re: [PATCH] e1000e: Power cycle phy on PM resume

2020-09-23 Thread Andrew Lunn
On Wed, Sep 23, 2020 at 03:47:51PM +0800, Kai-Heng Feng wrote: > We are seeing the following error after S3 resume: > [ 704.746874] e1000e :00:1f.6 eno1: Setting page 0x6020 > [ 704.844232] e1000e :00:1f.6 eno1: MDI Write did not complete > [ 704.902817] e1000e :00:1f.6 eno1:

[PATCH] iio: buffer-dmaengine: remove non managed alloc/free

2020-09-23 Thread Alexandru Ardelean
This is to encourage the use of devm_iio_dmaengine_buffer_alloc(). Currently the managed version of the DMAEngine buffer alloc is the only function used from this part of the framework. Signed-off-by: Alexandru Ardelean --- drivers/iio/buffer/industrialio-buffer-dmaengine.c | 6 ++

Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

2020-09-23 Thread Thierry Reding
On Tue, Aug 25, 2020 at 03:32:08PM +0200, Geert Uytterhoeven wrote: > On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar > wrote: > > From: Marian-Cristian Rotariu > > > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) > > device tree. > > > > Signed-off-by: Marian-Cristian

Re: [PATCH] drivers: optee: i2c: add bus retry configuration

2020-09-23 Thread Jens Wiklander
On Wed, Sep 23, 2020 at 01:26:31PM +0200, Jorge Ramirez-Ortiz, Foundries wrote: > On 23/09/20, Jorge Ramirez-Ortiz, Foundries wrote: > > On 22/09/20, Jens Wiklander wrote: > > > On Wed, Sep 16, 2020 at 05:27:32PM +0200, Jorge Ramirez-Ortiz wrote: > > > > Allow OP-TEE to specify the number of

[PATCH v2 1/3] iommu: amd: Use 4K page for completion wait write-back semaphore

2020-09-23 Thread Suravee Suthikulpanit
IOMMU SNP support requires the completion wait write-back semaphore to be implemented using a 4K-aligned page, where the page address is to be programmed into the newly introduced MMIO base/range registers. This new scheme uses a per-iommu atomic variable to store the current semaphore value,

[PATCH v2 3/3] iommu: amd: Re-purpose Exclusion range registers to support SNP CWWB

2020-09-23 Thread Suravee Suthikulpanit
When the IOMMU SNP support bit is set in the IOMMU Extended Features register, hardware re-purposes the following registers: 1. IOMMU Exclusion Base register (MMIO offset 0020h) to Completion Wait Write-Back (CWWB) Base register 2. IOMMU Exclusion Range Limit (MMIO offset 0028h) to

[PATCH v2 0/3] amd : iommu : Initial IOMMU support for SNP

2020-09-23 Thread Suravee Suthikulpanit
Introducing support for AMD Secure Nested Paging (SNP) with IOMMU, which mainly affects the use of IOMMU Exclusion Base and Range Limit registers. Note that these registers are no longer used by Linux IOMMU driver. Patch 2 and 3 are SNP-specific, and discuss detail of the implementation. In order

[PATCH v2 2/3] iommu: amd: Add support for RMP_PAGE_FAULT and RMP_HW_ERR

2020-09-23 Thread Suravee Suthikulpanit
IOMMU SNP support introduces two new IOMMU events: * RMP Page Fault event * RMP Hardware Error event Hence, add reporting functions for these events. Cc: Brijesh Singh Signed-off-by: Suravee Suthikulpanit --- drivers/iommu/amd/amd_iommu_types.h | 2 + drivers/iommu/amd/iommu.c

Re: [PATCH] ipvs: adjust the debug order of src and dst

2020-09-23 Thread Andrew Lunn
On Wed, Sep 23, 2020 at 02:06:25PM +0800, yue longguang wrote: > From: ylg > > adjust the debug order of src and dst when tcp state changes Hi Yue You need to explain why you are doing something, not what you are doing, in the commit message. Andrew

Re: fbcon scrollback broken was Re: Linux 5.9-rc6

2020-09-23 Thread Pavel Machek
Hi! > > The one thing that does show up in the diffstat is the softscroll > > removal (both fbcon and vgacon), and there are people who want to save > > that, but we'll see if some maintainer steps up. I'm not willing to > > resurrect it in the broken form it was in, so I doubt that will happen >

Re: [PATCH v3 00/10] crypto: caam - xts(aes) updates

2020-09-23 Thread Horia Geantă
On 9/22/2020 7:03 PM, Andrei Botila (OSS) wrote: > From: Andrei Botila > > This patch series fixes some problems in CAAM's implementation of xts(aes): > - CAAM until Era 9 can't process XTS with 16B IV > - CAAM can only process in hardware XTS key lengths of 16B and 32B > - These hardware

Re: [PATCH 1/6] pwm: bcm2835: Simplify with dev_err_probe()

2020-09-23 Thread Thierry Reding
On Wed, Aug 26, 2020 at 04:47:42PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/pwm/pwm-bcm2835.c | 10 +++--- > 1

Re: [PATCH v11 3/5] drivers/soc/litex: add LiteX SoC Controller driver

2020-09-23 Thread Jonathan Cameron
On Wed, 23 Sep 2020 12:09:06 +0200 Mateusz Holenko wrote: > From: Pawel Czarnecki > > This commit adds driver for the FPGA-based LiteX SoC > Controller from LiteX SoC builder. > > Co-developed-by: Mateusz Holenko > Signed-off-by: Mateusz Holenko > Signed-off-by: Pawel Czarnecki A few

Re: [PATCH -next] pwm: convert to use DEFINE_SEQ_ATTRIBUTE macro

2020-09-23 Thread Thierry Reding
On Wed, Sep 16, 2020 at 10:50:28AM +0800, Liu Shixin wrote: > Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Liu Shixin > --- > drivers/pwm/core.c | 17 +++-- > 1 file changed, 3 insertions(+), 14 deletions(-) Applied, thanks. Thierry signature.asc

Re: [PATCH 08/10] rpmsg: core: Add RPMSG byte conversion operations

2020-09-23 Thread Dan Carpenter
Hi Mathieu, url: https://github.com/0day-ci/linux/commits/Mathieu-Poirier/rpmsg-Make-RPMSG-name-service-modular/20200922-081745 base:b10b8ad862118bf42c28a98b0f067619aadcfb23 config: i386-randconfig-m021-20200923 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix

RE: [PATCH v2 2/3] media: dt-bindings: media: renesas,drif: Convert to json-schema

2020-09-23 Thread Fabrizio Castro
Hi Geert, Thank you for your feedback! > From: Geert Uytterhoeven > Sent: 23 September 2020 11:07 > > Hi Fabrizio, > > On Wed, Sep 16, 2020 at 1:00 PM Fabrizio Castro > wrote: > > Convert the Renesas DRIF bindings to DT schema and update > > MAINTAINERS accordingly. > > > > Signed-off-by:

Re: [PATCH v3 06/19] dt-bindings: pwm: imx-pwm: Add i.MX 8M compatibles

2020-09-23 Thread Thierry Reding
On Tue, Aug 25, 2020 at 09:35:23PM +0200, Krzysztof Kozlowski wrote: > DTSes with new i.MX 8M SoCs introduce their own compatibles so add them > to fix dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: pwm@3066: > compatible:0: 'fsl,imx8mm-pwm' is not one

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