Re: [PATCH v3 2/6] KVM: X86: Implement PV IPIs in linux guest

2018-07-19 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 00:28, Radim Krčmář wrote: > > 2018-07-03 14:21+0800, Wanpeng Li: > > From: Wanpeng Li > > > > Implement paravirtual apic hooks to enable PV IPIs. > > > > apic->send_IPI_mask > > apic->send_IPI_mask_allbutself > > apic->send_IPI_allbutself > > apic->send_IPI_all > > > > The

Re: [PATCH v3 2/6] KVM: X86: Implement PV IPIs in linux guest

2018-07-19 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 00:47, Paolo Bonzini wrote: > > On 19/07/2018 18:28, Radim Krčmář wrote: > >> + > >> +kvm_hypercall3(KVM_HC_SEND_IPI, ipi_bitmap_low, ipi_bitmap_high, > >> vector); > > and > > > > kvm_hypercall3(KVM_HC_SEND_IPI, ipi_bitmap[0], ipi_bitmap[1], vector); > > > > Stil

linux-next: manual merge of the mfd tree with the sound tree

2018-07-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mfd tree got a conflict in: drivers/gpu/drm/i915/Kconfig between commit: a57942bfdd61 ("ALSA: hda: Make audio component support more generic") from the sound tree and commit: 9c229127aee2 ("drm/i915: hdmi: add CEC notifier to intel_hdmi") from th

Re: [PATCH v3 2/6] KVM: X86: Implement PV IPIs in linux guest

2018-07-19 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 07:05, David Matlack wrote: > > On Mon, Jul 2, 2018 at 11:23 PM Wanpeng Li wrote: > > > > From: Wanpeng Li > > > > Implement paravirtual apic hooks to enable PV IPIs. > > Very cool. Thanks for working on this! Thanks David! > > > > > apic->send_IPI_mask > > apic->send_IP

[PATCH 11/20] staging: gasket: fix comment syntax in apex.h

2018-07-19 Thread Todd Poynor
From: Todd Poynor Use kernel-style multi-line comment syntax. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/gasket/apex.h b/drivers/st

[PATCH 10/20] staging: gasket: remove else clause after return in if clause

2018-07-19 Thread Todd Poynor
From: Todd Poynor Else after return is unnecessary and may cause static code checkers to complain. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --gi

[PATCH 04/20] staging: gasket: fix class create bug handling

2018-07-19 Thread Todd Poynor
From: Todd Poynor class_create() never returns NULL, and this driver should never return PTR_ERR(NULL) anyway. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor Reviewed-by: Dmitry Torokhov --- drivers/staging/gasket/gasket_core.c | 2 +- 1 file changed, 1 in

[PATCH 00/20 v4] staging: gasket: sundry fixes and fixups

2018-07-19 Thread Todd Poynor
From: Todd Poynor Various fixes mainly from the chromium review of the gasket and apex drivers. More to come. Todd Poynor (20): staging: gasket: allow compile for ARM64 in Kconfig staging: gasket: gasket_enable_dev remove unnecessary variable staging: gasket: remove code for no physical d

[PATCH 19/20] staging: gasket: common ioctl dispatcher add __user annotations

2018-07-19 Thread Todd Poynor
From: Todd Poynor Add __user annotation to gasket core common ioctl pointer arguments for sparse checking. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_ioctl.c | 8 +--- drivers/staging/gasket/gasket_ioctl.h | 4 +++-

[PATCH 20/20] staging: gasket: common ioctls add __user annotations

2018-07-19 Thread Todd Poynor
From: Todd Poynor Add __user annotation to gasket common ioctl pointer arguments for sparse checking. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_ioctl.c | 102 ++ 1 file changed, 55 insertions(+)

[PATCH 02/20] staging: gasket: gasket_enable_dev remove unnecessary variable

2018-07-19 Thread Todd Poynor
From: Todd Poynor Remove unnecessary variable, pass constant param instead. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/gaske

Re: [PATCH v3 4/6] KVM: X86: Implement PV IPIs send hypercall

2018-07-19 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 00:47, Paolo Bonzini wrote: > > On 03/07/2018 08:21, Wanpeng Li wrote: > > + > > + rcu_read_lock(); > > + map = rcu_dereference(kvm->arch.apic_map); > > + > > + for_each_set_bit(i, &ipi_bitmap_low, BITS_PER_LONG) { > > + vcpu = map->phys_map[i]->vcpu;

[PATCH 07/20] staging: gasket: gasket_mmap return error instead of valid BAR index

2018-07-19 Thread Todd Poynor
From: Todd Poynor When offset to be mapped matches both a BAR region and a coherent mapped region return an error as intended, not the BAR index. Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 18/20] staging: gasket: apex ioctl add __user annotations

2018-07-19 Thread Todd Poynor
From: Todd Poynor Add __user annotation to ioctl pointer argument, for sparse checking. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --

[PATCH 12/20] staging: gasket: remove unnecessary parens in page table code

2018-07-19 Thread Todd Poynor
From: Todd Poynor gasket_alloc_coherent_memory() extra parentheses in statement. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/g

[PATCH 13/20] staging: gasket: gasket_mmap use PAGE_MASK

2018-07-19 Thread Todd Poynor
From: Todd Poynor gasket_mmap use PAGE_MASK, instead of performing math on PAGE_SIZE, for simplicity and clarity. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH 16/20] staging: gasket: always allow root open for write

2018-07-19 Thread Todd Poynor
From: Todd Poynor Always allow root to open device for writing. Drop special-casing of ioctl permissions for root vs. owner. Convert to bool types as appropriate. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 1

[PATCH 17/20] staging: gasket: top ioctl handler add __user annotations

2018-07-19 Thread Todd Poynor
From: Todd Poynor Add __user annotation to gasket_core top-level ioctl handling pointer arguments, for sparse checking. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 6 -- drivers/staging/gasket/gasket_core.h

[PATCH 15/20] staging: gasket: fix multi-line comment syntax in gasket_core.h

2018-07-19 Thread Todd Poynor
From: Todd Poynor Use consistent kernel-style multi-line comment syntax. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/gasket/gasket

[PATCH 14/20] staging: gasket: remove extra parens in gasket_write_mappable_regions

2018-07-19 Thread Todd Poynor
From: Todd Poynor Remove unneeded parentheses around subexpressions. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gasket/gasket_core.

[PATCH 08/20] staging: gasket: apex_clock_gating simplify logic, reduce indentation

2018-07-19 Thread Todd Poynor
From: Todd Poynor Collapse together two checks and return immediately, avoid conditional indentation for most of function code. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 43 +--- 1 file ch

[PATCH 06/20] staging: gasket: don't treat no device reset callback as an error

2018-07-19 Thread Todd Poynor
From: Todd Poynor It is not an error for a device to not have a reset callback registered. Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/gasket/gasket_core

[PATCH 05/20] staging: gasket: remove unnecessary code in coherent allocator

2018-07-19 Thread Todd Poynor
From: Todd Poynor Remove extraneous statement in gasket_config_coherent_allocator() Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_ioctl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH 03/20] staging: gasket: remove code for no physical device

2018-07-19 Thread Todd Poynor
From: Todd Poynor gasket_enable_dev code for enabling a gasket device with no physical PCI device registered shouldn't be necessary. Reported-by: Greg Kroah-Hartman Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 12 +--- 1 file changed, 1 insertion(+), 11 deleti

[PATCH 09/20] staging: gasket: gasket page table functions use bool return type

2018-07-19 Thread Todd Poynor
From: Todd Poynor Convert from int to bool return type for gasket page table functions that return values used as booleans. Reported-by: Guenter Roeck Signed-off-by: Simon Que Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 58 +++--- drivers/stagi

[PATCH 01/20] staging: gasket: allow compile for ARM64 in Kconfig

2018-07-19 Thread Todd Poynor
From: Todd Poynor The gasket and apex drivers are also to be used on ARM64 architectures. Signed-off-by: Todd Poynor --- drivers/staging/gasket/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gasket/Kconfig b/drivers/staging/gasket/Kconfig index c836

Re: [PATCH v3 5/6] KVM: X86: Add NMI support to PV IPIs

2018-07-19 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 00:31, Radim Krčmář wrote: > > 2018-07-03 14:21+0800, Wanpeng Li: > > From: Wanpeng Li > > > > The NMI delivery mode of ICR is used to deliver an NMI to the processor, > > and the vector information is ignored. > > > > Cc: Paolo Bonzini > > Cc: Radim Krčmář > > Cc: Vitaly

RE: [PATCH V3 0/4] KVM/x86/hyper-V: Introduce PV guest address space mapping flush support

2018-07-19 Thread KY Srinivasan
> -Original Message- > From: Tianyu Lan > Sent: Thursday, July 19, 2018 1:40 AM > Cc: Tianyu Lan ; de...@linuxdriverproject.org; > Haiyang Zhang ; h...@zytor.com; > k...@vger.kernel.org; KY Srinivasan ; linux- > ker...@vger.kernel.org; mi...@redhat.com; pbonz...@redhat.com; > rkrc...@red

[PATCH 1/1] x86/hyper-v: Fix a merge error

2018-07-19 Thread kys
From: "K. Y. Srinivasan" When the mapping betwween the Linux notion of CPU ID to the hypervisor's notion of CPU ID is not initialized, we should fall back on the non-enligghtened path for IPI. A merge error introduced this bug; fix it. Fixes: 1268ed0c474a ("Merge branch 'x86/urgent' into x86/hyp

[PATCH] Drivers: staging: rts5208: xd.c fixed a brace coding style issue

2018-07-19 Thread Ali Aminian
Fixing a coding style issue Signed-off-by: Ali Aminian --- drivers/staging/rts5208/xd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 667dfe1..261d868 100644 --- a/drivers/staging/rts5208/xd.c +++ b/drivers

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-07-19 Thread Borislav Petkov
On Thu, Jul 19, 2018 at 02:36:21PM -0400, Tyler Baicar wrote: > With the current ghes_edac setup, it seems the only way this could > work would be to have the firmware always report the module value to My experience with firmware so far is that it is a lost cause, considering all the bugs, snafus

Re: [PATCHv2 2/2] arm64: Clear the stack

2018-07-19 Thread Kees Cook
On Thu, Jul 19, 2018 at 4:28 PM, Laura Abbott wrote: > > Implementation of stackleak based heavily on the x86 version > > Signed-off-by: Laura Abbott This is the commit message I wrote when I was using an earlier version, which I think is more descriptive: arm64: Add support for STACKLEAK g

Re: [PATCH v2] pinctrl: uniphier: add spi pin-mux settings

2018-07-19 Thread Masahiro Yamada
2018-07-19 18:05 GMT+09:00 Keiji Hayashibara : > From: Kunihiko Hayashi > > Add pin-mux settings for spi controller. > > Signed-off-by: Kunihiko Hayashi > Signed-off-by: Keiji Hayashibara > --- Acked-by: Masahiro Yamada > Changes since v1: > - Fix build error of "pinctrl-uniphier-sld8.c"

Re: [PATCH] sched/fair: remove #ifdefs from scale_rt_capacity

2018-07-19 Thread Viresh Kumar
On 19-07-18, 14:00, Vincent Guittot wrote: > Reuse cpu_util_irq() that has been defined for schedutil and set irq util > to 0 when !CONFIG_IRQ_TIME_ACCOUNTING > > But the compiler is not able to optimize the sequence (at least with > aarch64 GCC 7.2.1) > free *= (max - irq); > free /=

Re: [RFC PATCH v2 1/4] dt-bindings: misc: Add bindings for misc. BMC control fields

2018-07-19 Thread Benjamin Herrenschmidt
On Fri, 2018-07-20 at 09:37 +0930, Andrew Jeffery wrote: > > > > Andrew, can you start with a list that shows what you expect us to need > > on our systems ? > > > > Okay, our Witherspoon and Romulus platforms containing the ASPEED AST2500 > currently need the following tuneables exposed: > >

[tip:x86/hyperv] x86/hyper-v: Fix wrong merge conflict resolution

2018-07-19 Thread tip-bot for K. Y. Srinivasan
Commit-ID: be0e16ce7c3bf9855f1ef5ae46cf889e1784ddea Gitweb: https://git.kernel.org/tip/be0e16ce7c3bf9855f1ef5ae46cf889e1784ddea Author: K. Y. Srinivasan AuthorDate: Fri, 20 Jul 2018 03:50:09 + Committer: Thomas Gleixner CommitDate: Fri, 20 Jul 2018 06:56:23 +0200 x86/hyper-v: Fix w

Re: [PATCH] fs: iomap: Change return type to vm_fault_t

2018-07-19 Thread Souptick Joarder
On Wed, Jul 4, 2018 at 3:22 AM, Andreas Gruenbacher wrote: > On 3 July 2018 at 23:39, Darrick J. Wong wrote: >> On Mon, Jul 02, 2018 at 07:52:41PM +0200, Andreas Gruenbacher wrote: >>> On 2 July 2018 at 17:43, Souptick Joarder wrote: >>> > Return type has been changed to vm_fault_t type for >>>

Re: linux-next: manual merge of the mfd tree with the sound tree

2018-07-19 Thread Takashi Iwai
On Fri, 20 Jul 2018 05:42:19 +0200, Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the mfd tree got a conflict in: > > drivers/gpu/drm/i915/Kconfig > > between commit: > > a57942bfdd61 ("ALSA: hda: Make audio component support more generic") > > from the sound tree an

[tip:x86/pti] x86/pti: Check the return value of pti_user_pagetable_walk_p4d()

2018-07-19 Thread tip-bot for Jiang Biao
Commit-ID: b2b7d986a89b6c94b1331a909de1217214fb08c1 Gitweb: https://git.kernel.org/tip/b2b7d986a89b6c94b1331a909de1217214fb08c1 Author: Jiang Biao AuthorDate: Fri, 20 Jul 2018 08:06:31 +0800 Committer: Thomas Gleixner CommitDate: Fri, 20 Jul 2018 07:07:39 +0200 x86/pti: Check the retur

[tip:x86/pti] x86/pti: Check the return value of pti_user_pagetable_walk_pmd()

2018-07-19 Thread tip-bot for Jiang Biao
Commit-ID: 8c934e01a7ce685d98e970880f5941d79272c654 Gitweb: https://git.kernel.org/tip/8c934e01a7ce685d98e970880f5941d79272c654 Author: Jiang Biao AuthorDate: Fri, 20 Jul 2018 08:06:32 +0800 Committer: Thomas Gleixner CommitDate: Fri, 20 Jul 2018 07:07:39 +0200 x86/pti: Check the retur

[PATCH v6 0/4] add support for Bluetooth on MT7622 SoC

2018-07-19 Thread sean.wang
From: Sean Wang v6 and changes since v5: - make btmtkuart become a separate driver. - drop already applied patches and the patch for btuart driver - refine comments in driver allowing people know that mtk extra header + length doesn't indicate a full H:4 frame, things can fragment. - enhan

[PATCH v6 3/4] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-07-19 Thread sean.wang
From: Sean Wang This adds a driver to run on the top of btuart driver for the MediaTek serial protocol based on running H:4, which can enable the built-in Bluetooth device inside MT7622 SoC. Signed-off-by: Sean Wang --- drivers/bluetooth/Kconfig | 11 + drivers/bluetooth/Makefile| 2

[PATCH v6 2/4] Bluetooth: Add new quirk for non-persistent setup settings

2018-07-19 Thread sean.wang
From: Sean Wang Add a new quirk HCI_QUIRK_NON_PERSISTENT_SETUP allowing that a quirk that runs setup() after every open() and not just after the first open(). Signed-off-by: Sean Wang --- include/net/bluetooth/hci.h | 9 + net/bluetooth/hci_core.c| 3 ++- 2 files changed, 11 insert

[PATCH v6 4/4] MAINTAINERS: add an entry for MediaTek Bluetooth driver

2018-07-19 Thread sean.wang
From: Sean Wang Add an entry for the MediaTek Bluetooth driver. Signed-off-by: Sean Wang --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 20de9a5..5d81cc1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8780,6 +8780,14 @@ F: inclu

[PATCH v6 1/4] dt-bindings: net: bluetooth: Add mediatek-bluetooth

2018-07-19 Thread sean.wang
From: Sean Wang Add binding document for a SoC built-in device using MediaTek protocol. Which could be found on MT7622 SoC or other similar MediaTek SoCs. Signed-off-by: Sean Wang Reviewed-by: Rob Herring --- .../devicetree/bindings/net/mediatek-bluetooth.txt | 35 ++ 1 fi

Re: potential deadlock in cpufreq-dt

2018-07-19 Thread Viresh Kumar
+ linux-pm list. On 19-07-18, 16:44, Jiada Wang wrote: > Hello all > > After enable lockdep, by poking /sys/kernel/debug/sched_features, > I triggered the following lockdep report: > > [ 34.410559] == > [ 34.416766] WARNING: possible circul

Re: m68k allmodconfig build errors

2018-07-19 Thread Finn Thain
On Thu, 19 Jul 2018, Randy Dunlap wrote: > Hi Geert, > > I am seeing a few errors when cross-building m68k on x86_64, using the > toolchain at https://mirrors.edge.kernel.org/pub/tools/crosstool/ > (thanks, Arnd). (so this is gcc 8.1.0) > > block/partitions/ldm.o: In function `ldm_partition':

Re: [PATCH v3 2/6] KVM: X86: Implement PV IPIs in linux guest

2018-07-19 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 00:47, Paolo Bonzini wrote: > > On 19/07/2018 18:28, Radim Krčmář wrote: > >> + > >> +kvm_hypercall3(KVM_HC_SEND_IPI, ipi_bitmap_low, ipi_bitmap_high, > >> vector); > > and > > > > kvm_hypercall3(KVM_HC_SEND_IPI, ipi_bitmap[0], ipi_bitmap[1], vector); > > > > Stil

[PATCH 2/2] encrypted_keys: Adds support for secure key-type as master key.

2018-07-19 Thread Udit Agarwal
Encrypted keys can use secure key-type as master key along with trusted/user keys. Secure key as master key uses, secure key type payload derieved using CAAM hardware. Signed-off-by: Udit Agarwal Reviewed-by: Sahil Malhotra --- MAINTAINERS | 1 + security/key

[PATCH 1/2] security/keys/secure_key: Adds the secure key support based on CAAM.

2018-07-19 Thread Udit Agarwal
Secure keys are derieved using CAAM crypto block. Secure keys derieved are the random number symmetric keys from CAAM. Blobs corresponding to the key are formed using CAAM. User space will only be able to view the blob of the key. Signed-off-by: Udit Agarwal Reviewed-by: Sahil Malhotra --- Doc

Re: [PATCH] fs: iomap: Change return type to vm_fault_t

2018-07-19 Thread Darrick J. Wong
On Fri, Jul 20, 2018 at 10:31:30AM +0530, Souptick Joarder wrote: > On Wed, Jul 4, 2018 at 3:22 AM, Andreas Gruenbacher > wrote: > > On 3 July 2018 at 23:39, Darrick J. Wong wrote: > >> On Mon, Jul 02, 2018 at 07:52:41PM +0200, Andreas Gruenbacher wrote: > >>> On 2 July 2018 at 17:43, Souptick J

Re: [PATCH 17/32] staging: gasket: annotate ioctl arg with __user

2018-07-19 Thread Greg Kroah-Hartman
On Thu, Jul 19, 2018 at 07:44:53PM -0700, Todd Poynor wrote: > >> /* Type of the ioctl permissions check callback. See below. */ > >> typedef int (*gasket_ioctl_permissions_cb_t)( > >> - struct file *filp, uint cmd, ulong arg); > >> + struct file *filp, uint cmd, void __user *arg); > >> >

RE: [RFC PATCH 3/3] sdhci: arasan: Add support to read Tap Delay values from DT

2018-07-19 Thread Manish Narani
Hi Uffe, > -Original Message- > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > Sent: Tuesday, July 10, 2018 2:02 PM > To: Manish Narani > Cc: Rob Herring ; Mark Rutland > ; Catalin Marinas ; Will > Deacon ; Moritz Fischer ; > stefan.krsmano...@aggios.com; Linux ARM ker...@lists.infr

Re: [PATCH] ARM64: smp: Fix cpu_up() racing with sys_reboot

2018-07-19 Thread Mark Rutland
On Thu, Jul 19, 2018 at 03:18:46PM -0700, Venkata Narendra Kumar Gutta wrote: > Nothing stops a process from hotplugging in a CPU concurrently > with a sys_reboot() call. In such a situation we could have > ipi_cpu_stop() mark a cpu as 'offline' and _cpu_up() ignore the > fact that the CPU is not r

Re: [GIT PULL] nds32 fixes for 4.18

2018-07-19 Thread Greentime Hu
Greentime Hu 於 2018年7月17日 週二 下午2:34寫道: > > Hi Linus, > Greentime Hu 於 2018年7月9日 週一 下午4:19寫道: > > > > The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: > > > > Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) > > > > are available in the Git repository at: > > > > > > ssh

Re: [PATCH] ARM64: smp: BUG() if smp_send_reschedule() is called for an offline cpu

2018-07-19 Thread Mark Rutland
On Thu, Jul 19, 2018 at 03:12:49PM -0700, Venkata Narendra Kumar Gutta wrote: > Based on the 'commit <8b775be35e41b9f> ("ARM: smp: > BUG() if smp_send_reschedule() is called for an offline cpu")' This commit does not appear to exist in mainline. Which tree is it in? > Sending an IPI_RESCHEDULE to

Re: [PATCH 0/4] Rework NVMe abort handling

2018-07-19 Thread Johannes Thumshirn
On Thu, Jul 19, 2018 at 08:04:09AM -0700, James Smart wrote: > Which I'm going to say no on. I originally did the abort before the reset > and it brought out some confusion in the reset code. Thus the existing flow > which just resets the controller which has to be done after the abort > anyway. O

Re: [PATCH v3] Optimize C3 entry on Centaur CPUs

2018-07-19 Thread Thomas Gleixner
On Tue, 29 May 2018, David Wang wrote: > For new Centaur CPUs the ucode will take care of the preservation of cache > coherence > between CPU cores in C-states regardless of how deep the C-states are. So, it > is not > necessary to flush the caches in software befor entering C3. > > Signed-off-

Re: [PATCHv2 1/2] arm64: Add stack information to on_accessible_stack

2018-07-19 Thread Mark Rutland
On Thu, Jul 19, 2018 at 04:28:05PM -0700, Laura Abbott wrote: > > In preparation for enabling the stackleak plugin on arm64, > we need a way to get the bounds of the current stack. Extend > on_accessible_stack to get this information. > > Signed-off-by: Laura Abbott > --- > v2: Switched to using

[PATCH] ASoC: AMD: Add a fix voltage regulator for DA7219 and ADAU7002

2018-07-19 Thread Akshu Agrawal
DA7219 for our platform need to be configured for 1.8V. Hence, we add a fixed volatge regulator with supplies of 1.8V in the machine driver. Signed-off-by: Akshu Agrawal --- sound/soc/amd/Kconfig| 2 ++ sound/soc/amd/acp-da7219-max98357a.c | 45 ++

Re: [PATCHv2 2/2] arm64: Clear the stack

2018-07-19 Thread Mark Rutland
On Thu, Jul 19, 2018 at 04:28:06PM -0700, Laura Abbott wrote: > > Implementation of stackleak based heavily on the x86 version > > Signed-off-by: Laura Abbott Reviewed-by: Mark Rutlamd Thanks for working on this! Mark. > --- > v2: Convert to adjusted on_acessible_stack APIs. Fixed alloca ch

Re: [PATCH] fs: iomap: Change return type to vm_fault_t

2018-07-19 Thread Souptick Joarder
On Fri, Jul 20, 2018 at 11:39 AM, Darrick J. Wong wrote: > On Fri, Jul 20, 2018 at 10:31:30AM +0530, Souptick Joarder wrote: >> On Wed, Jul 4, 2018 at 3:22 AM, Andreas Gruenbacher >> wrote: >> > On 3 July 2018 at 23:39, Darrick J. Wong wrote: >> >> On Mon, Jul 02, 2018 at 07:52:41PM +0200, Andr

<    3   4   5   6   7   8