[PATCH V3 1/4] rpmsg: core: Add signal API support

2018-10-05 Thread Arun Kumar Neelakantam
Some transports like Glink support the state notifications between clients using signals similar to serial protocol signals. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_core.c | 41 + drivers/rpmsg/rpmsg_inte

[PATCH V3 0/4] Add TIOCM Signals support for RPMSG char devices

2018-10-05 Thread Arun Kumar Neelakantam
Glink transport support signals to exchange state notification between local and remote side clients. Adding support to send/receive the signal command and notify the clients through callback and POLL notification. Changes since v1: - Split the patches as per functional areas like core, char, glin

[PATCH V3 2/4] rpmsg: glink: Add support to handle signals command

2018-10-05 Thread Arun Kumar Neelakantam
Remote peripherals send signal notifications over glink with commandID 15. Add support to send and receive the signal command and convert the signals from NATIVE to TIOCM while receiving and vice versa while sending. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rp

[PATCH V3 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2018-10-05 Thread Arun Kumar Neelakantam
Add TICOMGET and TIOCMSET ioctl support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 53 +++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a

[PATCH V3 4/4] rpmsg: char: Add signal callback and POLLPRI support

2018-10-05 Thread Arun Kumar Neelakantam
Register a callback to get the signal notifications from rpmsg and send POLLPRI mask to indicate the signal change in POLL system call. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/rpmsg/rp

[PATCH] nvmem: lpc18xx_eeprom: fix compile warning

2018-10-05 Thread Gustavo A. R. Silva
Fix the following warning by removing unused variable ret: drivers/nvmem/lpc18xx_eeprom.c: In function ‘lpc18xx_eeprom_remove’: drivers/nvmem/lpc18xx_eeprom.c:258:6: warning: unused variable ‘ret’ [-Wunused-variable] int ret; ^~~ Signed-off-by: Gustavo A. R. Silva --- drivers/nvmem/lpc1

Re: [PATCH v9 1/3]: perf util: map data buffer for preserving collected data

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 9:23, Namhyung Kim wrote: > On Wed, Oct 03, 2018 at 07:01:26PM +0300, Alexey Budankov wrote: >> >> The map->data buffer is used to preserve map->base profiling data >> for writing to disk. AIO map->cblock is used to queue corresponding >> map->data buffer for asynchronous writin

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Boris Brezillon
Hi Ricardo, On Fri, 5 Oct 2018 08:31:35 +0200 Ricardo Ribalda Delgado wrote: > Hi Boris > > > On Fri, Oct 5, 2018 at 12:21 AM Boris Brezillon > wrote: > > > > Hi Ricardo, > > > > On Thu, 4 Oct 2018 16:29:42 +0200 > > Ricardo Ribalda Delgado wrote: > > > > > Allow creating gpio-addr-flash

[REVIEW][PATCH 7/6] signal: In sigqueueinfo prefer sig not si_signo

2018-10-05 Thread Eric W. Biederman
Andrei Vagin reported: > Accoding to the man page, the user should not set si_signo, it has to be set > by kernel. > > $ man 2 rt_sigqueueinfo > > The uinfo argument specifies the data to accompany the signal. This >argument is a pointer to a structure of type siginfo_t, desc

[PATCH] ntb: ntb_transport: Mark expected switch fall-throughs

2018-10-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1373888 ("Missing break in switch") Addresses-Coverity-ID: 1373889 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/ntb/ntb_transport.c |

Re: [PATCH] ALSA: usb-audio: update quirk for B&W PX to remove microphone

2018-10-05 Thread Takashi Iwai
On Fri, 05 Oct 2018 00:31:47 +0200, Nicolas Herochao wrote: > > Hey, Thanks for the quick response > > Am 04.10.18 um 22:55 CEST schrieb Takashi Iwai: > > > On Thu, 04 Oct 2018 16:42:05 +0200, > > Nicolas Huaman wrote: > >> A quirk in snd-usb-audio was added to automate setting sample rate to >

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Namhyung Kim
On Wed, Oct 03, 2018 at 07:12:10PM +0300, Alexey Budankov wrote: > > Trace file offset is calculated and updated linearly prior > enqueuing aio write at record__pushfn(). > > record__aio_sync() blocks till completion of started AIO operation > and then proceeds. > > record__mmap_read_sync() imp

Re: [PATCH] irqchip/gic-v3-its: Add early memory allocation errata

2018-10-05 Thread Matthias Brugger
Friendly reminder, if anyone has any comment on the patch :) On 9/12/18 11:52 AM, matthias@kernel.org wrote: > From: Matthias Brugger > > Some hardware does not implement two-level page tables so that > the amount of contigious memory needed by the baser is bigger > then the zone order. This

Re: [PATCH v9 3/3]: perf record: extend trace writing to multi AIO

2018-10-05 Thread Namhyung Kim
On Wed, Oct 03, 2018 at 07:17:01PM +0300, Alexey Budankov wrote: > > Multi AIO trace writing allows caching more kernel data into userspace > memory postponing trace writing for the sake of overall profiling data > thruput increase. It could be seen as kernel data buffer extension into > userspa

Re: [PATCH v9 1/3]: perf util: map data buffer for preserving collected data

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 9:23, Namhyung Kim wrote: > On Wed, Oct 03, 2018 at 07:01:26PM +0300, Alexey Budankov wrote: >> +#ifdef HAVE_AIO_SUPPORT >> +map->nr_cblocks = mp->nr_cblocks; >> +if (map->nr_cblocks) { >> +map->data = malloc(perf_mmap__mmap_len(map)); >> +if (!m

Re: [PATCH 1/5] asm-generic, termios: add alias constants from MIPS

2018-10-05 Thread Geert Uytterhoeven
Hi Peter, Thanks for your patch! On Fri, Oct 5, 2018 at 12:30 AM H. Peter Anvin (Intel) wrote: > Some architectures, in this case MIPS, need a couple of legacy alias > constants for bits. There really is no reason why we can't define them > generically for all architectures. To avoid polluting

Re: [PATCH] nvme: create 'paths' entries for hidden controllers

2018-10-05 Thread Christoph Hellwig
On Fri, Sep 28, 2018 at 04:17:20PM -0300, Thadeu Lima de Souza Cascardo wrote: > When using initramfs-tools with only the necessary dependencies to mount > the root filesystem, it will fail to include nvme drivers for a root on a > multipath nvme. That happens because the slaves relationship is not

[PATCH v5 1/9] book3s/64: avoid circular header inclusion in mmu-hash.h

2018-10-05 Thread Christophe Leroy
When activating CONFIG_THREAD_INFO_IN_TASK, linux/sched.h includes asm/current.h. This generates a circular dependency. To avoid that, asm/processor.h shall not be included in mmu-hash.h In order to do that, this patch moves into a new header called asm/task_size_user64.h the information from asm/

[PATCH] s390: vfio-ap: trace the update of APCB masks

2018-10-05 Thread Pierre Morel
Define a tracing function to trace in the KVM trace buffer and trace the changes of the APCB masks. Signed-off-by: Pierre Morel --- drivers/s390/crypto/vfio_ap_ops.c | 22 ++ drivers/s390/crypto/vfio_ap_private.h | 4 2 files changed, 26 insertions(+) diff --git a/

Re: [PATCH v1] ras: Use consistent types for UUIDs

2018-10-05 Thread Christoph Hellwig
On Fri, Jul 13, 2018 at 04:10:27PM +0300, Andy Shevchenko wrote: > The commit > > 297b64c74385 ("ras: acpi / apei: generate trace event for unrecognized CPER > section") > > brought inconsistency in UUID types which are used across the RAS subsystem. > > Fix this by moving to use guid_t every

Re: [PATCH 1/4] mm/hugetlb: Enable PUD level huge page migration

2018-10-05 Thread Anshuman Khandual
On 10/03/2018 07:06 PM, Michal Hocko wrote: > On Wed 03-10-18 18:36:39, Anshuman Khandual wrote: > [...] >> So we have two checks here >> >> 1) platform specific arch_hugetlb_migration -> In principle go ahead >> >> 2) huge_movable() during allocation >> >> - If huge page does not have to b

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-05 Thread Mel Gorman
On Thu, Oct 04, 2018 at 01:16:32PM -0700, David Rientjes wrote: > On Tue, 25 Sep 2018, Michal Hocko wrote: > > diff --git a/mm/mempolicy.c b/mm/mempolicy.c > > index da858f794eb6..149b6f4cf023 100644 > > --- a/mm/mempolicy.c > > +++ b/mm/mempolicy.c > > @@ -2046,8 +2046,36 @@ alloc_pages_vma(gfp_t

Re: [PATCH -next] eeprom: at25: remove unneeded 'at25_remove'

2018-10-05 Thread Arnd Bergmann
On Fri, Oct 5, 2018 at 8:08 AM YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/misc/eeprom/at25.c: In function 'at25_remove': > drivers/misc/eeprom/at25.c:384:20: warning: > variable 'at25' set but not used [-Wunused-but-set-variable] > > Since commit 96d08fb43e30

[PATCH 2/2] spi: spi-mem: add stm32 qspi controller

2018-10-05 Thread Ludovic Barre
From: Ludovic Barre The qspi controller is a specialized communication interface targeting single, dual or quad SPI Flash memories (NOR/NAND). It can operate in any of the following modes: -indirect mode: all the operations are performed using the quadspi registers -read memory-mapped mode: the

[PATCH 0/2] spi: spi-mem: add stm32 qspi controller

2018-10-05 Thread Ludovic Barre
From: Ludovic Barre The goal of this serie is to add support of qspi controller for stm32. It is a specialized communication interface targeting single, dual or quad SPI Flash memories (NOR/NAND). Ludovic Barre (2): dt-bindings: spi: add stm32 qspi controller spi: spi-mem: add stm32 qspi con

[PATCH 1/2] dt-bindings: spi: add stm32 qspi controller

2018-10-05 Thread Ludovic Barre
From: Ludovic Barre This patch adds the documentation of device tree bindings for the STM32 QSPI controller. It is a specialized communication interface targeting single, dual or quad SPI Flash memories (NOR/NAND). Signed-off-by: Ludovic Barre --- .../devicetree/bindings/spi/spi-stm32-qspi.txt

Re: [PATCH] s390: vfio-ap: trace the update of APCB masks

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 09:33:01 +0200 Pierre Morel wrote: > Define a tracing function to trace in the KVM trace buffer > and trace the changes of the APCB masks. In general, trace events are good :) > > Signed-off-by: Pierre Morel > --- > drivers/s390/crypto/vfio_ap_ops.c | 22 +

Re: [PATCH] s390: vfio-ap: trace the update of APCB masks

2018-10-05 Thread David Hildenbrand
On 05/10/2018 09:50, Cornelia Huck wrote: > On Fri, 5 Oct 2018 09:33:01 +0200 > Pierre Morel wrote: > >> Define a tracing function to trace in the KVM trace buffer >> and trace the changes of the APCB masks. > > In general, trace events are good :) > >> >> Signed-off-by: Pierre Morel >> --- >

Re: [PATCH] net: wireless: iwlegacy: Fix possible data races in il4965_send_rxon_assoc()

2018-10-05 Thread Stanislaw Gruszka
On Thu, Oct 04, 2018 at 04:52:19PM +0800, Jia-Ju Bai wrote: > On 2018/10/4 15:59, Stanislaw Gruszka wrote: > >On Wed, Oct 03, 2018 at 10:07:45PM +0800, Jia-Ju Bai wrote: > >>These possible races are detected by a runtime testing. > >>To fix these races, the mutex lock is used in il4965_send_rxon_as

Re: [PATCH v9 3/3]: perf record: extend trace writing to multi AIO

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 10:22, Namhyung Kim wrote: > On Wed, Oct 03, 2018 at 07:17:01PM +0300, Alexey Budankov wrote: >> @@ -1833,6 +1861,10 @@ static struct option __record_options[] = { >>"signal"), >> OPT_BOOLEAN(0, "dry-run", &dry_run, >> "Parse options

RE: [Linux-stm32] [PATCH 2/2] spi: spi-mem: add stm32 qspi controller

2018-10-05 Thread Loic PALLARDY
> -Original Message- > From: Linux-stm32 > On Behalf Of Ludovic Barre > Sent: Friday, October 05, 2018 9:43 AM > To: Mark Brown ; Marek Vasut > ; Boris Brezillon ; > Rob Herring > Cc: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; linux- > s...@vger.kernel.org; Maxime Coquel

[GIT PULL] KVM changes for 4.19-rc7

2018-10-05 Thread Paolo Bonzini
Greg, The following changes since commit a27fb6d983c7b5bb0129ae4d7a7c81758173bfab: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2018-09-21 16:21:42 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you t

Re: [PATCH] nvmem: lpc18xx_eeprom: fix compile warning

2018-10-05 Thread Srinivas Kandagatla
On 05/10/18 08:03, Gustavo A. R. Silva wrote: Fix the following warning by removing unused variable ret: drivers/nvmem/lpc18xx_eeprom.c: In function ‘lpc18xx_eeprom_remove’: drivers/nvmem/lpc18xx_eeprom.c:258:6: warning: unused variable ‘ret’ [-Wunused-variable] int ret; ^~~ Signed

Very urgent

2018-10-05 Thread James Abel
Dear , How are you doing today? My Name is Mr James Abel, Am from United Kingdom, Three years ago i lost my two sons and my wife to a horrifying motor accident while they were away on vacation to Thailand. Am a dedicated Christian and i needed someone that I can trust with a charity work and help

Re: [PATCH] s390: vfio-ap: trace the update of APCB masks

2018-10-05 Thread Christian Borntraeger
On 10/05/2018 09:54 AM, David Hildenbrand wrote: > On 05/10/2018 09:50, Cornelia Huck wrote: >> On Fri, 5 Oct 2018 09:33:01 +0200 >> Pierre Morel wrote: >> >>> Define a tracing function to trace in the KVM trace buffer >>> and trace the changes of the APCB masks. >> >> In general, trace events

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Ricardo Ribalda Delgado
On Fri, Oct 5, 2018 at 9:08 AM Boris Brezillon wrote: > > Hi Ricardo, > > On Fri, 5 Oct 2018 08:31:35 +0200 > Ricardo Ribalda Delgado wrote: > > > Hi Boris > > > > > > On Fri, Oct 5, 2018 at 12:21 AM Boris Brezillon > > wrote: > > > > > > Hi Ricardo, > > > > > > On Thu, 4 Oct 2018 16:29:42 +020

Re: [PATCH] drm/gvt : fix error message typo

2018-10-05 Thread Zhi Wang
Hi: Thanks for the patches. :) Several places needs to be improved: 1. The prefix of the patch should be: "drm/i915/gvt:". 2. You can just cc the maintainers of gvt since the gvt is a sub-module of i915. 3. Better refine the tittle of the patch and also the commit message. An informative title

Re: [PATCH] nvmem: lpc18xx_eeprom: fix compile warning

2018-10-05 Thread Gustavo A. R. Silva
On 10/5/18 10:06 AM, Srinivas Kandagatla wrote: > > > On 05/10/18 08:03, Gustavo A. R. Silva wrote: >> Fix the following warning by removing unused variable ret: >> >> drivers/nvmem/lpc18xx_eeprom.c: In function ‘lpc18xx_eeprom_remove’: >> drivers/nvmem/lpc18xx_eeprom.c:258:6: warning: unused

[PATCH] input: st1232: set INPUT_PROP_DIRECT property

2018-10-05 Thread Martin Kepplinger
This is how userspace checks for touchscreen devices most reliably. Signed-off-by: Martin Kepplinger --- drivers/input/touchscreen/st1232.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c index d5dfa4053bbf..b71673911aa

[RFC PATCH 7/9] crypto: crct10dif/generic - switch crypto API driver to core library

2018-10-05 Thread Ard Biesheuvel
Signed-off-by: Ard Biesheuvel --- crypto/crct10dif_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/crct10dif_generic.c b/crypto/crct10dif_generic.c index 8e94e29dc6fc..9ea4242c4921 100644 --- a/crypto/crct10dif_generic.c +++ b/crypto/crct10dif_generic.c @@

Re: [PATCH v2 5/5] ASoC: qdsp6: q6asm-dai: Add support to compress offload

2018-10-05 Thread Srinivas Kandagatla
Thanks Vinod for the Review! On 05/10/18 01:39, Vinod wrote: On 26-09-18, 11:23, Srinivas Kandagatla wrote: This patch adds MP3 playback support in q6asm dais, adding other codec support should be pretty trivial. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 1

Re: [PATCH v2 1/5] ALSA: soc-compress: add support to snd_compr_set_runtime_buffer()

2018-10-05 Thread Srinivas Kandagatla
Thanks for review! On 05/10/18 01:31, Vinod wrote: On 26-09-18, 11:23, Srinivas Kandagatla wrote: This patch adds support to set runtime dma buffer on compressed stream. The change is fine as is, but I feel we need to document the motivation in the changelog. The core changes need a bit more e

[tip:x86/vdso] x86/vdso: Remove "memory" clobbers in the vDSO syscall fallbacks

2018-10-05 Thread tip-bot for Andy Lutomirski
Commit-ID: 89fe0a1f1c694a3b0b3cfa8c0952d603753f36df Gitweb: https://git.kernel.org/tip/89fe0a1f1c694a3b0b3cfa8c0952d603753f36df Author: Andy Lutomirski AuthorDate: Thu, 4 Oct 2018 14:44:43 -0700 Committer: Ingo Molnar CommitDate: Fri, 5 Oct 2018 10:12:18 +0200 x86/vdso: Remove "memory"

Re: [RFC 1/2] reboot: Make restart_handler_list a blocking notifier chain.

2018-10-05 Thread Nicolas Cavallari
On 04/10/2018 18:49, Russell King - ARM Linux wrote: > This isn't going to work. > > For example, sysrq processing (which can happen in IRQ context) calls > emergency_restart() for the reboot sysrq. That calls through to > machine_restart(), which then calls do_kernel_restart(). > > If do_kernel_

Re: [PATCH] spi: spi-ep93xx: Change dir type in ep93xx_spi_dma_{finish,prepare}

2018-10-05 Thread Mika Westerberg
Hi, On Thu, Oct 04, 2018 at 11:32:47AM +0100, Mark Brown wrote: > On Wed, Oct 03, 2018 at 07:39:26PM -0700, Nathan Chancellor wrote: > > Clang warns when one enumerated type is implicitly converted to another. > > > > drivers/spi/spi-ep93xx.c:342:62: warning: implicit conversion from > > enumerat

[tip:x86/vdso] x86/vdso: Document vgtod_ts better

2018-10-05 Thread tip-bot for Andy Lutomirski
Commit-ID: bcc4a62a73cb65327d7268fbfa3a786d603f52dc Gitweb: https://git.kernel.org/tip/bcc4a62a73cb65327d7268fbfa3a786d603f52dc Author: Andy Lutomirski AuthorDate: Thu, 4 Oct 2018 14:44:45 -0700 Committer: Ingo Molnar CommitDate: Fri, 5 Oct 2018 10:12:18 +0200 x86/vdso: Document vgtod_

[tip:sched/core] cpu/SMT: State SMT is disabled even with nosmt and without "=force"

2018-10-05 Thread tip-bot for Borislav Petkov
Commit-ID: d0e7d14455d41163126afecd0fcce935463cc512 Gitweb: https://git.kernel.org/tip/d0e7d14455d41163126afecd0fcce935463cc512 Author: Borislav Petkov AuthorDate: Thu, 4 Oct 2018 19:22:27 +0200 Committer: Ingo Molnar CommitDate: Fri, 5 Oct 2018 10:20:31 +0200 cpu/SMT: State SMT is dis

[PATCH] UBI: mark expected switch fall-throughs

2018-10-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1373884 ("Missing break in switch") Addresses-Coverity-ID: 114869 ("Missing break in switch") Addresses-Coverity-ID: 114870 ("Missing break in switch") Signed-off-by:

Re: [PATCH 4/4] power: supply: add AXP803/AXP813 AC and battery power supply support

2018-10-05 Thread Quentin Schulz
Hi Oskari, On Thu, Oct 04, 2018 at 10:34:10PM +0300, Oskari Lemmela wrote: > AXP803 PMIC is register compatible with AXP813. > > Added support for AXP803/AXP813 AC power supply. > AXP8x3 is capable to limit input current and minimum input voltage. > Both of these register values are writeable. >

[PATCH v1 2/2] s390: vfio-ap: setup APCB mask using KVM dedicated function

2018-10-05 Thread Pierre Morel
We replace the vfio_ap_mdev_copy_masks() by the new kvm_arch_crypto_set_masks() to be able to use the standard KVM tracing system. Signed-off-by: Pierre Morel --- drivers/s390/crypto/vfio_ap_ops.c | 33 +++-- 1 file changed, 3 insertions(+), 30 deletions(-) diff --gi

[PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Pierre Morel
kvm_arch_crypto_set_masks is a new function to centralize the setup the APCB masks inside the CRYCB SIE satelite. To trace APCB mask changes, we add KVM_EVENT() tracing to both kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. Signed-off-by: Pierre Morel --- arch/s390/include/asm/kvm_h

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 10:16, Namhyung Kim wrote: > On Wed, Oct 03, 2018 at 07:12:10PM +0300, Alexey Budankov wrote: >> +static void record__aio_sync(struct perf_mmap *md) >> +{ >> +struct aiocb *cblock = &md->cblock; >> +struct timespec timeout = { 0, 1000 * 1000 * 1 }; // 1ms >> + >> +d

[PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Pierre Morel
In the first patch we define kvm_arch_crypto_set_masks, a new function to centralize the setup the APCB masks inside the CRYCB SIE satelite and add KVM_EVENT() to kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. In the second patch we replace the vfio_ap_mdev_copy_masks() by the new kvm_

[PATCH V7 19/20] dt-bindings: Add vendor prefix for csky

2018-10-05 Thread Guo Ren
Add csky vendor definition. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.tx

[PATCH V7 18/20] dt-bindings: csky CPU Bindings

2018-10-05 Thread Guo Ren
This patch adds the documentation to describe that how to add cpu nodes in dts for SMP. Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/csky/cpus.txt | 70 + 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/csky/cpus.txt

[PATCH V7 20/20] MAINTAINERS: Add csky

2018-10-05 Thread Guo Ren
Add a maintainer information for the csky(C-SKY) architecture. Signed-off-by: Guo Ren --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d870cb5..9dac20e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3211,6 +3211,15 @@ T: git git:/

Re: [PATCH 3/6] cpuidle: menu: Get rid of first_idx from menu_select()

2018-10-05 Thread Daniel Lezcano
On 04/10/2018 19:19, Rafael J. Wysocki wrote: > On Thu, Oct 4, 2018 at 4:51 PM Daniel Lezcano > wrote: >> >> On Tue, Oct 02, 2018 at 11:44:06PM +0200, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> Rearrange the code in menu_select() so that the loop over idle states >>> always sta

Re: [PATCH v2] arm64: dts: rockchip: add spdif sound node for rock64

2018-10-05 Thread Katsuhiro Suzuki
Hello, Sorry for late, thank you for your comments. On 2018年10月03日 18:53, Chen-Yu Tsai wrote: Hi, On Mon, Sep 17, 2018 at 8:28 PM Katsuhiro Suzuki wrote: This patch adds sound card node for rock64. Currently we can support S/PDIF only. It seems the lack of codec driver of rk3328 to enable a

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 10:10:22 +0200 Ricardo Ribalda Delgado wrote: > On Fri, Oct 5, 2018 at 9:08 AM Boris Brezillon > wrote: > > > > Hi Ricardo, > > > > On Fri, 5 Oct 2018 08:31:35 +0200 > > Ricardo Ribalda Delgado wrote: > > > > > Hi Boris > > > > > > > > > On Fri, Oct 5, 2018 at 12:21 AM Bori

Re: [RFC 1/2] reboot: Make restart_handler_list a blocking notifier chain.

2018-10-05 Thread Russell King - ARM Linux
On Fri, Oct 05, 2018 at 10:27:48AM +0200, Nicolas Cavallari wrote: > On 04/10/2018 18:49, Russell King - ARM Linux wrote: > > This isn't going to work. > > > > For example, sysrq processing (which can happen in IRQ context) calls > > emergency_restart() for the reboot sysrq. That calls through to

Delete Message After Reading!

2018-10-05 Thread linux-kernel
Hello! I'm a member of an international hacker group. As you could probably have guessed, your account linux-kernel@vger.kernel.org was hacked, because I sent message you from it. Now I have access to you accounts! For example, your password for linux-kernel@vger.kernel.org is qwerty Within a

Re: [PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:31:08 +0200 Pierre Morel wrote: > In the first patch we define kvm_arch_crypto_set_masks, > a new function to centralize the setup the APCB masks > inside the CRYCB SIE satelite and add KVM_EVENT() to > kvm_arch_crypto_set_masks and kvm_arch_crypto_clear_masks. > > In the

Re: [PATCH v3 0/6] Add support for PDC Global on SDM845 SoCs

2018-10-05 Thread Philipp Zabel
Hi Sibi, Bjorn, On Thu, 2018-10-04 at 23:57 +0530, Sibi Sankar wrote: > On 09/04/2018 01:06 AM, Bjorn Andersson wrote: [...] > > Philipp, there's no compile time dependencies between the PDC and > > remoteproc patches in this series. Will you take these two through your > > tree and I'll take the

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Namhyung Kim
On Fri, Oct 05, 2018 at 11:31:11AM +0300, Alexey Budankov wrote: > Hi, Hi, > > On 05.10.2018 10:16, Namhyung Kim wrote: > > On Wed, Oct 03, 2018 at 07:12:10PM +0300, Alexey Budankov wrote: > > >> +static void record__aio_sync(struct perf_mmap *md) > >> +{ > >> + struct aiocb *cblock = &md->cbl

Re: [PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:31:09 +0200 Pierre Morel wrote: > kvm_arch_crypto_set_masks is a new function to centralize > the setup the APCB masks inside the CRYCB SIE satelite. s/satelite/satellite/ > > To trace APCB mask changes, we add KVM_EVENT() tracing to > both kvm_arch_crypto_set_masks and

Re: [PATCH 3/6] cpuidle: menu: Get rid of first_idx from menu_select()

2018-10-05 Thread Rafael J. Wysocki
On Fri, Oct 5, 2018 at 10:35 AM Daniel Lezcano wrote: > > On 04/10/2018 19:19, Rafael J. Wysocki wrote: > > On Thu, Oct 4, 2018 at 4:51 PM Daniel Lezcano > > wrote: > >> > >> On Tue, Oct 02, 2018 at 11:44:06PM +0200, Rafael J. Wysocki wrote: > >>> From: Rafael J. Wysocki > >>> > >>> Rearrange t

[RFC 14/17] arm64: unwind: strip PAC from kernel addresses

2018-10-05 Thread Kristina Martsenko
From: Mark Rutland When we enable pointer authentication in the kernel, LR values saved to the stack will have a PAC which we must strip in order to retrieve the real return address. Strip PACs when unwinding the stack in order to account for this. Signed-off-by: Mark Rutland Signed-off-by: Kr

[RFC 15/17] arm64: enable ptrauth earlier

2018-10-05 Thread Kristina Martsenko
When the kernel is compiled with pointer auth instructions, the boot CPU needs to start using pointer auth very early, so change the cpucap to account for this. A function that enables pointer auth cannot return, so inline such functions or compile them without pointer auth. Do not use the cpu_en

[RFC 17/17] arm64: compile the kernel with ptrauth -msign-return-address

2018-10-05 Thread Kristina Martsenko
Compile all functions with two ptrauth instructions: paciasp in the prologue to sign the return address, and autiasp in the epilogue to authenticate the return address. This should help protect the kernel against attacks using return-oriented programming. CONFIG_ARM64_PTR_AUTH enables pointer auth

[RFC 16/17] arm64: initialize and switch ptrauth kernel keys

2018-10-05 Thread Kristina Martsenko
Set up keys to use pointer auth in the kernel. Each task has its own APIAKey, which is initialized during fork. The key is changed during context switch and on kernel entry from EL0. A function that changes the key cannot return, so inline such functions. Signed-off-by: Mark Rutland Signed-off-b

Re: [PATCH] spi: spi-ep93xx: Change dir type in ep93xx_spi_dma_{finish,prepare}

2018-10-05 Thread Nathan Chancellor
On Fri, Oct 05, 2018 at 11:28:44AM +0300, Mika Westerberg wrote: > Hi, > > On Thu, Oct 04, 2018 at 11:32:47AM +0100, Mark Brown wrote: > > On Wed, Oct 03, 2018 at 07:39:26PM -0700, Nathan Chancellor wrote: > > > Clang warns when one enumerated type is implicitly converted to another. > > > > > >

Re: [PATCH v2] mm: Introduce new function vm_insert_kmem_page

2018-10-05 Thread Miguel Ojeda
Hi Souptick, On Fri, Oct 5, 2018 at 7:51 AM Souptick Joarder wrote: > > On Fri, Oct 5, 2018 at 1:16 AM Miguel Ojeda > wrote: > > > > > > Also, not sure if you saw my comments/review: if the interface is not > > going to change, why the name change? Why can't we simply keep using > > vm_insert_pa

Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-05 Thread Masami Hiramatsu
On Wed, 3 Oct 2018 21:11:28 -0400 Steven Rostedt wrote: > On Wed, 3 Oct 2018 15:12:27 -0400 > Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 01:18:43 +0900 > > Masami Hiramatsu wrote: > > > > > Allow kprobe-events to record module symbols. > > > > > > Since data symbols in a non-loaded modu

CHARITY DONATION

2018-10-05 Thread Mavis Wanczyk....
-- I am Mavis Wanczyk i know you may not know me but am the latest largest US Powerball lottery winner of $758.7m just of recent, am currently helping out people in need of financial assistance, i know it's hard to believe anything on the internet, so if you don't need my help please don'

Re: [PATCH v1 0/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread David Hildenbrand
On 05/10/2018 10:44, Cornelia Huck wrote: > On Fri, 5 Oct 2018 10:31:08 +0200 > Pierre Morel wrote: > >> In the first patch we define kvm_arch_crypto_set_masks, >> a new function to centralize the setup the APCB masks >> inside the CRYCB SIE satelite and add KVM_EVENT() to >> kvm_arch_crypto_set

Re: [PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Pierre Morel
On 05/10/2018 10:49, Cornelia Huck wrote: On Fri, 5 Oct 2018 10:31:09 +0200 Pierre Morel wrote: kvm_arch_crypto_set_masks is a new function to centralize the setup the APCB masks inside the CRYCB SIE satelite. s/satelite/satellite/ To trace APCB mask changes, we add KVM_EVENT() tracing t

[PATCH v1] phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845

2018-10-05 Thread Manu Gautam
Tune1 register on sdm845 is used to update HSTX_TRIM with fused setting. Enable same by specifying update_tune1_with_efuse flag for sdm845, otherwise driver ends up programming tune2 register. While at it, also fix HSTX_TRIM tuning logic which instead of using fused value as HSTX_TRIM, incorrectly

Re: x86/mm: Found insecure W+X mapping at address (ptrval)/0xc00a0000

2018-10-05 Thread Thomas Gleixner
On Thu, 4 Oct 2018, Joerg Roedel wrote: > On Wed, Oct 03, 2018 at 11:22:55PM +0200, Borislav Petkov wrote: > > On Fri, Sep 28, 2018 at 04:55:19PM +0200, Thomas Gleixner wrote: > > > Sorry for the delay and thanks for the data. A quick diff did not reveal > > > anything obvious. I'll have a closer

Re: [PATCH] block: BFQ default for single queue devices

2018-10-05 Thread Paolo Valente
> Il giorno 05 ott 2018, alle ore 00:42, Bart Van Assche > ha scritto: > > On Thu, 2018-10-04 at 22:39 +0200, Paolo Valente wrote: >> No, kernel build is, for evident reasons, one of the workloads I cared >> most about. Actually, I tried to focus on all my main >> kernel-development tasks, s

Re: [PATCH v1 1/2] KVM: s390: Tracing APCB changes

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:57:22 +0200 Pierre Morel wrote: > On 05/10/2018 10:49, Cornelia Huck wrote: > > On Fri, 5 Oct 2018 10:31:09 +0200 > > Pierre Morel wrote: > > > >> kvm_arch_crypto_set_masks is a new function to centralize > >> the setup the APCB masks inside the CRYCB SIE satelite. >

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-05 Thread Ingo Molnar
* Nadav Amit wrote: > > Are you using defconfig or a reasonable distro-config for your tests? > > I think it is best to take the kernel and run localyesconfig for testing. Ok, agreed - and this makes the numbers you provided pretty representative. Good - now that all of my concerns were addr

Re: [PATCH v1 2/2] s390: vfio-ap: setup APCB mask using KVM dedicated function

2018-10-05 Thread Cornelia Huck
On Fri, 5 Oct 2018 10:31:10 +0200 Pierre Morel wrote: > We replace the vfio_ap_mdev_copy_masks() by the new > kvm_arch_crypto_set_masks() to be able to use the standard > KVM tracing system. > > Signed-off-by: Pierre Morel > --- > drivers/s390/crypto/vfio_ap_ops.c | 33 +++

[GIT PULL] locking fixes

2018-10-05 Thread Ingo Molnar
Greg, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: e4a02ed2aaf447fa849e3254bfdb3b9b01e1e520 locking/ww_mutex: Fix runtime warning in the WW mutex selftest A fix in the ww_mutex s

Re: [PATCH v9 2/3]: perf record: enable asynchronous trace writing

2018-10-05 Thread Alexey Budankov
Hi, On 05.10.2018 11:48, Namhyung Kim wrote: > On Fri, Oct 05, 2018 at 11:31:11AM +0300, Alexey Budankov wrote: >> >> Well, this could be implemented like this avoiding lseek() in else branch: >> >> off = lseek(trace_fd, 0, SEEK_CUR); >> ret = record__aio_write(cblock, trace_fd, bf, siz

Re: x86/mm: Found insecure W+X mapping at address (ptrval)/0xc00a0000

2018-10-05 Thread Paul Menzel
Dear Thomas, On 10/05/18 11:27, Thomas Gleixner wrote: > On Thu, 4 Oct 2018, Joerg Roedel wrote: > >> On Wed, Oct 03, 2018 at 11:22:55PM +0200, Borislav Petkov wrote: >>> On Fri, Sep 28, 2018 at 04:55:19PM +0200, Thomas Gleixner wrote: Sorry for the delay and thanks for the data. A quick di

[GIT PULL] perf fixes

2018-10-05 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: d7cbbe49a9304520181fb8c9272d1327deec8453 perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events Misc fixes: -

[PATCH v2 1/3] dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation

2018-10-05 Thread christophe.kerello
From: Christophe Kerello This patch adds the documentation of the device tree bindings for the STM32 FMC2 NAND controller. Signed-off-by: Christophe Kerello --- .../devicetree/bindings/mtd/stm32-fmc2-nand.txt| 59 ++ 1 file changed, 59 insertions(+) create mode 100644

[PATCH v2 3/3] mtd: rawnand: stm32_fmc2: add manual mode

2018-10-05 Thread christophe.kerello
From: Christophe Kerello This patch adds the manual mode, a basic mode that do not need any DMA channels. This mode is also useful for debug purpose. Signed-off-by: Christophe Kerello --- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 325 + 1 file changed, 293 insert

Re: [PATCH v1 2/2] s390: vfio-ap: setup APCB mask using KVM dedicated function

2018-10-05 Thread David Hildenbrand
On 05/10/2018 10:31, Pierre Morel wrote: > We replace the vfio_ap_mdev_copy_masks() by the new > kvm_arch_crypto_set_masks() to be able to use the standard > KVM tracing system. > > Signed-off-by: Pierre Morel > --- > drivers/s390/crypto/vfio_ap_ops.c | 33 +++-- > 1

[PATCH v2 0/3] mtd: rawnand: add STM32 FMC2 NAND flash controller driver

2018-10-05 Thread christophe.kerello
From: Christophe Kerello This patchset adds the support for the STMicroelectronics FMC2 NAND flash controller found on STM32MP SOCs. This patchset supports: - the command sequencer feature, a hardware accelerator for read/write within a page - the manual mode feature, useful for debug pu

[PATCH v2 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

2018-10-05 Thread christophe.kerello
From: Christophe Kerello The driver adds the support for the STMicroelectronics FMC2 NAND Controller found on STM32MP SOCs. This patch is based on FMC2 command sequencer. The purpose of the command sequencer is to facilitate the programming and the reading of NAND flash pages with the ECC and to

Re: [PATCH v4 0/2] PPTT handle Handle architecturally unknown cache types

2018-10-05 Thread Rafael J. Wysocki
On Thursday, October 4, 2018 5:20:04 PM CEST Jeffrey Hugo wrote: > The ARM Architecture Reference Manual allows for caches to be "invisible" and > thus not specified in the system registers under some scenarios such as if the > cache cannot be managed by set/way operations. > > However, such cache

Re: [PATCH] ACPI / LPIT: Register attributes based on FADT

2018-10-05 Thread Rafael J. Wysocki
On Friday, September 28, 2018 10:54:02 AM CEST Rajneesh Bhardwaj wrote: > ACPI Low Power S0 Idle capabilities are announced via FADT table and can > be used to inform the kernel about the presence of one or more Low Power > Idle (LPI) entries as descried in LPIT table. LPIT table can exist > indepe

Re: [PATCH v4 03/11] gpu: ipu-v3: Add planar support to interlaced scan

2018-10-05 Thread Philipp Zabel
On Thu, 2018-10-04 at 11:53 -0700, Steve Longerbeam wrote: > To support interlaced scan with planar formats, cpmem SLUV must > be programmed with the correct chroma line stride. For full and > partial planar 4:2:2 (YUV422P, NV16), chroma line stride must > be doubled. For full and partial planar 4:

[GIT PULL] scheduler fixes

2018-10-05 Thread Ingo Molnar
Greg, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: 37355bdc5a129899f6b245900a8eb944a092f7fd sched/numa: Migrate pages to local nodes quicker early in the lifetime of a task These fix

Re: [PATCH v3] acpi/processor: Fix the return value of acpi_processor_ids_walk()

2018-10-05 Thread Rafael J. Wysocki
On Friday, August 24, 2018 4:51:26 AM CEST Dou Liyang wrote: > ACPI driver should make sure all the processor IDs in their ACPI Namespace > are unique. the driver performs a depth-first walk of the namespace tree > and calls the acpi_processor_ids_walk() to check the duplicate IDs. > > But, the ac

[GIT PULL] sound fixes for 4.19-rc7

2018-10-05 Thread Takashi Iwai
Greg, please pull sound fixes for v4.19-rc7 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.19-rc7 The topmost commit is 709ae62e8e6d9ac4df7dadb3b8ae432675c45ef9 sound fixes for 4.19-rc7 Just

Re: [PATCH 00/12][v4] Backport several fixes from 64bits to 32bits hibernation

2018-10-05 Thread Rafael J. Wysocki
On Tuesday, October 2, 2018 11:20:23 AM CEST Thomas Gleixner wrote: > On Fri, 21 Sep 2018, Chen Yu wrote: > > > Currently there are mainly three bugs in 32bits system when doing > > hibernation: > > 1. The page copy code is not running in safe page, which might > >cause hang during resume. > >

Re: [PATCH v2 1/3] dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 11:41:58 +0200 wrote: > From: Christophe Kerello > > This patch adds the documentation of the device tree bindings for the STM32 > FMC2 NAND controller. > > Signed-off-by: Christophe Kerello > --- > .../devicetree/bindings/mtd/stm32-fmc2-nand.txt| 59 > +++

[GIT PULL] x86 fixes

2018-10-05 Thread Ingo Molnar
Greg, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 02e425668f5c9deb42787d10001a3b605993ad15 x86/vdso: Fix vDSO syscall fallback asm constraint regression Misc fixes: - fix various vDSO

  1   2   3   4   5   6   7   >