Re: [REVIEW][PATCH 00/15] signal/arm64: siginfo cleanups

2018-09-27 Thread Eric W. Biederman
Catalin Marinas writes: > Hi Eric, > > On Mon, Sep 24, 2018 at 11:07:05AM +0200, Eric W. Biederman wrote: >> This is the continuation of my work to sort out signaling of exceptions >> with siginfo. The old signal sending functions by taking a siginfo >> argument resulted in their callers having

Re: [PATCH v6 6/7] KVM: x86: hyperv: optimize kvm_hv_flush_tlb() for vp_index == vcpu_idx case

2018-09-27 Thread Roman Kagan
On Wed, Sep 26, 2018 at 07:02:58PM +0200, Vitaly Kuznetsov wrote: > VP inedx almost always matches VCPU and when it does it's faster to walk > the sparse set instead of all vcpus. > > Signed-off-by: Vitaly Kuznetsov > --- > arch/x86/kvm/hyperv.c | 96 +++ >

Notification - emailchecker.ninja

2018-09-27 Thread emailchecker.ninja
Hello, Your received this message because your email address linux-kernel@vger.kernel.org was just verified on https://emailchecker.ninja. https://emailchecker.ninja is a free email verification tool that can be used by anyone to verify or find email contacts. Our ethics: - We are notifying a ve

[PATCH] btsdio: Do not bind to non-removable BCM43430

2018-09-27 Thread Cho, Yu-Chen
BCM43430 devices soldered onto the PCB (non-removable) use an UART connection for bluetooth. But also advertise btsdio support on their 3th sdio function. Signed-off-by: Cho, Yu-Chen --- drivers/bluetooth/btsdio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/blue

Re: [PATCH 00/10] GICv3 support for kexec/kdump on EFI systems

2018-09-27 Thread Bhupesh Sharma
Hi Marc, On 09/22/2018 01:29 AM, Marc Zyngier wrote: The GICv3 architecture has the remarkable feature that once LPI tables have been assigned to redistributors and that LPI delivery is enabled, there is no guarantee that LPIs can be turned off (and most implementations do not allow it), nor can

Re: [PATCH] btsdio: Do not bind to non-removable BCM43430

2018-09-27 Thread Marcel Holtmann
Hi Yu-Chen, > BCM43430 devices soldered onto the PCB (non-removable) > use an UART connection for bluetooth. > But also advertise btsdio support on their 3th sdio function. > > Signed-off-by: Cho, Yu-Chen > --- > drivers/bluetooth/btsdio.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] clocksource/drivers/timer-atmel-pit: properly handle error cases

2018-09-27 Thread Daniel Lezcano
On 26/09/2018 14:38, Nicolas Ferre wrote: > Daniel, > > On 01/05/2018 at 10:36, Daniel Lezcano wrote: >> On Wed, Apr 25, 2018 at 12:14:39PM +0200, Alexandre Belloni wrote: >>> smatch now reports a possible leak: >>> >>> smatch warnings: >>> drivers/clocksource/timer-atmel-pit.c:183 at91sam926x_pit

Re: [PATCH v4 14/16] sched/core: uclamp: request CAP_SYS_ADMIN by default

2018-09-27 Thread Quentin Perret
On Tuesday 25 Sep 2018 at 17:49:56 (+0200), Peter Zijlstra wrote: > I really don't see how changing the unit changes anything. Either you > want to relate to OPPs and those are exposed in 1/1024 unit capacity > through the EAS files, or you don't and then the knob has no meaning. FWIW, with the la

Re: [PATCH] printk: CON_PRINTBUFFER console registration is a bit racy

2018-09-27 Thread Steven Rostedt
On Wed, 26 Sep 2018 13:37:15 +0200 Petr Mladek wrote: > If you really want this change, please add a comment, for example: > > /* > * Set exclusive_console still with disabled interrupts to > * reduce race window with eventual console_flush_on_panic() > * that ignores console_lock. > */ > >

RE: [PATCH v3 4/5] KVM/x86/vPMU: Add APIs to support host save/restore the guest lbr stack

2018-09-27 Thread Wang, Wei W
On Thursday, September 20, 2018 11:31 PM, Andi Kleen wrote: > > +int intel_pmu_enable_save_guest_lbr(struct kvm_vcpu *vcpu) { > > + struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); > > + struct perf_event *event; > > + struct perf_event_attr attr = { > > + .type = PERF_TYPE_RAW, > > +

[PATCH] EDAC, altera: work around int-to-pointer-cast warnings

2018-09-27 Thread Arnd Bergmann
The altera edac driver passes a token from a DT resource as resource_size_t into an SMC call, but casts it to an __iomem pointer and then a plain void pointer inbetween, mixing three or four incompatible types in the process. The compiler complains about one of the conversions: drivers/edac/altera

[PATCH] RDMA/ucontext: fix building with CONFIG_MMU=n

2018-09-27 Thread Arnd Bergmann
The zap_vma_ptes() is declared but not defined on NOMMU kernels, causing a link error for the newly added uverbs code: drivers/infiniband/core/uverbs_main.o: In function `uverbs_user_mmap_disassociate': uverbs_main.c:(.text+0x114c): undefined reference to `zap_vma_ptes' drivers/infiniband/core/uv

RE: [PATCH v3 4/5] KVM/x86/vPMU: Add APIs to support host save/restore the guest lbr stack

2018-09-27 Thread Wang, Wei W
On Friday, September 21, 2018 12:24 AM, Peter Zijlstra wrote: > On Thu, Sep 20, 2018 at 08:30:35AM -0700, Andi Kleen wrote: > > > +int intel_pmu_enable_save_guest_lbr(struct kvm_vcpu *vcpu) { > > > + struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); > > > + struct perf_event *event; > > > + struct perf_even

Re: [PATCH] drm/rockchip: typo: selet->select

2018-09-27 Thread Heiko Stuebner
Hi Marty, Am Sonntag, 23. September 2018, 16:20:05 CEST schrieb Marty E. Plummer: > Signed-off-by: Marty E. Plummer > --- > drivers/gpu/drm/rockchip/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/rockchip/Kconfig > b/drivers/gpu/drm/rockc

Re: [PATCH v4 06/16] sched/cpufreq: uclamp: add utilization clamping for FAIR tasks

2018-09-27 Thread Quentin Perret
On Friday 14 Sep 2018 at 14:57:12 (+0100), Patrick Bellasi wrote: > On 14-Sep 15:36, Peter Zijlstra wrote: > > On Fri, Sep 14, 2018 at 02:19:19PM +0100, Patrick Bellasi wrote: > > > On 14-Sep 11:32, Peter Zijlstra wrote: > > > > > > Should that not be: > > > > > > > > util = clamp_util(rq

Re: [PATCH v3.1 1/2] device property: Add device_get_bd_address() and fwnode_get_bd_address()

2018-09-27 Thread Marcel Holtmann
Hi Heikki, >> +/** >> + * fwnode_get_bd_address - Get the Bluetooth Device Address (BD_ADDR) from >> the >> + * firmware node >> + * @fwnode: Pointer to the firmware node >> + * @bd_addr:Pointer to struct to store the BD address in >> + * >> + * Search the firmware

Re: [PATCH] Bluetooth: btrtl: Make array extension_sig static, shrinks object size

2018-09-27 Thread Marcel Holtmann
Hi Colin, > Don't populate the array extension_sig on the stack but instead make it > static. Makes the object code smaller by 75 bytes: > > Before: > text data bss dec hex filename > 14325 4920 0 192454b2d drivers/bluetooth/btrtl.o > > After: > t

Re: [PATCH v3] Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990

2018-09-27 Thread Marcel Holtmann
Hi Balakrishna, > This patch enables power off support for hci down and power on support > for hci up. As wcn3990 power sources are ignited by regulators, we will > turn off them during hci down, i.e. an complete power off of wcn3990. > So while hci up, will call vendor setup which will turn on th

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-27 Thread houlong wei
On Thu, 2018-09-27 at 15:50 +0800, Matthias Brugger wrote: > > On 27/09/2018 03:57, houlong wei wrote: [...] > >>> + > >>> +static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, enum cmdq_code > >>> code, > >>> +u32 arg_a, u32 arg_b) > >>> +{ > >>> + u64 *cmd_ptr; >

RE: [RFC PATCH v2 1/2] dt-bindings: phy: Document cadence Sierra PHY bindings

2018-09-27 Thread Alan Douglas
On 25 September 2018 22:02, Rob Herring wrote: > On Thu, Sep 06, 2018 at 03:42:29PM +0100, Alan Douglas wrote: > > Add DT binding documentation for Sierra PHY. The PHY supports > > a number of different protocols, including PCIe and USB. > > > > The PHY lanes may be configured as single or multi-l

Re: [PATCH] [PATCH] Bluetooth: hci_serdev: Fixed error space required before open paranethesis

2018-09-27 Thread Marcel Holtmann
Hi Jagdish, > Fixed error in space required before paranthesis > in drivers/bluetooth/hci_serdev.c > > Signed-off-by: Jagdish Tirumala > --- > drivers/bluetooth/hci_serdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel

Re: [PATCH 4.18 74/88] drm/atomic: Use drm_drv_uses_atomic_modeset() for debugfs creation

2018-09-27 Thread Holger Hoffstätte
On 09/27/18 11:03, Greg Kroah-Hartman wrote: 4.18-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 3c499ea0c662e2f38aafbd4f516b08aab8cfa0e5 upstream. As pointed out by Daniel Vetter, we should be usinng drm_drv_uses_atomic_mod

[RESEND PATCH v2] misc: card_utils: remove duplicated include file

2018-09-27 Thread zhong jiang
delay.h and dma-mapping.h have duplicated include. hence just remove redundant file. Signed-off-by: zhong jiang --- v1->v2: - modify the subject drivers/misc/genwqe/card_utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/misc/genwqe/card_utils.c b/drivers/misc/genwqe/card_uti

Re: [ftrace/kprobes PATCH 0/3] tracing: probeevent: Fix module symbol probing

2018-09-27 Thread Masami Hiramatsu
Hello Steve, Could you also include this series to the branch? Thank you, On Wed, 29 Aug 2018 01:17:18 +0900 Masami Hiramatsu wrote: > Hi, > > This series is for fixing some bugs in Steve's ftrace/kprobes branch. > > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > >

Re: [PATCH] Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth

2018-09-27 Thread Marcel Holtmann
Hi Christian, > This patch adds the device ID for the AMPAK AP6335 combo module used > in the 1st generation WeTek Hub Android/LibreELEC HTPC box. The WiFI > chip identifies itself as BCM4339, while Bluetooth identifies itself > as BCM4335 (rev C0): > > ``` > [4.864248] Bluetooth: hci0: BCM:

Re: [PATCH v2] arm64: dts: allwinner: a64-olinuxino: set the PHY TX delay

2018-09-27 Thread Chen-Yu Tsai
On Thu, Sep 27, 2018 at 3:49 AM Rodrigo Exterckötter Tjäder wrote: > > The PHY found on the A64-OLinuXino requires a TX delay in order to > operate properly. Olimex uses a 600ps second delay in their BSP, and > that has been found to work, so let's use that value in the current > DT. > > Signed-of

[PATCH -next] VMCI: remove set but not used variable 'cid'

2018-09-27 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/misc/vmw_vmci/vmci_host.c: In function 'vmci_host_do_alloc_queuepair': drivers/misc/vmw_vmci/vmci_host.c:450:6: warning: variable 'cid' set but not used [-Wunused-but-set-variable] u32 cid; ^ Signed-off-by: YueHaibing --- drivers/m

Re: [PATCH v3 3/4] devres: provide devm_kstrdup_const()

2018-09-27 Thread Rasmus Villemoes
On 2018-09-27 01:13, Kees Cook wrote: > On Mon, Sep 24, 2018 at 3:11 AM, Bartosz Golaszewski wrote: >> Provide a resource managed version of kstrdup_const(). This variant >> internally calls devm_kstrdup() on pointers that are outside of >> .rodata section and returns the string as is otherwise. >

Re: [PATCH V3] Bluetooth: bt3c_cs: Fix obsolete function

2018-09-27 Thread Marcel Holtmann
Hi Ding, > simple_strtol and simple_strtoul are obsolete, both place > use kstrtouint instead. > > V2: fix error tmp += tn > V3: fix compile error > > Signed-off-by: Ding Xiang > --- > drivers/bluetooth/bt3c_cs.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) patch has been ap

Re: Code of Conduct, more attacks on Ted Ts'o

2018-09-27 Thread Christoph Conrads
> But I'd like to bring to your attention > the following Twitter items, which I haven't seen mentioned in the > messages. > [Context > > https://mobile.twitter.com/_sagesharp_/status/1042959402712657921 > Sage Sharp @_sagesharp_ · Sep 20 > My statement was "I don't want Ted Tso reviewing Code of

Re: [PATCH 2/2] mmc: sdhci-msm: Re-initialize DLL if MCLK is gated dynamically

2018-09-27 Thread Veerabhadrarao Badiganti
Hi Doug, On 9/26/2018 3:58 AM, Doug Anderson wrote: Hi, On Tue, Sep 25, 2018 at 8:05 AM Veerabhadrarao Badiganti wrote: + /* +* Whenever core-clock is gated dynamically, it's needed to +* re-initialize the DLL when the clock is ungated. +*/ + if (msm_host-

Re: [PATCH v3 3/4] devres: provide devm_kstrdup_const()

2018-09-27 Thread Geert Uytterhoeven
Hi Rasmus, On Thu, Sep 27, 2018 at 12:55 PM Rasmus Villemoes wrote: > On 2018-09-27 01:13, Kees Cook wrote: > > On Mon, Sep 24, 2018 at 3:11 AM, Bartosz Golaszewski wrote: > >> Provide a resource managed version of kstrdup_const(). This variant > >> internally calls devm_kstrdup() on pointers th

Re: [PATCH v6 7/7] KVM: x86: hyperv: implement PV IPI send hypercalls

2018-09-27 Thread Roman Kagan
On Wed, Sep 26, 2018 at 07:02:59PM +0200, Vitaly Kuznetsov wrote: > Using hypercall for sending IPIs is faster because this allows to specify > any number of vCPUs (even > 64 with sparse CPU set), the whole procedure > will take only one VMEXIT. > > Current Hyper-V TLFS (v5.0b) claims that HvCallS

RE: [LINUX PATCH v11 1/3] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-09-27 Thread Naga Sureshkumar Relli
Hi Rob, Thanks for the review. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Wednesday, September 26, 2018 6:48 PM > To: Naga Sureshkumar Relli > Cc: boris.brezil...@bootlin.com; miquel.ray...@bootlin.com; rich...@nod.at; > dw...@infradead.org; computersforpe.

Re: [PATCH v2 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled

2018-09-27 Thread Leonardo Bras
Dear Rolf, On Thu, Sep 27, 2018 at 3:35 AM, Rolf Eike Beer wrote: > Am Donnerstag, 27. September 2018, 03:39:56 CEST schrieb Leonardo Brás: >> Avoids building driver if 'make drivers/dio/' is called and >> CONFIG_DIO is disabled. >> >> Signed-off-by: Leonardo Brás >> --- >> drivers/dio/Makefile

Re: [PATCH V5 06/30] csky: Cache and TLB routines

2018-09-27 Thread Guo Ren
On Thu, Sep 27, 2018 at 11:01:34AM +0200, Peter Zijlstra wrote: > On Thu, Sep 27, 2018 at 04:11:42PM +0800, Guo Ren wrote: > > On Thu, Sep 27, 2018 at 09:08:59AM +0200, Peter Zijlstra wrote: > > > > That's not what I meant; I meant you need something like: > > > > > > #define flush_cache_range(vm

Re: KMSAN: uninit-value in memcmp (2)

2018-09-27 Thread Dmitry Vyukov
On Thu, Sep 27, 2018 at 1:17 PM, Vladis Dronov wrote: > Hello, Dmirty, > > Thank you for the explanation of how syzkaller/syzbot works in this and > other emails. I understand that is it a complicated task to determine > and categorize bugs based on just crash dump and messages, and syzkaller > do

Re: [PATCH v5 4/4] mm: Defer ZONE_DEVICE page initialization to the point where we init pgmap

2018-09-27 Thread Michal Hocko
On Wed 26-09-18 11:52:56, Dan Williams wrote: [...] > Could we push the hotplug lock deeper to the places that actually need > it? What I found with my initial investigation is that we don't even > need the hotplug lock for the vmemmap initialization with this patch > [1]. Yes, the scope of the ho

Re: [PATCH] drm/imx: fix build failure without CONFIG_DRM_FBDEV_EMULATION

2018-09-27 Thread Noralf Trønnes
Den 26.09.2018 21.38, skrev Arnd Bergmann: The variable is declared in an #ifdef section, but the user is now unconditional, which leads to a build failure: drivers/gpu/drm/imx/imx-drm-core.c: In function 'imx_drm_bind': drivers/gpu/drm/imx/imx-drm-core.c:264:6: error: 'legacyfb_depth' undecla

Re: [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Add flag for restoring dll

2018-09-27 Thread Veerabhadrarao Badiganti
On 9/25/2018 11:08 PM, Evan Green wrote: On Tue, Sep 25, 2018 at 8:05 AM Veerabhadrarao Badiganti wrote: The dll settings of SDHC controller needs to be restored whenever controller clocks are gated. This restoration is needed only on few SDHCI-MSM controllers. This dt flag indicates whether

Re: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command

2018-09-27 Thread Leonardo Bras
Hello Rolf, On Thu, Sep 27, 2018 at 3:34 AM, Rolf Eike Beer wrote: > Am Donnerstag, 27. September 2018, 03:41:38 CEST schrieb Leonardo Brás: >> Creates new Makefile to avoid building driver if >> 'make drivers/oprofile/' is called directly. >> >> This driver is usually built from arch/$ARCH and s

Please get in touch with me immediately.

2018-09-27 Thread Mr. Manadou Phillipe
Dear partner to be, I am in-charge of transferring out funds our village generated from the sales of our local mined gold. I have some left over fund in the bank that I alone is aware and can transfer it out. My village that mines gold, has mandated me for sales of our raw Gold, and its fund contr

Re: [PATCH v11 26/26] s390: doc: detailed specifications for AP virtualization

2018-09-27 Thread Halil Pasic
On 09/27/2018 12:42 AM, Alex Williamson wrote: > On Tue, 25 Sep 2018 19:16:41 -0400 > Tony Krowiak wrote: > >> From: Tony Krowiak [..] >> + >> +2. Secure the AP queues to be used by the three guests so that the host can >> not >> + access them. To secure them, there are two sysfs files tha

Re: [PATCH 4.14 64/64] crypto: x86/aegis,morus - Do not require OSXSAVE for SSE2

2018-09-27 Thread Sudip Mukherjee
Hi Greg, On Thu, Sep 27, 2018 at 10:04 AM, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Ondrej Mosnacek > > commit 24568b47d48ec8c906fd0f589489a08b17e1edca upstream. > > It turns out OSXSAVE needs to be

Re: [PATCH] kdb: use correct pointer when 'btc' calls 'btt'

2018-09-27 Thread Christophe LEROY
Le 27/09/2018 à 13:09, Michael Ellerman a écrit : Christophe LEROY writes: Le 26/09/2018 à 13:11, Daniel Thompson a écrit : On 16/09/2018 20:06, Daniel Thompson wrote: On Fri, Sep 14, 2018 at 12:35:44PM +, Christophe Leroy wrote: On a powerpc 8xx, 'btc' fails as follows: Entering kdb

Re: [PATCH v3 3/4] devres: provide devm_kstrdup_const()

2018-09-27 Thread Rasmus Villemoes
On 2018-09-27 13:01, Geert Uytterhoeven wrote: > Hi Rasmus, > > On Thu, Sep 27, 2018 at 12:55 PM Rasmus Villemoes > wrote: >> On 2018-09-27 01:13, Kees Cook wrote: >> >> Just drop devm_kfree_const and teach devm_kfree to ignore >> is_kernel_rodata(). That avoids the 50-100 bytes of overhead for a

Re: linux-mm@ archive on lore.kernel.org (Was: [PATCH 0/2] thp nodereclaim fixes)

2018-09-27 Thread Kirill A. Shutemov
On Wed, Sep 26, 2018 at 11:25:23AM -0400, Konstantin Ryabitsev wrote: > On Wed, Sep 26, 2018 at 04:08:50PM +0300, Kirill A. Shutemov wrote: > > On Tue, Sep 25, 2018 at 02:03:24PM +0200, Michal Hocko wrote: > > > Thoughts, alternative patches? > > > > > > [1] http://lkml.kernel.org/r/20180820032204

Re: [PATCH] drm: stm: implement get_scanout_position function

2018-09-27 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré Tested-by: Yannick Fertré On 09/27/2018 10:15 AM, Yannick FERTRE wrote: > Reviewed-by/tested-by: yannick.fer...@st.com > > Forwarded Message > Subject: [PATCH] drm: stm: implement get_scanout_position function > Date: Fri, 29 Jun 2018 15:01:40 +0200

[PATCH 3/3] thermal: da9062/61: Prevent hardware access during system suspend

2018-09-27 Thread Geert Uytterhoeven
The workqueue used for monitoring the hardware may run while the device is already suspended. Fix this by using the freezable system workqueue instead, cfr. commit 51e20d0e3a60cf46 ("thermal: Prevent polling from happening during system suspend"). Fixes: 608567aac3206ae8 ("thermal: da9062/61: The

[PATCH 2/3] thermal: rcar_thermal: Prevent doing work after unbind

2018-09-27 Thread Geert Uytterhoeven
When testing bind/unbind on r8a7791/koelsch: WARNING: CPU: 1 PID: 697 at lib/debugobjects.c:329 debug_print_object+0x8c/0xb4 ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x10 This happens if the workqueue runs after the device has been unb

Re: [PATCH v4 1/6] x86/ima: define arch_ima_get_secureboot

2018-09-27 Thread Mimi Zohar
[Cc'ing the kexec mailing list, and Seth] On Wed, 2018-09-26 at 17:52 +0530, Nayna Jain wrote: > Distros are concerned about totally disabling the kexec_load syscall. > As a compromise, the kexec_load syscall will only be disabled when > CONFIG_KEXEC_VERIFY_SIG is configured and the system is boot

[PATCH 0/3] thermal: Fix workqueue-related issues in drivers

2018-09-27 Thread Geert Uytterhoeven
Hi, This patch series fixes workqueue-related issues in the Renesas R-Car Thermal and Dialog DA9062/9061 PMIC drivers, where the workqueue may run while the device is suspended, or unbound. The R-Car Thermal driver fixes have been tested on R-Car M2-W and R-Mobile APE6. The DA9062/9061 fix

[PATCH 1/3] thermal: rcar_thermal: Prevent hardware access during system suspend

2018-09-27 Thread Geert Uytterhoeven
On r8a7791/koelsch, sometimes the following message is printed during system suspend: rcar_thermal e61f.thermal: thermal sensor was broken This happens if the workqueue runs while the device is already suspended. Fix this by using the freezable system workqueue instead, cfr. commit 51e20

Re: [PATCH v4 2/6] ima: prevent kexec_load syscall based on runtime secureboot flag

2018-09-27 Thread Mimi Zohar
[Cc'ing the kexec mailing list, and Seth] On Wed, 2018-09-26 at 17:52 +0530, Nayna Jain wrote: > When CONFIG_KEXEC_VERIFY_SIG is enabled, the kexec_file_load syscall > requires the kexec'd kernel image to be signed. Distros are concerned > about totally disabling the kexec_load syscall. As a compr

Re: [PATCH v2 1/2] ARM: dt-bindings: Add vendor prefix for Facebook

2018-09-27 Thread Rob Herring
On Wed, Sep 26, 2018 at 10:14 PM Joel Stanley wrote: > > On Thu, 27 Sep 2018 at 03:01, Rob Herring wrote: > > > > On Wed, 19 Sep 2018 09:47:10 -0700, Vijay Khemka wrote: > > > Initial introduction of Facebook TiogaPass family equipped with > > > Aspeed 2500 BMC SoC. TiogaPass is a x86 server deve

Re: [PATCH v2 3/8] mtd: maps: gpio-addr-flash: Use devm_* functions

2018-09-27 Thread Boris Brezillon
On Wed, 5 Sep 2018 16:36:38 +0200 Ricardo Ribalda Delgado wrote: > @@ -234,9 +234,11 @@ static int gpio_flash_probe(struct platform_device *pdev) > state->map.copy_to= gf_copy_to; > state->map.bankwidth = pdata->width; > state->map.size = state->win_size * (1 << state

[PATCH v2 3/3] gpio: Restore indentation of continued lines

2018-09-27 Thread Geert Uytterhoeven
Fixes: 3027743f83f867d8 ("gpio: Remove VLA from gpiolib") Signed-off-by: Geert Uytterhoeven --- v2: - Rebase on top of gpio array rework. --- drivers/gpio/gpiolib.c| 20 ++-- drivers/gpio/gpiolib.h| 8 include/linux/gpio/consumer.h | 18 +---

[PATCH v2 2/3] gpio: Propagate errors from gpiod_set_array_value_complex()

2018-09-27 Thread Geert Uytterhoeven
Internal helper function gpiod_set_array_value_complex() was changed to return an error value, but not all gpiolib callers were updated to propagate the new error up. Fixes: 3027743f83f867d8 ("gpio: Remove VLA from gpiolib") Signed-off-by: Geert Uytterhoeven --- v2: - Rebase on top of gpio arra

[PATCH v2 0/3] gpio: Fix VLA removal fallout

2018-09-27 Thread Geert Uytterhoeven
Hi Linus, This patch series fixes various (mostly harmless) issues introduced by commit 3027743f83f867d8 ("gpio: Remove VLA from gpiolib"). As per the "one patch should fix one issue"-policy, this series contains 3 patches, although they all have the same Fixes: tag. Changes compared to

[PATCH v2 1/3] Documentation: gpio: Fix return type of gpiod_set_raw_array_value*()

2018-09-27 Thread Geert Uytterhoeven
The return type of gpiod_set_raw_array_value() and gpiod_set_raw_array_value_cansleep() was changed from void to int, but the doc update was forgotten. Fixes: 3027743f83f867d8 ("gpio: Remove VLA from gpiolib") Signed-off-by: Geert Uytterhoeven --- v2: - Rebase on top of gpio array rework. ---

Re: [PATCH v2 7/8] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-09-27 Thread Boris Brezillon
On Wed, 5 Sep 2018 16:36:42 +0200 Ricardo Ribalda Delgado wrote: > +static int gpio_flash_probe_gpios(struct platform_device *pdev, > + struct async_state *state) > +{ > + struct physmap_flash_data *pdata; > + struct device_node *dn; > + struct resource

Re: [PATCH v3.1 1/2] device property: Add device_get_bd_address() and fwnode_get_bd_address()

2018-09-27 Thread Heikki Krogerus
Hi Marcel, On Thu, Sep 27, 2018 at 12:24:33PM +0200, Marcel Holtmann wrote: > > Let's not fill property.c with framework specific helper functions any > > more! > > > > Those functions are completely bluetooth specific, so they do not > > belong here. The fact that some other framework already ma

[PATCH v3 2/7] mfd: Add ST Multi-Function eXpander (STMFX) core driver

2018-09-27 Thread Amelie Delaunay
STMicroelectronics Multi-Function eXpander (STMFX) is a slave controller using I2C for communication with the main MCU. Main features are: - 16 fast GPIOs individually configurable in input/output - 8 alternate GPIOs individually configurable in input/output when other STMFX functions are not used

[PATCH v3 5/7] ARM: dts: stm32: add STMFX support on stm32746g-eval

2018-09-27 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32746g-eval. It is connected on i2c1. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/

[PATCH v3 3/7] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-09-27 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/pinctrl-stmfx.txt | 116 +

[PATCH v3 6/7] ARM: dts: stm32: add joystick support on stm32746g-eval

2018-09-27 Thread Amelie Delaunay
The joystick (B3) on stm32746g-eval uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-up), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 43

[PATCH v3 0/7] Introduce STMFX I2C Multi-Function eXpander

2018-09-27 Thread Amelie Delaunay
This series adds support for STMicroelectronics Multi-Function eXpander (STMFX), used on some STM32 discovery and evaluation boards. STMFX is an STM32L152 slave controller whose firmware embeds the following features: - I/O expander (16 GPIOs + 8 extra if the other features are not enabled), - res

[PATCH v3 4/7] pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver

2018-09-27 Thread Amelie Delaunay
This patch adds pinctrl/GPIO driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. STMFX is an I2C slave controller, offering up to 24 GPIOs. The driver relies on generic pin config interface to configure the GPIOs. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij

[PATCH v3 7/7] ARM: dts: stm32: add orange and blue leds on stm32746g-eval

2018-09-27 Thread Amelie Delaunay
Orange (LD2) and blue (LD4) leds on stm32746g-eval are connected on STMFX gpio expander, offset 17 and 19. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g-eval.d

[PATCH v3 1/7] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2018-09-27 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) MFD core. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij --- Documentation/devicetree/bindings/mfd/stmfx.txt | 28 + 1 file changed, 28 insertions(

Re: [PATCH v2 5/8] mtd: maps: gpio-addr-flash: Replace array with an integer

2018-09-27 Thread Boris Brezillon
On Wed, 5 Sep 2018 16:36:40 +0200 Ricardo Ribalda Delgado wrote: > By replacing the array with an integer we can avoid completely > the bit comparison loop if the value has not changed (by far > the most common case). > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/mtd/maps/gpio-ad

Re: [PATCH 4.14 31/64] spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-09-27 Thread Sudip Mukherjee
Hi Greg, On Thu, Sep 27, 2018 at 10:03 AM, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Kirill Kapranov > > commit 1a4327fbf4554d5b78d75b19a13d40d6de220159 upstream. > > On systems where some controllers

Re: [PATCH v2 0/8] gpio-addr-flash: Support for device-tree and cleanup

2018-09-27 Thread Boris Brezillon
On Wed, 5 Sep 2018 16:36:35 +0200 Ricardo Ribalda Delgado wrote: > This patch series does the following: > > 1) Fix bug regarding ioremap size > 2) Cleanup code to use new APIs > 3) Simplify numerical operations > 4) Add support for device-tree devices > > Thanks! > > Changelog v2: > > From

[PATCH 03/12] dt-bindings: sun6i-dsi: Add compatible for A64 MIPI DSI

2018-09-27 Thread Jagan Teki
The MIPI DSI controller on Allwinner A64 is similar to Allwinner A31 without support of DSI mod clock. Signed-off-by: Jagan Teki --- Documentation/devicetree/bindings/display/sunxi/sun6i-dsi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/s

[PATCH 02/12] drm/sun4i: sun6i_mipi_dsi: Add Allwinner A64 MIPI DSI support

2018-09-27 Thread Jagan Teki
The MIPI DSI controller on Allwinner A64 is similar to Allwinner A31 without support of DSI mod clock(CLK_DSI_SCLK) So, alter has_mod_clk bool via driver data for respective SoC's compatible. Signed-off-by: Jagan Teki --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 47 -- d

[PATCH 05/12] drm/sun4i: sun6i_mipi_dsi: Add DSI Generic short write 2 param transfer

2018-09-27 Thread Jagan Teki
Short transfer write support for DCS and Generic transfer types share similar way to process command sequence in DSI block so add generic write 2 param transfer type macro so-that the panels which are requesting similar transfer type may process properly. Also added error check for unsupporting tr

[PATCH 00/12] drm/sun4i: Allwinner A64 MIPI-DSI support

2018-09-27 Thread Jagan Teki
This series add MIPI-DSI support on Allwinner A64. The same A31 controller is reused and tweaked for A64 since the register space for both SoC's look same. The current clock rate (270MHz) with nkm (5,2,11) from PLL_MIPI is unable to work with A64 DSI block. I've tested with few changes to verify

[PATCH 01/12] clk: sunxi-ng: a64: Fix gate bit of DSI DPHY

2018-09-27 Thread Jagan Teki
DSI DPHY gate bit on MIPI DSI clock register is bit 15 not bit 30. Signed-off-by: Jagan Teki --- drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c b/drivers/clk/sunxi-ng/ccu-sun50i-a64.c index 5f80eb01

[PATCH 04/12] drm/sun4i: sun6i_mipi_dsi: Enable missing DSI bus clock

2018-09-27 Thread Jagan Teki
DSI bus_clk is already available in sun6i_dsi but missed to get the clk and process for enable/disable. This patch add support for it. Signed-off-by: Jagan Teki --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun6i_mip

[PATCH 07/12] drm/sun4i: sun6i_mipi_dsi: Fix TCON DRQ set bits

2018-09-27 Thread Jagan Teki
TCON DRQ set bits for non-burst DSI mode can computed via horizontal front porch instead of front porch + sync timings. Since there no documentation for TCON_DRQ_REG(0x7c) register this change is taken as reference from BPI-M64-bsp. Signed-off-by: Jagan Teki --- drivers/gpu/drm/sun4i/sun6i_mipi

[PATCH 06/12] drm/sun4i: sun6i_mipi_dsi: Fix VBP size calculation

2018-09-27 Thread Jagan Teki
According to horizontal and vertical timings are defined per the diagram from include/drm/drm_modes.h Back porch = [hv]total - [hv]sync_end So, update SUN6I_DSI_BASIC_SIZE0_VBP calculation as mode->vtotal - mode->vsync_end Signed-off-by: Jagan Teki --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c |

[PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-09-27 Thread Jagan Teki
Accordingly to BPI-M64-bsp DE DSI code Video start delay can be computed by subtracting total vertical timing with front porch timing and with adding 1 delay line for TCON. This patch simply add the start_delay logic from BPI-M64-bsp, w/o this new computation, the DSI on A64 encounter vblank time

[PATCH 09/12] dt-bindings: panel: Add Bananapi S070WV20-CT16 MIPI-DSI panel bindings

2018-09-27 Thread Jagan Teki
Bananapi S070WV20-CT16 is 800x480, 4-lane MIPI-DSI panel, the same panel PCB comes with parallel RBG which is supported via panel-simple with "bananapi,s070wv20-ct16" compatible. Signed-off-by: Jagan Teki --- .../panel/bananapi,s070wv20-ct16-dsi.txt | 21 +++ 1 file changed,

[PATCH 10/12] drm/panel: Add Bananapi S070WV20-CT16 MIPI-DSI panel driver

2018-09-27 Thread Jagan Teki
Bananapi S070WV20-CT16 is 800x480, 4-lane MIPI-DSI panel which can be used to connect via BPI-M64 board, so add a driver for it. The same panel PCB comes with parallel RBG which is supported via panel-simple driver with "bananapi,s070wv20-ct16" compatible. Signed-off-by: Jagan Teki --- drivers/

Re: [v2 PATCH 1/2 -mm] mm: mremap: dwongrade mmap_sem to read when shrinking

2018-09-27 Thread Vlastimil Babka
On 9/26/18 8:10 PM, Yang Shi wrote: > Subject: [v2 PATCH 1/2 -mm] mm: mremap: dwongrade mmap_sem to read when shrinking "downgrade" in the subject > Other than munmap, mremap might be used to shrink memory mapping too. > So, it may hold write mmap_sem for long time when shrinking large > mapping,

[PATCH 11/12] arm64: dts: allwinner: a64: Add DSI pipeline

2018-09-27 Thread Jagan Teki
The A64 has a MIPI-DSI block which is similar to A31 without mod clock. So, add dsi node with A64 compatible, dphy node with A31 compatible and finally connect dsi to tcon0 to make proper DSI pipeline. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 44

[PATCH 12/12] arm64: dts: allwinner: bananapi-m64: Bananapi S070WV20-CT16 DSI panel

2018-09-27 Thread Jagan Teki
This patch add support for Bananapi S070WV20-CT16 DSI panel to BPI-M64 board. DSI panel connected via board DSI port with, - DC1SW as AVDD supply - DCDC1 as DVDD supply - PD6 gpio for reset pin - PD5 gpio for backlight enable pin - PD7 gpio for backlight vdd supply Signed-off-by: Jagan Teki ---

Re: [PATCH v4 1/2] powerpc/32: add stack protector support

2018-09-27 Thread Christophe LEROY
Le 27/09/2018 à 09:45, Segher Boessenkool a écrit : On Thu, Sep 27, 2018 at 08:20:00AM +0200, Christophe LEROY wrote: Le 26/09/2018 à 21:16, Segher Boessenkool a écrit : On Wed, Sep 26, 2018 at 11:40:38AM +, Christophe Leroy wrote: +static __always_inline void boot_init_stack_canary(voi

Re: [PATCH v11 26/26] s390: doc: detailed specifications for AP virtualization

2018-09-27 Thread Cornelia Huck
On Thu, 27 Sep 2018 13:29:43 +0200 Halil Pasic wrote: > On 09/27/2018 12:42 AM, Alex Williamson wrote: > > On Tue, 25 Sep 2018 19:16:41 -0400 > > Tony Krowiak wrote: > >> + This is how the matrix is configured for Guest2: > >> + > >> + echo 5 > assign_adapter > >> + echo 0x47 > assig

Re: [PATCH v11 26/26] s390: doc: detailed specifications for AP virtualization

2018-09-27 Thread Christian Borntraeger
On 09/27/2018 01:51 PM, Cornelia Huck wrote: > On Thu, 27 Sep 2018 13:29:43 +0200 > Halil Pasic wrote: > >> On 09/27/2018 12:42 AM, Alex Williamson wrote: >>> On Tue, 25 Sep 2018 19:16:41 -0400 >>> Tony Krowiak wrote: + This is how the matrix is configured for Guest2: + +

Re: [PATCH 0/5] Add CDTech 4.3" and 7" to panel-simple

2018-09-27 Thread Thierry Reding
On Tue, Jul 31, 2018 at 01:11:12AM +0200, Giulio Benetti wrote: > Add CDTech 4.3" S043WQ26H-CT7 support > Add CDTech 7" S070WV95-CT16 support > > Giulio Benetti (5): > dt-bindings: Add vendor prefix for CDTech(H.K.) Electronics Limited > drm/panel: add panel CDTech S070WV95-CT16 to panel-simpl

Re: [RFC PATCH 7/9] leds: lm3633: Introduce the lm3633 driver

2018-09-27 Thread Dan Murphy
Pavel Thanks for the review On 09/26/2018 05:36 PM, Pavel Machek wrote: > Hi! > >> Introduce the LED LM3633 driver. This LED >> driver has 9 total LED outputs with runtime >> internal ramp configurations. >> >> Data sheet: >> http://www.ti.com/lit/ds/symlink/lm3633.pdf >> >> Signed-off-by: Dan

Re: [PATCH 4.14 31/64] spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-09-27 Thread Kirill Kapranov
Hi Greg, Sudip is absolutely right, the patch he mentioned, 04b2d03a7565 ("spi: Fix double IDR allocation with DT aliases"), MUST be added too with the mine. Sudip, thank you for reminding. -- Best Regards, Kirill Hi Greg, On Thu, Sep 27, 2018 at 10:03 AM, Greg Kroah-Hartman wrote: 4.14-st

Re: [PATCH] drm/panel: p079zca: unconditionally remove the panel on removal

2018-09-27 Thread Thierry Reding
On Thu, Aug 16, 2018 at 04:09:20PM +0200, Heiko Stuebner wrote: > There is no need to check innolux->base.dev when trying to remove > the panel, as that variable is always set directly before the panel > gets added and will still be available on panel_remove. > > Signed-off-by: Heiko Stuebner > -

Re: [PATCH v4] drm/panel: add Kingdisplay kd097d04 panel driver

2018-09-27 Thread Thierry Reding
On Fri, Aug 17, 2018 at 11:37:31AM +0200, Heiko Stuebner wrote: > From: Nickey Yang > > Support Kingdisplay kd097d04 9.7" 1536x2048 TFT LCD panel, > it is a MIPI dual-DSI panel. > > v4: > - address Philipp's comments > - real range for usleep_range and > - poweroff ordering in kingdisplay_pa

Re: [f2fs-dev] [PATCH 2/2 v3] f2fs: avoid f2fs_bug_on if f2fs_get_meta_page_nofail got EIO

2018-09-27 Thread Chao Yu
On 2018-9-21 5:48, Jaegeuk Kim wrote: > This patch avoids BUG_ON when f2fs_get_meta_page_nofail got EIO during > xfstests/generic/475. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,

Re: [PATCH] mmc: add quirk for O2 Micro dev 0x8620 rev 0x01

2018-09-27 Thread Ulf Hansson
On 27 September 2018 at 03:40, Yu Zhao wrote: > On Thu, Sep 27, 2018 at 01:48:58AM +0200, Ulf Hansson wrote: >> On 23 September 2018 at 22:39, Yu Zhao wrote: >> > This device reports SDHCI_CLOCK_INT_STABLE even though it's not >> > ready to take SDHCI_CLOCK_CARD_EN. The symptom is that reading >>

RE: [RFC][PATCH 3/3] locking/qspinlock: Optimize for x86

2018-09-27 Thread David Laight
From: Peter Zijlstra > Sent: 26 September 2018 12:01 > > On x86 we cannot do fetch_or with a single instruction and end up > using a cmpxchg loop, this reduces determinism. Replace the fetch_or > with a very tricky composite xchg8 + load. > > The basic idea is that we use xchg8 to test-and-set th

Re: [v2 PATCH 2/2 -mm] mm: brk: dwongrade mmap_sem to read when shrinking

2018-09-27 Thread Vlastimil Babka
On 9/26/18 8:10 PM, Yang Shi wrote: Again, "downgrade" in the subject > brk might be used to shinrk memory mapping too other than munmap(). ^ shrink > So, it may hold write mmap_sem for long time when shrinking large > mapping, as what commit ("mm: mmap: zap pages with re

Re: [PATCH 05/18] asm-generic/tlb: Provide generic tlb_flush

2018-09-27 Thread Will Deacon
On Wed, Sep 26, 2018 at 08:07:27PM +0200, Peter Zijlstra wrote: > --- a/include/asm-generic/tlb.h > +++ b/include/asm-generic/tlb.h > @@ -305,7 +305,8 @@ static inline void __tlb_reset_range(str > #error Default tlb_flush() relies on default tlb_start_vma() and > tlb_end_vma() > #endif > > -#d

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