Re: WARNING in apparmor_secid_to_secctx

2018-09-01 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+21016130b0580a9de...@syzkaller.appspotmail.com Tested on: commit: 22dad84baabf apparmor: fix apparmor_secid_to_secctx incorr.. git tree: git://git.kernel.o

Re: Re: WARNING in apparmor_secid_to_secctx

2018-09-01 Thread Dmitry Vyukov
On Sun, Sep 2, 2018 at 7:03 AM, syzbot wrote: >> On Sun, Sep 2, 2018 at 6:52 AM, John Johansen >> wrote: >>> >>> On 09/01/2018 09:33 PM, Dmitry Vyukov wrote: On Sat, Sep 1, 2018 at 11:18 AM, John Johansen wrote: > > On 08/29/2018 07:17 PM, syzbot wrote: >> >> Hello

Re: [PATCH V3] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-09-01 Thread Doug Anderson
Hi, On Fri, Aug 24, 2018 at 3:42 AM, Dilip Kota wrote: > From: Girish Mahadevan > > This driver supports GENI based SPI Controller in the Qualcomm SOCs. The > Qualcomm Generic Interface (GENI) is a programmable module supporting a > wide range of serial interfaces including SPI. This driver supp

Re: Re: WARNING in apparmor_secid_to_secctx

2018-09-01 Thread syzbot
On Sun, Sep 2, 2018 at 6:52 AM, John Johansen wrote: On 09/01/2018 09:33 PM, Dmitry Vyukov wrote: On Sat, Sep 1, 2018 at 11:18 AM, John Johansen wrote: On 08/29/2018 07:17 PM, syzbot wrote: Hello, syzbot found the following crash on: HEAD commit:817e60a7a2bb Merge branch 'nfp-add-N

Re: WARNING in apparmor_secid_to_secctx

2018-09-01 Thread Dmitry Vyukov
On Sun, Sep 2, 2018 at 6:52 AM, John Johansen wrote: > On 09/01/2018 09:33 PM, Dmitry Vyukov wrote: >> On Sat, Sep 1, 2018 at 11:18 AM, John Johansen >> wrote: >>> On 08/29/2018 07:17 PM, syzbot wrote: Hello, syzbot found the following crash on: HEAD commit:817e60a7a2

Re: WARNING in apparmor_secid_to_secctx

2018-09-01 Thread John Johansen
On 09/01/2018 09:33 PM, Dmitry Vyukov wrote: > On Sat, Sep 1, 2018 at 11:18 AM, John Johansen > wrote: >> On 08/29/2018 07:17 PM, syzbot wrote: >>> Hello, >>> >>> syzbot found the following crash on: >>> >>> HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' >>> git tree: ne

Re: WARNING in apparmor_secid_to_secctx

2018-09-01 Thread Dmitry Vyukov
On Sat, Sep 1, 2018 at 11:18 AM, John Johansen wrote: > On 08/29/2018 07:17 PM, syzbot wrote: >> Hello, >> >> syzbot found the following crash on: >> >> HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' >> git tree: net-next >> console output: https://syzkaller.appspot.com/

Re: 4.19-rc1: ./include/linux/rcupdate.h:631 rcu_read_lock() used illegally while idle!

2018-09-01 Thread Paul E. McKenney
On Sat, Sep 01, 2018 at 06:45:31PM -0400, Steven Rostedt wrote: > On Sat, 1 Sep 2018 10:54:42 -0700 > "Paul E. McKenney" wrote: > > > On Sat, Sep 01, 2018 at 07:35:59PM +0200, Borislav Petkov wrote: > > > This is a huge splat! It haz some perf* and sched* in it, I guess for > > > peterz to stare

[PATCH] x86: fix pti Section Mismatch warning/error

2018-09-01 Thread Randy Dunlap
From: Randy Dunlap Fix the section mismatch warning in arch/x86/mm/pti.c: WARNING: vmlinux.o(.text+0x6972a): Section mismatch in reference from the function pti_clone_pgtable() to the function .init.text:pti_user_pagetable_walk_pte() The function pti_clone_pgtable() references the function __i

[PATCH] pci: dwc: pcie_designware: Fix a sleep-in-atomic-context bug in dw_pcie_prog_outbound_atu

2018-09-01 Thread Jia-Ju Bai
The driver may sleep with holding a spinlock and in an interupt handler. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] usleep_range drivers/pci/dwc/pcie-designware.c, 181: usleep_range in dw_pcie_prog_outbound_atu drivers/pci/dwc/pcie-designware-host.c, 479:

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-09-01 Thread Olof Johansson
On Thu, Aug 30, 2018 at 9:23 AM, Ard Biesheuvel wrote: > On 30 August 2018 at 17:06, Olof Johansson wrote: >> On Wed, Aug 29, 2018 at 10:54 PM, Ard Biesheuvel >> wrote: >>> On 29 August 2018 at 20:59, Scott Branden >>> wrote: Hi Olof, On 18-08-29 11:44 AM, Olof Johansson wr

[GIT PULL] ARM: SoC fixes

2018-09-01 Thread Olof Johansson
Hi Linus, The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to a72b44a8

[RFC][PATCH 2/5] [PATCH 2/5] proc: introduce /proc/PID/idle_bitmap

2018-09-01 Thread Fengguang Wu
This will be similar to /sys/kernel/mm/page_idle/bitmap documented in Documentation/admin-guide/mm/idle_page_tracking.rst, however indexed by process virtual address. When using the global PFN indexed idle bitmap, we find 2 kind of overheads: - to track a task's working set, Brendan Gregg end up

[RFC][PATCH 3/5] [PATCH 3/5] kvm-ept-idle: HVA indexed EPT read

2018-09-01 Thread Fengguang Wu
For virtual machines, "accessed" bits will be set in guest page tables and EPT/NPT. So for qemu-kvm process, convert HVA to GFN to GPA, then do EPT/NPT walks. Thanks to the in-memslot linear HVA-GPA mapping, the conversion can be done efficiently, outside of the loops for page table walks. In this

[RFC][PATCH 5/5] [PATCH 5/5] kvm-ept-idle: enable module

2018-09-01 Thread Fengguang Wu
Signed-off-by: Fengguang Wu --- arch/x86/kvm/Kconfig | 11 +++ arch/x86/kvm/Makefile | 4 2 files changed, 15 insertions(+) diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 1bbec387d289..4c6dec47fac6 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -96

[RFC][PATCH 0/5] introduce /proc/PID/idle_bitmap

2018-09-01 Thread Fengguang Wu
This new /proc/PID/idle_bitmap interface aims to complement the current global /sys/kernel/mm/page_idle/bitmap. To enable efficient user space driven migrations. The pros and cons will be discussed in changelog of "[PATCH] proc: introduce /proc/PID/idle_bitmap". The driving force is to improve ef

[RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-01 Thread Fengguang Wu
The added pointer will be used by the /proc/PID/idle_bitmap code to quickly identify QEMU task and walk EPT/NPT accordingly. For virtual machines, the A bits will be set in guest page tables and EPT/NPT, rather than the QEMU task page table. This costs 8 bytes in task_struct which could be wastefu

[RFC][PATCH 4/5] [PATCH 4/5] kvm-ept-idle: EPT page table walk for A bits

2018-09-01 Thread Fengguang Wu
This borrows host page table walk macros/functions to do EPT walk. So it depends on them using the same level. Dave Hansen raised the concern that hottest pages may be cached in TLB and don't frequently set the accessed bits. The solution would be to invalidate TLB for the mm being walked, when fi

[RFC PATCH] spi: at91-usart: at91_usart_spi_transfer_one() can be static

2018-09-01 Thread kbuild test robot
Fixes: 5890bab41187 ("spi: at91-usart: add driver for at91-usart as spi") Signed-off-by: kbuild test robot --- spi-at91-usart.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/spi/spi-at91-usart.c b/drivers/spi/spi-at91-usart.c index 4712bd4..a924657

WARNING: vmlinux.o(.text+0xc816b): Section mismatch in reference from the function pti_clone_pgtable() to the function .init.text:pti_user_pagetable_walk_pte()

2018-09-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 420f51f4ab6bce6e580390729fadb89c31123636 commit: 269777aa530f3438ec1781586cdac0b5fe47b061 cpu/hotplug: Non-SMP machines do not make use of booted_once date: 3 weeks ago config: i386-randconfig-b0-09011544

Re: [RESEND PATCH v11 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-09-01 Thread kbuild test robot
/0day-ci/linux/commits/Radu-Pirea/Driver-for-at91-usart-in-spi-mode/20180901-165150 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings

[PATCH] PCI/AER: Fix an AER enabling/disabling race

2018-09-01 Thread Jon Derrick
There is a sequence with non-ACPI root ports where the AER driver can enable error reporting on the tree before port drivers have bound to ports on the tree. The port driver assumes the AER driver will set up error reporting afterwards, so instead add a check if error reporting was set up first. E

Re: [PATCH v5 2/2] clk: Add functions to get optional clocks

2018-09-01 Thread kbuild test robot
/linux/commits/Phil-Edworthy/clk-Add-functions-to-get-optional-clocks/20180901-154009 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion i

Re: 4.19-rc1: ./include/linux/rcupdate.h:631 rcu_read_lock() used illegally while idle!

2018-09-01 Thread Steven Rostedt
On Sat, 1 Sep 2018 10:54:42 -0700 "Paul E. McKenney" wrote: > On Sat, Sep 01, 2018 at 07:35:59PM +0200, Borislav Petkov wrote: > > This is a huge splat! It haz some perf* and sched* in it, I guess for > > peterz to stare at. And lemme add Paul for good measure too :) > > > > Kernel is -rc1 + 3 m

[PATCH] arm64: dts: qcom: sdm845: Add adsp, cdsp and slpi smp2p

2018-09-01 Thread Bjorn Andersson
Add the SMP2P nodes for the remoteproc states for adsp, cdsp and slpi. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 88 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845

[PATCH] arm64: dts: qcom: Add AOSS reset driver node for SDM845

2018-09-01 Thread Bjorn Andersson
From: Sibi Sankar This patch adds the node to support AOSS reset driver on SDM845 Signed-off-by: Sibi Sankar [bjorn: Updated addresses to match the binding that was merged] Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 7 +++ 1 file changed, 7 insertions(+) di

[PATCH] arm64: dts: qcom: sdm845-mtp: pm8998 and pmi8998 regulators

2018-09-01 Thread Bjorn Andersson
Add regulator definitions for pm8998 and pmi8998 regulators on the MTP. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 216 1 file changed, 216 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/s

Re: Access to non-RAM pages

2018-09-01 Thread Jiri Kosina
On Sat, 1 Sep 2018, Al Viro wrote: > IMO that's crap. In absolute majority of cases there is a guaranteed gap > between the end of accessed object and the next page boundary. So if that's the case, you're absolutely right. But I am unable to find any such guarantee in our current code though.

Re: [PATCH] staging: android: ion: fix ION_IOC_{MAP,SHARE} use-after-free

2018-09-01 Thread Greg Kroah-Hartman
On Fri, Aug 31, 2018 at 01:30:01PM -0700, Greg Hackmann wrote: > On 08/31/2018 01:27 PM, Greg Hackmann wrote: > > Change-Id: Ia0542dd8134e81cd5e1412e126545303c766f738 > > Sorry, please disregard the Change-Id line. This is what I get for > forgetting to re-run checkpatch after amending my commit

Re: Redoing eXclusive Page Frame Ownership (XPFO) with isolated CPUs in mind (for KVM to isolate its guests per CPU)

2018-09-01 Thread Linus Torvalds
On Fri, Aug 31, 2018 at 12:45 AM Julian Stecklina wrote: > > I've been spending some cycles on the XPFO patch set this week. For the > patch set as it was posted for v4.13, the performance overhead of > compiling a Linux kernel is ~40% on x86_64[1]. The overhead comes almost > completely from TLB

Re: [PATCH 2/3] arm64: dts: meson-axg: s400: add dmic codec

2018-09-01 Thread Fabio Estevam
Hi Jerome, On Fri, Aug 31, 2018 at 12:02 PM, Jerome Brunet wrote: > There are 7 digital mics on the MIC daughter board attached > to the s400 board, so add the digital microphone codec to > its DTS > > Signed-off-by: Jerome Brunet > --- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 9 +

[tip:x86/urgent] x86/vdso: Fix lsl operand order

2018-09-01 Thread tip-bot for Samuel Neves
Commit-ID: e78e5a91456fcecaa2efbb3706572fe043766f4d Gitweb: https://git.kernel.org/tip/e78e5a91456fcecaa2efbb3706572fe043766f4d Author: Samuel Neves AuthorDate: Sat, 1 Sep 2018 21:14:52 +0100 Committer: Thomas Gleixner CommitDate: Sat, 1 Sep 2018 23:01:56 +0200 x86/vdso: Fix lsl operan

Re: [PATCH] x86/vdso: fix lsl operand order

2018-09-01 Thread Andy Lutomirski
On Sat, Sep 1, 2018 at 1:14 PM, Samuel Neves wrote: > In the __getcpu function, lsl was using the wrong target > and destination registers. Luckily, the compiler tends to > choose %eax for both variables, so it has been working > so far. > > Cc: x...@kernel.org > Cc: sta...@vger.kernel.org > Signe

[PATCH] x86/vdso: fix lsl operand order

2018-09-01 Thread Samuel Neves
In the __getcpu function, lsl was using the wrong target and destination registers. Luckily, the compiler tends to choose %eax for both variables, so it has been working so far. Cc: x...@kernel.org Cc: sta...@vger.kernel.org Signed-off-by: Samuel Neves --- arch/x86/include/asm/vgtod.h | 2 +- 1

[PATCH] iio: pressure: ms5611: switch to SPDX identifier

2018-09-01 Thread Tomasz Duszynski
Drop boilerplate license text and use SPDX identifier instead. Signed-off-by: Tomasz Duszynski --- drivers/iio/pressure/ms5611.h | 5 + drivers/iio/pressure/ms5611_core.c | 5 + drivers/iio/pressure/ms5611_i2c.c | 5 + drivers/iio/pressure/ms5611_spi.c | 5 + 4 files chang

[PATCH] iio: light: bh1750: switch to SPDX identifier

2018-09-01 Thread Tomasz Duszynski
Drop boilerplate license text and use SPDX identifier instead. Signed-off-by: Tomasz Duszynski --- drivers/iio/light/bh1750.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c index a814828e69f5..493ca7420602 100644 --

Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks

2018-09-01 Thread Miguel Ojeda
Hi Greg, On Sat, Sep 1, 2018 at 8:39 PM, Greg KH wrote: > On Sat, Sep 01, 2018 at 03:38:13PM +0200, Miguel Ojeda wrote: >> Hi Nick, >> >> On Sat, Sep 1, 2018 at 1:07 AM, Nick Desaulniers >> wrote: >> > Overall, pretty happy with this patch. Still some thoughts for a v3, >> >> -#define __visible

Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks

2018-09-01 Thread Greg KH
On Sat, Sep 01, 2018 at 03:38:13PM +0200, Miguel Ojeda wrote: > Hi Nick, > > On Sat, Sep 1, 2018 at 1:07 AM, Nick Desaulniers > wrote: > > Overall, pretty happy with this patch. Still some thoughts for a v3, > >> -#define __visible __attribute__((externally_visible)) > >> diff --git a/inclu

Re: Access to non-RAM pages

2018-09-01 Thread Linus Torvalds
[ Adding a few new people the the cc. The issue is the worry about software-speculative accesses (ie things like CONFIG_DCACHE_WORD_ACCESS - not talking about the hw speculation now) accessing past RAM into possibly contiguous IO ] On Sat, Sep 1, 2018 at 10:27 AM Linus Torvalds wrote: > > If y

[PATCH] ACPI / LPSS: Ensure LPIOEP is always set on resume

2018-09-01 Thread William Lieurance
For some number of systems with lpss_quirks enabled, on boot the system goes through an acpi_lpss_resume() without a corresponding acpi_lpss_suspend() having been called. In that case, it requires the IOSF write to LPSS_IOSF_UNIT_LPIOEP / LPSS_IOSF_GPIODEF0 in order to continue booting successfull

Re: 4.19-rc1: ./include/linux/rcupdate.h:631 rcu_read_lock() used illegally while idle!

2018-09-01 Thread Paul E. McKenney
On Sat, Sep 01, 2018 at 07:35:59PM +0200, Borislav Petkov wrote: > This is a huge splat! It haz some perf* and sched* in it, I guess for > peterz to stare at. And lemme add Paul for good measure too :) > > Kernel is -rc1 + 3 microcode loader patches ontop which should not be > related. It really

Re: [PATCH] y2038: Remove newstat family from default syscall set

2018-09-01 Thread Guenter Roeck
Hi Arnd, On Fri, Apr 13, 2018 at 11:50:12AM +0200, Arnd Bergmann wrote: > We have four generations of stat() syscalls: > - the oldstat syscalls that are only used on the older architectures > - the newstat family that is used on all 64-bit architectures but > lacked support for large files on 32

Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-09-01 Thread Andy Lutomirski
On Sat, Sep 1, 2018 at 2:33 AM, Florian Weimer wrote: > On 09/01/2018 05:39 AM, Andy Lutomirski wrote: >> >> Florian, do you think >> glibc would be willing to add some magic to turn >> clock_gettime(CLOCK_MONOTONIC, t) into >> __vdso_clock_gettime_monotonic(t) when CLOCK_MONOTONIC is a constant?

4.19-rc1: ./include/linux/rcupdate.h:631 rcu_read_lock() used illegally while idle!

2018-09-01 Thread Borislav Petkov
This is a huge splat! It haz some perf* and sched* in it, I guess for peterz to stare at. And lemme add Paul for good measure too :) Kernel is -rc1 + 3 microcode loader patches ontop which should not be related. Thx. --- [ 62.409125] = [ 62.409129] WARNING: suspic

Re: [PATCH 2/3] x86/entry/64: Use the TSS sp2 slot for rsp_scratch

2018-09-01 Thread Andy Lutomirski
On Sat, Sep 1, 2018 at 9:33 AM, Linus Torvalds wrote: > On Fri, Aug 31, 2018 at 3:21 PM Andy Lutomirski wrote: >> >> #ifdef CONFIG_X86_64 >> # define cpu_current_top_of_stack (cpu_tss_rw + TSS_sp1) >> +# define rsp_scratch (cpu_tss_rw + TSS_sp2) >> #endif > > Ugh. The above gets used by *assem

Re: Access to non-RAM pages

2018-09-01 Thread Linus Torvalds
On Fri, Aug 31, 2018 at 2:18 PM Jiri Kosina wrote: > > If noone has any clever idea how to work this around (I don't), I am > afraid we'd have to ditch the whole DCACHE_WORD_ACCESS optimization, as > it's silently dangerous. No way in hell will I apply such a stupid patch. It is NOT dangerous.

Re: Access to non-RAM pages

2018-09-01 Thread Al Viro
On Sat, Sep 01, 2018 at 12:47:48PM +0200, Juergen Gross wrote: > On 31/08/18 23:18, Jiri Kosina wrote: > > On Wed, 29 Aug 2018, Juergen Gross wrote: > > > >> While being very unlikely I still believe this is possible. Any > >> thoughts? > > > > So in theory we should somehow test whether the next

Re: [PATCH 1/1] Update AMD cpu microcode for family 15h

2018-09-01 Thread Rudolf Marek
Hi again, Here is a short summary of what is missing in the microcode containers [1] [2]. I only included AMD family 15h and 17h. Similar could be done for Intel CPUs. I do believe having a latest microcode is a vital for the userspace security because it provides IBPB barrier. Family 15h [1]

Re: [PATCH RFC LKMM 7/7] EXP tools/memory-model: Add .cfg and .cat files for s390

2018-09-01 Thread Paul E. McKenney
On Fri, Aug 31, 2018 at 05:06:30PM +0100, Will Deacon wrote: > Hi Paul, > > On Wed, Aug 29, 2018 at 02:10:53PM -0700, Paul E. McKenney wrote: > > This commit adds s390.cat and s390.cfg files to allow users to check > > litmus tests for s390-specific code. Note that this change only enables > > he

[PATCH] uio: convert to vm_fault_t

2018-09-01 Thread Souptick Joarder
As part of commit 9b85e95a3080 ("uio: Change return type to vm_fault_t") in 4.19-rc1, this conversion was missed. Now converted 'ret' to vm_fault_t type. Signed-off-by: Souptick Joarder --- drivers/uio/uio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio.c b/

[PATCH v2 2/2] regmap: split up regmap_config.use_single_rw

2018-09-01 Thread David Frey
Split regmap_config.use_single_rw into use_single_read and use_single_write. This change enables drivers of devices which only support bulk operations in one direction to use the regmap_bulk_*() functions for both directions and have their bulk operation split into single operations only when neces

[PATCH v2 1/2] regmap: fix comment for regmap.use_single_write

2018-09-01 Thread David Frey
Signed-off-by: David Frey --- drivers/base/regmap/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index a6bf34d6394e..16414ccace96 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/i

regmap: split regmap_config.use_single_rw

2018-09-01 Thread David Frey
This patch series splits regmap_config.use_single_rw into use_single_read and use_single_write. Motivation: When multiple sequential registers need to be read or written, the author can either choose to call regmap_bulk_read/write() once or call regmap_read/write() repeatedly. The _bulk option has

[PATCH 3/3] tty: serial: Add Tx DMA support for UART in Actions Semi Owl SoCs

2018-09-01 Thread Manivannan Sadhasivam
Add Tx DMA support for Actions Semi Owl SoCs. If there is no DMA property specified in DT, it will fallback to default interrupt mode. Signed-off-by: Manivannan Sadhasivam --- drivers/tty/serial/owl-uart.c | 172 +- 1 file changed, 171 insertions(+), 1 deletion(-)

[PATCH 2/3] dmaengine: Add Slave and Cyclic mode support for Actions Semi Owl S900 SoC

2018-09-01 Thread Manivannan Sadhasivam
Add Slave and Cyclic mode support for Actions Semi Owl S900 SoC. The slave mode supports bus width of 4 bytes common for all peripherals and 1 byte specific for UART. The cyclic mode supports only block mode transfer. Signed-off-by: Manivannan Sadhasivam --- drivers/dma/owl-dma.c | 273

[PATCH 0/3] Add slave DMA support for Actios Semi S900 SoC

2018-09-01 Thread Manivannan Sadhasivam
This patchset adds slave DMA support for Actions Semi S900 SoC of the Owl family. As a consumer, enable TX DMA support for UART peripheral in S900. The UART driver still supports interrupt mode if there is no DMA property specified in DT. The dts patch depends on the previous DMA patches which is

[PATCH 1/3] arm64: dts: actions: s900: Enable Tx DMA for UART5

2018-09-01 Thread Manivannan Sadhasivam
Enable Tx DMA for UART5 in Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index eceba914762c..39af1236f611 1

Re: [PATCH 0/3] x86/pti: Get rid of entry trampolines and add some docs

2018-09-01 Thread Linus Torvalds
On Fri, Aug 31, 2018 at 3:21 PM Andy Lutomirski wrote: > > This gets rid of entry trampolines. Despite my syntactic comment on 2/3, I'd love for this to go in. The extra indirection through the trampoline is confusing, I think, in addition to being a performance issue. Linus

Re: [PATCH 2/3] x86/entry/64: Use the TSS sp2 slot for rsp_scratch

2018-09-01 Thread Linus Torvalds
On Fri, Aug 31, 2018 at 3:21 PM Andy Lutomirski wrote: > > #ifdef CONFIG_X86_64 > # define cpu_current_top_of_stack (cpu_tss_rw + TSS_sp1) > +# define rsp_scratch (cpu_tss_rw + TSS_sp2) > #endif Ugh. The above gets used by *assembler* code. I was really confused by how this: > --- a/arch/x86

Re: [PATCH v2] fs: Convert return type int to vm_fault_t

2018-09-01 Thread Souptick Joarder
> Also, the fact that the patch series involves multiple file system is > a massive pain. It means I'm going to have to do a separate > regression test --- or preferably, I would ask *you* to run a file > system regression test[1] --- to make sure what is *not* a trivial > patch doesn't break thin

Re: [PATCH 1/1] Update AMD cpu microcode for family 15h

2018-09-01 Thread Rudolf Marek
Hi Sherry, Dne 5.6.2018 v 16:27 Hurwitz, Sherry napsal(a): > Hi Rudolf, I have been investigating the status with the AMD release > management, but I have not been given approval to publish any other > microcode. I have been trying to track down why there might be a > version in the wild that I h

Re: [PATCH 2/3] x86, hibernate: Extract the common code of 64/32 bit system

2018-09-01 Thread Yu Chen
On Thu, Aug 30, 2018 at 02:59:09PM +0200, Thomas Gleixner wrote: > On Mon, 27 Aug 2018, Gu Zhimin wrote: > > diff --git a/arch/x86/power/hibernate.c b/arch/x86/power/hibernate.c > > new file mode 100644 > > index 000..6f91f7b > > --- /dev/null > > +++ b/arch/x86/power/hibernate.c > > @@ -0,0 +1

Re: [PATCH 1/3] x86, hibernate: Fix nosave_regions setup for hibernation

2018-09-01 Thread Yu Chen
Hi, On Thu, Aug 30, 2018 at 02:45:26PM +0200, Thomas Gleixner wrote: > On Mon, 27 Aug 2018, Gu Zhimin wrote: > > > > Fix this problem by changing pfn limit from max_low_pfn to max_pfn. > > This issue should also exist on 64bits systems, if there are reserved > > regions above 4GB. > > Should? Can

Step-by-Step Tutorial: How to Deploy cPanel Web Hosting Control Panel version 11.74 on CentOS 7.5 Linux Server version 1805 in Amazon AWS Cloud

2018-09-01 Thread Turritopsis Dohrnii Teo En Ming
Step-by-Step Tutorial: How to Deploy cPanel Web Hosting Control Panel version 11.74 on CentOS 7.5 Linux Server version 1805 in Amazon AWS Cloud Secondary Subject/Topic: How to Setup a New Startup Web Hosting Company Using cPanel Web Hosting Control Panel version 11.74, CentOS 7.5 Linux Server vers

Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks

2018-09-01 Thread Dominique Martinet
Miguel Ojeda wrote on Sat, Sep 01, 2018: >>> +/* >>> + * To check for optional attributes, we use __has_attribute, which is >>> supported >>> + * on gcc >= 5, clang >= 2.9 and icc >= 17. In the meantime, to support >>> + * 4.6 <= gcc < 5, we implement __has_attribute by hand. >>> + */ >>> +#ifndef

Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks

2018-09-01 Thread Miguel Ojeda
Hi Nick, On Sat, Sep 1, 2018 at 1:07 AM, Nick Desaulniers wrote: > Overall, pretty happy with this patch. Still some thoughts for a v3, >> -#define __visible __attribute__((externally_visible)) >> diff --git a/include/linux/compiler_attributes.h >> b/include/linux/compiler_attributes.h >>

Hello

2018-09-01 Thread Hama Diallo
-- Greetings, I wish to seek your assistance for the transfer of US$35M depository made by a politician for an investment programme that has remained dormant for years now.I shall provide you with more details and relevant documents that will help you understand the transaction. Mr. Hama Dial

[PATCH v2 04/19] ARM: tegra: apalis-tk1: regulator clean-up

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Just cosmetic regulator clean-up. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 100 ++-- arch/arm/boot/dts/tegra124-apalis.dtsi | 100 ++-- 2 files changed, 100

[PATCH v2 05/19] ARM: tegra: apalis-tk1: add missing regulators

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Add missing regulators: - reg_module_3v3_audio being VDDA supply of SGTL5000 - VDDD supply of SGTL5000 actually being reg_1v8_vio - TMP451 temperature sensor vcc supply being reg_module_3v3 - usb3-0 vbus supply being reg_usbh_vbus - usb3-1 vbus supply being reg_usbo1_vbus -

[PATCH v2 14/19] ARM: tegra: apalis-tk1: drop module level model and compatible

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop model and compatible nodes from the module level device tree as they get overridden by the carrier board device tree anyway. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch as suggested by Rob. arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 4 ar

[PATCH v2 07/19] ARM: tegra: apalis-tk1: white-space clean-up

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler White-space clean-up. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 3 --- arch/arm/boot/dts/tegra124-apalis.dtsi | 3 --- 2 files changed, 6 deletions(-) diff --git a/arch/arm/boot/dts/tegra124-apalis-v1.2.d

[PATCH v2 01/19] ARM: tegra: apalis-tk1: add local-mac-address property

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Add empty local-mac-address property to be filled in by boot loader (e.g. U-Boot). Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 5 + arch/arm/boot/dts/tegra124-apalis.dtsi | 5 + 2 files changed, 10 i

[PATCH v2 19/19] ARM: tegra: apalis-tk1: drop unused hdmi_ddc label

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop unused hdmi_ddc label. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch. arch/arm/boot/dts/tegra124-apalis-eval.dts | 2 +- arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arc

[PATCH v2 16/19] ARM: tegra: apalis-tk1: replace underscores in node names with dashes

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler As underscores in node names are not recommended replace them all where possible with dashes. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch. arch/arm/boot/dts/tegra124-apalis-eval.dts | 2 +- arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts | 2

[PATCH v2 17/19] ARM: tegra: apalis-tk1: get rid of fake clocks simple bus

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Get rid of the fake clocks simple bus and use node names as per the actual schematics. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Get rid of fake clocks simple bus as suggested by Rob. arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 15 --- arch/arm/

[PATCH v2 18/19] ARM: tegra: apalis-tk1: shorten temperature-sensor node

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Shorten temperature-sensor node to just temp-sensor as suggested in the binding documentation. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch. arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 2 +- arch/arm/boot/dts/tegra124-apalis.dtsi | 2 +- 2 files

[PATCH v2 12/19] ARM: tegra: apalis-tk1: reorder cpu dfll clock properties

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder CPU DFLL clock properties. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 2 +- arch/arm/boot/dts/tegra124-apalis.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boo

[PATCH v2 15/19] ARM: tegra: apalis-tk1: drop obsolete spidev nodes

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop obsolete spidev device tree nodes as nowadays one should do this by binding the spidev driver to specific instances/chip selects at runtime. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch. arch/arm/boot/dts/tegra124-apalis-eval.dts | 12 ---

[PATCH v2 13/19] ARM: tegra: apalis-tk1: reorder SD card properties

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder SD card properties. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-eval.dts | 4 ++-- arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/ar

[PATCH v2 08/19] ARM: tegra: apalis-tk1: reorder backlight properties

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder backlight properties. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-eval.dts | 2 +- arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/

[PATCH v2 09/19] ARM: tegra: apalis-tk1: add proper emmc vmmc and vqmmc supplies

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Add proper eMMC vmmc and vqmmc supplies e.g. fixing signalling voltage. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 2 ++ arch/arm/boot/dts/tegra124-apalis.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff

[PATCH v2 10/19] ARM: tegra: apalis-tk1: enable emmc ddr52 mode

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Add mmc-ddr-1_8v property enabling eMMC DDR52 mode. root@apalis-tk1-mainline:~# cat /sys/kernel/debug/mmc2/ios clock: 5200 Hz actual clock: 5200 Hz vdd:21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select:0 (don't care) power mode:

[PATCH v2 11/19] ARM: tegra: apalis-tk1: add toradex,apalis-tk1-v1.2 compatible

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Add toradex,apalis-tk1-v1.2 compatible. Signed-off-by: Marcel Ziswiler Reviewed-by: Rob Herring --- Changes in v2: - Add Rob's reviewed-by. Documentation/devicetree/bindings/arm/tegra.txt | 2 ++ arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts | 3 ++- 2 files changed

[PATCH v2 06/19] ARM: tegra: apalis-tk1: drop unused pinmux label

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop unused pinmux label. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 2 +- arch/arm/boot/dts/tegra124-apalis.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/teg

[PATCH v2 03/19] ARM: tegra: apalis-tk1: reorder padctl properties

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder padctl properties. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 22 +++--- arch/arm/boot/dts/tegra124-apalis.dtsi | 22 +++--- 2 files changed, 22 insertions(+), 22 del

[PATCH v2 00/19] ARM: dts: tegra: apalis-tk1: minor revamp

2018-09-01 Thread Marcel Ziswiler
This series is a minor overhaul for the Toradex Apalis TK1 system on module. Changes in v2: - Add Rob's reviewed-by. - New patch as suggested by Rob. - New patch. - Get rid of fake clocks simple bus as suggested by Rob. - Change cover-letter subject to indicate minor revamp. - Drop "[PATCH 02/15]

[PATCH v2 02/19] ARM: tegra: apalis-tk1: reorder host1x/hdmi properties

2018-09-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder Host1x/HDMI properties. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 4 ++-- arch/arm/boot/dts/tegra124-apalis.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/bo

Re: [PATCH 0/8] CaitSith LSM module

2018-09-01 Thread Tetsuo Handa
On 2017/10/22 2:17, Casey Schaufler wrote: >> As one year elapsed since I proposed CaitSith for upstream, I'd like to >> hear the status again. I looked at >> http://schd.ws/hosted_files/lss2017/8b/201709-LinuxSecuritySummit-Stacking.pdf >> . >> How is ETA for Security Module Stacking? Is it a hal

[tip:x86/urgent] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-09-01 Thread tip-bot for LuckTony
Commit-ID: c7486104a5ce7e8763e3cb5157bba8d0f1468d87 Gitweb: https://git.kernel.org/tip/c7486104a5ce7e8763e3cb5157bba8d0f1468d87 Author: LuckTony AuthorDate: Fri, 31 Aug 2018 09:55:06 -0700 Committer: Thomas Gleixner CommitDate: Sat, 1 Sep 2018 14:59:19 +0200 x86/mce: Fix set_mce_nospec

Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks

2018-09-01 Thread Miguel Ojeda
Hi Luc, On Sat, Sep 1, 2018 at 11:56 AM, Luc Van Oostenryck wrote: > > For sparse (which doesn't support __has_attribute() yet and defines > __GNUC_MINOR__ depending on the compiler used to build it) it won't > be totally correct since the concerned attributes here will be > incorrectly considere

Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks

2018-09-01 Thread Miguel Ojeda
Hi Dominique, On Sat, Sep 1, 2018 at 12:14 PM, Dominique Martinet wrote: > Miguel Ojeda wrote on Fri, Aug 31, 2018: >> Instead of using version checks per-compiler to define (or not) >> each attribute, use __has_attribute to test for them, following >> the cleanup started with commit 815f0ddb346c

Re: [PATCH 2/2] i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP

2018-09-01 Thread Wolfram Sang
On Fri, Aug 31, 2018 at 11:30:48PM +0900, Masahiro Yamada wrote: > This driver currently emits a STOP if the next message is not > I2C_MD_RD. It should not do it because it disturbs the I2C_RDWR > ioctl, where read/write transactions are combined without STOP > between. > > Issue STOP only when t

Re: [PATCH 1/2] i2c: uniphier: issue STOP only for last message or I2C_M_STOP

2018-09-01 Thread Wolfram Sang
On Fri, Aug 31, 2018 at 11:30:47PM +0900, Masahiro Yamada wrote: > This driver currently emits a STOP if the next message is not > I2C_MD_RD. It should not do it because it disturbs the I2C_RDWR > ioctl, where read/write transactions are combined without STOP > between. > > Issue STOP only when t

Re: [PATCH v5 0/7] Add support for MSCC Ocelot i2c

2018-09-01 Thread Wolfram Sang
> Because the designware IP was not able to handle the SDA hold time before > version 1.11a, MSCC has its own implementation. Add support for it and then > add > i2c on ocelot boards. > > I would expect patches 1 to 5 to go through the i2c tree. Applied to for-next, thanks! > Pathces 6-7 can g

Re: [PATCH v5 5/7] i2c: designware: add MSCC Ocelot support

2018-09-01 Thread Wolfram Sang
> +int dw_i2c_of_configure(struct platform_device *pdev) I made this 'static' as well. signature.asc Description: PGP signature

[PATCH] ARM: linker script: GCOV kernel may refers data in __exit

2018-09-01 Thread Masami Hiramatsu
GCOV kernel embeds counters in the kernel for each line and a part of that embed in __exit text. So we need to keep the __exit text if CONFIG_GCOV_KERNEL=y. Without this patch, if we discards __exit text (e.g. disables CONFIG_GENERIC_BUG, CONFIG_JUMP_LABEL and CONFIG_SMP_ON_UP) but enables CONFIG_

[PATCH v2] Staging: rtlwifi: efuse: Fixed a line length code styling issue.

2018-09-01 Thread Tom Todd
Fixed a code styling issue. Signed-off-by: Tom Todd --- drivers/staging/rtlwifi/efuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtlwifi/efuse.c b/drivers/staging/rtlwifi/efuse.c index 1dc71455f270..abb0f720cf21 100644 --- a/drivers/staging/rtlwifi/ef

[PATCH] hid: hid-core: Fix a sleep-in-atomic-context bug in __hid_request()

2018-09-01 Thread Jia-Ju Bai
The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] hid_alloc_report_buf(GFP_KERNEL) drivers/hid/hid-core.c, 1435: hid_alloc_report_buf in __hid_request ./include/linux/hid.h, 1023: __hid_request in hid_hw_request

Re: [PATCH 4/7] Compiler Attributes: homogenize __must_be_array

2018-09-01 Thread Miguel Ojeda
Hi Luc, On Sat, Sep 1, 2018 at 11:17 AM, Luc Van Oostenryck wrote: > On Fri, Aug 31, 2018 at 07:05:11PM +0200, Miguel Ojeda wrote: >> Different definitions of __must_be_array: >> >> * gcc: disabled for __CHECKER__ >> diff --git a/include/linux/compiler.h b/include/linux/compiler.h >> index e0e5

[PATCH] infiniband: core: mad: Fix a sleep-in-atomic-context bug in ib_mad_recv_done()

2018-09-01 Thread Jia-Ju Bai
The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] alloc_mad_private(GFP_KERNEL) drivers/infiniband/core/mad.c, 2264: alloc_mad_private in ib_mad_recv_done drivers/infiniband/core/cq.c, 45: [FUNC_PTR]ib_mad_recv_d

  1   2   >