[PATCH 12/19] staging: wfx: merge wfx_stop_ap() with wfx_reset()

2020-05-15 Thread Jerome Pouiller
From: Jérôme Pouiller wfx_stop_ap() and wfx_reset() do the same thing. Merge them. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/sta.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index e077f42b62dc..7d9

[PATCH 13/19] staging: wfx: fix potential dead lock between join and scan

2020-05-15 Thread Jerome Pouiller
From: Jérôme Pouiller The device disallows to start a scan request between hif_join() and hif_set_bss_params(). The driver is not protected against that. The worst case happens when association is aborted and hif_set_bss_params() never happens. mac80211 would never ask for scan during the associ

[PATCH 07/19] staging: wfx: fix status of dropped frames

2020-05-15 Thread Jerome Pouiller
From: Jérôme Pouiller When wfx_flush() is called, the status of pending frames are reported to mac80211 with random status. mac80211 probably won't interpret this status in this case, but it is cleaner to return a correctly initialized status. Signed-off-by: Jérôme Pouiller --- drivers/staging

Re: [PATCH RFC 4/5] KVM: x86: aggressively map PTEs in KVM_MEM_ALLONES slots

2020-05-15 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Thu, May 14, 2020 at 08:05:39PM +0200, Vitaly Kuznetsov wrote: >> All PTEs in KVM_MEM_ALLONES slots point to the same read-only page >> in KVM so instead of mapping each page upon first access we can map >> everything aggressively. >> >> Suggested-by: Michael S.

Re: [PATCH v1 1/2] MIPS: ath79: ar9331_dpt_module: update led nodes

2020-05-15 Thread Thomas Bogendoerfer
On Sun, May 10, 2020 at 08:03:23AM +0200, Oleksij Rempel wrote: > Fit led nodes to the latest naming schema. > > Signed-off-by: Oleksij Rempel > --- > arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) both patches applied to mips-next. T

Re: [PATCH 3/3] mm: adjust vm_committed_as_batch according to vm overcommit policy

2020-05-15 Thread Feng Tang
On Fri, May 15, 2020 at 03:44:43PM +0800, Michal Hocko wrote: > On Fri 08-05-20 15:25:17, Feng Tang wrote: > > When checking a performance change for will-it-scale scalability > > mmap test [1], we found very high lock contention for spinlock of > > percpu counter 'vm_committed_as': > > Btw. you a

Re: stable/linux-4.4.y bisection: baseline.login on at91-sama5d4_xplained

2020-05-15 Thread Henri Rosten
On Fri, May 15, 2020 at 11:14:00AM +0300, Henri Rosten wrote: > On Tue, May 12, 2020 at 05:15:19PM -0400, Sasha Levin wrote: > > On Tue, May 12, 2020 at 01:29:06PM -0700, Florian Fainelli wrote: > > > > > > > > > On 5/12/2020 4:10 AM, Alexandre Belloni wrote: > > > > Hi, > > > > > > > > On 12/05

Re: [PATCH v2] xfrm: policy: Fix xfrm policy match

2020-05-15 Thread Yuehaibing
Friendly ping... Any plan for this issue? On 2020/4/22 20:53, YueHaibing wrote: > While update xfrm policy as follow: > > ip -6 xfrm policy update src fd00::1/128 dst fd00::2/128 dir in \ > priority 1 mark 0 mask 0x10 > ip -6 xfrm policy update src fd00::1/128 dst fd00::2/128 dir in \ > prio

RE: [PATCH v1 2/2] spi: nor: update page program settings for is25wp256 using post bfpt fixup

2020-05-15 Thread Sagar Kadam
Hi Pratyush, > -Original Message- > From: Pratyush Yadav > Sent: Friday, May 15, 2020 12:35 PM > To: Sagar Kadam > Cc: linux-ri...@lists.infradead.org; linux-kernel@vger.kernel.org; linux- > m...@lists.infradead.org; tudor.amba...@microchip.com; > miquel.ray...@bootlin.com; rich...@nod.a

Re: [V5 PATCH 2/2] ASoC: max98390: Added Amplifier Driver

2020-05-15 Thread Krzysztof Kozlowski
On Fri, 15 May 2020 at 09:08, Steve Lee wrote: > > This is the initial amplifier driver for max98390. > > Signed-off-by: Steve Lee Hi, Your "From" address still does not match the Signed-off-by. Set the author of commit to the signed-off person. Best regards, Krzysztof

Re: [PATCH RFC 0/5] KVM: x86: KVM_MEM_ALLONES memory

2020-05-15 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Thu, May 14, 2020 at 07:22:50PM -0400, Peter Xu wrote: >> On Thu, May 14, 2020 at 03:56:24PM -0700, Sean Christopherson wrote: >> > On Thu, May 14, 2020 at 06:05:16PM -0400, Peter Xu wrote: >> > > E.g., shm_open() with a handle and fill one 0xff page, then remap i

Re: How about just O_EXEC? (was Re: [PATCH v5 3/6] fs: Enable to enforce noexec mounts or file exec through O_MAYEXEC)

2020-05-15 Thread Florian Weimer
* Kees Cook: > Maybe I've missed some earlier discussion that ruled this out, but I > couldn't find it: let's just add O_EXEC and be done with it. It actually > makes the execve() path more like openat2() and is much cleaner after > a little refactoring. Here are the results, though I haven't emai

[PATCH] MAINTAINERS: add lib/livepatch to LIVE PATCHING

2020-05-15 Thread Kamalesh Babulal
Add lib/livepatch to list of livepatching F: patterns in MAINTAINERS. Suggested-by: Jiri Kosina Signed-off-by: Kamalesh Babulal --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8e1eb98d..de4f6af03198 100644 --- a/MAINTAINERS +++ b/MAINTAINE

Re: [PATCH 00/13] Reconcile NUMA balancing decisions with the load balancer v6

2020-05-15 Thread Mel Gorman
On Thu, May 14, 2020 at 05:31:22PM +0200, Peter Zijlstra wrote: > On Wed, May 13, 2020 at 04:30:23PM +0100, Mel Gorman wrote: > > Complete shot in the dark but restore adjust_numa_imbalance() and try > > this > > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index 1a9983da4408..0b

Re: [PATCH] MAINTAINERS: add lib/livepatch to LIVE PATCHING

2020-05-15 Thread Miroslav Benes
On Fri, 15 May 2020, Kamalesh Babulal wrote: > Add lib/livepatch to list of livepatching F: patterns in MAINTAINERS. > > Suggested-by: Jiri Kosina > Signed-off-by: Kamalesh Babulal Acked-by: Miroslav Benes M

[PATCH] printk/kdb: Redirect printk messages into kdb in any context

2020-05-15 Thread Petr Mladek
kdb is able to stop kernel even in NMI context where printk() is redirected to the printk_safe() lockless variant. Move the check and redirect to kdb even in this case. Reported-by: Sumit Garg Tested-by: Sumit Garg Signed-off-by: Petr Mladek --- Sending as proper patch for review. Adding Sergey

Re: [PATCH 5.6 000/118] 5.6.13-rc1 review

2020-05-15 Thread Greg Kroah-Hartman
On Wed, May 13, 2020 at 04:59:52PM -0600, shuah wrote: > On 5/13/20 3:43 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.6.13 release. > > There are 118 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 1/2] MIPS: Loongson: Fix fatal error during GPU init

2020-05-15 Thread Sergei Shtylyov
Hello! On 15.05.2020 5:15, Tiezhu Yang wrote: When ATI Radeon graphics card has been compiled directly into the kernel ^ driver instead of as a module, we should make sure the firmware for the model (check available ones in /lib/firmware/radeon) is built-in to

Re: [PATCH 5.6 000/118] 5.6.13-rc1 review

2020-05-15 Thread Greg Kroah-Hartman
On Wed, May 13, 2020 at 10:04:12AM -0700, Guenter Roeck wrote: > On Wed, May 13, 2020 at 11:43:39AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.6.13 release. > > There are 118 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.6 000/118] 5.6.13-rc1 review

2020-05-15 Thread Greg Kroah-Hartman
On Wed, May 13, 2020 at 10:56:21PM +0530, Naresh Kamboju wrote: > On Wed, 13 May 2020 at 15:22, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.6.13 release. > > There are 118 patches in this series, all will be posted as a response > > to this one. If a

Re: [patch V5 24/38] x86/entry: Provide IDTENTRY_SYSVEC

2020-05-15 Thread Thomas Gleixner
Boris Ostrovsky writes: > On 5/12/20 5:01 PM, Thomas Gleixner wrote: >> + >> +/** >> + * DEFINE_IDTENTRY_SYSVEC - Emit code for system vector IDT entry points >> + * @func: Function name of the entry point >> + * >> + * idtentry_enter/exit() and irq_enter/exit_rcu() are invoked before the >> +

Re: [PATCH v1 0/4] Optimize fw_devlink parsing

2020-05-15 Thread Saravana Kannan
On Thu, May 14, 2020 at 10:35 PM Saravana Kannan wrote: > > When fw_devlink is enabled on hardware with a large number of device > tree nodes, the initial device addition done in > of_platform_default_populate_init() can be very inefficient. This is > because most devices will fail to find all the

Re: [PATCH v2 2/2] MIPS: Fix build errors under CONFIG_HAVE_STD_PC_SERIAL_PORT

2020-05-15 Thread Tiezhu Yang
On 05/15/2020 04:19 PM, Jiaxun Yang wrote: 于 2020年5月15日 GMT+08:00 下午3:54:46, Tiezhu Yang 写到: On 05/15/2020 03:39 PM, Thomas Bogendoerfer wrote: On Fri, May 15, 2020 at 11:23:05AM +0800, Tiezhu Yang wrote: When CONFIG_HAVE_STD_PC_SERIAL_PORT is set, include linux/module.h to fix the following

Re: [PATCH 1/4] hung_task: Move hung_task sysctl interface to hung_task_sysctl.c

2020-05-15 Thread Xiaoming Ni
On 2020/5/15 16:04, Kees Cook wrote: On Fri, May 15, 2020 at 12:33:41PM +0800, Xiaoming Ni wrote: Move hung_task sysctl interface to hung_task_sysctl.c. Use register_sysctl() to register the sysctl interface to avoid merge conflicts when different features modify sysctl.c at the same time. Sign

Re: [PATCH 1/2] MIPS: Loongson: Fix fatal error during GPU init

2020-05-15 Thread Tiezhu Yang
On 05/15/2020 04:51 PM, Sergei Shtylyov wrote: Hello! On 15.05.2020 5:15, Tiezhu Yang wrote: When ATI Radeon graphics card has been compiled directly into the kernel ^ driver Hi Sergei, Thanks for your review, I have been sent v2 with the updated commit messa

Re: [PATCH 1/2] hwrng: iproc-rng200 - Set the quality value

2020-05-15 Thread Lukasz Stelmach
It was <2020-05-15 pią 00:18>, when Lukasz Stelmach wrote: > It was <2020-05-14 czw 22:20>, when Stephan Mueller wrote: >> Am Donnerstag, 14. Mai 2020, 21:07:33 CEST schrieb Łukasz Stelmach: >> >> Hi Łukasz, >> >>> The value has been estimaded by obtainig 1024 chunks of data 128 bytes >>> (1024 bit

Re: [PATCH v4 06/10] dt-bindings: mtd: update STM32 FMC2 NAND controller documentation

2020-05-15 Thread Christophe Kerello
Hi Rob, On 5/14/20 7:55 PM, Rob Herring wrote: On Thu, May 14, 2020 at 11:35 AM Christophe Kerello wrote: Hi Rob, On 5/14/20 5:00 PM, Rob Herring wrote: On Wed, May 06, 2020 at 11:11:15AM +0200, Christophe Kerello wrote: These bindings can be used on SOCs where the FMC2 NAND controller is

Re: [PATCH -next] fs/btrfs: Fix unlocking in btrfs_ref_tree_mod

2020-05-15 Thread Johannes Thumshirn
On 15/05/2020 04:17, Bo YU wrote: > It adds spin_lock() in add_block_entry() but out path does not unlock > it. Which call path doesn't unlock it? There is an out_unlock label with a spin_unlock() right above your insert. So either coverity messed something up or the call path that needs the unlo

Re: [PATCH -tip urgent] x86/unwind/orc: Fix error handling in __unwind_start()

2020-05-15 Thread Miroslav Benes
On Thu, 14 May 2020, Josh Poimboeuf wrote: > The unwind_state 'error' field is used to inform the reliable unwinding > code that the stack trace can't be trusted. Set this field for all > errors in __unwind_start(). > > Also, move the zeroing out of the unwind_state struct to before the ORC > ta

Re: [PATCH 2/3] mm/util.c: make vm_memory_committed() more accurate

2020-05-15 Thread Michal Hocko
On Fri 15-05-20 16:11:09, Feng Tang wrote: > On Fri, May 15, 2020 at 03:23:07PM +0800, Michal Hocko wrote: > > On Fri 08-05-20 15:25:16, Feng Tang wrote: > > > percpu_counter_sum_positive() will provide more accurate info. > > > > Why do we need that? > > This is a preparation for patch 3/3, whic

RE: [PATCH] ALSA: pcm: fix incorrect hw_base increase

2020-05-15 Thread Lu, Brent
> > Is this a bugfix needed for older kernels as well? When did this issue show > up? > > thanks, > > greg k-h It happens when DMA stop moving data from host to DSP/DAI for a long time (> half of buffer time). I know host driver should do something about it. But if not, the HWSYNC will keep in

Re: [PATCH 2/4] proc/sysctl: add shared variables -1

2020-05-15 Thread Xiaoming Ni
On 2020/5/15 16:06, Kees Cook wrote: On Fri, May 15, 2020 at 12:33:42PM +0800, Xiaoming Ni wrote: Add the shared variable SYSCTL_NEG_ONE to replace the variable neg_one used in both sysctl_writes_strict and hung_task_warnings. Signed-off-by: Xiaoming Ni --- fs/proc/proc_sysctl.c | 2 +-

Re: [PATCH 1/2] hwrng: iproc-rng200 - Set the quality value

2020-05-15 Thread Lukasz Stelmach
It was <2020-05-15 pią 10:32>, when Stephan Mueller wrote: > Am Freitag, 15. Mai 2020, 00:18:41 CEST schrieb Lukasz Stelmach: > >> I am running tests using SP800-90B tools and the first issue I can see >> is the warning that samples contain less than 1e6 bytes of data. I know >> little about maths

Re: [PATCH 3/3] mm: adjust vm_committed_as_batch according to vm overcommit policy

2020-05-15 Thread Michal Hocko
On Fri 15-05-20 16:02:10, Feng Tang wrote: > Hi Michal, > > Thanks for the thorough reviews for these 3 patches! > > On Fri, May 15, 2020 at 03:41:25PM +0800, Michal Hocko wrote: > > On Fri 08-05-20 15:25:17, Feng Tang wrote: > > > When checking a performance change for will-it-scale scalability

[PATCH v2] arm64: dts: qcom: apq8016-sbc-d3: Add Qualcomm APQ8016 SBC + D3Camera mezzanine

2020-05-15 Thread Robert Foss
Add device treee support for the Qualcomm APQ8016 SBC, otherwise known as the Dragonboard 410c with the D3Camera mezzanine expansion board. The D3Camera mezzanine ships in a kit with a OmniVision 5640 sensor module, which is what this DT targets. Signed-off-by: Robert Foss --- Changes since v1:

Re: [PATCH 2/2] perf test: Improve pmu event metric testing

2020-05-15 Thread John Garry
On 15/05/2020 00:02, Ian Rogers wrote: On Thu, May 14, 2020 at 2:00 AM John Garry wrote: On 13/05/2020 17:10, Ian Rogers wrote: Out of interest, if we could move the validation of metrics to jevents, how much functionality would we still have here? If we add checking to jevents then the Metr

Re: [PATCH 1/2] hwrng: iproc-rng200 - Set the quality value

2020-05-15 Thread Stephan Mueller
Am Freitag, 15. Mai 2020, 11:01:48 CEST schrieb Lukasz Stelmach: Hi Lukasz, As I mentioned, all that is or seems to be analyzed here is the quality of the cryptographic post-processing. Thus none of the data can be used for getting an idea of the entropy content. That said, the ent value inde

Re: [PATCH 01/10] spi: dw: Add support for polled operation via no IRQ specified in DT

2020-05-15 Thread Lars Povlsen
Serge Semin writes: > Hi Mark > > On Wed, May 13, 2020 at 03:20:50PM +0100, Mark Brown wrote: >> On Wed, May 13, 2020 at 04:00:22PM +0200, Lars Povlsen wrote: >> > With this change a SPI controller can be added without having a IRQ >> > associated, and causing all transfers to be polled. For SPI

Re: [PATCH] MAINTAINERS: add lib/livepatch to LIVE PATCHING

2020-05-15 Thread Jiri Kosina
On Fri, 15 May 2020, Kamalesh Babulal wrote: > Add lib/livepatch to list of livepatching F: patterns in MAINTAINERS. > > Suggested-by: Jiri Kosina > Signed-off-by: Kamalesh Babulal Applied, thanks Kamalesh. -- Jiri Kosina SUSE Labs

Re: [PATCH] hw_breakpoint: Remove unused '__register_perf_hw_breakpoint' declaration

2020-05-15 Thread Bhupesh Sharma
Hi Peter, Frederic, Ingo On Thu, Apr 30, 2020 at 9:49 AM Bhupesh Sharma wrote: > > Hi Mark, > > Thanks for the review. > > On Tue, Apr 28, 2020 at 3:37 PM Mark Rutland wrote: > > > > Hi Bhupesh, > > > > On Tue, Apr 28, 2020 at 02:22:17PM +0530, Bhupesh Sharma wrote: > > > commit b326e9560a28 ("h

Re: [PATCH 0/2] opp: core: add regulators enable and disable

2020-05-15 Thread Marek Szyprowski
Hi Viresh, On 15.05.2020 09:57, Viresh Kumar wrote: > This series reintroduces the usage of regulator_enable/disable() to the > OPP core after the previous attempt was reverted [1] shortly after getting > applied. This time the regulator is enabled only after it is configured > by the OPP core. >

Re: [PATCH 4/8] libbpf hashmap: Localize static hashmap__* symbols

2020-05-15 Thread Jiri Olsa
On Thu, May 14, 2020 at 11:56:20PM -0700, Ian Rogers wrote: > Localize the hashmap__* symbols in libbpf.a. To allow for a version in > libapi. > > Before: > $ nm libbpf.a > ... > 0002088a t hashmap_add_entry > 0001712a t hashmap__append > 00020aa3 T hashmap__capacity >

Re: [PATCH 3/4] watchdog: move watchdog sysctl to watchdog.c

2020-05-15 Thread Xiaoming Ni
On 2020/5/15 16:09, Kees Cook wrote: On Fri, May 15, 2020 at 12:33:43PM +0800, Xiaoming Ni wrote: +static int sixty = 60; This should be const. (Which will require a cast during extra2 assignment.) Sorry, I forgot to append const. Thanks for your guidance. Thanks Xiaoming Ni

Re: [PATCH v3 0/7] firmware: smccc: Add basic SMCCC v1.2 + ARCH_SOC_ID support

2020-05-15 Thread Sudeep Holla
On Fri, May 15, 2020 at 09:50:32AM +0200, Etienne Carriere wrote: > > From: Sudeep Holla > > > > Hi, > > > > This patch series adds support for SMCCCv1.2 ARCH_SOC_ID. > > This doesn't add other changes added in SMCCC v1.2 yet. They will > > follow these soon along with its first user SPCI/PSA-FF.

Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen

2020-05-15 Thread Peter Zijlstra
On Thu, May 14, 2020 at 04:20:42PM +0200, Marco Elver wrote: > On Thu, 14 May 2020 at 16:13, Peter Zijlstra wrote: > > > > On Wed, May 13, 2020 at 03:58:30PM +0200, Marco Elver wrote: > > > On Wed, 13 May 2020 at 15:24, Peter Zijlstra wrote: > > > > > > Also, could not this compiler instrumentati

Re: [PATCH] xhci: Fix log mistake of xhci_start

2020-05-15 Thread Sergei Shtylyov
On 15.05.2020 8:45, jiahao wrote: It is obvious that XCHI_MAX_HALT_USEC is usec, not milliseconds; Replace 'milliseconds' with I don't see 'milliseconds', only 'microseconds'... 'usec' of the debug message. Signed-off-by: jiahao --- drivers/usb/host/xhci.c | 2 +- 1 file changed,

Re: [PATCH -next] fs/btrfs: Fix unlocking in btrfs_ref_tree_mod

2020-05-15 Thread Bo YU
Hi, On Fri, May 15, 2020 at 5:03 PM Johannes Thumshirn wrote: > > On 15/05/2020 04:17, Bo YU wrote: > > It adds spin_lock() in add_block_entry() but out path does not unlock > > it. > > Which call path doesn't unlock it? There is an out_unlock label with a > spin_unlock() right above your insert.

Re: [PATCH 2/2] firmware: psci: support SMCCC v1.2 for SMCCC conduit

2020-05-15 Thread Sudeep Holla
On Thu, May 14, 2020 at 04:56:53PM +0200, Etienne Carriere wrote: > On Thu, 14 May 2020 at 16:24, Sudeep Holla wrote: > > > > On Thu, May 14, 2020 at 10:21:09AM +0200, Etienne Carriere wrote: > > > Update PSCI driver to support SMCCC v1.2 reported by secure firmware > > > and indirectly make SMCCC

Re: [PATCH v12 00/18] Enable FSGSBASE instructions

2020-05-15 Thread Jarkko Sakkinen
On Mon, 2020-05-11 at 00:52 -0400, Sasha Levin wrote: > Benefits: > Currently a user process that wishes to read or write the FS/GS base must > make a system call. But recent X86 processors have added new instructions > for use in 64-bit mode that allow direct access to the FS and GS segment > base

Re: [Linux-stm32] [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-15 Thread dillon min
Hi Benjamin, thanks for reply. On Fri, May 15, 2020 at 4:31 PM Benjamin GAIGNARD wrote: > > > > On 5/14/20 3:07 PM, dillon min wrote: > > Hi Alexandre, > > > > On Thu, May 14, 2020 at 8:53 PM Alexandre Torgue > > wrote: > >> > >> > >> On 5/14/20 10:24 AM, Linus Walleij wrote: > >>> On Tue, May

linux-next: manual merge of the notifications tree with the vfs tree

2020-05-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the notifications tree got a conflict in: fs/mount.h between commit: 9f6c61f96f2d ("proc/mounts: add cursor") from the vfs tree and commit: cd7109637b0b ("watch_queue: Implement mount topology and attribute change notifications") from the notificati

Re: [PATCH] i2c: at91: Restore pinctrl state if can't get scl/sda gpios

2020-05-15 Thread Wolfram Sang
On Wed, May 13, 2020 at 02:13:22PM +0300, Codrin Ciubotariu wrote: > If there is a strict pinmux or if simply the scl/sda gpios are missing, > the pins will remain in gpio mode, compromizing the I2C bus. > Change to the default state of the pins before returning the error. > > Fixes: a53acc7ebf27

[PATCH] Bluetooth: Add SCO fallback for invalid LMP parameters error

2020-05-15 Thread Hsin-Yu Chao
From: Hsin-Yu Chao Bluetooth PTS test case HFP/AG/ACC/BI-12-I accepts SCO connection with invalid parameter at the first SCO request expecting AG to attempt another SCO request with the use of "safe settings" for given codec, base on section 5.7.1.2 of HFP 1.7 specification. This patch addresses

Re: [PATCH 5/5] PCI: uniphier: Add error message when failed to get phy

2020-05-15 Thread Kunihiko Hayashi
improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Kunihiko-Hayashi/PCI-uniphier-Add-features-for-UniPhier-PCIe-host-controller/20200

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

2020-05-15 Thread Guido Günther
Hi Laurentiu, On Fri, Mar 06, 2020 at 02:49:26PM +0200, 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-th

Re: [PATCH v29 00/20] Intel SGX foundations

2020-05-15 Thread Jarkko Sakkinen
On Thu, 2020-05-14 at 18:20 +0200, Borislav Petkov wrote: > On Thu, May 14, 2020 at 09:15:59AM -0700, Sean Christopherson wrote: > > I'm not opposed to adding a kernel param to disable SGX. At one point > > there was a proposal to extend clearcpuid to allow disabling multiple > > feature bits, but

[PATCH v6 2/2] dt-bindings: usb: qcom,dwc3: Add compatible for SC7180

2020-05-15 Thread Sandeep Maheswaram
Add compatible for SC7180 in usb dwc3 bindings. Signed-off-by: Sandeep Maheswaram Reviewed-by: Douglas Anderson Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH v6 1/2] dt-bindings: usb: qcom,dwc3: Convert USB DWC3 bindings

2020-05-15 Thread Sandeep Maheswaram
Convert USB DWC3 bindings to DT schema format using json-schema. Signed-off-by: Sandeep Maheswaram --- .../devicetree/bindings/usb/qcom,dwc3.txt | 104 - .../devicetree/bindings/usb/qcom,dwc3.yaml | 162 + 2 files changed, 162 insertions(+), 104 d

[PATCH v6 0/2] Add USB DWC3 support for SC7180

2020-05-15 Thread Sandeep Maheswaram
Converting dt binding to yaml. Adding compatible for SC7180 in dt bindings. Changes in v6: Addressed the comments from Stephen on interrupts. Added ranges property and dropped maxItems field for assigned-clock-rates. Changes in v5: Addressed the comments from Stephen in yaml file. Changes in v4:

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

2020-05-15 Thread Marco Felsch
Hi, On 20-05-15 14:20, Fengping Yu wrote: > From: "fengping.yu" > > This adds matrix keypad support for Mediatek SoCs. > > Signed-off-by: fengping.yu > --- > drivers/input/keyboard/Kconfig | 9 ++ > drivers/input/keyboard/Makefile | 1 + > drivers/input/keyboard/mtk-kpd.c | 231 +++

Re: [PATCH v4 3/9] usb: dwc3: Increase timeout for CmdAct cleared by device controller

2020-05-15 Thread Felipe Balbi
Hi, Jun Li writes: >> @@ -397,12 +407,18 @@ int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, >> unsigned cmd, >> dwc3_gadget_ep_get_transfer_index(dep); >> } >> >> - if (saved_config) { >> + if (saved_hs_config) { >> reg = dwc3_readl(d

Re: [PATCH v2 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-15 Thread Jan Kara
On Thu 14-05-20 21:41:19, ira.we...@intel.com wrote: > From: Ira Weiny > > We add 'always', 'never', and 'inode' (default). '-o dax' continues to > operate the same which is equivalent to 'always'. This new > functionality is limited to ext4 only. > > Specifically we introduce a 2nd DAX mount

Re: [RFC][PATCH 3/4] dma-buf: cma_heap: Extend logic to export CMA regions tagged with "linux,cma-heap"

2020-05-15 Thread Brian Starkey
On Thu, May 14, 2020 at 09:52:35AM -0500, Rob Herring wrote: > On Wed, May 13, 2020 at 5:44 AM Brian Starkey wrote: > > > > Hi Rob, > > > > On Tue, May 12, 2020 at 11:37:14AM -0500, Rob Herring wrote: > > > On Mon, May 04, 2020 at 10:06:28AM +0100, Brian Starkey wrote: > > > > On Fri, May 01, 2020

Re: [Linux-stm32] [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-15 Thread Benjamin GAIGNARD
On 5/15/20 11:24 AM, dillon min wrote: > Hi Benjamin, > > thanks for reply. > > On Fri, May 15, 2020 at 4:31 PM Benjamin GAIGNARD > wrote: >> >> >> On 5/14/20 3:07 PM, dillon min wrote: >>> Hi Alexandre, >>> >>> On Thu, May 14, 2020 at 8:53 PM Alexandre Torgue >>> wrote: On 5/14/20 10

Re: [PATCH v2] arm: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver

2020-05-15 Thread Faiz Abbas
Hi Tony, On 13/05/20 9:53 pm, Tony Lindgren wrote: > * Faiz Abbas [200512 13:39]: >> Move mmc nodes to be compatible with the sdhci-omap driver. The following >> modifications are required for omap_hsmmc specific properties: >> >> ti,non-removable: convert to the generic mmc non-removable >> ti,n

Re: [PATCH] firmware: arm_scmi: fix SMCCC_RET_NOT_SUPPORTED management

2020-05-15 Thread Sudeep Holla
On Thu, May 14, 2020 at 05:06:22PM +0200, Etienne Carriere wrote: > On Thu, 14 May 2020 at 16:29, Sudeep Holla wrote: > > > > On Thu, May 14, 2020 at 10:24:28AM +0200, Etienne Carriere wrote: > > > Fix management of argument a0 output value of arm_smccc_1_1_invoke() that > > > should consider only

Re: [patch V4 part 1 14/36] x86/entry: Get rid of ist_begin/end_non_atomic()

2020-05-15 Thread Thomas Gleixner
Mathieu Desnoyers writes: > - On May 5, 2020, at 9:16 AM, Thomas Gleixner t...@linutronix.de wrote: > >> This is completely overengineered and definitely not an interface which >> should be made available to anything else than this particular MCE case. > > This patch introduces a significant

Re: [PATCH -next] fs/btrfs: Fix unlocking in btrfs_ref_tree_mod

2020-05-15 Thread Johannes Thumshirn
On 15/05/2020 11:24, Bo YU wrote: > Hi, > On Fri, May 15, 2020 at 5:03 PM Johannes Thumshirn > wrote: >> >> On 15/05/2020 04:17, Bo YU wrote: >>> It adds spin_lock() in add_block_entry() but out path does not unlock >>> it. >> >> Which call path doesn't unlock it? There is an out_unlock label with

[PATCH] ACPI: GED: add support for _Exx / _Lxx handler methods

2020-05-15 Thread Ard Biesheuvel
Per the ACPI spec, interrupts in the range [0, 255] may be handled in AML using individual methods whose naming is based on the format _Exx or _Lxx, where xx is the hex representation of the interrupt index. Add support for this missing feature to our ACPI GED driver. Cc: "Rafael J. Wysocki" Cc:

RE: [PATCH] ALSA: pcm: fix incorrect hw_base increase

2020-05-15 Thread Lu, Brent
> > Updating hw_ptr_jiffies at that code path looks correct, but it still leaves > the > question why this condition happens. It means that the actual hwptr isn't > changed and yet only jiffies increase significantly; it means that the > hardware > can't report proper pointer, and it should hav

Re: [PATCH v2] arm64: dts: ti: k3-am654-main: Update otap-del-sel values

2020-05-15 Thread Faiz Abbas
Tero, On 07/05/20 11:45 pm, Faiz Abbas wrote: > According to the latest AM65x Data Manual[1], a different output tap > delay value is optimum for a given speed mode. Update these values. > > [1] http://www.ti.com/lit/gpn/am6526 > > Signed-off-by: Faiz Abbas > --- > v2: Rebased to the latest mai

Ressurect the atomisp staging driver - current progress

2020-05-15 Thread Mauro Carvalho Chehab
Hi, I've been trying to ressurrect the driver for the Atom camera hardware, for systems based on ISP2401, e. g. the ones with this ISP: 00:03.0 Multimedia controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit (rev ff) (prog-if ff)

Re: [PATCH] ALSA: pcm: fix incorrect hw_base increase

2020-05-15 Thread Jaroslav Kysela
Dne 15. 05. 20 v 11:04 Lu, Brent napsal(a): Is this a bugfix needed for older kernels as well? When did this issue show up? thanks, greg k-h It happens when DMA stop moving data from host to DSP/DAI for a long time (> half of buffer time). I know host driver should do something about it. Bu

Re: [PATCH v2 1/2] MAINTAINERS: add maintainer for mediatek i2c controller driver

2020-05-15 Thread Wolfram Sang
On Thu, May 14, 2020 at 09:09:04PM +0800, Qii Wang wrote: > Add Qii Wang as maintainer for mediatek i2c controller driver. > > Signed-off-by: Qii Wang Applied to for-current, thanks for stepping up! signature.asc Description: PGP signature

Re: [RFC PATCH] kbuild: add variables for compression tools

2020-05-15 Thread Denis Efremov
It seems that I missed a couple of tar commands in the patch: scripts/Makefile.package scripts/package/buildtar On 5/15/20 5:20 AM, Masahiro Yamada wrote: > On Thu, May 14, 2020 at 10:14 PM Denis Efremov wrote: >> > > commit 5054e88a7934d5ff5ec14231c8b8676161bb45fa > Author: Paul Eggert > Date:

Re: [PATCH 4/4] sysctl: Add register_sysctl_init() interface

2020-05-15 Thread Xiaoming Ni
On 2020/5/15 16:10, Kees Cook wrote: On Fri, May 15, 2020 at 12:33:44PM +0800, Xiaoming Ni wrote: In order to eliminate the duplicate code for registering the sysctl interface during the initialization of each feature, add the register_sysctl_init() interface I think this should come before th

Re: [PATCH v2 2/2] i2c: mediatek: Add i2c ac-timing adjust support

2020-05-15 Thread Wolfram Sang
On Thu, May 14, 2020 at 09:09:05PM +0800, Qii Wang wrote: > This patch adds a algorithm to calculate some ac-timing parameters > which can fully meet I2C Spec. > > Signed-off-by: Qii Wang Applied to for-next, thanks! signature.asc Description: PGP signature

linux-next: manual merge of the notifications tree with the vfs tree

2020-05-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the notifications tree got conflicts in: arch/alpha/kernel/syscalls/syscall.tbl arch/arm/tools/syscall.tbl arch/arm64/include/asm/unistd.h arch/arm64/include/asm/unistd32.h arch/ia64/kernel/syscalls/syscall.tbl arch/m68k/kernel/syscalls/syscall.tbl

[PATCH] rtl8723bs: core: fix a coding style error

2020-05-15 Thread heshuai1
Fix this coding style error reported by checkpatch.pl: ERROR: do not use assignment in if condition #1120: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:1120:: + if ((addr = of_get_property(np, "local-mac-address", &len)) && Signed-off-by: heshuai1 --- drivers/staging/rtl8723bs

Re: [PATCH v29 00/20] Intel SGX foundations

2020-05-15 Thread Borislav Petkov
On Fri, May 15, 2020 at 12:28:54PM +0300, Jarkko Sakkinen wrote: > Uh oh, should probably address this. Should I send v31 today with a "nosgx" > patch added? Sorry for missing this one :-/ Not the whole thing - just the one patch as a reply to your thread pls. Thx. -- Regards/Gruss, Boris.

[PATCH] iommu: Implement deferred domain attachment

2020-05-15 Thread Joerg Roedel
From: Joerg Roedel The IOMMU core code has support for deferring the attachment of a domain to a device. This is needed in kdump kernels where the new domain must not be attached to a device before the device driver takes it over. But this needs support from the dma-ops code too, to actually do

Re: [PATCH V2] dynamic_debug: Add an option to enable dynamic debug for modules only

2020-05-15 Thread Petr Mladek
On Thu 2020-04-23 00:02:48, Orson Zhai wrote: > On Wed, Apr 22, 2020 at 10:25 PM Leon Romanovsky wrote: > > > > On Wed, Apr 22, 2020 at 09:06:08PM +0800, Orson Zhai wrote: > > > On Tue, Apr 21, 2020 at 3:10 AM Leon Romanovsky wrote: > > > My motivation came from the concept of GKI (Generic Kernel

Re: [PATCH v4 4/4] thermal: cpuidle: Register cpuidle cooling device

2020-05-15 Thread Sudeep Holla
On Mon, May 04, 2020 at 08:00:01PM +0200, Daniel Lezcano wrote: > > Hi, > > On 29/04/2020 23:01, Daniel Lezcano wrote: > > On 29/04/2020 22:02, Lukasz Luba wrote: > >> > >> > >> On 4/29/20 11:36 AM, Daniel Lezcano wrote: > >>> The cpuidle driver can be used as a cooling device by injecting idle > >

Re: [PATCH] firmware: arm_scmi: fix SMCCC_RET_NOT_SUPPORTED management

2020-05-15 Thread Etienne Carriere
> > Or consider part of the SCMI-SMC transport API that output arg a0 > > shall be 0 on success, SMCCC_RET_NOT_SUPPORTED if function ID is not > > supported and any non-zero value for non-generic **error** codes. > > > > I prefer that. Anyways I will check and if anything changes I will ping > back

RE: [EXT] Re: [PATCH v7 0/6] Add new series Micron SPI NAND devices

2020-05-15 Thread Shivamurthy Shastri (sshivamurthy)
Hi Naresh and Poonam, > Subject: [EXT] Re: [PATCH v7 0/6] Add new series Micron SPI NAND devices > > Hi Poonam, > > Poonam Aggrwal wrote on Fri, 15 May 2020 > 05:29:07 +: > > > Adding Ashish. > > > > Regards > > Poonam > > > > > -Original Message- > > > From: Naresh Kamboju > > >

[PATCH v2 4/5] PCI: uniphier: Add iATU register support

2020-05-15 Thread Kunihiko Hayashi
This gets iATU register area from reg property. In Synopsis DWC version 4.80 or later, since iATU register area is separated from core register area, this area is necessary to get from DT independently. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 7 +++ 1

[PATCH v2 1/5] PCI: dwc: Add msi_host_isr() callback

2020-05-15 Thread Kunihiko Hayashi
This adds msi_host_isr() callback function support to describe SoC-dependent service triggered by MSI. For example, when AER interrupt is triggered by MSI, the callback function reads SoC-dependent registers and detects that the interrupt is from AER, and invoke AER interrupts related to MSI. Sig

[PATCH v2 3/5] dt-bindings: PCI: uniphier: Add iATU register description

2020-05-15 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsis DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/pci/uniphier-pcie.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindi

[PATCH v2 2/5] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-05-15 Thread Kunihiko Hayashi
The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. This adds the function uniphier_pcie_misc_isr() that handles misc intterupts, which is called from both INTx and MSI handlers. This function dete

[PATCH v2 0/5] PCI: uniphier: Add features for UniPhier PCIe host controller

2020-05-15 Thread Kunihiko Hayashi
This series adds some features for UniPhier PCIe host controller. - Add support for PME and AER invoked by MSI interrupt - Add iATU register view support for PCIe version >= 4.80 - Add an error message when failing to get phy driver This adds a new function called by MSI handler in DesignWare PCI

[PATCH v2 5/5] PCI: uniphier: Add error message when failed to get phy

2020-05-15 Thread Kunihiko Hayashi
Even if phy driver doesn't probe, the error message can't be distinguished from other errors. This displays error message caused by the phy driver explicitly. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(

Re: [PATCH 2/2 V4] MM: Discard NR_UNSTABLE_NFS, use NR_WRITEBACK instead.

2020-05-15 Thread Jan Kara
On Wed 13-05-20 17:18:29, NeilBrown wrote: > > After an NFS page has been written it is considered "unstable" until a > COMMIT request succeeds. If the COMMIT fails, the page will be > re-written. > > These "unstable" pages are currently accounted as "reclaimable", either > in WB_RECLAIMABLE, or

Re: [PATCH 2/3] ASoC: fsl_esai: Add support for imx8qm

2020-05-15 Thread Shengjiu Wang
On Tue, May 12, 2020 at 8:38 PM Mark Brown wrote: > > On Tue, May 12, 2020 at 10:48:41AM +0800, Shengjiu Wang wrote: > > On Wed, May 6, 2020 at 10:33 AM Shengjiu Wang > > wrote: > > > On Fri, May 1, 2020 at 6:23 PM Mark Brown wrote: > > > > > > EDMA requires the period size to be multiple of ma

RE: [EXT] Re: [PATCH v7 0/6] Add new series Micron SPI NAND devices

2020-05-15 Thread Suram Suram
+Ron who owns the test on this platform in NXP. -Original Message- From: Shivamurthy Shastri (sshivamurthy) Sent: Friday, May 15, 2020 3:29 PM To: Poonam Aggrwal ; Naresh Kamboju Cc: Miquel Raynal ; shiva.linuxwo...@gmail.com; Ashish Kumar ; Richard Weinberger ; Vignesh Raghavendra ;

Re: [PATCH] rtl8723bs: core: fix a coding style error

2020-05-15 Thread Greg KH
On Fri, May 15, 2020 at 05:40:44PM +0800, heshuai1 wrote: > Fix this coding style error reported by checkpatch.pl: > ERROR: do not use assignment in if condition > #1120: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:1120:: > +if ((addr = of_get_property(np, "local-mac-address", &l

[PATCH] dm: replace strncpy() with strscpy()

2020-05-15 Thread Miles Chen
Replace strncpy() with strscpy() to guarantee a NULL-terminated string. Detected by Coverity. Signed-off-by: Miles Chen --- drivers/md/dm-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index ac83f5002ce5..4dc3658e3351 10

Re: [PATCH v2 23/33] iommu/mediatek-v1 Convert to probe/release_device() call-backs

2020-05-15 Thread Joerg Roedel
Hi, On Fri, May 15, 2020 at 03:44:59PM +0800, Yong Wu wrote: > On Tue, 2020-04-14 at 15:15 +0200, Joerg Roedel wrote: > > - return iommu_device_link(&data->iommu, dev); > > + err = arm_iommu_attach_device(dev, mtk_mapping); > > + if (err) > > + dev_err(dev, "Can't create IOMMU mapp

RE: [PATCH v4 3/9] usb: dwc3: Increase timeout for CmdAct cleared by device controller

2020-05-15 Thread Jun Li
> -Original Message- > From: Felipe Balbi On Behalf Of Felipe Balbi > Sent: 2020年5月15日 17:31 > To: Jun Li > Cc: John Stultz ; lkml > ; Yu > Chen ; Greg Kroah-Hartman ; > Rob > Herring ; Mark Rutland ; ShuFan Lee > ; Heikki Krogerus ; > Suzuki K Poulose ; Chunfeng Yun > ; Hans de Goede

[PATCH] ftrace: show debugging information when panic_on_warn set

2020-05-15 Thread Cheng Jian
When an anomaly is detected in the function call modification code, ftrace_bug() is called to disable function tracing as well as give some warn and information that may help debug the problem. But currently, we call FTRACE_WARN_ON_ONCE() first in ftrace_bug(), so when panic_on_warn is set, we can

Re: [PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-15 Thread Christian Gmeiner
Am Mo., 11. Mai 2020 um 14:38 Uhr schrieb Christian Gmeiner : > > The GC860 has one GPU device which has a 2d and 3d core. In this case > we want to expose perfmon information for both cores. > > The driver has one array which contains all possible perfmon domains > with some meta data - doms_meta.

<    1   2   3   4   5   6   7   8   9   10   >