[PATCH 2/4] Pinctrl: Ingenic: Add missing parts for JZ4770 and JZ4780.

2019-01-23 Thread Zhou Yanjie
From: Zhou Yanjie Add mmc2 for JZ4770 and JZ4780: According to the datasheet, both JZ4770 and JZ4780 have mmc2. But this part of the original code is missing. It is worth noting that JZ4770's mmc2 supports 8bit mode while JZ4780's does not, so we added the corresponding code for both models.

Re: [PATCH net-next] intel: Mark expected switch fall-throughs

2019-01-23 Thread Jeff Kirsher
On Wed, 2019-01-23 at 01:48 -0600, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/net/ethernet/intel/igb/e1000_82575.c:636:6: warning: this >

Re: [PATCH net-next 02/10] net: macsec: convert to SPDX

2019-01-23 Thread Andrew Lunn
On Wed, Jan 23, 2019 at 04:56:30PM +0100, Antoine Tenart wrote: > This cosmetic patch converts the macsec implementation license header to > the now recommended format, SPDX. > > Signed-off-by: Antoine Tenart > --- > drivers/net/macsec.c | 6 +- > 1 file changed, 1 insertion(+), 5

Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread Alan Tull
On Wed, Jan 23, 2019 at 10:42 AM Dinh Nguyen wrote: > > > > On 1/23/19 10:37 AM, Alan Tull wrote: > > On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote: > > > > Hi Greg, > > > >> > >> On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.com > >> wrote: > >>> From: Richard Gong > >>>

Re: [PATCH v5 01/13] X86/nVMX: handle_vmon: Read 4 bytes from guest memory

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:01AM +0100, KarimAllah Ahmed wrote: > Read the data directly from guest memory instead of the map->read->unmap > sequence. This also avoids using kvm_vcpu_gpa_to_page() and kmap() which > assumes that there is a "struct page" for guest memory. > > Suggested-by: Jim

[PATCH v2 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS

2019-01-23 Thread Kamil Konieczny
Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security SubSystem) IP. Signed-off-by: Kamil Konieczny --- .../devicetree/bindings/crypto/samsung-sss.txt | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git

[PATCH v2 0/3] add AES support for Exynos5433

2019-01-23 Thread Kamil Konieczny
Add slimSSS node to DT and crypto AES support for Exynos5433. Tested on Exynos5433 board with crypto run-time self tests and with tcrypt with command insmod tcrypt.ko mode=500 sec=1 Changes since v1: - address Krzysztof Kozlowski review: add missing comma in struct definition, add goto for

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Mark Rutland
On Fri, Jan 18, 2019 at 11:16:20AM +0530, Pramod Kumar wrote: > If CPU hotplug is supported, ipi_cpu_stop should use PSCI cpudie > call to stop the CPU. This call ensures L1/L2 cache flush, > CPUs cache-cohenrecy setting w.r.to interconnect. > > Apart from this, this gives control to f/w to

[PATCH v2 1/3] arm64: dts: exynos: add SlimSSS for Exynos5433

2019-01-23 Thread Kamil Konieczny
Add DT node for SlimSSS (aka Slim SecuritySubSystem) in Exynos5433 SoC. The users can use compatibility "samsung,exynos5433-slim-sss". Signed-off-by: Kamil Konieczny --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v2 3/3] crypto: s5p: add AES support for Exynos5433

2019-01-23 Thread Kamil Konieczny
Add AES crypto HW acceleration for Exynos5433, with the help of SlimSSS IP. Signed-off-by: Kamil Konieczny --- drivers/crypto/s5p-sss.c | 50 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/s5p-sss.c

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-23 Thread Andrew F. Davis
On 1/22/19 11:33 AM, Sumit Semwal wrote: > Hello everyone, > > Sincere apologies for chiming in a bit late here, but was off due to > some health issues. > Hope you are feeling better friend :) Looks like this email was a bit broken and you replied again, the responses are a little different

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-23 Thread Ard Biesheuvel
On Wed, 23 Jan 2019 at 17:44, Christoph Hellwig wrote: > > I think we just want a driver-local check for those combinations > where we know this hack actually works, which really just seems > to be x86-64 with PAT. Something like the patch below, but maybe with > even more strong warnings to not

Re: [Intel-wired-lan] [PATCH 1/3] treewide: Lift switch variables out of switches

2019-01-23 Thread Jeff Kirsher
On Wed, 2019-01-23 at 03:03 -0800, Kees Cook wrote: > Variables declared in a switch statement before any case statements > cannot be initialized, so move all instances out of the switches. > After this, future always-initialized stack variables will work > and not throw warnings like this: > >

Re: [PATCH v3 5/5] imx8mq.dtsi: add the sdma nodes

2019-01-23 Thread Lucas Stach
Am Mittwoch, den 23.01.2019, 08:23 -0700 schrieb Angus Ainslie (Purism): > Add the sdma nodes to the base devicetree for the imx8mq > > > Signed-off-by: Angus Ainslie (Purism) > --- >  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 31 +++ >  1 file changed, 31 insertions(+) > >

Re: [PATCH 1/2] ARM: dts: meson8b: odroidc1: Enable usb phy node

2019-01-23 Thread Kevin Hilman
Anand Moon writes: > Add missing vbus-supply link to phy controller for usb_phy0 > and usb_phy1 nodes, this changes fixed the power issue > on usb ports usb, changes help fix usb reset warning. > > [ 821.991470] usb 1-1.2: reset high-speed USB device number 3 using dwc2 > [ 825.243385] usb

Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread Richard Gong
Hi Greg, On 1/23/19 10:43 AM, Greg KH wrote: On Wed, Jan 23, 2019 at 10:37:07AM -0600, Alan Tull wrote: On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote: Hi Greg, On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.com wrote: From: Richard Gong Add a Kconfig dependency to

Re: [PATCH] iommu/intel: quirk to disable DMAR for QM57 igfx

2019-01-23 Thread Joerg Roedel
On Wed, Jan 23, 2019 at 05:02:38PM +0200, Joonas Lahtinen wrote: > We have many reports where just having intel_iommu=on (and using the > system normally, without any virtualization stuff going on) will cause > unexplained GPU hangs. For those users, simply switching to > intel_iommu=igfx_off

Re: [PATCH] ARM: prevent tracing IPI_CPU_BACKTRACE

2019-01-23 Thread Julien Thierry
Hi, On 18/10/2018 09:23, Chunyan Zhang wrote: > From: Arnd Bergmann > > When function tracing for IPIs is enabled, we get a warning for an > overflow of the ipi_types array with the IPI_CPU_BACKTRACE type > as triggered by raise_nmi(): > > arch/arm/kernel/smp.c: In function 'raise_nmi': >

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Mark Rutland
On Mon, Jan 21, 2019 at 11:30:02AM +0530, Pramod Kumar wrote: > On Mon, Jan 21, 2019 at 11:28 AM Pramod Kumar > wrote: > > Need comes from a specific use case where one Accelerator card(SoC) is > plugged in a sever over a PCIe interface. This Card gets supply from a > battery, which

[PATCH v2] ipmi:pci: Blacklist a Realtek "IPMI" device

2019-01-23 Thread Paul Menzel
From: Corey Minyard Date: Thu, 15 Feb 2018 16:58:26 -0600 [ upstream commit bc48fa1b9d3b04106055b27078da824cd209865a ] Realtek has some sort of "Virtual" IPMI device on the PCI bus as a KCS controller, but whatever it is, it's not one. Ignore it if seen. Reported-by: Chris Chiu

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-23 Thread Christoph Hellwig
I think we just want a driver-local check for those combinations where we know this hack actually works, which really just seems to be x86-64 with PAT. Something like the patch below, but maybe with even more strong warnings to not do something like this elsewhere: diff --git

Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread Greg KH
On Wed, Jan 23, 2019 at 10:37:07AM -0600, Alan Tull wrote: > On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote: > > Hi Greg, > > > > > On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.com > > wrote: > > > From: Richard Gong > > > > > > Add a Kconfig dependency to ensure Intel

Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread Dinh Nguyen
On 1/23/19 10:37 AM, Alan Tull wrote: > On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote: > > Hi Greg, > >> >> On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.com wrote: >>> From: Richard Gong >>> >>> Add a Kconfig dependency to ensure Intel Stratix10 service layer driver

Re: [PATCH v2] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-23 Thread Codrin.Ciubotariu
On 23.01.2019 18:33, Codrin Ciubotariu - M19940 wrote: > From: Codrin Ciubotariu > > atchan->status variable is used to store two different information: > - pass channel interrupts status from interrupt handler to tasklet; > - channel information like whether it is cyclic or paused; > >

Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread Alan Tull
On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote: Hi Greg, > > On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.com wrote: > > From: Richard Gong > > > > Add a Kconfig dependency to ensure Intel Stratix10 service layer driver > > can be built only on the platform that supports

[PATCH v2] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-01-23 Thread Codrin.Ciubotariu
From: Codrin Ciubotariu atchan->status variable is used to store two different information: - pass channel interrupts status from interrupt handler to tasklet; - channel information like whether it is cyclic or paused; This causes a bug when device_terminate_all() is called,

Re: [PATCH] ipmi:pci: Blacklist a Realtek "IPMI" device

2019-01-23 Thread Greg KH
On Wed, Jan 23, 2019 at 05:27:51PM +0100, Paul Menzel wrote: > From: Corey Minyard > Date: Thu, 15 Feb 2018 16:58:26 -0600 > > [ upstream commit bc48fa1b9d3b04106055b27078da824cd209865a ] > > Realtek has some sort of "Virtual" IPMI device on the PCI bus as a > KCS controller, but whatever it

[PATCH] staging: mt7621-pinctrl: Remove space after cast

2019-01-23 Thread Nishad Kamdar
This patch removes space after a cast as it is not needed. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c

[PATCH 4/5] virtio: Introduce virtio_max_dma_size()

2019-01-23 Thread Joerg Roedel
From: Joerg Roedel This function returns the maximum segment size for a single dma transaction of a virtio device. The possible limit comes from the SWIOTLB implementation in the Linux kernel, that has an upper limit of (currently) 256kb of contiguous memory it can map. Other DMA-API

[PATCH 2/5] swiotlb: Add is_swiotlb_active() function

2019-01-23 Thread Joerg Roedel
From: Joerg Roedel This function will be used from dma_direct code to determine the maximum segment size of a dma mapping. Signed-off-by: Joerg Roedel --- include/linux/swiotlb.h | 6 ++ kernel/dma/swiotlb.c| 5 + 2 files changed, 11 insertions(+) diff --git

[PATCH 1/5] swiotlb: Introduce swiotlb_max_mapping_size()

2019-01-23 Thread Joerg Roedel
From: Joerg Roedel The function returns the maximum size that can be remapped by the SWIOTLB implementation. This function will be later exposed to users through the DMA-API. Signed-off-by: Joerg Roedel --- include/linux/swiotlb.h | 5 + kernel/dma/swiotlb.c| 5 + 2 files changed,

[PATCH 3/5] dma: Introduce dma_max_mapping_size()

2019-01-23 Thread Joerg Roedel
From: Joerg Roedel The function returns the maximum size that can be mapped using DMA-API functions. The patch also adds the implementation for direct DMA and a new dma_map_ops pointer so that other implementations can expose their limit. Signed-off-by: Joerg Roedel ---

[PATCH 5/5] virtio-blk: Consider virtio_max_dma_size() for maximum segment size

2019-01-23 Thread Joerg Roedel
From: Joerg Roedel Segments can't be larger than the maximum DMA mapping size supported on the platform. Take that into account when setting the maximum segment size for a block device. Signed-off-by: Joerg Roedel --- drivers/block/virtio_blk.c | 10 ++ 1 file changed, 6

[PATCH 0/5 v3] Fix virtio-blk issue with SWIOTLB

2019-01-23 Thread Joerg Roedel
Hi, here is the third version of this patch-set. Previous versions can be found here: V1: https://lore.kernel.org/lkml/20190110134433.15672-1-j...@8bytes.org/ V2: https://lore.kernel.org/lkml/20190115132257.6426-1-j...@8bytes.org/ The problem solved here is a limitation of the

[PATCH] ipmi:pci: Blacklist a Realtek "IPMI" device

2019-01-23 Thread Paul Menzel
From: Corey Minyard Date: Thu, 15 Feb 2018 16:58:26 -0600 [ upstream commit bc48fa1b9d3b04106055b27078da824cd209865a ] Realtek has some sort of "Virtual" IPMI device on the PCI bus as a KCS controller, but whatever it is, it's not one. Ignore it if seen. Reported-by: Chris Chiu

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Sudeep Holla
On Wed, Jan 23, 2019 at 10:21:05AM +0530, Pramod Kumar wrote: > Thanks Sudeep for reviewing. Please see my comment inline below. > > On Mon, Jan 21, 2019 at 4:52 PM Sudeep Holla wrote: [...] > > > > OK, but I was expecting the complete call path for this use-case. > > OK. Once power loss

Re: ipmi_si: 90 s delay in system start with 4.14.94, but not 4.18.6

2019-01-23 Thread Paul Menzel
Dear Corey, On 01/22/19 21:58, Corey Minyard wrote: > On 1/22/19 10:17 AM, Paul Menzel wrote: >> Using Linux 4.14.94 on a HP EliteDesk 705 G4 MT desktop system, there >> is a 100 s delay during boot. >> >> ``` >> [    0.00] Linux version 4.14.94.mx64.239 (r...@x.molgen.mpg.de) (gcc >>

[PATCH] PM / wakeup: fix comment of pm_wakeup_dev_event()

2019-01-23 Thread Yangtao Li
This brings the kernel doc in line with the function signature. Signed-off-by: Yangtao Li --- drivers/base/power/wakeup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c index 5fa1898755a3..f1fee72ed970 100644 ---

Re: [PATCH v1 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS

2019-01-23 Thread Kamil Konieczny
On 23.01.2019 08:59, Krzysztof Kozlowski wrote: > On Tue, 22 Jan 2019 at 16:26, Kamil Konieczny > wrote: >> >> Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security >> SubSystem) IP. >> >> Signed-off-by: Kamil Konieczny >> --- >>

Re: [PATCH -next] spi: bcm2835aux: remove unneeded NULL check of devm_clk_get

2019-01-23 Thread Stefan Wahren
> YueHaibing hat am 23. Januar 2019 um 08:05 > geschrieben: > > > Fix a static code checker warning: > drivers/spi/spi-bcm2835aux.c:460 > bcm2835aux_spi_probe() warn: passing zero to 'PTR_ERR' > > In case of error, the function devm_clk_get() returns ERR_PTR() > and not returns NULL. > >

Re: [PATCH 1/1] regulator: pwm: suppress EPROBE_DEFER error message

2019-01-23 Thread Ben Dooks
On 2019-01-23 16:04, Mark Brown wrote: On Mon, Jan 21, 2019 at 07:37:23PM +0100, Martin Blumenstingl wrote: Suppress the "Failed to get PWM" error output if the actual error code is EPROBE_DEFER. This makes the behavior of the pwm-regulator driver consistent with what most other drivers do

Re: [PATCH] staging: netlogic: replace ---help--- with help in Kconfig

2019-01-23 Thread Bharath Veda
On Tue, Jan 22, 2019 at 4:01 PM Greg KH wrote: > > On Sun, Jan 20, 2019 at 09:40:39PM +0530, Bharath Vedartham wrote: > > This patch fixes the checkpatch.pl warning: > > > > WARNING: prefer 'help' over '---help---' for new help texts > > > > Signed-off-by: Bharath Vedartham > > --- > >

Re: [PATCH -next] gpio: davinci: drop pointless static qualifier

2019-01-23 Thread Bartosz Golaszewski
śr., 23 sty 2019 o 11:32 Keerthy napisał(a): > > On 23/01/19 2:19 PM, YueHaibing wrote: > > There is no need to have the 'gpio_unbanked' variable static since > > new value always be assigned before use it. > > Acked-by: Keerthy > > > > > Signed-off-by: YueHaibing > > --- > >

RE: [PATCH v5 2/2] phy: zynqmp: Add phy driver for xilinx zynqmp phy core

2019-01-23 Thread Anurag Kumar Vulisha
Hi Kishon, >-Original Message- >From: Kishon Vijay Abraham I [mailto:kis...@ti.com] >Sent: Monday, January 21, 2019 11:16 AM >To: Anurag Kumar Vulisha ; robh...@kernel.org; Mark >Rutland ; vivek.gau...@codeaurora.org >Cc: Michal Simek ; v.anuragku...@gmail.com; sundeep >subbaraya ; Ajay

Re: [PATCH -next] usb: host: drop pointless static qualifier

2019-01-23 Thread Alan Stern
On Wed, 23 Jan 2019, YueHaibing wrote: > There is no need to have the 'dummy_mask' variable static since new > value always be assigned before use it. > > Signed-off-by: YueHaibing > --- > drivers/usb/host/ehci-ps3.c | 2 +- > drivers/usb/host/ohci-ps3.c | 2 +- > 2 files changed, 2

Re: [PATCH] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-23 Thread Andy Shevchenko
On Wed, Jan 23, 2019 at 5:18 PM Andy Shevchenko wrote: > > On Mon, Jan 14, 2019 at 4:13 PM Guan Yung Tseng > wrote: > > > > Modified NI devices class to PCI_CLASS_COMMUNICATION_MULTISERIAL. > > The reason of doing this is because all NI multi port serial cards > > use

Re: LTP case read_all_proc fails on qemux86-64 since 5.0-rc1

2019-01-23 Thread Jens Axboe
On 1/22/19 8:39 PM, Jens Axboe wrote: > On Jan 22, 2019, at 8:13 PM, He Zhe wrote: >> >> >> LTP case read_all_proc(read_all -d /proc -q -r 10) often, but not every >> time, fails with the following call traces, since 600335205b8d "ide: convert >> to blk-mq"(5.0-rc1) till now(5.0-rc3). >> >>

Re: [PATCH 4/6] spi: spi-geni-qcom: Add interconnect support

2019-01-23 Thread Mark Brown
On Tue, Jan 22, 2019 at 12:03:34PM +0530, Alok Chauhan wrote: > Get the interconnect paths for SPI based Serial Engine device > and vote accordingly based on maximum supported SPI frequency. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH 1/1] regulator: pwm: suppress EPROBE_DEFER error message

2019-01-23 Thread Mark Brown
On Mon, Jan 21, 2019 at 07:37:23PM +0100, Martin Blumenstingl wrote: > Suppress the "Failed to get PWM" error output if the actual error code > is EPROBE_DEFER. This makes the behavior of the pwm-regulator driver > consistent with what most other drivers do (which is: print all errors > except

[PATCH net-next 02/10] net: macsec: convert to SPDX

2019-01-23 Thread Antoine Tenart
This cosmetic patch converts the macsec implementation license header to the now recommended format, SPDX. Signed-off-by: Antoine Tenart --- drivers/net/macsec.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c index

[PATCH net-next 03/10] net: macsec: move some definitions in a dedicated header

2019-01-23 Thread Antoine Tenart
This patch moves some structure, type and identifier definitions into a MACsec specific header. This patch does not modify how the MACsec code is running and only move things around. This is a preparation for the future MACsec hardware offloading support, which will re-use those definitions

[PATCH net-next 04/10] net: macsec: introduce the netdev_macsec structure

2019-01-23 Thread Antoine Tenart
This patch introduces the netdev_macsec structure. It will be used in the kernel to exchange information between the common MACsec implementation (macsec.c) and the MACsec hardware offloading implementations. This structure contains a command (struct netdev_macsec_command) and pointers to MACsec

Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread Greg KH
On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.com wrote: > From: Richard Gong > > Add a Kconfig dependency to ensure Intel Stratix10 service layer driver > can be built only on the platform that supports it. > > Signed-off-by: Richard Gong > --- > drivers/firmware/Kconfig

[PATCH net-next 10/10] net: phy: mscc: macsec support

2019-01-23 Thread Antoine Tenart
This patch adds MACsec support to the Microsemi Ocelot PHY, to configure flows and transformations so that matched packets can be processed by the MACsec engine, either at egress, or at ingress. This addition allows a user to create an hardware accelerated virtual MACsec interface on a port using

[PATCH net-next 06/10] net: introduce a net_device_ops macsec helper

2019-01-23 Thread Antoine Tenart
This patch introduces a net_device_ops MACsec helper to allow net device drivers to implement a MACsec offloading solution. Signed-off-by: Antoine Tenart --- include/linux/netdevice.h | 8 1 file changed, 8 insertions(+) diff --git a/include/linux/netdevice.h

[PATCH net-next 01/10] net: introduce the MACSEC netdev feature

2019-01-23 Thread Antoine Tenart
This patch introduce a new netdev feature, which will be used by drivers to state they can perform MACsec transformations in hardware. Signed-off-by: Antoine Tenart --- include/linux/netdev_features.h | 3 +++ net/core/ethtool.c | 1 + 2 files changed, 4 insertions(+) diff --git

Re: x86/fpu: Don't export __kernel_fpu_{begin,end}()

2019-01-23 Thread Pavel Machek
On Fri 2019-01-11 06:40:58, Greg Kroah-Hartman wrote: > On Fri, Jan 11, 2019 at 06:04:07AM +0100, Lukas Wunner wrote: > > On Thu, Jan 10, 2019 at 07:24:13PM +0100, Greg Kroah-Hartman wrote: > > > My tolerance for ZFS is pretty non-existant. Sun explicitly did not > > > want their code to work on

[PATCH net-next 07/10] net: macsec: hardware offloading infrastructure

2019-01-23 Thread Antoine Tenart
This patch introduces the MACsec hardware offloading infrastructure. The main idea here is to re-use the logic and data structures of the software MACsec implementation. This allows not to duplicate definitions and structure storing the same kind of information. It also allows to use a unified

Re: possible deadlock in __do_page_fault

2019-01-23 Thread Joel Fernandes
On Wed, Jan 23, 2019 at 11:01:04AM +0900, Tetsuo Handa wrote: > Joel Fernandes wrote: > > > Why do we need to call fallocate() synchronously with ashmem_mutex held? > > > Why can't we call fallocate() asynchronously from WQ_MEM_RECLAIM workqueue > > > context so that we can call fallocate() with

Re: [RFC PATCH v1 03/13] regulator: bd718x7 use chip specific and generic data structs

2019-01-23 Thread Mark Brown
On Tue, Jan 22, 2019 at 11:43:28AM +0200, Matti Vaittinen wrote: > Header rohm-bd718x7.h was split to generic and component specific > parts. This changed the struct bd718x7. Adapt the regulator driver to > these changes. Acked-by: Mark Brown Does this need to be squashed into the earlier

Re: [PATCH v3 4/5] dma: imx-sdma: add an index for imx8mq multi sdma devices

2019-01-23 Thread Vinod Koul
On 23-01-19, 08:42, Angus Ainslie wrote: > On 2019-01-23 08:31, Lucas Stach wrote: > > Hi Angus, > > > > Am Mittwoch, den 23.01.2019, 08:23 -0700 schrieb Angus Ainslie (Purism): > > > On i.mx8mq, there are two sdma instances, and the common dma framework > > > will get a channel dynamically from

[PATCH net-next 08/10] net: phy: export __phy_read_page/__phy_write_page

2019-01-23 Thread Antoine Tenart
This patch exports the __phy_read_page and __phy_write_page helpers, to allow reading and setting the current page when a function already holds the MDIO lock. This is something the Microsemi PHY driver does during its initialization because parts of its registers and engines are shared between

[PATCH net-next 05/10] net: phy: introduce a phy_driver macsec helper

2019-01-23 Thread Antoine Tenart
This patch introduces a phy_driver MACsec helper to allow PHYs to implement a MACsec offloading solution. The phy_driver MACsec helper is called through a wrapper, phy_macsec, to perform this call while holding the phydev lock. Signed-off-by: Antoine Tenart --- drivers/net/phy/phy.c | 17

[PATCH net-next 09/10] net: phy: mscc: macsec initialization

2019-01-23 Thread Antoine Tenart
This patch adds support for initializing the MACsec engine found within the Microsemi Ocelot PHY. The engine is initialized in a passthrough mode and does not modify any incoming or outgoing packet. But thanks to this it now can be configured to perform MACsec transformations on packets, which

[PATCH net-next 00/10] net: macsec: initial support for hardware offloading

2019-01-23 Thread Antoine Tenart
Hello, This series intends to add support for offloading MACsec transformations in hardware enabled devices. The series is divided in two parts: the first 7 patches add the infrastructure support to offload a MACsec configuration to hardware drivers; and the last 3 patches introduce the MACsec

Re: [RFC PATCH v1 01/13] regmap: regmap-irq: Add main status register support

2019-01-23 Thread Mark Brown
On Tue, Jan 22, 2019 at 11:42:24AM +0200, Matti Vaittinen wrote: > There is bunch of devices with multiple logical blocks which > can generate interrupts. It's not a rare case that the interrupt > reason registers are arranged so that there is own status/ack/mask > register for each logical

Re: [PATCH AUTOSEL 4.20 072/117] btrfs: alloc_chunk: fix more DUP stripe size handling

2019-01-23 Thread Hans van Kranenburg
On 1/23/19 3:37 PM, Sasha Levin wrote: > On Tue, Jan 08, 2019 at 11:52:02PM +, Hans van Kranenburg wrote: >> Hi Sasha, >> >> On 1/8/19 8:25 PM, Sasha Levin wrote: >>> From: Hans van Kranenburg >>> >>> [ Upstream commit baf92114c7e6dd6124aa3d506e4bc4b694da3bc3 ] >>> >>> Commit 92e222df7b

Want to edit your photos

2019-01-23 Thread Judy
We want to work for you to edit your photos. We can do your photos with white background, sharpen, retouching is included for all your photos. Waiting for the test photos to start with. Thanks, Judy

RE: [Intel-gfx] [PATCH 1/3] treewide: Lift switch variables out of switches

2019-01-23 Thread Jani Nikula
On Wed, 23 Jan 2019, Edwin Zimmerman wrote: > On Wed, 23 Jan 2019, Jani Nikula wrote: >> On Wed, 23 Jan 2019, Greg KH wrote: >> > On Wed, Jan 23, 2019 at 03:03:47AM -0800, Kees Cook wrote: >> >> Variables declared in a switch statement before any case statements >> >> cannot be initialized, so

Re: [PATCH v6 2/6] media: sun6i: Add mod_rate quirk

2019-01-23 Thread Maxime Ripard
On Fri, Jan 18, 2019 at 10:01:54PM +0530, Jagan Teki wrote: > Unfortunately default CSI_SCLK rate cannot work properly to > drive the connected sensor interface, particularly on few > Allwinner SoC's like A64. > > So, add mod_rate quirk via driver data so-that the respective > SoC's which require

Re: [PATCH v3 1/5] dma: imx-sdma: add clock ratio 1:1 check

2019-01-23 Thread Lucas Stach
Am Mittwoch, den 23.01.2019, 08:23 -0700 schrieb Angus Ainslie (Purism): > On i.mx8 mscale B0 chip, AHB/SDMA clock ratio 2:1 can't be supportted, > since SDMA clock ratio has to be increased to 250Mhz, AHB can't reach > to 500Mhz, so use 1:1 instead. > > > Based on NXP commit MLK-16841-1 by Robin

RE: Awaiting your urgent response

2019-01-23 Thread Miss Julian Mene
Good day!!! I am Miss Julian Mene, 24 year old, an orphan from Democratic Republic of Congo (DRC), but presently in Benin Republic. I have something very urgent and important to discuss with you. I assure you that you will not regret anything. Please send your reply to my personal email:

Re: [PATCH v3 4/5] dma: imx-sdma: add an index for imx8mq multi sdma devices

2019-01-23 Thread Angus Ainslie
On 2019-01-23 08:31, Lucas Stach wrote: Hi Angus, Am Mittwoch, den 23.01.2019, 08:23 -0700 schrieb Angus Ainslie (Purism): On i.mx8mq, there are two sdma instances, and the common dma framework will get a channel dynamically from any available sdma instance whether it's the first sdma

Re: [PATCH 2/2] PCI: mediatek: Add controller support for MT7629

2019-01-23 Thread Lorenzo Pieralisi
On Mon, Dec 24, 2018 at 07:40:28PM +0800, Jianjun Wang wrote: > On Thu, 2018-12-20 at 12:20 -0600, Bjorn Helgaas wrote: > > On Tue, Dec 18, 2018 at 05:19:24PM +0800, Jianjun Wang wrote: > > > On Mon, 2018-12-17 at 15:46 +, Lorenzo Pieralisi wrote: > > > > On Mon, Dec 17, 2018 at 08:32:47AM

[PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread richard . gong
From: Richard Gong Add a Kconfig dependency to ensure Intel Stratix10 service layer driver can be built only on the platform that supports it. Signed-off-by: Richard Gong --- drivers/firmware/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/Kconfig

Re: Getting weird TPM error after rebasing my tree to security/next-general

2019-01-23 Thread Jarkko Sakkinen
On Wed, Jan 23, 2019 at 07:26:42AM +1300, Linus Torvalds wrote: > On Wed, Jan 23, 2019 at 2:29 AM Jarkko Sakkinen > wrote: > > > > > > > > > > Fails on commit 170d13ca3a2fdaaa0283399247631b76b441cca2. Still works on > > > > preceding commit a959dc88f9c8900296ccf13e2f3e1cbc555a8917. > > > > > >

Re: [PATCH v4] kbuild: Add support for DT binding schema checks

2019-01-23 Thread Geert Uytterhoeven
Hi Rob, On Tue, Dec 11, 2018 at 9:24 PM Rob Herring wrote: > This adds the build infrastructure for checking DT binding schema > documents and validating dts files using the binding schema. > > Check DT binding schema documents: > make dt_binding_check > > Build dts files and check using DT

Re: [PATCH v3 4/5] dma: imx-sdma: add an index for imx8mq multi sdma devices

2019-01-23 Thread Lucas Stach
Hi Angus, Am Mittwoch, den 23.01.2019, 08:23 -0700 schrieb Angus Ainslie (Purism): > On i.mx8mq, there are two sdma instances, and the common dma framework > will get a channel dynamically from any available sdma instance whether > it's the first sdma device or the second sdma device. Some IPs

[PATCH] staging: rtw_ieee80211: fix constant comparison warning

2019-01-23 Thread Stephen Martin
Fixed comparison on right side of test warnings. Signed-off-by: Stephen Martin --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c

Re: [PATCH 1/1] regulator: pwm: suppress EPROBE_DEFER error message

2019-01-23 Thread Anand Moon
Hi Martin, On Tue, 22 Jan 2019 at 00:07, Martin Blumenstingl wrote: > > Suppress the "Failed to get PWM" error output if the actual error code > is EPROBE_DEFER. This makes the behavior of the pwm-regulator driver > consistent with what most other drivers do (which is: print all errors > except

[PATCH v9 0/3] sched/fair: update scale invariance of PELT

2019-01-23 Thread Vincent Guittot
This new version of the scale invariance patchset adds an important change compare to v3 and before. It still scales the time to reflect the amount of work that has been done during the elapsed running time but this is now done at rq level instead of per entity and rt/dl/cfs_rq. The main advantage

[PATCH v9 1/3] sched/fair: move rq_of helper function

2019-01-23 Thread Vincent Guittot
Move rq_of() helper function so it can be used in pelt.c Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 13 - kernel/sched/sched.h | 16 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index

[PATCH v9 3/3] sched/pelt: skip updating util_est when utilization is higher than cpu's capacity

2019-01-23 Thread Vincent Guittot
util_est is mainly meant to be a lower-bound for tasks utilization. That's why task_util_est() returns the actual util_avg when it's higher than the estimated utilization. With new invaraince signal and without any special check on samples collection, if a task is limited because of thermal

[PATCH v9 2/3] sched/fair: update scale invariance of PELT

2019-01-23 Thread Vincent Guittot
The current implementation of load tracking invariance scales the contribution with current frequency and uarch performance (only for utilization) of the CPU. One main result of this formula is that the figures are capped by current capacity of CPU. Another one is that the load_avg is not

New warnings with gcc9

2019-01-23 Thread Laura Abbott
As an FYI for anyone who is interested, gcc9 landed in Fedora rawhide and I built the kernel as usual. There's a very large number of warnings from -Waddress-of-packed-member e.g. BUILDSTDERR: drivers/scsi/ipr.c: In function 'ipr_handle_config_change': BUILDSTDERR: drivers/scsi/ipr.c:1453:22:

Re: [PATCH 1/2] ARM: dts: meson8b: odroidc1: Enable usb phy node

2019-01-23 Thread Anand Moon
Hi Martin, On Tue, 22 Jan 2019 at 00:22, Martin Blumenstingl wrote: > > Hi Anand, > > On Mon, Jan 21, 2019 at 7:37 AM Anand Moon wrote: > > > > Hi Martin, > > > > Thanks for you comments. > > > > On Mon, 21 Jan 2019 at 03:21, Martin Blumenstingl > > wrote: > > > > > > Hi Anand, > > > > > > On

[PATCH v3 2/5] dma: imx-sdma: add imx8mq sdma compatible parts

2019-01-23 Thread Angus Ainslie (Purism)
This is identical to the imx7d data structures but we need to be able to differentiate that the imx8mq has 2 sdma controllers. Signed-off-by: Angus Ainslie (Purism) --- drivers/dma/imx-sdma.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/dma/imx-sdma.c

[PATCH v3 1/5] dma: imx-sdma: add clock ratio 1:1 check

2019-01-23 Thread Angus Ainslie (Purism)
On i.mx8 mscale B0 chip, AHB/SDMA clock ratio 2:1 can't be supportted, since SDMA clock ratio has to be increased to 250Mhz, AHB can't reach to 500Mhz, so use 1:1 instead. Based on NXP commit MLK-16841-1 by Robin Gong Signed-off-by: Angus Ainslie (Purism) --- drivers/dma/imx-sdma.c | 23

[PATCH v3 0/5] dma: imx-sdma: add the sdma engine to the imx8mq

2019-01-23 Thread Angus Ainslie (Purism)
Add sdma support for the imx8mq Changes since V2 Dropped device tree bindings and added clock ratio check. Fixed bug where incorrect sdma device was selected. Added new compatible string for "fsl,imx8mq-sdma" Changes since V1 Fixed to build against v5.0-rc2 Angus Ainslie (Purism) (5): dma:

[PATCH v3 4/5] dma: imx-sdma: add an index for imx8mq multi sdma devices

2019-01-23 Thread Angus Ainslie (Purism)
On i.mx8mq, there are two sdma instances, and the common dma framework will get a channel dynamically from any available sdma instance whether it's the first sdma device or the second sdma device. Some IPs like SAI only work with sdma2 not sdma1. To make sure the sdma channel is from the correct

[PATCH v3 5/5] imx8mq.dtsi: add the sdma nodes

2019-01-23 Thread Angus Ainslie (Purism)
Add the sdma nodes to the base devicetree for the imx8mq Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi

[PATCH v3 3/5] dt-bindings: dma: fsl-imx-sdma: add imx8mq compatible string

2019-01-23 Thread Angus Ainslie (Purism)
Add "fsl,imx8mq-sdma" to the list of accepted compatible strings. Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt

Re: [PATCH v1 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS

2019-01-23 Thread Kamil Konieczny
Hi Krzysztof, On 23.01.2019 08:59, Krzysztof Kozlowski wrote: > On Tue, 22 Jan 2019 at 16:26, Kamil Konieczny > wrote: >> >> Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security >> SubSystem) IP. >> >> Signed-off-by: Kamil Konieczny >> --- >>

Re: [PATCH] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-23 Thread Andy Shevchenko
On Mon, Jan 14, 2019 at 4:13 PM Guan Yung Tseng wrote: > > Modified NI devices class to PCI_CLASS_COMMUNICATION_MULTISERIAL. > The reason of doing this is because all NI multi port serial cards > use PCI_CLASS_COMMUNICATION_OTHER class and thus fail the > serial_pci_is_class_communication test

[PATCH V2 07/12] perf test: Add test case for PERF_SAMPLE_DATA_PAGE_SIZE

2019-01-23 Thread kan . liang
From: Kan Liang Extend sample-parsing test cases to support new sample type PERF_SAMPLE_DATA_PAGE_SIZE. Signed-off-by: Kan Liang --- No changes since V1 tools/perf/tests/sample-parsing.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH V2 04/12] perf sort: Add sort option for data page size

2019-01-23 Thread kan . liang
From: Kan Liang Add a new sort option "data_page_size" for --mem-mode sort. With this option applied, perf can sort and report by sample's data page size. Here is an example. perf report --stdio --mem-mode --sort=comm,symbol,phys_daddr,data_page_size # To display the perf.data header info,

[PATCH V2 02/12] perf tools: Support new sample type for data page size

2019-01-23 Thread kan . liang
From: Kan Liang Support new sample type PERF_SAMPLE_DATA_PAGE_SIZE for page size. Add new option --data-page-size to record sample data page size. Signed-off-by: Kan Liang --- No changes since V1 tools/include/uapi/linux/perf_event.h| 16 +++-

[PATCH V2 12/12] perf test: Add test case for PERF_SAMPLE_CODE_PAGE_SIZE

2019-01-23 Thread kan . liang
From: Stephane Eranian Extend sample-parsing test cases to support new sample type PERF_SAMPLE_CODE_PAGE_SIZE. Signed-off-by: Stephane Eranian Signed-off-by: Kan Liang --- No changes since V1 tools/perf/tests/sample-parsing.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH V2 06/12] perf mem: Support data page size

2019-01-23 Thread kan . liang
From: Kan Liang Add option --data-page-size in "perf mem" to record/report data page size. Here are some examples. perf mem --phys-data --data-page-size report -D # PID, TID, IP, ADDR, PHYS ADDR, DATA PAGE SIZE, LOCAL WEIGHT, DSRC, # SYMBOL 20134 20134 0xb5bd2fd0

[PATCH V2 10/12] perf script: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

2019-01-23 Thread kan . liang
From: Stephane Eranian Add a new perf script filter called code_page_size. There will be more than 32 filters. Extend the enum perf_output_field from U to UL. Display sampled code page sizes when PERF_SAMPLE_CODE_PAGE_SIZE was set. For example, perf script --fields comm,event,ip,code_page_size

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