[RFC v2 0/2] WhiteEgret LSM module

2018-03-01 Thread Masanobu Koike
WhiteEgret is an LSM to simply provide a whitelisting-type execution control. An execution-whitelist, simply called whitelist, is a list of executable components (e.g., applications, libraries) that are approved to run on a host. The whitelist is used to decide whether executable components are

Re: [PATCH v5 2/3] dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC

2018-03-01 Thread Vinod Koul
On Sun, Feb 18, 2018 at 03:08:30AM +0800, sean.w...@mediatek.com wrote: > @@ -0,0 +1,1054 @@ > +// SPDX-License-Identifier: GPL-2.0 // Copyright ... The copyright line needs to follow SPDX tag line > +#include > +#include > +#include > +#include > +#include > +#include > +#include >

Re: [PATCH v4 08/10] ARM: sunxi: smp: Move assembly code into a file

2018-03-01 Thread Mylène Josserand
Hello, On Fri, 23 Feb 2018 16:09:49 +0100 Maxime Ripard wrote: > On Fri, Feb 23, 2018 at 02:37:40PM +0100, Mylène Josserand wrote: > > Move the assembly code for cluster cache enabling > > into an assembly file instead of having it directly in C code. > > > > Create

Re: [PATCH 2/2 v2 RFC] tools/memory-model: redefine rb in terms of rcu-fence

2018-03-01 Thread Boqun Feng
On Wed, Feb 28, 2018 at 08:49:37PM -0800, Paul E. McKenney wrote: > On Thu, Mar 01, 2018 at 09:55:31AM +0800, Boqun Feng wrote: > > On Wed, Feb 28, 2018 at 03:13:54PM -0500, Alan Stern wrote: > > > This patch reorganizes the definition of rb in the Linux Kernel Memory > > > Consistency Model. The

Re: [PATCH] staging/imx: Fix inconsistent IS_ERR and PTR_ERR

2018-03-01 Thread Philipp Zabel
On Wed, 2018-02-28 at 22:09 -0600, Gustavo A. R. Silva wrote: > Fix inconsistent IS_ERR and PTR_ERR in imx_csi_probe. > The proper pointer to be passed as argument is pinctrl > instead of priv->vdev. > > This issue was detected with the help of Coccinelle. > > Fixes: 52e17089d185 ("media: imx:

Re: [PATCH] arm64: dts: rockchip: Fix rk3399-gru-* s2r (pinctrl hogs, wifi reset)

2018-03-01 Thread Heiko Stübner
Am Dienstag, 27. Februar 2018, 21:47:11 CET schrieb Douglas Anderson: > Back in the early days when gru devices were still under development > we found an issue where the WiFi reset line needed to be configured as > early as possible during the boot process to avoid the WiFi module > being in a

[tip:x86/pti] x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table

2018-03-01 Thread tip-bot for Thomas Gleixner
Commit-ID: 945fd17ab6bab8a4d05da6c3170519fbcfe62ddb Gitweb: https://git.kernel.org/tip/945fd17ab6bab8a4d05da6c3170519fbcfe62ddb Author: Thomas Gleixner AuthorDate: Wed, 28 Feb 2018 21:14:26 +0100 Committer: Thomas Gleixner CommitDate: Thu, 1 Mar

Re: [PATCH] drm/sun4i: link in front-end code if needed

2018-03-01 Thread Maxime Ripard
On Mon, Feb 26, 2018 at 06:55:49PM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 26, 2018 at 6:53 PM, Maxime Ripard > wrote: > > On Mon, Feb 26, 2018 at 10:31:51AM +0100, Arnd Bergmann wrote: > >> On Mon, Feb 26, 2018 at 10:21 AM, Maxime Ripard > >>

Re: [PATCH V2] nvme-pci: assign separate irq vectors for adminq and ioq0

2018-03-01 Thread Sagi Grimberg
Note that we originally allocates irqs this way, and Keith changed it a while ago for good reasons. So I'd really like to see good reasons for moving away from this, and some heuristics to figure out which way to use. E.g. if the device supports more irqs than I/O queues your scheme might

Re: [PATCH] gpio: raspberrypi-ext: fix firmware dependency

2018-03-01 Thread Linus Walleij
On Wed, Feb 28, 2018 at 2:48 PM, Arnd Bergmann wrote: > When the firmware driver is a loadable module, the gpio driver cannot be > built-in: > > drivers/gpio/gpio-raspberrypi-exp.o: In function `rpi_exp_gpio_set': > gpio-raspberrypi-exp.c:(.text+0xb4): undefined reference to >

Re: [PATCH v2 13/15] KVM: s390: Configure the guest's CRYCB

2018-03-01 Thread David Hildenbrand
On 28.02.2018 21:45, Tony Krowiak wrote: > On 02/28/2018 04:49 AM, David Hildenbrand wrote: >>> +static int vfio_ap_mdev_open(struct mdev_device *mdev) >>> +{ >>> + struct ap_matrix_mdev *matrix_mdev = mdev_get_drvdata(mdev); >>> + unsigned long events; >>> + int ret; >>> + >>> +

Re: Clang build of arm64 kernel fails

2018-03-01 Thread Robin Murphy
Hi Andrey, On 28/02/18 19:32, Andrey Konovalov wrote: Hi Marc! I've tried to pull in new upstream commits and the kernel build started failing for me with the following errors (see below). It seems that the reason is your commit "arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support".

[PATCH 0/6] Add mmc support for STM32F7 boards

2018-03-01 Thread patrice.chotard
From: Patrice Chotard This series adds : _ SDIO pins definition for STM32F7 SoCs family _ add sdio1 DT entry for STM32F746 Discovery board _ add sdio1 DT entry for STM32F746 Evaluation board _ add sdio1 DT entry for STM32F769 Discovery board _ add SDMMC2 entry in

Re: [PATCH] ata: add Amiga Gayle PATA controller driver

2018-03-01 Thread John Paul Adrian Glaubitz
Hello! On 02/18/2018 05:18 PM, John Paul Adrian Glaubitz wrote: Is there any progress on this? Is it just the SDPX headers now that are missing? Would it be okay if re-send the patch with the SPDX headers added? Or can we get the patch merged, then I'll send a patch to add the SPDX headers?

Re: [PATCH 1/2] drm/sun4i: increase lvds dclk max divisor

2018-03-01 Thread Maxime Ripard
On Wed, Feb 28, 2018 at 06:53:51PM +0100, Giulio Benetti wrote: > At the moment both min and max dclk div are set to 7. > This doesn't allow to have lower frequencies. > > Increase dclk_max_div to 18 to achieve 30Mhz. > > Signed-off-by: Giulio Benetti > --- >

[PATCH v6 05/14] iommu/rockchip: Use iopoll helpers to wait for hardware

2018-03-01 Thread Jeffy Chen
From: Tomasz Figa This patch converts the rockchip-iommu driver to use the in-kernel iopoll helpers to wait for certain status bits to change in registers instead of an open-coded custom macro. Signed-off-by: Tomasz Figa Signed-off-by: Jeffy Chen

[PATCH v6 02/14] iommu/rockchip: Fix error handling in probe

2018-03-01 Thread Jeffy Chen
Add missing iommu_device_sysfs_remove in error path. Signed-off-by: Jeffy Chen Reviewed-by: Tomasz Figa --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/iommu/rockchip-iommu.c | 6

[PATCH v6 03/14] iommu/rockchip: Request irqs in rk_iommu_probe()

2018-03-01 Thread Jeffy Chen
Move request_irq to the end of rk_iommu_probe(). Suggested-by: Robin Murphy Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: Loop platform_get_irq() as Robin suggested. Changes in v2: None

[PATCH v6 04/14] iommu/rockchip: Fix error handling in attach

2018-03-01 Thread Jeffy Chen
From: Tomasz Figa Currently if the driver encounters an error while attaching device, it will leave the IOMMU in an inconsistent state. Even though it shouldn't really happen in reality, let's just add proper error path to keep things consistent. Signed-off-by: Tomasz Figa

[PATCH v6 00/14] iommu/rockchip: Use OF_IOMMU

2018-03-01 Thread Jeffy Chen
This series fixes some issues in rockchip iommu driver, and add of_iommu support in it. Changes in v6: Add clk names, and modify all iommu nodes in all existing rockchip dts Fix dt-binding as Robin suggested. Use aclk and iface clk as Rob and Robin suggested, and split binding patch. Changes in

[PATCH v6 06/14] iommu/rockchip: Fix TLB flush of secondary IOMMUs

2018-03-01 Thread Jeffy Chen
From: Tomasz Figa Due to the bug in current code, only first IOMMU has the TLB lines flushed in rk_iommu_zap_lines. This patch fixes the inner loop to execute for all IOMMUs and properly flush the TLB. Signed-off-by: Tomasz Figa Signed-off-by: Jeffy Chen

Re: [PATCH] ath10k: search all IEs for variant before falling back

2018-03-01 Thread Kalle Valo
Kalle Valo writes: > Thomas Hebb writes: > >> commit f2593cb1b291 ("ath10k: Search SMBIOS for OEM board file >> extension") added a feature to ath10k that allows Board Data File >> (BDF) conflicts between multiple devices that use the same device IDs

Re: [PATCH 1/6] ARM: dts: stm32: Add sdio pins definition for stm32f7

2018-03-01 Thread Patrice CHOTARD
Hi Alex On 03/01/2018 10:51 AM, Alexandre Torgue wrote: > Hi Patrice > > On 03/01/2018 10:43 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Add sdio pins definition for the 2 sdio instances embeds in stm32f746. >> >> Signed-off-by: Patrice Chotard

Re: [PATCH] soc: rockchip: power-domain: remove PM clocks

2018-03-01 Thread Ulf Hansson
+linux-pm Geert, Jeffry, Tomasz, Apologize for side-tracking the discussion. Just wanted to add a few comments, whatever it's worth to you. On 1 March 2018 at 09:33, Geert Uytterhoeven wrote: > Hi Jeffy, > > On Thu, Mar 1, 2018 at 4:40 AM, JeffyChen

[RESEND PATCH v6 00/14] iommu/rockchip: Use OF_IOMMU

2018-03-01 Thread Jeffy Chen
This series fixes some issues in rockchip iommu driver, and add of_iommu support in it. Changes in v6: Add clk names, and modify all iommu nodes in all existing rockchip dts Fix dt-binding as Robin suggested. Use aclk and iface clk as Rob and Robin suggested, and split binding patch. Changes in

Re: [PATCH v5 2/3] dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC

2018-03-01 Thread Sean Wang
On Thu, 2018-03-01 at 13:53 +0530, Vinod Koul wrote: > On Sun, Feb 18, 2018 at 03:08:30AM +0800, sean.w...@mediatek.com wrote: > > > @@ -0,0 +1,1054 @@ > > +// SPDX-License-Identifier: GPL-2.0 > // Copyright ... > > The copyright line needs to follow SPDX tag line > okay, I will make it

[RESEND PATCH v6 03/14] iommu/rockchip: Request irqs in rk_iommu_probe()

2018-03-01 Thread Jeffy Chen
Move request_irq to the end of rk_iommu_probe(). Suggested-by: Robin Murphy Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: Loop platform_get_irq() as Robin suggested. Changes in v2: None

[RFC v2 1/2] WhiteEgret: Add WhiteEgret core functions.

2018-03-01 Thread Masanobu Koike
This RFC provides implementation of WhiteEgret. Signed-off-by: Masanobu Koike --- security/Kconfig | 6 + security/Makefile | 2 + security/whiteegret/Kconfig| 11 ++ security/whiteegret/Makefile | 2 +

Re: [PATCH v3 0/4] Split page_type out from mapcount

2018-03-01 Thread Martin Schwidefsky
On Thu, 1 Mar 2018 08:17:50 +0100 Martin Schwidefsky wrote: > On Wed, 28 Feb 2018 14:31:53 -0800 > Matthew Wilcox wrote: > > > From: Matthew Wilcox > > > > I want to use the _mapcount field to record what a page is in use

Re: [PATCH] dmaengine: at_xdmac: fix rare residue corruption

2018-03-01 Thread Ludovic Desroches
Hi Maxime, On Thu, Feb 22, 2018 at 12:39:55PM +0100, Maxime Jayat wrote: > Despite the efforts made to correctly read the NDA and CUBC registers, > the order in which the registers are read could sometimes lead to an > inconsistent state. > > Re-using the timeline from the comments, this

[GIT PULL] pin control fixes for v4.16

2018-03-01 Thread Linus Walleij
Hi Linus, two smallish pin control fixes: one actual code fix for the Meson and a MAINTAINERS update. Please pull it in! Yours, Linus Walleij The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the Git

Re: [PATCH] cpu_pm: add syscore_suspend error handling

2018-03-01 Thread Sebastian Andrzej Siewior
On 2018-02-28 19:27:54 [-0800], Derek Basehore wrote: > If cpu_cluster_pm_enter() fails, cpu_pm_exit() should be called. This > will put the CPU in the correct state to resume from the failure. Was this triggered or found on review? Either way it was introduced in 6f3eaec87b6b ("cpu_pm: call

Re: [Xen-devel] [RFC PATCH v4 2/7] xen/pvh: Move PVH entry code out of Xen specific tree

2018-03-01 Thread Paolo Bonzini
On 01/03/2018 07:11, Juergen Gross wrote: >> Probably a better place for these would be >> arch/x86/platform/pvh/{enlighten.c,head.S}. (Just because there are no >> .c or .S files in arch/x86). > Right. > >> Maybe Xen ought to be moved under >> arch/x86/platform too. > And hyperv and kvm, too?

Re: [lkp-robot] [printk] c162d5b433: BUG:KASAN:use-after-scope_in_c

2018-03-01 Thread Dmitry Vyukov
On Thu, Mar 1, 2018 at 2:37 AM, Sergey Senozhatsky wrote: > Hello, > > Cc-ing Dmitry Vyukov and kasan-dev on this. > > On (02/28/18 16:59), Petr Mladek wrote: > [..] >> > > >> > > [0.00] BUG: KASAN: use-after-scope in console_unlock+0x185/0x960 >> > > [

Re: [PATCH v3] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie DELAUNAY
Hi Roger, On 02/28/2018 12:01 PM, Roger Quadros wrote: > Hi Amelie, > > On 23/02/18 15:46, Amelie Delaunay wrote: >> On some boards, especially when vbus supply requires large current, >> and the charge pump on the PHY isn't enough, an external vbus power switch >> may be used. >> Add support

Re: [alsa-devel] [PATCH v1 1/4] ASoC: codecs: pcm179x: Add PCM1789 id

2018-03-01 Thread Michael Nazzareno Trimarchi
Hi On Thu, Mar 1, 2018 at 8:43 AM, Mylène Josserand wrote: > Hello, > > Thank you for the review. > > On Tue, 27 Feb 2018 22:51:40 +0100 > Thomas Petazzoni wrote: > >> Hello, >> >> On Tue, 27 Feb 2018 22:24:30 +0100, Mylène Josserand

Re: [PATCH v2 14/15] clk: stm32: Add clk entry for SDMMC2 on stm32F769

2018-03-01 Thread Linus Walleij
On Mon, Feb 26, 2018 at 9:41 AM, Patrice CHOTARD wrote: > Hi Stephen, Michael > > It's a gentle reminder as this patch is present on mailing list and > acked-by since 01/12/2018 You need Stephen's new kernel.org mail address to reach him. (Added on TO:) Yours, Linus

Re: [PATCH net-next 1/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer

2018-03-01 Thread Jason Wang
On 2018年03月01日 16:41, Jesper Dangaard Brouer wrote: On Thu, 1 Mar 2018 11:19:04 +0800 Jason Wang wrote: XDP_REDIRECT support for mergeable buffer was removed since commit 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable() case"). This is because we

Re: [RFC REBASED 5/5] powerpc/mm/slice: use the dynamic high slice size to limit bitmap operations

2018-03-01 Thread Nicholas Piggin
On Thu, 1 Mar 2018 08:09:55 +0100 Christophe LEROY wrote: > Le 28/02/2018 à 07:53, Nicholas Piggin a écrit : > > On Tue, 27 Feb 2018 18:11:07 +0530 > > "Aneesh Kumar K.V" wrote: > > > >> Nicholas Piggin writes: >

Re: [PATCH 2/3] tpm: reduce poll sleep time between send() and recv() in tpm_transmit()

2018-03-01 Thread Jarkko Sakkinen
On Wed, Feb 28, 2018 at 02:18:27PM -0500, Nayna Jain wrote: > In tpm_transmit, after send(), the code checks for status in a loop Maybe cutting hairs now but please just use the actual function name instead of send(). Just makes the commit log more useful asset. > -

Re: KASAN: use-after-free Read in mac80211_hwsim_del_radio

2018-03-01 Thread Johannes Berg
Hi, > syzbot hit the following crash on upstream commit > f3afe530d644488a074291da04a69a296ab63046 (Tue Feb 27 22:02:39 2018 +) > Merge branch 'fixes-v4.16-rc4' of > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security > > So far this crash happened 4 times on upstream. >

Re: [tip:x86/pti] x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table

2018-03-01 Thread Ingo Molnar
Just a few small speling nits: * tip-bot for Thomas Gleixner wrote: > Commit-ID: 945fd17ab6bab8a4d05da6c3170519fbcfe62ddb > Gitweb: > https://git.kernel.org/tip/945fd17ab6bab8a4d05da6c3170519fbcfe62ddb > Author: Thomas Gleixner > AuthorDate:

UBSAN warning in nouveau_bios.c:1528:8

2018-03-01 Thread Meelis Roos
This is the first time I have tried UBSAN on this specific machine (onboard nforce 420 with HP BIOS on Nance mainboard). nouveau seems to be working fine but gives this UBSAN warning: [7.953957] nouveau :00:0d.0: NVIDIA C61 (04c000a2) [7.965101] nouveau :00:0d.0: bios: version

Re: [PATCH] drm/sun4i: Handle DRM_BUS_FLAG_PIXDATA_*EDGE

2018-03-01 Thread Maxime Ripard
On Wed, Feb 28, 2018 at 05:14:52PM +0100, Giulio Benetti wrote: > Handle both positive and negative dclk polarity, > according to bus_flags. > > Signed-off-by: Giulio Benetti > --- > drivers/gpu/drm/sun4i/sun4i_tcon.c | 13 - > 1 file changed, 12

[PATCH 3/6] ARM: dts: stm32: Enable sdio1 for stm32f746-eval

2018-03-01 Thread patrice.chotard
From: Patrice Chotard Adds SDIO related DT nodes for stm32f746-eval board. broken-cd property is needed as card detect signal is connected to a GPIO expander which is not yet supported in kernel linux. Signed-off-by: Patrice Chotard ---

[PATCH 2/6] ARM: dts: stm32: Enable sdio1 for stm32f746-disco

2018-03-01 Thread patrice.chotard
From: Patrice Chotard Adds SDIO related DT nodes for stm32f746-disco board. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f746-disco.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git

Re: [PATCH] rtc-pm8xxx: Fix issue in RTC write path

2018-03-01 Thread Alexandre Belloni
Hi, this was not sent to the correct mailingr- list, please use a more recent kernel ;) On 28/02/2018 at 14:21:18 +0530, Mohit Aggarwal wrote: > In order to set time in rtc, need to disable > rtc hw before writing into rtc registers. > > Also fixes disabling of alarm while setting > rtc time. >

Re: [PATCH 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-03-01 Thread Jarkko Sakkinen
On Wed, Feb 28, 2018 at 01:25:40PM -0700, Jason Gunthorpe wrote: > On Wed, Feb 28, 2018 at 09:58:15PM +0200, Jarkko Sakkinen wrote: > > In order to make struct tpm_buf the first class object for constructing TPM > > commands, migrate tpm2_shutdown() to use it. In addition, removed the klog > >

[PATCH v6 01/14] iommu/rockchip: Prohibit unbind and remove

2018-03-01 Thread Jeffy Chen
Removal of IOMMUs cannot be done reliably. This is similar to exynos iommu driver. Signed-off-by: Jeffy Chen Reviewed-by: Tomasz Figa --- Changes in v6: None Changes in v5: None Changes in v4: Rewrite commit message. Changes in v3: Also remove

Re: [PATCH v3 01/10] dt-bindings: pinctrl: Add bindings for Actions S900 SoC

2018-03-01 Thread Daniel Thompson
On Thu, Mar 01, 2018 at 02:55:56PM +0530, Manivannan Sadhasivam wrote: > Hi Linus, > On Thu, Mar 01, 2018 at 10:20:29AM +0100, Linus Walleij wrote: > > On Wed, Feb 28, 2018 at 7:14 PM, Manivannan Sadhasivam > > wrote: > > > > > Add pinctrl bindings for Actions

Re: [PATCH 01/15] lightnvm: simplify geometry structure.

2018-03-01 Thread Matias Bjørling
On 02/28/2018 04:49 PM, Javier González wrote: Currently, the device geometry is stored redundantly in the nvm_id and nvm_geo structures at a device level. Moreover, when instantiating targets on a specific number of LUNs, these structures are replicated and manually modified to fit the instance

[PATCH][net-next] net: phy: Fix spelling mistake: "advertisment"-> "advertisement"

2018-03-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in comments and error message text. Signed-off-by: Colin Ian King --- drivers/net/phy/bcm7xxx.c| 2 +- drivers/net/phy/marvell.c| 2 +- drivers/net/phy/marvell10g.c | 2 +-

Re: [PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer

2018-03-01 Thread Jesper Dangaard Brouer
On Thu, 1 Mar 2018 17:23:37 +0800 Jason Wang wrote: > On 2018年03月01日 17:10, Jesper Dangaard Brouer wrote: > > On Thu, 1 Mar 2018 11:19:03 +0800 > > Jason Wang wrote: > > > >> This series tries to re-enable XDP_REDIRECT for mergeable buffer which > >>

[PATCH v2] ARM: davinci: fix the GPIO lookup for omapl138-hawk

2018-03-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that mmc can correctly lookup the wp and cp gpios. Fixes: c69f43fb4f26 ("ARM: davinci: hawk: use gpio descriptor for mmc pins") Signed-off-by: Bartosz Golaszewski

Re: [PATCH 12/15] lightnvn: pblk: use generic address format

2018-03-01 Thread Matias Bjørling
On 02/28/2018 04:49 PM, Javier González wrote: Use the generic address format on common address manipulations. Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 10 +- drivers/lightnvm/pblk-map.c | 4 ++-- drivers/lightnvm/pblk-sysfs.c | 4

Re: [PATCH V2 0/5] mmc: add stm32 sdmmc controller

2018-03-01 Thread Ulf Hansson
On 1 March 2018 at 10:57, Ludovic BARRE wrote: > Hi Ulf > > On 03/01/2018 10:06 AM, Ulf Hansson wrote: >> >> Hi Ludovic, >> >> On 28 February 2018 at 16:47, Ludovic Barre wrote: >>> >>> From: Ludovic Barre >>> >>> This patch

Re: [PATCH v3 05/43] drm/bridge: analogix_dp: Don't power bridge in analogix_dp_bind

2018-03-01 Thread Marek Szyprowski
Hi Heiko, Thanks for adding me to this thread. On 2018-02-28 16:20, Heiko Stübner wrote: Am Dienstag, 30. Januar 2018, 21:28:35 CET schrieb Thierry Escande: From: zain wang The bridge does not need to be powered in analogix_dp_bind(), so remove the calls to

Re: [PATCH 0/9] drm/xen-front: Add support for Xen PV display frontend

2018-03-01 Thread Oleksandr Andrushchenko
On 03/01/2018 10:26 AM, Gerd Hoffmann wrote: Hi, 1. Possible security issues - VirtIO devices are PCI bus masters, thus allowing real device (running, for example, in untrusted driver domain) to get control over guest's memory by writing to its memory 2. VirtIO currently uses GFNs written

Re: [PATCH v3] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie DELAUNAY
Hi Robin, On 02/28/2018 02:33 PM, Robin Murphy wrote: > Hi Amelie, > > Just a couple of drive-by coding style comments... > > On 23/02/18 13:46, Amelie Delaunay wrote: >> On some boards, especially when vbus supply requires large current, >> and the charge pump on the PHY isn't enough, an

Re: [PATCH net-next 2/2] virtio-net: simplify XDP handling in small buffer

2018-03-01 Thread Jason Wang
On 2018年03月01日 16:02, Jesper Dangaard Brouer wrote: On Thu, 1 Mar 2018 11:19:05 +0800 Jason Wang wrote: We used to do data copy through xdp_linearize_page() for the buffer without sufficient headroom, it brings extra complexity without helping for the performance. So

Regression found when running LTP connect01 on next-20180301

2018-03-01 Thread Anders Roxell
Hi, I was running LTP's testcase connect01 [1] and found a regression in linux-next (next-20180301). Bisect gave me this patch as the problematic patch (sha d452930fd3b9 "selinux: Add SCTP support") on a x86 target. Output from the test(LTP release 20180118): $ cd /opt/ltp/ $ c

Re: [PATCH] drm/bridge/synopsys: dsi: readl_poll_timeout return value clean up

2018-03-01 Thread Philippe CORNU
Hi Archit, Andrzej & Laurent, May I ask you please your feedback on this small patch? Many thanks, Philippe :-) On 02/04/2018 10:36 PM, Philippe Cornu wrote: > The readl_poll_timeout() return value is 0 in case of success > so it is better to detect errors without taking care of the > return

Re: [PATCH 1/3] extcon: gpio: Localize platform data

2018-03-01 Thread Linus Walleij
On Mon, Feb 12, 2018 at 9:53 AM, Linus Walleij wrote: > Nothing in the entire kernel #includes > so move the platform data declaration inside of the driver. > > Signed-off-by: Linus Walleij No reply on these patches so far, if you prefer I

[tip:x86/apic] x86/apic: Modernize the pending interrupt code

2018-03-01 Thread tip-bot for Dou Liyang
Commit-ID: 3ea9e7ae1a2038b9fdff729861c9b4af0087024f Gitweb: https://git.kernel.org/tip/3ea9e7ae1a2038b9fdff729861c9b4af0087024f Author: Dou Liyang AuthorDate: Thu, 1 Mar 2018 13:59:29 +0800 Committer: Thomas Gleixner CommitDate: Thu, 1 Mar

[tip:x86/apic] x86/apic: Drop logical_smp_processor_id() inline

2018-03-01 Thread tip-bot for Dou Liyang
Commit-ID: 8f1561680f42a5491b371b513f1ab8197f31fd62 Gitweb: https://git.kernel.org/tip/8f1561680f42a5491b371b513f1ab8197f31fd62 Author: Dou Liyang AuthorDate: Thu, 1 Mar 2018 13:59:30 +0800 Committer: Thomas Gleixner CommitDate: Thu, 1 Mar

[PATCH 0/6] phy: rockchip-typec: fix boards that does not report cable-state.

2018-03-01 Thread Enric Balletbo i Serra
Hi, Commit c301b327aea898af ("arm64: dts: rockchip: add usb3-phy otg-port support for rk3399") introduced a regression on some rk3399 boards, and break USB. While some boards have support to report cable-state via extcon interface, other boards does not support. This patch series tries to fix

Re: [PATCH v2] drivers/virt: vm_gen_counter: initial driver implementation

2018-03-01 Thread kbuild test robot
Hi Or, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on v4.16-rc3 next-20180301] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer

2018-03-01 Thread Jason Wang
On 2018年03月01日 17:10, Jesper Dangaard Brouer wrote: On Thu, 1 Mar 2018 11:19:03 +0800 Jason Wang wrote: This series tries to re-enable XDP_REDIRECT for mergeable buffer which was removed since commit 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in

Re: [PATCH net-next 2/2] virtio-net: simplify XDP handling in small buffer

2018-03-01 Thread Jason Wang
On 2018年03月01日 17:15, Jesper Dangaard Brouer wrote: On Thu, 1 Mar 2018 16:49:24 +0800 Jason Wang wrote: 2. This can easily cause out-of-order packets. I may miss something, but it looks to me packets were still delivered in order? Or you mean the packets that was

Re: [PATCH 01/21] powerpc: Remove warning on array size when empty

2018-03-01 Thread Michael Ellerman
Mathieu Malaterre writes: > On Thu, Mar 1, 2018 at 3:55 AM, Michael Ellerman wrote: >> Mathieu Malaterre writes: >> >>> When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the >>> array feature_properties is defined

Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-03-01 Thread Andy Shevchenko
On Thu, Mar 1, 2018 at 9:28 AM, Heikki Krogerus wrote: > Hi, > > On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: >> > +struct device *device_find_connection(struct device *dev, const char >> > +*con_id) { >> > + return __device_find_connection(dev,

Re: [PATCH v2 08/15] KVM: s390: interface to enable AP execution mode

2018-03-01 Thread David Hildenbrand
>>> +EXPORT_SYMBOL(kvm_ap_enable_ie_mode); >>> diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h >>> index 1b5621f..3142541 100644 >>> --- a/arch/s390/kvm/kvm-s390.h >>> +++ b/arch/s390/kvm/kvm-s390.h >>> @@ -18,6 +18,7 @@ >>> #include >>> #include >>> #include >>>

Re: [PATCH] drm/sun4i: Fix dclk_set_phase

2018-03-01 Thread Maxime Ripard
On Wed, Feb 28, 2018 at 05:46:53PM +0100, Giulio Benetti wrote: > Phase value is not shifted before writing. > > Shift left of 28 bits to fit right bits > > Signed-off-by: Giulio Benetti Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free

[PATCH 1/3] KVM: X86: Provides userspace with a capability to not intercept MWAIT

2018-03-01 Thread Wanpeng Li
From: Wanpeng Li Allowing a guest to execute MWAIT without interception enables a guest to put a (physical) CPU into a power saving state, where it takes longer to return from than what may be desired by the host. Don't give a guest that power over a host by default.

Re: [PATCH 1/6] ARM: dts: stm32: Add sdio pins definition for stm32f7

2018-03-01 Thread Alexandre Torgue
Hi Patrice On 03/01/2018 10:43 AM, patrice.chot...@st.com wrote: From: Patrice Chotard Add sdio pins definition for the 2 sdio instances embeds in stm32f746. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 62

[no subject]

2018-03-01 Thread lifeibi...@gmail.com
unsubscribe linux-kernel

Re: [PATCH 2/2] drm/sun4i: add lvds mode_valid function

2018-03-01 Thread Maxime Ripard
On Wed, Feb 28, 2018 at 06:53:52PM +0100, Giulio Benetti wrote: > static struct drm_connector_helper_funcs sun4i_lvds_con_helper_funcs = { > .get_modes = sun4i_lvds_get_modes, > + .mode_valid = sun4i_lvds_mode_valid, > }; This should be on the encoder, not the connector.

Re: [PATCH V2 0/5] mmc: add stm32 sdmmc controller

2018-03-01 Thread Ludovic BARRE
Hi Ulf On 03/01/2018 10:06 AM, Ulf Hansson wrote: Hi Ludovic, On 28 February 2018 at 16:47, Ludovic Barre wrote: From: Ludovic Barre This patch serie adds support of stm32 SDMMC controller. stm32h7 is the first SoC to use stm32 SDMMC controller

Re: [lkp-robot] [printk] c162d5b433: BUG:KASAN:use-after-scope_in_c

2018-03-01 Thread Tetsuo Handa
Dmitry Vyukov wrote: > Hi Shun, > > The report says "job-script is attached in this email", but I don't > see it attached. Did you forget to attach it? How can I reproduce this > exact build? > Could you post a symbolized report with inlines frames? > Forwarded by

Re: [PATCH] sparse doesn't support indirect_branch attribute

2018-03-01 Thread Luc Van Oostenryck
On Wed, Feb 28, 2018 at 10:30:58AM +0900, Masahiro Yamada wrote: > 2018-02-28 7:36 GMT+09:00 Luc Van Oostenryck : > > > > To compensate this, I sent a patch to use '-Wno-unknown-attribute' for > > kernel > > builds. Masahiro Yamada has already taken it to the

[RESEND PATCH v6 04/14] iommu/rockchip: Fix error handling in attach

2018-03-01 Thread Jeffy Chen
From: Tomasz Figa Currently if the driver encounters an error while attaching device, it will leave the IOMMU in an inconsistent state. Even though it shouldn't really happen in reality, let's just add proper error path to keep things consistent. Signed-off-by: Tomasz Figa

[RESEND PATCH v6 02/14] iommu/rockchip: Fix error handling in probe

2018-03-01 Thread Jeffy Chen
Add missing iommu_device_sysfs_remove in error path. Signed-off-by: Jeffy Chen Reviewed-by: Tomasz Figa --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/iommu/rockchip-iommu.c | 6

[RESEND PATCH v6 01/14] iommu/rockchip: Prohibit unbind and remove

2018-03-01 Thread Jeffy Chen
Removal of IOMMUs cannot be done reliably. This is similar to exynos iommu driver. Signed-off-by: Jeffy Chen Reviewed-by: Tomasz Figa --- Changes in v6: None Changes in v5: None Changes in v4: Rewrite commit message. Changes in v3: Also remove

[PATCH v2] rtc: m48t59: use generic nvmem

2018-03-01 Thread Alexandre Belloni
Instead of adding a binary sysfs attribute from the driver (which suffers from a race condition as the attribute appears after the device), use the core to register an nvmem device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-m48t59.c | 56

[PATCH v2] rtc: rp5c01: use generic nvmem

2018-03-01 Thread Alexandre Belloni
Instead of adding a binary sysfs attribute from the driver, use the core to register an nvmem device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rp5c01.c | 65 ++-- 1 file changed, 24 insertions(+), 41

[PATCH v2] rtc: stk17ta8: use generic nvmem

2018-03-01 Thread Alexandre Belloni
Instead of adding a binary sysfs attribute from the driver, use the core to register an nvmem device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-stk17ta8.c | 64 +- 1 file changed, 24 insertions(+), 40

[PATCH v2] rtc: tx4939: use generic nvmem

2018-03-01 Thread Alexandre Belloni
Instead of adding a binary sysfs attribute from the driver, use the core to register an nvmem device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-tx4939.c | 59 +--- 1 file changed, 26 insertions(+), 33

Re: [PATCH 02/15] lightnvm: add controller capabilities to 2.0

2018-03-01 Thread Matias Bjørling
On 02/28/2018 04:49 PM, Javier González wrote: Assign missing mccap value on 2.0 path Signed-off-by: Javier González --- drivers/nvme/host/lightnvm.c | 4 +++- include/linux/lightnvm.h | 8 +--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

2018-03-01 Thread Maxime Ripard
On Wed, Feb 28, 2018 at 11:19:11AM -0600, Samuel Holland wrote: > Hi, > > On 02/28/18 02:32, Maxime Ripard wrote: > > On Tue, Feb 27, 2018 at 08:27:14PM -0600, Samuel Holland wrote: > >> + /* > >> + * The failure path should not disable the clock or assert the reset, > >> + * because the

Re: [PATCH 1/2] stackleak: Update for arm64

2018-03-01 Thread Richard Sandiford
Alexander Popov writes: > On 27.02.2018 13:21, Richard Sandiford wrote: >> Hi Alexander, >> >> Sorry for the slow reply, been caught up in an office move. > > Thank you very much for the review, Richard! > >> Alexander Popov writes: >>> Would you be

Re: [PATCH v3 01/10] dt-bindings: pinctrl: Add bindings for Actions S900 SoC

2018-03-01 Thread Manivannan Sadhasivam
Hi Daniel, On Thu, Mar 01, 2018 at 10:23:00AM +, Daniel Thompson wrote: > On Thu, Mar 01, 2018 at 02:55:56PM +0530, Manivannan Sadhasivam wrote: > > Hi Linus, > > On Thu, Mar 01, 2018 at 10:20:29AM +0100, Linus Walleij wrote: > > > On Wed, Feb 28, 2018 at 7:14 PM, Manivannan Sadhasivam > > >

Re: [PATCH] ARM: davinci: fix the GPIO lookup for omapl138-hawk

2018-03-01 Thread Bartosz Golaszewski
2018-02-28 7:38 GMT+01:00 Sekhar Nori : > On Tuesday 27 February 2018 05:44 PM, Bartosz Golaszewski wrote: >> From: Bartosz Golaszewski >> >> The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that >> mmc can correctly lookup the wp and cp

Re: [PATCH 09/15] lightnvm: implement get log report chunk helpers

2018-03-01 Thread Matias Bjørling
On 02/28/2018 04:49 PM, Javier González wrote: The 2.0 spec provides a report chunk log page that can be retrieved using the stangard nvme get log page. This replaces the dedicated get/put bad block table in 1.2. This patch implements the helper functions to allow targets retrieve the chunk

[RFC v2 2/2] WhiteEgret: Add an example of user application.

2018-03-01 Thread Masanobu Koike
A user application is required to use WhiteEgret. This RFC provides a sample user application program. Usage sample-we-user This sample user application always returns "not permit" for the executable specified by the argument , otherwise always returns "permit". Set the absolute path of an

Re: [PATCH net-next 2/2] virtio-net: simplify XDP handling in small buffer

2018-03-01 Thread Jesper Dangaard Brouer
On Thu, 1 Mar 2018 11:19:05 +0800 Jason Wang wrote: > We used to do data copy through xdp_linearize_page() for the buffer > without sufficient headroom, it brings extra complexity without > helping for the performance. So this patch remove it and switch to use > generic

[PATCH] MAINTAINERS: Add Spreadtrum SoC entry

2018-03-01 Thread Chunyan Zhang
Add Spreadtrum's maintainer entry and Orson, Baolin and me as maintainers. Cc: Orson Zhai Cc: Baolin Wang Signed-off-by: Chunyan Zhang --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS

[PATCH v3] pwm: mediatek: fix up PWM4 and PWM5 malfunction on MT7623

2018-03-01 Thread sean.wang
From: Sean Wang Since the offset for both registers, PWMDWIDTH and PWMTHRES, used to control PWM4 or PWM5 are distinct from the other PWMs, whose wrong programming on PWM hardware causes waveform cannot be output as expected. Thus, the patch adds the extra condition for

Re: [PATCH 1/3] tpm: move TPM_POLL_SLEEP from tpm_tis_core.c to tpm.h

2018-03-01 Thread Jarkko Sakkinen
Hi On Wed, Feb 28, 2018 at 02:18:26PM -0500, Nayna Jain wrote: > This patch moves TPM_POLL_SLEEP from tpm_tis_core.c to tpm.h, renaming > it to TPM_TIMEOUT_POLL, to follow the existing enum naming > conventions. > > Signed-off-by: Nayna Jain The cover letter is

Re: [PATCH v7 10/42] clk: davinci: New driver for davinci PSC clocks

2018-03-01 Thread Bartosz Golaszewski
2018-02-28 22:40 GMT+01:00 David Lechner : > On 02/28/2018 06:38 AM, Bartosz Golaszewski wrote: >> >> >> I think I found the reason for the strange crashes we were >> experiencing (emac core->name being NULL) thanks to Sekhar who pointed >> me in the right direction. >> >>

Re: [PATCH v2 03/15] s390: zcrypt: externalize AP instructions available function

2018-03-01 Thread Harald Freudenberger
On 02/28/2018 06:41 PM, Cornelia Huck wrote: > On Tue, 27 Feb 2018 09:28:01 -0500 > Tony Krowiak wrote: > >> If the AP instructions are not available on the linux host, then >> AP devices can not be interpreted by the SIE. The AP bus has a >> function it uses to

  1   2   3   4   5   6   7   8   9   10   >