[PATCH v1 2/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990

2019-03-07 Thread Harish Bandi
This patch enables regulators for the Qualcomm Bluetooth wcn3990 controller. Added entry for regulator currents, min and max voltages Signed-off-by: Harish Bandi --- Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt | 12 1 file changed, 12 insertions(+) diff --git

[PATCH] pblk: fix max_io calculation

2019-03-07 Thread Javier González
When calculating the maximun I/O size allowed into the buffer, consider the write size (ws_opt) used by the write thread in order to cover the case in which, due to flushes, the mem and subm pointers are disaligned by (ws_opt - 1). This case currently translates into a stall when an I/O of the

Re: [PATCH 05/20] x86/uaccess/xen: Suppress SMAP warnings

2019-03-07 Thread Juergen Gross
On 07/03/2019 12:45, Peter Zijlstra wrote: > drivers/xen/privcmd.o: warning: objtool: privcmd_ioctl()+0x1414: call to > hypercall_page() with UACCESS enabled > > Xen needs to do HV calls with AC=1 for hysterical raisins. Make the > warning go away. No, this is a hypercall with parameters passed

RE: [PATCH RESEND V2 1/4] dt-bindings: fsl: scu: add watchdog binding

2019-03-07 Thread Aisheng Dong
Hi Rob, > > > I think Rob suggested that the SCU parent driver should instantiate > > > the watchdog without explicit watchdog node. That would be possible, > > > but it currently uses > > > devm_of_platform_populate() to do the instantiation, and changing > > > that would be a mess. Besides, it

Re: [PATCH] mm/swap: Avoid undefined behavior in __swapoffset

2019-03-07 Thread Michal Hocko
On Thu 07-03-19 17:46:50, Pi-Hsun Shih wrote: > Use offsetof to calculate offset of a field to avoid UBSAN warning like: > > === > UBSAN: Undefined behaviour in mm/swapfile.c:3010:38 > member access within null pointer of type 'union

Re: [RFC][QEMU Patch] KVM: Enable QEMU to free the pages hinted by the guest

2019-03-07 Thread Nitesh Narayan Lal
On 3/6/19 7:35 PM, Alexander Duyck wrote: > Here are some changes I made to your patch in order to address the sizing > issue I called out. You may want to try testing with this patch applied to > your QEMU as I am finding it is making a signficant difference. It has cut > the test time for the

Re: [PATCH] dt-bindings: reset: meson-g12a: Add missing USB2 PHY resets

2019-03-07 Thread Neil Armstrong
On 05/03/2019 23:02, Martin Blumenstingl wrote: > On Mon, Mar 4, 2019 at 11:49 AM Neil Armstrong > wrote: >> >> The G12A Documentation lacked these 2 reset lines, but they are present and >> used for each USB 2 PHYs. >> >> Add them to the dt-bindings for the upcoming USB support. >> >> Fixes:

Re: [PATCH v2 2/2] clk: meson: g12a: add cpu clocks

2019-03-07 Thread Neil Armstrong
Hi Martin, On 05/03/2019 22:10, Martin Blumenstingl wrote: > On Mon, Mar 4, 2019 at 2:12 PM Neil Armstrong wrote: >> >> Add the Amlogic G12A Family CPU Clock tree in read/only for now. >> >> The CPU clock can either use the SYS_PLL for > 1GHz frequencies or >> use a couple of div+mux from

Re: [PATCH for-4.19] staging: erofs: fix mis-acted TAIL merging behavior

2019-03-07 Thread Greg KH
On Thu, Mar 07, 2019 at 01:34:04PM +0800, Gao Xiang wrote: > commit a112152f6f3a2a88caa6f414d540bd49e406af60 upstream. > > EROFS has an optimized path called TAIL merging, which is designed > to merge multiple reads and the corresponding decompressions into > one if these requests read continuous

Re: [PATCH v2 2/2] arm64: allwinner: a64: Add Oceanic 5205 5inMFD initial support

2019-03-07 Thread Maxime Ripard
On Wed, Mar 06, 2019 at 10:31:10PM +0530, Jagan Teki wrote: > Oceanic 5205 5inMFD is a 5 inch Multi function display baseboard > designed to mount SoPine SOM. > > Key features: > - Allwinner A64 Cortex-A53 > - Mali-400MP2 GPU > - AXP803 PMIC > - 2GB DDR3 RAM > - SD Slot > - SPI-NOR flash > -

RE: [PATCH V7 3/3] firmware: imx: imx-scu: register build-in child devices

2019-03-07 Thread Aisheng Dong
[...] > > diff --git a/drivers/firmware/imx/imx-scu.c > > b/drivers/firmware/imx/imx-scu.c index 2bb1a19..df75ead 100644 > > --- a/drivers/firmware/imx/imx-scu.c > > +++ b/drivers/firmware/imx/imx-scu.c ... > > + /* register SCU child devices which are NOT in device tree */ > > + child_pdev =

Re: [PATCH] platform/x86: thinkpad_acpi: disable bluetooth for some machines

2019-03-07 Thread Jiaxun Yang
在 2019/3/7 下午7:20, Greg KH 写道: On Thu, Mar 07, 2019 at 04:08:20PM +0800, Jiaxun Yang wrote: Some AMD based ThinkPads have a firmware bug that calling "GBDC" will cause bluetooth on Intel wireless cards blocked. Probe these models by DMI match and disable bluetooth subdriver if specified

Re: [PATCH 05/20] x86/uaccess/xen: Suppress SMAP warnings

2019-03-07 Thread Peter Zijlstra
On Thu, Mar 07, 2019 at 01:22:52PM +0100, Juergen Gross wrote: > On 07/03/2019 12:45, Peter Zijlstra wrote: > > drivers/xen/privcmd.o: warning: objtool: privcmd_ioctl()+0x1414: call to > > hypercall_page() with UACCESS enabled > > > > Xen needs to do HV calls with AC=1 for hysterical raisins.

[RFC PATCH ghak10 v6 0/2] audit: Log changes that can affect the system clock

2019-03-07 Thread Ondrej Mosnacek
This patchset implements auditing of (syscall-triggered) changes that can modify or indirectly affect the system clock. Some of these changes can already be detected by simply logging relevant syscalls, but this has some disadvantages: a) It is usually not possible to find out from the syscall

Re: [PATCH v2 0/2] irqchip/meson-gpio: Add support for Meson-G12A SoC

2019-03-07 Thread Neil Armstrong
Hi Xingyu, On 05/12/2018 07:46, Xingyu Chen wrote: > This series try to add GPIO interrupt controller support for Meson-G12A SoCs. > Although the total number of pins is the same as the Meson-AXG SoC, the gpio > banks and irq numbers are different. To avoid confusion on use, i think the > new

[RFC PATCH ghak10 v6 2/2] ntp: Audit NTP parameters adjustment

2019-03-07 Thread Ondrej Mosnacek
Emit an audit record every time selected NTP parameters are modified from userspace (via adjtimex(2) or clock_adjtime(2)). Such events will now generate records of type AUDIT_TIME_ADJNTPVAL containing the following fields: - op -- which value was adjusted: - offset -- corresponding to the

[RFC PATCH ghak10 v6 1/2] timekeeping: Audit clock adjustments

2019-03-07 Thread Ondrej Mosnacek
Emit an audit record whenever the system clock is changed (i.e. shifted by a non-zero offset) by a syscall from userspace. The syscalls than can (at the time of writing) trigger such record are: - settimeofday(2), stime(2), clock_settime(2) -- via do_settimeofday64() - adjtimex(2),

Re: [PATCH 05/20] x86/uaccess/xen: Suppress SMAP warnings

2019-03-07 Thread Juergen Gross
On 07/03/2019 13:32, Peter Zijlstra wrote: > On Thu, Mar 07, 2019 at 01:22:52PM +0100, Juergen Gross wrote: >> On 07/03/2019 12:45, Peter Zijlstra wrote: >>> drivers/xen/privcmd.o: warning: objtool: privcmd_ioctl()+0x1414: call to >>> hypercall_page() with UACCESS enabled >>> >>> Xen needs to do

Re: [PATCH] tty/sysrq: Convert show_lock to raw_spinlock_t

2019-03-07 Thread Sebastian Andrzej Siewior
On 2019-03-04 17:20:53 [+], Julien Grall wrote: > At the moment show_lock is implemented using spin_lock_t and called from > an interrupt context on Arm64. The following backtrace was triggered by: > > 42sh# echo l > /proc/sysrq-trigger > > [ 4432.073756] sysrq: SysRq : Show backtrace of all

Re: [PATCH] platform/x86: thinkpad_acpi: disable bluetooth for some machines

2019-03-07 Thread Andy Shevchenko
On Thu, Mar 7, 2019 at 2:30 PM Jiaxun Yang wrote: > > On Thu, Mar 07, 2019 at 04:08:20PM +0800, Jiaxun Yang wrote: > >> Some AMD based ThinkPads have a firmware bug that calling > >> "GBDC" will cause bluetooth on Intel wireless cards blocked. > >> > >> Probe these models by DMI match and disable

Re: [PATCH] mm/swap: Avoid undefined behavior in __swapoffset

2019-03-07 Thread Pi-Hsun Shih
On Thu, Mar 7, 2019 at 8:23 PM Michal Hocko wrote: > > On Thu 07-03-19 17:46:50, Pi-Hsun Shih wrote: > > Use offsetof to calculate offset of a field to avoid UBSAN warning like: > > > > === > > UBSAN: Undefined behaviour in

Re: [RFC PATCH v1 08/25] printk: add ring buffer and kthread

2019-03-07 Thread Petr Mladek
On Wed 2019-03-06 22:17:12, John Ogness wrote: > On 2019-03-06, Petr Mladek wrote: > >> I would like to clarify that message supression (i.e. console loglevel) > >> is a method of reducing what is printed. It does nothing to address the > >> issues related to console printing. My proposal

[PATCH v4 armsoc/drivers/bus+gpio 5/5] dt-bindings: gpio: Document GPIOs via Moxtet bus

2019-03-07 Thread Marek Behún
This patch adds documentation of the device tree bindings for GPIOs on the devices connected via Moxtet bus. Signed-off-by: Marek Behún Cc: Rob Herring Cc: devicet...@vger.kernel.org --- .../devicetree/bindings/gpio/gpio-moxtet.txt | 18 ++ MAINTAINERS

[PATCH v4 armsoc/drivers/bus+gpio 1/5] bus: Add support for Moxtet bus

2019-03-07 Thread Marek Behún
On the Turris Mox router different modules can be connected to the main CPU board: currently a module with a SFP cage, a module with MiniPCIe connector, a PCIe pass-through MiniPCIe connector module, a 4-port switch module, an 8-port switch module, and a 4-port USB3 module. For example:

[PATCH v4 armsoc/drivers/bus+gpio 4/5] drivers: gpio: Add support for GPIOs over Moxtet bus

2019-03-07 Thread Marek Behún
This adds support for interpreting the input and output bits of one device on Moxtet bus as GPIOs. This is needed for example by the SFP cage module of Turris Mox. Signed-off-by: Marek Behún Reviewed-by: Linus Walleij --- MAINTAINERS| 1 + drivers/gpio/Kconfig | 9 ++

[PATCH v4 armsoc/drivers/bus+gpio 2/5] dt-bindings: bus: Document moxtet bus binding

2019-03-07 Thread Marek Behún
This adds device tree binding documentation for the Moxtet bus, a bus via which the different modules connected to the Turris Mox router can be configured. Signed-off-by: Marek Behún Cc: Rob Herring Cc: devicet...@vger.kernel.org --- .../devicetree/bindings/bus/moxtet.txt| 44

[PATCH v4 armsoc/drivers/bus+gpio 3/5] bus: moxtet: Add sysfs and debugfs documentation

2019-03-07 Thread Marek Behún
Add sysfs ABI documentation for the attribute files module_id and module_name Add debugfs ABI documentation for reading input from the shift registers and reading last written output or write output to the shift registers. Signed-off-by: Marek Behún --- Documentation/ABI/testing/debugfs-moxtet

[PATCH v4 armsoc/drivers/bus+gpio 0/5] Add Moxtet bus and GPIO over Moxtet bus

2019-03-07 Thread Marek Behún
Hello, this is the fourth version of patches to support the Moxtet bus and GPIOs over it. Moxtet is a Turris Mox specific tiny bus over SPI. I know that merge window is now closed, but I am trying this anyway now, since Documentation/process/2.Process.rst mentions that even when merge window is

Re: [PATCH v2 02/10] iio: document bindings for mounting matrices

2019-03-07 Thread H. Nikolaus Schaller
Hi Jonathan, > Am 03.03.2019 um 16:19 schrieb Jonathan Cameron : > > On Thu, 21 Feb 2019 18:02:47 +0100 > "H. Nikolaus Schaller" wrote: > >> From: Linus Walleij >> >> The mounting matrix for sensors was introduced in >> commit dfc57732ad38 ("iio:core: mounting matrix support") >> >> However

Re: [PATCH 00/20] objtool: UACCESS validation v3

2019-03-07 Thread Peter Zijlstra
On Thu, Mar 07, 2019 at 01:03:17PM +0100, Peter Zijlstra wrote: > 01c3 20d8:77 08 ja 20e2 > <__do_sys_waitid+0x1cd> taken: randconfig-build/kernel/exit.o: warning: objtool: __do_sys_waitid()+0x1c3: (branch) > e0f5 alternative("",

RE: [PATCH 2/3] clk: imx8mq: add hdmi_phy_27m clock as pll's reference clock

2019-03-07 Thread Anson Huang
Hi, Lucas Best Regards! Anson Huang > -Original Message- > From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: 2019年3月7日 20:06 > To: Anson Huang ; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; Fabio Estevam > ; robh...@kernel.org; mark.rutl...@arm.com; >

RE: [RFC PATCH 0/2] Create CAAM HW key in linux keyring and use in dmcrypt

2019-03-07 Thread Franck Lenormand
> -Original Message- > From: Jan Lübbe > Sent: Wednesday, March 6, 2019 5:48 PM > To: Franck Lenormand ; linux- > ker...@vger.kernel.org; linux-security-mod...@vger.kernel.org; > keyri...@vger.kernel.org > Cc: Horia Geanta ; Silvano Di Ninno > ; a...@redhat.com; snit...@redhat.com; dm- >

Re: [PATCH for-4.19] staging: erofs: fix mis-acted TAIL merging behavior

2019-03-07 Thread Gao Xiang
Hi Greg, On 2019/3/7 20:25, Greg KH wrote: > On Thu, Mar 07, 2019 at 01:34:04PM +0800, Gao Xiang wrote: >> commit a112152f6f3a2a88caa6f414d540bd49e406af60 upstream. >> >> EROFS has an optimized path called TAIL merging, which is designed >> to merge multiple reads and the corresponding

Actualiza tu cuenta

2019-03-07 Thread Administrador de cuenta
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se

Actualiza tu cuenta

2019-03-07 Thread Administrador de cuenta
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se

Re: [PATCH] spi: work around clang bug in SPI_BPW_RANGE_MASK()

2019-03-07 Thread Rasmus Villemoes
On 07/03/2019 11.56, Arnd Bergmann wrote: > Clang-8 evaluates both sides of a ?: expression to check for > valid arithmetic even in the side that is never taken. This > results in a build warning: > > drivers/spi/spi-sh-msiof.c:1052:24: error: shift count >= width of type >

Re: [RFC][Patch v9 0/6] KVM: Guest Free Page Hinting

2019-03-07 Thread Nitesh Narayan Lal
On 3/6/19 5:05 PM, Alexander Duyck wrote: > On Wed, Mar 6, 2019 at 11:07 AM Nitesh Narayan Lal wrote: >> >> On 3/6/19 1:00 PM, Alexander Duyck wrote: >>> On Wed, Mar 6, 2019 at 7:51 AM Nitesh Narayan Lal wrote: The following patch-set proposes an efficient mechanism for handing freed

Re: [RFC PATCH nand-next 0/2] meson-nand: support for older SoCs

2019-03-07 Thread Miquel Raynal
Hello, Martin Blumenstingl wrote on Tue, 5 Mar 2019 23:12:51 +0100: > Hi Liang, > > On Mon, Mar 4, 2019 at 5:55 AM Liang Yang wrote: > > > > Hello Martin, > > > > On 2019/3/2 2:29, Martin Blumenstingl wrote: > > > Hi Liang, > > > > > > I am trying to add support for older SoCs to the

[GIT PULL] Please pull powerpc/linux.git powerpc-5.1-1 tag

2019-03-07 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Linus, Please pull powerpc updates for 5.1. Stephen reported a couple of conflicts with the dma & swiotlb trees due to Christoph's DMA series, but you haven't merged those trees yet so I'm not seeing them when I test merge. They were both fairly

Re: [PATCH 00/20] objtool: UACCESS validation v3

2019-03-07 Thread Peter Zijlstra
On Thu, Mar 07, 2019 at 01:55:26PM +0100, Peter Zijlstra wrote: > On Thu, Mar 07, 2019 at 01:03:17PM +0100, Peter Zijlstra wrote: > > 01be 20d3: 31 c0 xor%eax,%eax > > 01c0 20d5: 4c 39 ebcmp%r13,%rbx > > 01c3 20d8: 77 08

RE: [RFC PATCH 0/2] Create CAAM HW key in linux keyring and use in dmcrypt

2019-03-07 Thread Franck Lenormand
> -Original Message- > From: David Howells > Sent: Wednesday, March 6, 2019 6:30 PM > To: Franck Lenormand > Cc: dhowe...@redhat.com; linux-kernel@vger.kernel.org; linux-security- > mod...@vger.kernel.org; keyri...@vger.kernel.org; Horia Geanta > ; Silvano Di Ninno ; > a...@redhat.com;

[PATCH v5 2/2] media: cedrus: Add H264 decoding support

2019-03-07 Thread Maxime Ripard
Introduce some basic H264 decoding support in cedrus. So far, only the baseline profile videos have been tested, and some more advanced features used in higher profiles are not even implemented. Reviewed-by: Jernej Skrabec Signed-off-by: Maxime Ripard ---

[PATCH v5 0/2] media: cedrus: Add H264 decoding support

2019-03-07 Thread Maxime Ripard
Hi, Here is a new version of the H264 decoding support in the cedrus driver. As you might already know, the cedrus driver relies on the Request API, and is a reverse engineered driver for the video decoding engine found on the Allwinner SoCs. This work has been possible thanks to the work done

[PATCH v5 1/2] media: uapi: Add H264 low-level decoder API compound controls.

2019-03-07 Thread Maxime Ripard
From: Pawel Osciak Stateless video codecs will require both the H264 metadata and slices in order to be able to decode frames. This introduces the definitions for a new pixel format for H264 slices that have been parsed, as well as the structures used to pass the metadata from the userspace to

[PATCH v6 0/4] Fix free/allocation of runtime gigantic pages

2019-03-07 Thread Alexandre Ghiti
This series fixes sh and sparc that did not advertise their gigantic page support and then were not able to allocate and free those pages at runtime. It renames MEMORY_ISOLATION && COMPACTION || CMA condition into the more accurate CONTIG_ALLOC, since it allows the definition of alloc_contig_range

[PATCH v6 1/4] sh: Advertise gigantic page support

2019-03-07 Thread Alexandre Ghiti
sh actually supports gigantic pages and selecting ARCH_HAS_GIGANTIC_PAGE allows it to allocate and free gigantic pages at runtime. At least sdk7786_defconfig exposes such a configuration with huge pages of 64MB, pages of 4KB and MAX_ORDER = 11: HPAGE_SHIFT (26) - PAGE_SHIFT (12) = 14 >= MAX_ORDER

[PATCH v6 2/4] sparc: Advertise gigantic page support

2019-03-07 Thread Alexandre Ghiti
sparc actually supports gigantic pages and selecting ARCH_HAS_GIGANTIC_PAGE allows it to allocate and free gigantic pages at runtime. sparc allows configuration such as huge pages of 16GB, pages of 8KB and MAX_ORDER = 13 (default): HPAGE_SHIFT (34) - PAGE_SHIFT (13) = 21 >= MAX_ORDER (13)

Re: [PATCH] spi: work around clang bug in SPI_BPW_RANGE_MASK()

2019-03-07 Thread Arnd Bergmann
On Thu, Mar 7, 2019 at 2:09 PM Rasmus Villemoes wrote: > > On 07/03/2019 11.56, Arnd Bergmann wrote: > > Clang-8 evaluates both sides of a ?: expression to check for > > valid arithmetic even in the side that is never taken. This > > results in a build warning: > > > >

Re: [PATCH] mm/swap: Avoid undefined behavior in __swapoffset

2019-03-07 Thread Michal Hocko
On Thu 07-03-19 20:47:52, Pi-Hsun Shih wrote: > On Thu, Mar 7, 2019 at 8:23 PM Michal Hocko wrote: > > > > On Thu 07-03-19 17:46:50, Pi-Hsun Shih wrote: > > > Use offsetof to calculate offset of a field to avoid UBSAN warning like: > > > > > >

Re: [RFC][Patch v9 3/6] KVM: Enables the kernel to report isolated pages

2019-03-07 Thread Nitesh Narayan Lal
On 3/6/19 4:30 PM, Alexander Duyck wrote: > On Wed, Mar 6, 2019 at 7:51 AM Nitesh Narayan Lal wrote: >> This patch enables the kernel to report the isolated pages >> to the host via virtio balloon driver. >> In order to do so a new virtuqeue (hinting_vq) is added to the >> virtio balloon driver.

Re: [PATCH 2/3] ASoC: ti: remove compat dma probing

2019-03-07 Thread Peter Ujfalusi
Hi Arnd, On 04/03/2019 22.30, Arnd Bergmann wrote: > After running into a link error: > > sound/soc/ti/edma-pcm.o:(.rodata+0x18): undefined reference to > `edma_filter_fn' > > I checked all users of this, and they have new-style 'dma_slave_map' tables, > so none of them should still need it.

[PATCH v6 3/4] mm: Simplify MEMORY_ISOLATION && COMPACTION || CMA into CONTIG_ALLOC

2019-03-07 Thread Alexandre Ghiti
This condition allows to define alloc_contig_range, so simplify it into a more accurate naming. Suggested-by: Vlastimil Babka Signed-off-by: Alexandre Ghiti Acked-by: Vlastimil Babka --- arch/arm64/Kconfig | 2 +- arch/powerpc/platforms/Kconfig.cputype | 2 +-

Re: [PATCH 1/3] ASoC: ti: fix davinci_mcasp_probe dependencies

2019-03-07 Thread Peter Ujfalusi
Hi Arnd, On 04/03/2019 22.30, Arnd Bergmann wrote: > The SND_SOC_DAVINCI_MCASP driver can use either edma or sdma as > a back-end, and it takes the presence of the respective dma engine > drivers in the configuration as an indication to which ones should be > built. However, this is flawed in

[PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-07 Thread Alexandre Ghiti
On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility to hand back those pages to memory allocator. Signed-off-by: Alexandre Ghiti Acked-by: David S. Miller [sparc] ---

Re: [PATCH] ASoC: ams-delta: remove duplicate 'const'

2019-03-07 Thread Peter Ujfalusi
On 07/03/2019 12.10, Arnd Bergmann wrote: > clang points out that SOC_ENUM_SINGLE_EXT_DECL() contains a 'const' > modifier already, so adding another one does not make it more const: > > sound/soc/ti/ams-delta.c:203:14: error: duplicate 'const' declaration > specifier

Re: [PATCH] ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM

2019-03-07 Thread Peter Ujfalusi
On 07/03/2019 12.11, Arnd Bergmann wrote: > Building with clang shows a variable that is only used by the > suspend/resume functions but defined outside of their #ifdef block: > > sound/soc/ti/davinci-mcasp.c:48:12: error: variable 'context_regs' is not > needed and will not be emitted > >

RE: [PATCH V7 1/3] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-07 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, March 6, 2019 9:06 AM > > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, > the system controller is in charge of controlling power, clock and watchdog > etc.. > > This patch adds i.MX system controller watchdog driver support,

Re: [RFC PATCH nand-next 0/2] meson-nand: support for older SoCs

2019-03-07 Thread Liang Yang
Hi Martin, On 2019/3/7 21:09, Miquel Raynal wrote: Hello, Martin Blumenstingl wrote on Tue, 5 Mar 2019 23:12:51 +0100: Hi Liang, On Mon, Mar 4, 2019 at 5:55 AM Liang Yang wrote: Hello Martin, On 2019/3/2 2:29, Martin Blumenstingl wrote: Hi Liang, I am trying to add support for older

Re: [PATCH v5 4/8] dt-bindings: devfreq: add Exynos5422 DMC device description

2019-03-07 Thread Sylwester Nawrocki
(Adding DT maintainers at Cc) On 3/5/19 11:19, Lukasz Luba wrote: > The patch adds description for DT binding for a new Exynos5422 Dynamic > Memory Controller device. > > Signed-off-by: Lukasz Luba > --- > .../devicetree/bindings/devfreq/exynos5422-dmc.txt | 177 > + > 1

Re: [PATCH 1/8] kasan,x86: Frob kasan_report() in an exception

2019-03-07 Thread Peter Zijlstra
On Wed, Mar 06, 2019 at 09:59:11AM -0800, Linus Torvalds wrote: > Maybe we could just get rid of that oddity, and just make __ASM_CLAC > be a string to begin with. Seems to work.. I'll add it to the pile. --- arch/x86/include/asm/smap.h | 19 +-- 1 file changed, 9

Re: [PATCH 07/20] x86/uaccess: Always inline force_valid_ss()

2019-03-07 Thread Peter Zijlstra
On Thu, Mar 07, 2019 at 12:45:18PM +0100, Peter Zijlstra wrote: > arch/x86/kernel/signal.o: warning: objtool: restore_sigcontext()+0x3cc: call > to force_valid_ss.isra.5() with UACCESS enabled > > XXX: move the callsite out of te AC=1 region instead? > > Signed-off-by: Peter Zijlstra (Intel) >

[PATCH] regulator: ab3100: Remove ab3100_regulators_remove function

2019-03-07 Thread Axel Lin
Current code is using devm_regulator_register() so it is not necessary to save reg->rdev for clean up. Remove *rdev from struct ab3100_regulator, then ab3100_regulators_remove() can be removed as well. Signed-off-by: Axel Lin --- drivers/regulator/ab3100.c | 24 ++-- 1 file

RE: [PATCH V7 1/3] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-07 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Aisheng Dong > Sent: 2019年3月7日 21:33 > To: Anson Huang ; catalin.mari...@arm.com; > will.dea...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; w...@linux-watchdog.org; >

WTS : Grade A Macbook Pro and Intel CPU's E5-4669

2019-03-07 Thread James Toner
Hi Hello , We have the following Grade A Macbook Pro and Panasonic Toughbook with US keyboards looks like new . Grade A cf-c2ccezxcm - Panasonic Toughbook CF-C2 Convertible Laptop Panasonic Toughbook CF-C2 Convertible Laptop Intel Core i5-4300U 1.90GHz CPU 8GB RAM 128GB HDD Win 8.1 Pro QTY

RE: [PATCH V7 1/3] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-07 Thread Aisheng Dong
[...] > > As I replied in another mail, it actually does not depend on SCU. > > Let's wait for Rob's comment on whether we could move watchdog Out of > > SCU node. > > Per previous discussion, the dependency here is to prevent enabling this > module for platform without IMX SCU, although it does

[PATCH v2 2/3] soc: amlogic: gx-socinfo: Add new SoC IDs and Packages IDs

2019-03-07 Thread Neil Armstrong
This adds the: - G12A SoC ID and S905X2, S905D2 package IDs, found booting the X96 Max and U200 Reference Board - G12B SoC ID and S922X package ID, found booting the Odroid-N2 - S805X, S805Y package IDs found in the vendor U-Boot source Signed-off-by: Neil Armstrong ---

[PATCH v2 0/3] arm64: meson: Add SoC ID detection for G12A

2019-03-07 Thread Neil Armstrong
This patchset : - Fixes the package id detection for S905 variants and AXG packages - Adds new SoC IDs and Packages IDs for G12A/G12B, and S805X/Y - Adds Add AO Secure node for G12A dtsi Changes since v1: - Added G12B S922X package ID - Added G12A S905D2 package ID - Fixed patch 2 commit message

[PATCH v2 3/3] arm64: dts: meson-g12a: Add AO Secure node

2019-03-07 Thread Neil Armstrong
This adds the Always-On ao-secure system control registers node, which is used by the meson-gx-socinfo driver to detect the SoC IDs. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 1/3] soc: amlogic: gx-socinfo: Add mask for each SoC packages

2019-03-07 Thread Neil Armstrong
When updated IDs on f842c41adc04 ("amlogic: meson-gx-socinfo: Update soc ids") we introduced packages ids using the full 8bit value, but in the function socinfo_to_package_id() the id was filtered with the 0xf0 mask. While the 0xf0 mask is valid for most board, it filters out the lower 4 bits

Re: [PATCH v2] fs: cifs: Kconfig: pedantic formatting

2019-03-07 Thread Enrico Weigelt, metux IT consult
On 07.03.19 05:00, Steve French wrote: > Is this just converting spaces to tabs? Yes, it's just fixing the indentions to be consistent with the the rest of the Kconfig files. No semantic changes. In the longer run, we should patch up checkpatch.pl to check this, but that's another story. --mtx

Re: [PATCH v6 perf,bpf 08/15] perf, bpf: save btf in a rbtree in perf_env

2019-03-07 Thread Jiri Olsa
On Tue, Mar 05, 2019 at 11:13:52PM -0800, Song Liu wrote: SNIP > /* purge data in bpf_progs.infos tree */ > static void perf_env__purge_bpf(struct perf_env *env) > { > @@ -82,6 +133,19 @@ static void perf_env__purge_bpf(struct perf_env *env) > rb_erase_init(>rb_node, root); >

Re: [PATCH v6 perf,bpf 06/15] perf, bpf: save bpf_prog_info in a rbtree in perf_env

2019-03-07 Thread Jiri Olsa
On Tue, Mar 05, 2019 at 11:13:50PM -0800, Song Liu wrote: > bpf_prog_info contains information necessary to annotate bpf programs. > This patch saves bpf_prog_info for bpf programs loaded in the system. > > Some big picture of the next few patches: > > To fully annotate BPF programs with source

Re: [PATCH v6 perf,bpf 14/15] perf: introduce side band thread

2019-03-07 Thread Jiri Olsa
On Tue, Mar 05, 2019 at 11:13:58PM -0800, Song Liu wrote: SNIP > +void perf_evlist__stop_sb_thread(struct perf_evlist *evlist) > +{ > + if (!evlist) > + return; > + evlist->thread.done = 1; > + pthread_join(evlist->thread.th, NULL); > + perf_evlist__exit(evlist); > +

Re: [PATCH v6 perf,bpf 07/15] perf, bpf: save bpf_prog_info information as headers to perf.data

2019-03-07 Thread Jiri Olsa
On Tue, Mar 05, 2019 at 11:13:51PM -0800, Song Liu wrote: SNIP > +static int process_bpf_prog_info(struct feat_fd *ff, > + void *data __maybe_unused) > +{ > + struct bpf_prog_info_linear *info_linear; > + struct bpf_prog_info_node *info_node; > + struct

Re: [PATCH v2 RFC] x86/kvm/mmu: make mmu->prev_roots cache work for NPT case

2019-03-07 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Alternative patch: remove the filtering from kvm_mmu_get_page() and check > for direct on call sites. cr4_pae setting in kvm_calc_mmu_role_common() > can be preserved for consistency. > > Signed-off-by: Vitaly Kuznetsov > --- > arch/x86/kvm/mmu.c | 6 ++ > 1 file

Re: [PATCH v2 03/10] powerpc/6xx: Store PGDIR physical address in a SPRG

2019-03-07 Thread Guenter Roeck
Hi, On Thu, Feb 21, 2019 at 10:37:55AM +, Christophe Leroy wrote: > Use SPRN_SPRG2 to store the current thread PGDIR and > avoid reading thread_struct.pgdir at every TLB miss. > This patch causes a number of silent (no crash) qemu boot stalls in -next. See

Re: [PATCH v1] lib/test_printf: Switch to bitmap_zalloc()

2019-03-07 Thread Andy Shevchenko
+Cc: Petr On Mon, Mar 04, 2019 at 12:00:09PM +0200, Andy Shevchenko wrote: > Switch to bitmap_zalloc() to show clearly what we are allocating. > Besides that it returns pointer of bitmap type instead of opaque void *. > > Signed-off-by: Andy Shevchenko > --- > lib/test_printf.c | 4 ++-- > 1

RE: [PATCH V7 1/3] watchdog: imx_sc: Add i.MX system controller watchdog support

2019-03-07 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Aisheng Dong > Sent: 2019年3月7日 22:00 > To: Anson Huang ; catalin.mari...@arm.com; > will.dea...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; w...@linux-watchdog.org; >

[PATCH 3/3] clk: meson-g12a: add PCIE PLL clocks

2019-03-07 Thread Neil Armstrong
Add the PCIe reference clock feeding the USB3 + PCIE combo PHY. This PLL needs a very precise register sequence to permit to be locked, thus using the specific clk-pll pcie ops. The PLL is then followed by : - a fixed /2 divider - a 5-bit 1-based divider - a final /2 divider This reference

[PATCH 1/3] clk: meson-pll: add reduced specific clk_ops for G12A PCIe PLL

2019-03-07 Thread Neil Armstrong
The Meson G12A PCIE PLL is fined tuned to deliver a very precise 100MHz reference clock for the PCIe Analog PHY, and thus requires a strict register sequence to enable the PLL. To simplify, use the _init() op to enable the PLL and keep the other ops except set_rate since the rate is fixed.

[PATCH 2/3] dt-bindings: clk: g12a-clkc: add PCIE PLL clock ID

2019-03-07 Thread Neil Armstrong
Add a clock ID for the reference clock feeding the USB3+PCIe Combo PHY. Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/g12a-clkc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-bindings/clock/g12a-clkc.h index

[PATCH 0/3] clk: meson: add support for PCIE PLL

2019-03-07 Thread Neil Armstrong
The Amlogic G12A SoCs embeds a dedicated PLL to feed the USB3+PCIE Combo PHY. This PLL needs a very specific and strict register sequence in order to correcly enable it and deliver the 100MHz reference clock to the Analog PHY. After lot of trials and errors, and since this PLL will ever feed

Re: [PATCH] page flags: prioritize kasan bits over last-cpuid

2019-03-07 Thread Andrey Konovalov
On Thu, Mar 7, 2019 at 8:51 AM Arnd Bergmann wrote: > > ARM64 randdconfig builds regularly run into a build error, especially > when NUMA_BALANCING and SPARSEMEM are enabled but not SPARSEMEM_VMEMMAP: > > #error "KASAN: not enough bits in page flags for tag" > > The last-cpuid bits are already

Re: [PATCH] mm: migrate: add missing flush_dcache_page for non-mapped page migrate

2019-03-07 Thread Lars Persson
On 2/26/19 12:57 PM, Lars Persson wrote: On 2/26/19 11:07 AM, Vlastimil Babka wrote: On 2/26/19 9:40 AM, Lars Persson wrote: What about CC stable and a Fixes tag, would it be applicable here? Yes this is candidate for stable so let's add: Cc: I do not find a good candidate for a

Re: [RFC PATCH 2/2] ceph: quota: fix quota subdir mounts

2019-03-07 Thread Yan, Zheng
On Thu, Mar 7, 2019 at 7:02 PM Luis Henriques wrote: > > "Yan, Zheng" writes: > > > On Thu, Mar 7, 2019 at 2:21 AM Luis Henriques wrote: > >> > >> "Yan, Zheng" writes: > >> > >> > On Sat, Mar 2, 2019 at 3:13 AM Luis Henriques > >> > wrote: > >> >> > >> >> The CephFS kernel client doesn't

Re: [PATCH RT] nvdimm: make lane acquirement RT aware

2019-03-07 Thread Sebastian Andrzej Siewior
On 2019-03-06 17:57:09 [+0800], Yongxin Liu wrote: > In this change, we replace get_cpu/put_cpu with local_lock_cpu/ > local_unlock_cpu, and introduce per CPU variable "ndl_local_lock". > Due to preemption on RT, this lock can avoid race condition for the > same lane on the same CPU. When CPU

[PATCH v2] powerpc: silence unused-but-set-variable warnings

2019-03-07 Thread Qian Cai
pte_unmap() compiles away on some powerpc platforms, so silence the warnings below by making it a static inline function. mm/memory.c: In function 'copy_pte_range': mm/memory.c:820:24: warning: variable 'orig_dst_pte' set but not used [-Wunused-but-set-variable] mm/memory.c:820:9: warning:

Re: [PATCH] cpuset: restore sanity to cpuset_cpus_allowed_fallback()

2019-03-07 Thread Joel Savitz
On Wed, Mar 6, 2019 at 7:55 PM Joel Savitz wrote: > > If a process is limited by taskset (i.e. cpuset) to only be allowed to > run on cpu N, and then cpu N is offlined via hotplug, the process will > be assigned the current value of its cpuset cgroup's effective_cpus field > in a call to

Re: [Y2038] Question regarding support of old time interfaces beyond y2038

2019-03-07 Thread Lukasz Majewski
Hi Arnd, > On Thu, Mar 7, 2019 at 8:53 AM Lukasz Majewski wrote: > > > > Hi Zack, > > > > > On Tue, Mar 5, 2019 at 10:24 AM Lukasz Majewski > > > wrote: > > > > From other discussion [4] - regarding the following system > > > > calls: time, stime, gettimeofday, settimeofday, adjtimex, > > >

Re: [PATCH] sched: fix spelling of active in comment on is_cpu_allowed()

2019-03-07 Thread Joel Savitz
Best, Joel Savitz On Wed, Mar 6, 2019 at 8:13 PM Joel Savitz wrote: > > trivial fix of documentation typo > > Signed-off-by: Joel Savitz > --- > kernel/sched/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index

Re: [PATCH/RFC] driver core: Postpone DMA tear-down until after devres release

2019-03-07 Thread John Garry
On 11/02/2019 10:22, Robin Murphy wrote: On 08/02/2019 18:55, Geert Uytterhoeven wrote: Hi Robin, On Fri, Feb 8, 2019 at 6:55 PM Robin Murphy wrote: On 08/02/2019 16:40, Joerg Roedel wrote: On Thu, Feb 07, 2019 at 08:36:53PM +0100, Geert Uytterhoeven wrote: diff --git a/drivers/base/dd.c

Re: [PATCH 05/14] cpu topology: Export die_id

2019-03-07 Thread Morten Rasmussen
Hi Len, On Tue, Feb 26, 2019 at 01:20:03AM -0500, Len Brown wrote: > From: Len Brown > > Export die_id in cpu topology, for the benefit of hardware that > has multiple-die/package. > > Signed-off-by: Len Brown > Cc: linux-...@vger.kernel.org > --- > Documentation/cputopology.txt | 6 ++

Re: [PATCH] mfd: cros: Update EC protocol to match current EC code

2019-03-07 Thread Enric Balletbo Serra
Hi Lee, Missatge de Guenter Roeck del dia dc., 6 de març 2019 a les 19:58: > > On Wed, Mar 6, 2019 at 10:27 AM Enric Balletbo Serra > wrote: > > > > Hi Guenter, > > > > Missatge de Guenter Roeck del dia dc., 6 de març > > 2019 a les 18:20: > > > > > > [resending in plain text mode ] > > > > > >

[PATCH] powerpc/mm: move warning from resize_hpt_for_hotplug()

2019-03-07 Thread Laurent Vivier
resize_hpt_for_hotplug() reports a warning when it cannot resize the hash page table ("Unable to resize hash page table to target order") but in some cases it's not a problem and can make user thinks something has not worked properly. This patch moves the warning to arch_remove_memory() to only

Re: [PATCH v5 07/10] perf record: implement -z,--compression_level=n option and compression

2019-03-07 Thread Alexey Budankov
On 07.03.2019 14:59, Jiri Olsa wrote: > On Thu, Mar 07, 2019 at 11:26:16AM +0300, Alexey Budankov wrote: >> >> On 05.03.2019 15:26, Jiri Olsa wrote: >>> On Fri, Mar 01, 2019 at 06:58:32PM +0300, Alexey Budankov wrote: >>> >>> SNIP >>> +static size_t record__process_comp_header(void *record,

OK

2019-03-07 Thread Ahmed Ahmed
Greetings, I humbly solicit for your partnership to transfer €15 million Euros into your personal or company’s account .I will offer you 30% of the total sum,60% will be for me while 10% will set aside for expenses that may be incurred on the process of transferring the fund. Contact me for more

Re: [PATCH/RFC] driver core: Postpone DMA tear-down until after devres release

2019-03-07 Thread Robin Murphy
Hi John, On 07/03/2019 14:45, John Garry wrote: [...] Hi guys, Any idea what happened to this fix? It's been in -next for a while (commit 376991db4b64) - I assume it will land shortly and hit stable thereafter, at which point somebody gets to sort out the manual backport past 4.20.

Re: [PATCH] Avoid that check_shl_overflow() triggers a compiler warning when building with W=1

2019-03-07 Thread Bart Van Assche
On 3/6/19 11:24 PM, Leon Romanovsky wrote: My simple patch passes too :). Can you repost your patch? Thanks, Bart.

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-07 Thread Joel Fernandes
On Thu, Mar 07, 2019 at 01:59:12PM +0900, Masahiro Yamada wrote: [snip] > > > [2] > > > > > > The shell script keeps running > > > even when an error occurs. > > > > > > If any line in a shell script fails, > > > probably it went already wrong. > > > > > > I highly recommend to add 'set -e' > > >

Re: [PATCH 09/27] hibernate: Disable when the kernel is locked down

2019-03-07 Thread Alan Cox
On Wed, 6 Mar 2019 15:58:55 -0800 Matthew Garrett wrote: > From: Josh Boyer > > There is currently no way to verify the resume image when returning > from hibernate. This might compromise the signed modules trust model, > so until we can work with signed hibernate images we disable it when

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