Re: [Xen-devel] [PATCH 3/8] drm/xen-front: fix 32-bit build warning

2018-05-28 Thread Oleksandr Andrushchenko
Hi, On 05/25/2018 06:50 PM, Arnd Bergmann wrote: In 32-bit kernel builds, we cannot cast between a pointer and a 64-bit type: In file included from drivers/gpu/drm/xen/xen_drm_front_cfg.c:18: drivers/gpu/drm/xen/xen_drm_front.h: In function 'xen_drm_front_fb_to_cookie':

Re: [Xen-devel] [PATCH 3/8] drm/xen-front: fix 32-bit build warning

2018-05-28 Thread Oleksandr Andrushchenko
Hi, On 05/25/2018 06:50 PM, Arnd Bergmann wrote: In 32-bit kernel builds, we cannot cast between a pointer and a 64-bit type: In file included from drivers/gpu/drm/xen/xen_drm_front_cfg.c:18: drivers/gpu/drm/xen/xen_drm_front.h: In function 'xen_drm_front_fb_to_cookie':

[PATCH] kdb: prefer strlcpy to strncpy

2018-05-28 Thread Nick Desaulniers
Fixes stringop-truncation and stringop-overflow warnings from gcc-8. Signed-off-by: Nick Desaulniers --- kernel/debug/kdb/kdb_io.c | 2 +- kernel/debug/kdb/kdb_main.c| 4 ++-- kernel/debug/kdb/kdb_support.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] kdb: prefer strlcpy to strncpy

2018-05-28 Thread Nick Desaulniers
Fixes stringop-truncation and stringop-overflow warnings from gcc-8. Signed-off-by: Nick Desaulniers --- kernel/debug/kdb/kdb_io.c | 2 +- kernel/debug/kdb/kdb_main.c| 4 ++-- kernel/debug/kdb/kdb_support.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] platform: chrome: Add input dependency for tablet switch driver

2018-05-28 Thread Benson Leung
Hi Arnd, On Mon, May 28, 2018 at 05:58:46PM +0200, Arnd Bergmann wrote: > Without CONFIG_INPUT, or with a modular input layer and built-in > tablet driver, we get a link error: > > ERROR: "input_event" [drivers/platform/chrome/chromeos_tbmc.ko] undefined! > ERROR: "input_register_device"

Re: [PATCH] platform: chrome: Add input dependency for tablet switch driver

2018-05-28 Thread Benson Leung
Hi Arnd, On Mon, May 28, 2018 at 05:58:46PM +0200, Arnd Bergmann wrote: > Without CONFIG_INPUT, or with a modular input layer and built-in > tablet driver, we get a link error: > > ERROR: "input_event" [drivers/platform/chrome/chromeos_tbmc.ko] undefined! > ERROR: "input_register_device"

linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the irqchip tree got a conflict in: arch/arm/boot/dts/stm32mp157c.dtsi between commit: 3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c") from the arm-soc tree and commit: 5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for

linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the irqchip tree got a conflict in: arch/arm/boot/dts/stm32mp157c.dtsi between commit: 3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c") from the arm-soc tree and commit: 5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for

Re: [alsa-devel] [PATCH] ALSA: xen: ensure nul-terminated device name

2018-05-28 Thread Oleksandr Andrushchenko
On 05/28/2018 06:59 PM, Arnd Bergmann wrote: gcc-8 warns that pcm_instance->name is not necessarily terminated correctly if the input is more than 80 characters long or lacks a termination byte itself: In function 'strncpy', inlined from 'cfg_device' at sound/xen/xen_snd_front_cfg.c:399:3,

Re: [alsa-devel] [PATCH] ALSA: xen: ensure nul-terminated device name

2018-05-28 Thread Oleksandr Andrushchenko
On 05/28/2018 06:59 PM, Arnd Bergmann wrote: gcc-8 warns that pcm_instance->name is not necessarily terminated correctly if the input is more than 80 characters long or lacks a termination byte itself: In function 'strncpy', inlined from 'cfg_device' at sound/xen/xen_snd_front_cfg.c:399:3,

[PATCH] crypto: blkcipher: prefer strlcpy to strncpy

2018-05-28 Thread Nick Desaulniers
Fixes stringop-truncation warnings from gcc-8. Signed-off-by: Nick Desaulniers --- crypto/ablkcipher.c | 8 crypto/blkcipher.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index d880a48..e38867f 100644 ---

[PATCH] crypto: blkcipher: prefer strlcpy to strncpy

2018-05-28 Thread Nick Desaulniers
Fixes stringop-truncation warnings from gcc-8. Signed-off-by: Nick Desaulniers --- crypto/ablkcipher.c | 8 crypto/blkcipher.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index d880a48..e38867f 100644 ---

Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet

2018-05-28 Thread Finn Thain
On Tue, 29 May 2018, Michael Schmitz wrote: > > > > Since an arch gets to apply limits in the dma ops it implements, why > > would arch code also have to set a limit in the form of default > > platform device masks? Powerpc seems to be the only arch that does > > this. > > One of Christoph's

Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet

2018-05-28 Thread Finn Thain
On Tue, 29 May 2018, Michael Schmitz wrote: > > > > Since an arch gets to apply limits in the dma ops it implements, why > > would arch code also have to set a limit in the form of default > > platform device masks? Powerpc seems to be the only arch that does > > this. > > One of Christoph's

Re: [PATCH 4.9 000/329] 4.9.104-stable review

2018-05-28 Thread Naresh Kamboju
On 28 May 2018 at 15:28, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.104 release. > There are 329 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.9 000/329] 4.9.104-stable review

2018-05-28 Thread Naresh Kamboju
On 28 May 2018 at 15:28, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.104 release. > There are 329 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: linux-next: build failure after merge of the net-next tree

2018-05-28 Thread Christoph Hellwig
> [Christoph, I noticed that the comment above datagram_poll in > net/core/datagram.c needs the function name updated] I'll send a fix for that. > > I have added the following merge fix patch for today: This looks correct, thanks!

Re: linux-next: build failure after merge of the net-next tree

2018-05-28 Thread Christoph Hellwig
> [Christoph, I noticed that the comment above datagram_poll in > net/core/datagram.c needs the function name updated] I'll send a fix for that. > > I have added the following merge fix patch for today: This looks correct, thanks!

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-28 Thread Naresh Kamboju
On 28 May 2018 at 15:30, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.16.13 release. > There are 272 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-28 Thread Naresh Kamboju
On 28 May 2018 at 15:30, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.16.13 release. > There are 272 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [RFC v5 2/5] virtio_ring: support creating packed ring

2018-05-28 Thread Tiwei Bie
On Tue, May 29, 2018 at 10:49:11AM +0800, Jason Wang wrote: > On 2018年05月22日 16:16, Tiwei Bie wrote: > > This commit introduces the support for creating packed ring. > > All split ring specific functions are added _split suffix. > > Some necessary stubs for packed ring are also added. > > > >

Re: [RFC v5 2/5] virtio_ring: support creating packed ring

2018-05-28 Thread Tiwei Bie
On Tue, May 29, 2018 at 10:49:11AM +0800, Jason Wang wrote: > On 2018年05月22日 16:16, Tiwei Bie wrote: > > This commit introduces the support for creating packed ring. > > All split ring specific functions are added _split suffix. > > Some necessary stubs for packed ring are also added. > > > >

Re: Revert "dmaengine: pl330: add DMA_PAUSE feature"

2018-05-28 Thread Marek Szyprowski
Hi Vinod, On 2018-05-18 09:21, Vinod wrote: > On 18-05-18, 08:28, Marek Szyprowski wrote: >> Hi Vinod, >> >> Okay, I see that in theory, there are some tricky bits in implementing DMA >> support in UART drivers. On the other hand there are already drivers >> with seems >> to be working fine. This

Re: Revert "dmaengine: pl330: add DMA_PAUSE feature"

2018-05-28 Thread Marek Szyprowski
Hi Vinod, On 2018-05-18 09:21, Vinod wrote: > On 18-05-18, 08:28, Marek Szyprowski wrote: >> Hi Vinod, >> >> Okay, I see that in theory, there are some tricky bits in implementing DMA >> support in UART drivers. On the other hand there are already drivers >> with seems >> to be working fine. This

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-28 Thread Frank Rowand
On 05/24/18 11:18, Mark Brown wrote: > On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: > >> Subsystems or drivers may opt-in to this behavior by calling >> driver_deferred_probe_check_init_done() instead of just returning >> -EPROBE_DEFER. They may use additional information from DT

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-28 Thread Frank Rowand
On 05/24/18 11:18, Mark Brown wrote: > On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: > >> Subsystems or drivers may opt-in to this behavior by calling >> driver_deferred_probe_check_init_done() instead of just returning >> -EPROBE_DEFER. They may use additional information from DT

Re: [RFC v5 3/5] virtio_ring: add packed ring support

2018-05-28 Thread Tiwei Bie
On Tue, May 29, 2018 at 11:18:57AM +0800, Jason Wang wrote: > On 2018年05月22日 16:16, Tiwei Bie wrote: [...] > > +static void detach_buf_packed(struct vring_virtqueue *vq, > > + unsigned int id, void **ctx) > > +{ > > + struct vring_desc_state_packed *state; > > + struct

Re: [RFC v5 3/5] virtio_ring: add packed ring support

2018-05-28 Thread Tiwei Bie
On Tue, May 29, 2018 at 11:18:57AM +0800, Jason Wang wrote: > On 2018年05月22日 16:16, Tiwei Bie wrote: [...] > > +static void detach_buf_packed(struct vring_virtqueue *vq, > > + unsigned int id, void **ctx) > > +{ > > + struct vring_desc_state_packed *state; > > + struct

Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization

2018-05-28 Thread Joel Fernandes
On Mon, May 28, 2018 at 12:12:34PM +0200, Juri Lelli wrote: [..] > > + > > + util = max_t(unsigned long, util, READ_ONCE(rq->avg_dl.util_avg)); > > + > > + return util; > > Anyway, just a quick thought. I guess we should experiment with this a > bit. Now, I don't unfortunately have a Arm

Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization

2018-05-28 Thread Joel Fernandes
On Mon, May 28, 2018 at 12:12:34PM +0200, Juri Lelli wrote: [..] > > + > > + util = max_t(unsigned long, util, READ_ONCE(rq->avg_dl.util_avg)); > > + > > + return util; > > Anyway, just a quick thought. I guess we should experiment with this a > bit. Now, I don't unfortunately have a Arm

Re: [PATCH v2] remoteproc: Introduce prepare/unprepare ops for rproc coredump

2018-05-28 Thread Bjorn Andersson
On Mon 21 May 11:45 PDT 2018, Sibi Sankar wrote: > In some occasions the remoteproc device might need to > prepare some hardware before the coredump can be performed > and cleanup the state afterwards. > > Q6V5 modem requires the mba to be loaded before the > coredump and some cleanup of the

Re: [PATCH v2] remoteproc: Introduce prepare/unprepare ops for rproc coredump

2018-05-28 Thread Bjorn Andersson
On Mon 21 May 11:45 PDT 2018, Sibi Sankar wrote: > In some occasions the remoteproc device might need to > prepare some hardware before the coredump can be performed > and cleanup the state afterwards. > > Q6V5 modem requires the mba to be loaded before the > coredump and some cleanup of the

[PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind

2018-05-28 Thread Manivannan Sadhasivam
Add vendor prefix for ArcherMind Technology (Nanjing) Co., Ltd. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [PATCH v3 net-next 2/2] tcp: minor optimization around tcp_hdr() usage in tcp receive path

2018-05-28 Thread Eric Dumazet
On 05/28/2018 05:41 PM, Yafang Shao wrote: > OK. > > And what about introducing a new helper tcp_hdr_fast() ? > > /* use it when tcp header has not been pulled yet */ > static inline struct tcphdr *tcp_hdr_fast(const struct sk_buff *skb) > > { > > return (const struct tcphdr

[PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support

2018-05-28 Thread Manivannan Sadhasivam
Add initial device tree support for Mediatek X20 Development Board based on MT6797 Deca core SoC. This board is one of the 96Boards Consumer Edition platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../boot/dts/mediatek/mt6797-x20-dev.dts

[PATCH 1/2] dt-bindings: Add vendor prefix for ArcherMind

2018-05-28 Thread Manivannan Sadhasivam
Add vendor prefix for ArcherMind Technology (Nanjing) Co., Ltd. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [PATCH v3 net-next 2/2] tcp: minor optimization around tcp_hdr() usage in tcp receive path

2018-05-28 Thread Eric Dumazet
On 05/28/2018 05:41 PM, Yafang Shao wrote: > OK. > > And what about introducing a new helper tcp_hdr_fast() ? > > /* use it when tcp header has not been pulled yet */ > static inline struct tcphdr *tcp_hdr_fast(const struct sk_buff *skb) > > { > > return (const struct tcphdr

[PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support

2018-05-28 Thread Manivannan Sadhasivam
Add initial device tree support for Mediatek X20 Development Board based on MT6797 Deca core SoC. This board is one of the 96Boards Consumer Edition platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../boot/dts/mediatek/mt6797-x20-dev.dts

[PATCH 0/2] Add Mediatek X20 Development Board support

2018-05-28 Thread Manivannan Sadhasivam
Add devicetree support for Mediatek X20 Development Board by Archermind. This board is based on the Deca-Core MT6797 SoC from Mediatek and is one of the 96Boards Consumer Edition platform. With this devicetree change, board can boot into initramfs. More information about this board can be found

[PATCH 0/2] Add Mediatek X20 Development Board support

2018-05-28 Thread Manivannan Sadhasivam
Add devicetree support for Mediatek X20 Development Board by Archermind. This board is based on the Deca-Core MT6797 SoC from Mediatek and is one of the 96Boards Consumer Edition platform. With this devicetree change, board can boot into initramfs. More information about this board can be found

Re: [PATCH V4 1/2] dmaengine: sprd: Optimize the sprd_dma_prep_dma_memcpy()

2018-05-28 Thread Vinod Koul
On 23-05-18, 17:31, Baolin Wang wrote: > From: Eric Long > > This is one preparation patch, we can use default DMA configuration to > implement the device_prep_dma_memcpy() interface instead of issuing > sprd_dma_config(). > > We will implement one new sprd_dma_config() function with

Re: [PATCH V4 1/2] dmaengine: sprd: Optimize the sprd_dma_prep_dma_memcpy()

2018-05-28 Thread Vinod Koul
On 23-05-18, 17:31, Baolin Wang wrote: > From: Eric Long > > This is one preparation patch, we can use default DMA configuration to > implement the device_prep_dma_memcpy() interface instead of issuing > sprd_dma_config(). > > We will implement one new sprd_dma_config() function with

[PATCH 0/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Because the offset between swapper_pg_dir and _text is fixed, when attackers break KASLR, they can calculate the address of swapper_pg_dir, and then they can apply KSMA(Kernel Space Mirror Attack). The principle of KSMA is to insert an entry to PGD, and this entry has type of block with AP = 01,

[PATCH 0/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Because the offset between swapper_pg_dir and _text is fixed, when attackers break KASLR, they can calculate the address of swapper_pg_dir, and then they can apply KSMA(Kernel Space Mirror Attack). The principle of KSMA is to insert an entry to PGD, and this entry has type of block with AP = 01,

[PATCH v6 3/3] dt-bindings: phy-qcom-qmp: Add UFS phy compatible string for sdm845

2018-05-28 Thread Can Guo
Update the compatible string for UFS QMP PHY on SDM845. Signed-off-by: Can Guo Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt

[PATCH v6 3/3] dt-bindings: phy-qcom-qmp: Add UFS phy compatible string for sdm845

2018-05-28 Thread Can Guo
Update the compatible string for UFS QMP PHY on SDM845. Signed-off-by: Can Guo Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt

[PATCH v6 2/3] phy: Add QMP phy based UFS phy support for sdm845

2018-05-28 Thread Can Guo
Add UFS PHY support to make SDM845 UFS work with common PHY framework. Signed-off-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 200 +--- drivers/phy/qualcomm/phy-qcom-qmp.h | 15 +++ 2 files changed, 203 insertions(+), 12 deletions(-) diff --git

[PATCH v6 2/3] phy: Add QMP phy based UFS phy support for sdm845

2018-05-28 Thread Can Guo
Add UFS PHY support to make SDM845 UFS work with common PHY framework. Signed-off-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 200 +--- drivers/phy/qualcomm/phy-qcom-qmp.h | 15 +++ 2 files changed, 203 insertions(+), 12 deletions(-) diff --git

[PATCH v6 1/3] phy: Update PHY power control sequence

2018-05-28 Thread Can Guo
All PHYs should be powered on before register configuration starts. And only PCIe PHYs need an extra power control before deasserts reset state. Signed-off-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v6 1/3] phy: Update PHY power control sequence

2018-05-28 Thread Can Guo
All PHYs should be powered on before register configuration starts. And only PCIe PHYs need an extra power control before deasserts reset state. Signed-off-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v6 0/3] Support for Qualcomm UFS QMP PHY on SDM845

2018-05-28 Thread Can Guo
This patch series adds support for UFS QMP PHY on SDM845 and the compatible string for it. This patch series depends on the current proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on the DT bindings for the QMP V3 USB3 PHYs based dirver [2], and also rebased on updated pipe_clk

[PATCH v6 0/3] Support for Qualcomm UFS QMP PHY on SDM845

2018-05-28 Thread Can Guo
This patch series adds support for UFS QMP PHY on SDM845 and the compatible string for it. This patch series depends on the current proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on the DT bindings for the QMP V3 USB3 PHYs based dirver [2], and also rebased on updated pipe_clk

[PATCH 4/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Migrate swapper_pg_dir and tramp_pg_dir. And its placement in the virtual address space does not correlate with the placement of the kernel. --- arch/arm64/mm/mmu.c | 67 ++--- 1 file changed, 45 insertions(+), 22 deletions(-) diff --git

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

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: drivers/block/drbd/drbd_main.c between commit: 004fd11db1d6 ("drbd: switch to proc_create_single") from the vfs tree and commit: 5657a819a8d9 ("block drivers/block: Use octal not symbolic permissions") from the

[PATCH 2/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Introduce a variable to record new virtual address of swapper_pg_dir. --- arch/arm64/include/asm/mmu_context.h | 2 +- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/mm/kasan_init.c | 2 +- arch/arm64/mm/mmu.c | 1 + 4 files changed, 4 insertions(+), 2

[PATCH 4/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Migrate swapper_pg_dir and tramp_pg_dir. And its placement in the virtual address space does not correlate with the placement of the kernel. --- arch/arm64/mm/mmu.c | 67 ++--- 1 file changed, 45 insertions(+), 22 deletions(-) diff --git

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

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: drivers/block/drbd/drbd_main.c between commit: 004fd11db1d6 ("drbd: switch to proc_create_single") from the vfs tree and commit: 5657a819a8d9 ("block drivers/block: Use octal not symbolic permissions") from the

[PATCH 2/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Introduce a variable to record new virtual address of swapper_pg_dir. --- arch/arm64/include/asm/mmu_context.h | 2 +- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/mm/kasan_init.c | 2 +- arch/arm64/mm/mmu.c | 1 + 4 files changed, 4 insertions(+), 2

[PATCH 3/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Because tramp_map_kernel/tramp_unmap_kernel macro update ttbr1 by add/sub offset, so we need to migrate both swapper_pg_dir and tramp_pg_dir. Before doing that, make tramp_pg_dir and swapper_pg_dir adjacent. --- arch/arm64/kernel/entry.S | 4 ++-- arch/arm64/kernel/vmlinux.lds.S | 10

[PATCH 3/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Because tramp_map_kernel/tramp_unmap_kernel macro update ttbr1 by add/sub offset, so we need to migrate both swapper_pg_dir and tramp_pg_dir. Before doing that, make tramp_pg_dir and swapper_pg_dir adjacent. --- arch/arm64/kernel/entry.S | 4 ++-- arch/arm64/kernel/vmlinux.lds.S | 10

[PATCH 1/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Currently, __enable_mmu() uses swapper_pg_dir directly. To migrate swapper_pg_dir, we need to pass it as an argument to __enable_mmu(). At the same time, __pa_swapper_pg_dir is introduced to save physical address of swapper_pg_dir. By changing its value, we can migrate swapper_pg_dir. ---

[PATCH 1/4] migrate swapper_pg_dir

2018-05-28 Thread YaoJun
Currently, __enable_mmu() uses swapper_pg_dir directly. To migrate swapper_pg_dir, we need to pass it as an argument to __enable_mmu(). At the same time, __pa_swapper_pg_dir is introduced to save physical address of swapper_pg_dir. By changing its value, we can migrate swapper_pg_dir. ---

Re: [PATCH] remoteproc: Add APSS based Qualcomm ADSP PIL driver for SDM845

2018-05-28 Thread Bjorn Andersson
On Wed 23 May 22:18 PDT 2018, Rohit Kumar wrote: > Thanks Bjorn for reviewing. > > > On 5/23/2018 11:56 AM, Bjorn Andersson wrote: > > On Sun 13 May 00:01 PDT 2018, Rohit kumar wrote: > > > > > --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt > > > +++

Re: [LKP] [lkp-robot] [mm, memcontrol] 309fe96bfc: vm-scalability.throughput +23.0% improvement

2018-05-28 Thread Lu, Aaron
On Mon, 2018-05-28 at 14:03 +0200, Michal Hocko wrote: > On Mon 28-05-18 19:40:19, kernel test robot wrote: > > > > Greeting, > > > > FYI, we noticed a +23.0% improvement of vm-scalability.throughput due to > > commit: > > > > > > commit: 309fe96bfc0ae387f53612927a8f0dc3eb056efd ("mm,

Re: [PATCH] remoteproc: Add APSS based Qualcomm ADSP PIL driver for SDM845

2018-05-28 Thread Bjorn Andersson
On Wed 23 May 22:18 PDT 2018, Rohit Kumar wrote: > Thanks Bjorn for reviewing. > > > On 5/23/2018 11:56 AM, Bjorn Andersson wrote: > > On Sun 13 May 00:01 PDT 2018, Rohit kumar wrote: > > > > > --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt > > > +++

Re: [LKP] [lkp-robot] [mm, memcontrol] 309fe96bfc: vm-scalability.throughput +23.0% improvement

2018-05-28 Thread Lu, Aaron
On Mon, 2018-05-28 at 14:03 +0200, Michal Hocko wrote: > On Mon 28-05-18 19:40:19, kernel test robot wrote: > > > > Greeting, > > > > FYI, we noticed a +23.0% improvement of vm-scalability.throughput due to > > commit: > > > > > > commit: 309fe96bfc0ae387f53612927a8f0dc3eb056efd ("mm,

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

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: drivers/block/DAC960.c between commit: 3f3942aca6da ("proc: introduce proc_create_single{,_data}") from the vfs tree and commit: 5657a819a8d9 ("block drivers/block: Use octal not symbolic permissions") from the

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

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: drivers/block/DAC960.c between commit: 3f3942aca6da ("proc: introduce proc_create_single{,_data}") from the vfs tree and commit: 5657a819a8d9 ("block drivers/block: Use octal not symbolic permissions") from the

Re: [PATCH] remoteproc: qcom_q6v5: don't auto boot remote processor

2018-05-28 Thread Bjorn Andersson
On Thu 24 May 12:21 PDT 2018, Ramon Fried wrote: > Sometimes that rmtfs userspace module is not brought > up fast enough and the modem crashes. > disabling automated boot in the driver and triggering > the boot from user-space sovles the problem. > > Signed-off-by: Ramon Fried Thanks for your

Re: [PATCH] remoteproc: qcom_q6v5: don't auto boot remote processor

2018-05-28 Thread Bjorn Andersson
On Thu 24 May 12:21 PDT 2018, Ramon Fried wrote: > Sometimes that rmtfs userspace module is not brought > up fast enough and the modem crashes. > disabling automated boot in the driver and triggering > the boot from user-space sovles the problem. > > Signed-off-by: Ramon Fried Thanks for your

Re: Why is the length of max mount option a page size??

2018-05-28 Thread Jungsub Shin
On Tue, May 29, 2018 at 02:14:12AM +0100, Al Viro wrote: > On Tue, May 29, 2018 at 09:24:56AM +0900, Jungsub Shin wrote: > > Mount command : mount -t aufs -o > >

Re: Why is the length of max mount option a page size??

2018-05-28 Thread Jungsub Shin
On Tue, May 29, 2018 at 02:14:12AM +0100, Al Viro wrote: > On Tue, May 29, 2018 at 09:24:56AM +0900, Jungsub Shin wrote: > > Mount command : mount -t aufs -o > >

Re: [PATCH net-next 00/12] Misc. bug fixes & some minor additions to HNS3 driver

2018-05-28 Thread David Miller
From: Salil Mehta Date: Fri, 25 May 2018 19:42:55 +0100 > This patch-set provides some bug fixes figured out during testing > and review. It also provides some additions due to running of the > existing code on the new revision of the HNS3 hardware. Series applied.

Re: [RFC PATCH 5/5] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-05-28 Thread Bjorn Andersson
On Wed 23 May 07:48 PDT 2018, Sricharan R wrote: > On 5/23/2018 1:07 PM, Vinod wrote: > > On 22-05-18, 23:58, Bjorn Andersson wrote: > >> On Tue 22 May 23:05 PDT 2018, Vinod wrote: > >>> On 22-05-18, 22:20, Bjorn Andersson wrote: [..] > >>> Looking at the patch, few other comments would be

Re: [PATCH net-next 00/12] Misc. bug fixes & some minor additions to HNS3 driver

2018-05-28 Thread David Miller
From: Salil Mehta Date: Fri, 25 May 2018 19:42:55 +0100 > This patch-set provides some bug fixes figured out during testing > and review. It also provides some additions due to running of the > existing code on the new revision of the HNS3 hardware. Series applied.

Re: [RFC PATCH 5/5] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-05-28 Thread Bjorn Andersson
On Wed 23 May 07:48 PDT 2018, Sricharan R wrote: > On 5/23/2018 1:07 PM, Vinod wrote: > > On 22-05-18, 23:58, Bjorn Andersson wrote: > >> On Tue 22 May 23:05 PDT 2018, Vinod wrote: > >>> On 22-05-18, 22:20, Bjorn Andersson wrote: [..] > >>> Looking at the patch, few other comments would be

Re: [PATCH] mm-kasan-dont-vfree-nonexistent-vm_area-fix

2018-05-28 Thread Ian Kent
On Mon, 2018-05-28 at 12:39 +0800, Ian Kent wrote: > On Mon, 2018-05-28 at 12:13 +0800, Ian Kent wrote: > > On Fri, 2018-05-25 at 20:48 -0700, Andrew Morton wrote: > > > On Sat, 26 May 2018 11:31:35 +0800 kbuild test robot > > > wrote: > > > > > > > Hi Andrey, > > > > > > > > I love your patch!

Re: [PATCH] mm-kasan-dont-vfree-nonexistent-vm_area-fix

2018-05-28 Thread Ian Kent
On Mon, 2018-05-28 at 12:39 +0800, Ian Kent wrote: > On Mon, 2018-05-28 at 12:13 +0800, Ian Kent wrote: > > On Fri, 2018-05-25 at 20:48 -0700, Andrew Morton wrote: > > > On Sat, 26 May 2018 11:31:35 +0800 kbuild test robot > > > wrote: > > > > > > > Hi Andrey, > > > > > > > > I love your patch!

[v2] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread Yangbo Lu
Added myself as maintainer for QorIQ PTP clock driver. Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's maintain it under QorIQ PTP clock driver. Signed-off-by: Yangbo Lu --- Changes for v2: - Dropped dpaa2/rtc part. --- MAINTAINERS | 10 -- 1 files changed, 8

[v2] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread Yangbo Lu
Added myself as maintainer for QorIQ PTP clock driver. Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's maintain it under QorIQ PTP clock driver. Signed-off-by: Yangbo Lu --- Changes for v2: - Dropped dpaa2/rtc part. --- MAINTAINERS | 10 -- 1 files changed, 8

RE: [PATCH 5/5] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread Y.b. Lu
Hi David, > -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, May 29, 2018 11:07 AM > To: Y.b. Lu > Cc: net...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; richardcoch...@gmail.com; Claudiu Manoil > ; robh...@kernel.org

RE: [PATCH 5/5] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread Y.b. Lu
Hi David, > -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, May 29, 2018 11:07 AM > To: Y.b. Lu > Cc: net...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; richardcoch...@gmail.com; Claudiu Manoil > ; robh...@kernel.org

linux-next: build failure after merge of the net-next tree

2018-05-28 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: net/xdp/xsk.c: In function 'xsk_poll': net/xdp/xsk.c:207:22: error: implicit declaration of function 'datagram_poll'; did you mean 'datagram_poll_mask'?

linux-next: build failure after merge of the net-next tree

2018-05-28 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: net/xdp/xsk.c: In function 'xsk_poll': net/xdp/xsk.c:207:22: error: implicit declaration of function 'datagram_poll'; did you mean 'datagram_poll_mask'?

linux-next: build failure after merge of the net-next tree

2018-05-28 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: x86_64-linux-ld: unknown architecture of input file `net/bpfilter/bpfilter_umh.o' is incompatible with i386:x86-64 output Caused by commit d2ba09c17a06 ("net: add skeleton of bpfilter

linux-next: build failure after merge of the net-next tree

2018-05-28 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: x86_64-linux-ld: unknown architecture of input file `net/bpfilter/bpfilter_umh.o' is incompatible with i386:x86-64 output Caused by commit d2ba09c17a06 ("net: add skeleton of bpfilter

Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet

2018-05-28 Thread Michael Schmitz
Hi Finn, Am 29.05.2018 um 14:15 schrieb Finn Thain: > > Since an arch gets to apply limits in the dma ops it implements, why would > arch code also have to set a limit in the form of default platform device > masks? Powerpc seems to be the only arch that does this. One of Christoph's recent

Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet

2018-05-28 Thread Michael Schmitz
Hi Finn, Am 29.05.2018 um 14:15 schrieb Finn Thain: > > Since an arch gets to apply limits in the dma ops it implements, why would > arch code also have to set a limit in the form of default platform device > masks? Powerpc seems to be the only arch that does this. One of Christoph's recent

Re: [RFC v5 3/5] virtio_ring: add packed ring support

2018-05-28 Thread Jason Wang
On 2018年05月22日 16:16, Tiwei Bie wrote: This commit introduces the support (without EVENT_IDX) for packed ring. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 474 ++- 1 file changed, 468 insertions(+), 6 deletions(-) diff --git

Re: [RFC v5 3/5] virtio_ring: add packed ring support

2018-05-28 Thread Jason Wang
On 2018年05月22日 16:16, Tiwei Bie wrote: This commit introduces the support (without EVENT_IDX) for packed ring. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 474 ++- 1 file changed, 468 insertions(+), 6 deletions(-) diff --git

linux-next: build warning after merge of the net-next tree

2018-05-28 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: net/core/filter.c: In function 'sk_msg_convert_ctx_access': net/core/filter.c:6450:6: warning: unused variable 'off' [-Wunused-variable] int off; ^~~ Introduced by commit

linux-next: build warning after merge of the net-next tree

2018-05-28 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: net/core/filter.c: In function 'sk_msg_convert_ctx_access': net/core/filter.c:6450:6: warning: unused variable 'off' [-Wunused-variable] int off; ^~~ Introduced by commit

Re: [PATCH V0:net-next 0/4] net: ethernet: stmmac: add support for stm32mp1

2018-05-28 Thread David Miller
From: Christophe Roullier Date: Fri, 25 May 2018 09:46:37 +0200 > Patches to have Ethernet support on stm32mp1 Series applied.

Re: [PATCH V0:net-next 0/4] net: ethernet: stmmac: add support for stm32mp1

2018-05-28 Thread David Miller
From: Christophe Roullier Date: Fri, 25 May 2018 09:46:37 +0200 > Patches to have Ethernet support on stm32mp1 Series applied.

Re: [PATCH 5/5] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread David Miller
From: Yangbo Lu Date: Fri, 25 May 2018 12:40:38 +0800 > Added myself as maintainer for QorIQ PTP clock driver. > Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's > also maintain it under QorIQ PTP clock driver. > > Signed-off-by: Yangbo Lu Because of the dependency on the staging tree

Re: [PATCH 5/5] MAINTAINERS: add myself as maintainer for QorIQ PTP clock driver

2018-05-28 Thread David Miller
From: Yangbo Lu Date: Fri, 25 May 2018 12:40:38 +0800 > Added myself as maintainer for QorIQ PTP clock driver. > Since gianfar_ptp.c was renamed to ptp_qoriq.c, let's > also maintain it under QorIQ PTP clock driver. > > Signed-off-by: Yangbo Lu Because of the dependency on the staging tree

Re: [PATCH 3/5] net: ethernet: gianfar_ethtool: get phc index through drvdata

2018-05-28 Thread David Miller
From: Yangbo Lu Date: Fri, 25 May 2018 12:40:36 +0800 > Global variable gfar_phc_index was used to get and store > phc index through gianfar_ptp driver. However gianfar_ptp > had been renamed as ptp_qoriq for QorIQ common PTP driver. > This gfar_phc_index doesn't work any more, and the phc index

Re: [PATCH 3/5] net: ethernet: gianfar_ethtool: get phc index through drvdata

2018-05-28 Thread David Miller
From: Yangbo Lu Date: Fri, 25 May 2018 12:40:36 +0800 > Global variable gfar_phc_index was used to get and store > phc index through gianfar_ptp driver. However gianfar_ptp > had been renamed as ptp_qoriq for QorIQ common PTP driver. > This gfar_phc_index doesn't work any more, and the phc index

Re: [PATCH 4/5] dt-bindings: ptp: add ptp-qoriq.txt

2018-05-28 Thread David Miller
From: Yangbo Lu Date: Fri, 25 May 2018 12:40:37 +0800 > This patch is to add a documentation for ptp_qoriq dt-bindings. > The description for ptp_qoriq dt-bindings was actually moved > from Documentation/devicetree/bindings/net/fsl-tsec-phy.txt, > since gianfar_ptp driver was moved to ptp_qoriq

Re: [PATCH 4/5] dt-bindings: ptp: add ptp-qoriq.txt

2018-05-28 Thread David Miller
From: Yangbo Lu Date: Fri, 25 May 2018 12:40:37 +0800 > This patch is to add a documentation for ptp_qoriq dt-bindings. > The description for ptp_qoriq dt-bindings was actually moved > from Documentation/devicetree/bindings/net/fsl-tsec-phy.txt, > since gianfar_ptp driver was moved to ptp_qoriq

  1   2   3   4   5   6   7   8   9   10   >