Re:[PATCH 00/13] Modernize Loongson64 Machine

2019-08-27 Thread 陈华才
Hi, Jiaxun, 1, To describe CPU I prefer "loongson" to "ls" because "ls" is confusing, and in future we will use ls2h/ls7a to describe Loongson's bridge. 2, I think it is better to use loongson64c/loongson64g than loongson2ef/loongson64. As we disscussed, we will use

Re: [PATCH] perf arch powerpc: Sync powerpc syscall.tbl

2019-08-27 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 27, 2019 at 12:44:58PM +0530, Naveen N. Rao escreveu: > Copy over powerpc syscall.tbl to grab changes from the below commits: > commit cee3536d24a1 ("powerpc: Wire up clone3 syscall") > commit 1a271a68e030 ("arch: mark syscall number 435 reserved for clone3") > commit

Re: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-08-27 Thread Andrew Murray
On Sat, Aug 24, 2019 at 12:08:40AM +, Xiaowei Bao wrote: > > > > -Original Message- > > From: Andrew Murray > > Sent: 2019年8月23日 21:58 > > To: Xiaowei Bao > > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > > shawn...@kernel.org; Leo Li ; kis...@ti.com; > >

Re: [PATCH] mmc: sunxi: fix unusuable eMMC on some H6 boards by disabling DDR

2019-08-27 Thread Ulf Hansson
On Sun, 25 Aug 2019 at 17:06, Alejandro González wrote: > > Some Allwinner H6 boards have timing problems when dealing with > DDR-capable eMMC cards. These boards include the Pine H64 and Tanix TX6. > > These timing problems result in out of sync communication between the > driver and the eMMC,

Re: [PATCH v2 02/20] dt-bindings: arm: Convert Marvell MMP board/soc bindings to json-schema

2019-08-27 Thread Lubomir Rintel
On Tue, 2019-08-27 at 06:59 -0500, Rob Herring wrote: > On Thu, Aug 22, 2019 at 4:27 AM Lubomir Rintel wrote: > > Convert Marvell MMP SoC bindings to DT schema format using json-schema. > > > > Signed-off-by: Lubomir Rintel > > > > --- > > Changes since v1: > > - Added this patch > > > >

[PATCH 1/1] mfd: rk808: Make PM function declaration static

2019-08-27 Thread Lee Jones
Avoids: ../drivers/mfd/rk808.c:771:1: warning: symbol 'rk8xx_pm_ops' \ was not declared. Should it be static? Fixes: 5752bc4373b2 ("mfd: rk808: Mark pm functions __maybe_unused") Reviewed-by: Arnd Bergmann Signed-off-by: Lee Jones --- drivers/mfd/rk808.c | 2 +- 1 file changed, 1

Re: [PATCH 3/4] net: dsa: microchip: fix interrupt mask

2019-08-27 Thread Razvan.Stefanescu
On 27/08/2019 15:51, Andrew Lunn wrote: > > On Tue, Aug 27, 2019 at 12:31:09PM +0300, Razvan Stefanescu wrote: >> Global Interrupt Mask Register comprises of Lookup Engine (LUE) Interrupt >> Mask (bit 31) and GPIO Pin Output Trigger and Timestamp Unit Interrupt >> Mask (bit 29). >> >> This

Re: [ANNOUNCE] v5.2.10-rt5

2019-08-27 Thread Sebastian Andrzej Siewior
On 2019-08-27 14:34:19 [+0200], Alexander Dahl wrote: > Hello Sebastian, Hello Alexander, > This causes build errors on my side now, I tested with the .config we use on > our custom tree on a tag "v5.2.10-rt5-rebase", cross-compiling with gcc 7.3.1 > for ARCH=arm: of course, !SMP. What about

[GIT PULL] MFD fixes for v5.3

2019-08-27 Thread Lee Jones
Good afternoon Linus, Enjoy! The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git mfd-fixes-5.3 for you to fetch changes up

Re: Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-27 Thread Jan Stancek
- Original Message - > On Tue, 2019-08-27 at 06:25 -0400, Jan Stancek wrote: > > That theory is probably not correct for this case, since EIO I see > > appears > > to originate from write and nfs_writeback_result(). This function > > also > > produces message we saw in logs from Naresh.

Re: [PATCH] Staging: speakup: spk_types: fixed an unnamed parameter style issue

2019-08-27 Thread kbuild test robot
Hi Matthew, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190827] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH v2 0/3] Add NETIF_F_HW_BR_CAP feature

2019-08-27 Thread Andrew Lunn
> That sounds like a great idea. I was expecting to add this logic in the > set_rx_mode function of the driver. But unfortunetly, I got the calls to > this function before the dev->promiscuity is updated or not to get the > call at all. For example in case the port is member of a bridge and I try

[PATCH v5 13/13] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board

2019-08-27 Thread Philippe Schenker
This adds the common touchscreen that is used with Toradex's Eval Boards. It is disabled by default because the pins are also used for PWM, which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov Marcel Ziswiler Max Krummenacher

[PATCH v5 09/13] ARM: dts: imx6ull-colibri: reduce v_batt current in power off

2019-08-27 Thread Philippe Schenker
From: Max Krummenacher Reduce the current drawn from VCC_BATT when the main power on the 3V3 pins to the module are switched off. This switches off SoC internal pull resistors which are provided on the module for TAMPER7 and TAMPER9 SoC pin and switches on a pull down instead of a pullup for

[PATCH v5 11/13] ARM: dts: imx6ull: improve can templates

2019-08-27 Thread Philippe Schenker
From: Max Krummenacher Add the pinmuxing and a inactive node for flexcan1 on SODIMM 55/63 and move the inactive flexcan nodes to imx6ull-colibri-eval-v3.dtsi where they belong. Note that this commit does not enable flexcan functionality, but rather eases the effort needed to do so.

[PATCH v5 07/13] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board

2019-08-27 Thread Philippe Schenker
This patch adds some missing pinmuxing that is in the colibri standard to the dts. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes

[PATCH v5 08/13] ARM: dts: imx6ull-colibri: Add sleep mode to fec

2019-08-27 Thread Philippe Schenker
Do not change the clock as the power for this phy is switched with that clock. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in

[PATCH v5 10/13] ARM: dts: imx6ull-colibri: Add watchdog

2019-08-27 Thread Philippe Schenker
This patch adds the watchdog to the imx6ull-colibri devicetree Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: None Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 1

[PATCH v5 12/13] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri

2019-08-27 Thread Philippe Schenker
This adds the possibility to wake the module with an external signal as defined in the Colibri standard Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Add Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes

[PATCH v5 01/13] ARM: dts: imx7-colibri: add GPIO wakeup key

2019-08-27 Thread Philippe Schenker
From: Stefan Agner Add wakeup GPIO key which is able to wake the system from sleep modes (e.g. Suspend-to-Memory). Signed-off-by: Stefan Agner Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: - changed legacy gpio-key,wakeup to wakeup-source Changes in v4: -

[PATCH v5 00/13] Common patches from downstream development

2019-08-27 Thread Philippe Schenker
This patchset holds some common changes that were never upstreamed. With latest downstream kernel upgrade, I took the aproach to select mainline devicetrees and atomically add missing stuff for downstream. These patches I send here are separated out with changes that also have a benefit for

[PATCH v5 06/13] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards

2019-08-27 Thread Philippe Schenker
This commit adds the touchscreen from Toradex so one can enable it. It is disabled by default because the pins are also used for PWM, PWM, aka pwm2, pwm3 which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov ---

[PATCH v5 03/13] ARM: dts: imx7-colibri: Add touch controllers

2019-08-27 Thread Philippe Schenker
Add touch controller that is connected over an I2C bus. It is disabled by default because the pins are also used for PWM, which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Add note in

[PATCH v5 04/13] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc

2019-08-27 Thread Philippe Schenker
This adds the muxing for the optional pins usb-oc (overcurrent) and usb-id. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: - change group name - Add pinmux to iomuxc Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None

[PATCH v5 02/13] ARM: dts: imx7-colibri: fix 1.8V/UHS support

2019-08-27 Thread Philippe Schenker
From: Stefan Agner Add pinmuxing and do not specify voltage restrictions for the usdhc instance available on the modules edge connector. This allows to use SD-cards with higher transfer modes if supported by the carrier board. Signed-off-by: Stefan Agner Signed-off-by: Philippe Schenker

[PATCH v5 05/13] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces

2019-08-27 Thread Philippe Schenker
This patch prepares the devicetree for the new Ixora V1.2 where we are able to turn off the supply of the can transceiver. This implies to use a sleep state on transmission pins in order to prevent backfeeding. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: None

Re: [patch V2 38/38] posix-cpu-timers: Utilize timerqueue for storage

2019-08-27 Thread Frederic Weisbecker
On Tue, Aug 27, 2019 at 08:08:06AM +0200, Thomas Gleixner wrote: > On Tue, 27 Aug 2019, Frederic Weisbecker wrote: > > > On Wed, Aug 21, 2019 at 09:09:25PM +0200, Thomas Gleixner wrote: > > > /** > > > @@ -92,14 +130,10 @@ struct posix_cputimers { > > > > > > static inline void

[PATCH] staging: most: sound: Fix error path of audio_init

2019-08-27 Thread YueHaibing
If most_register_configfs_subsys() fails, we should call most_deregister_component() do cleanup. Reported-by: Hulk Robot Fixes: 919c03ae11b9 ("staging: most: enable configfs support") Signed-off-by: YueHaibing --- drivers/staging/most/sound/sound.c | 5 - 1 file changed, 4 insertions(+), 1

Re: [PATCH] tpm_tis: Fix interrupt probing

2019-08-27 Thread Jarkko Sakkinen
On Tue, Aug 20, 2019 at 08:25:17AM -0400, Stefan Berger wrote: > From: Stefan Berger > > The interrupt probing of the TPM TIS was broken since we are trying to > run it without an active locality and without the TPM_CHIP_FLAG_IRQ set. > > Signed-off-by: Stefan Berger Need these: Cc:

Re: [PATCH v4 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 4:51 AM Peng Fan wrote: > > From: Peng Fan > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > actions in software layers running in the EL2 or EL3 exception levels. > The term "ARM" here relates to the SMC instruction as part of the ARM >

Re: [PATCH] media: dvb: redundant assignment to variable tmp

2019-08-27 Thread Dan Carpenter
On Tue, Aug 27, 2019 at 12:15:27PM +0100, Colin King wrote: > From: Colin Ian King > > Variable tmp is being assigned a value that is never read and tmp > is being re-assigned a little later on. The assignment is redundant > and hence can be removed. > > Addresses-Coverity: ("Ununsed value") >

RE: [PATCH 0/4] Introduce variable length mdev alias

2019-08-27 Thread Parav Pandit
Hi Alex, Cornelia, > -Original Message- > From: kvm-ow...@vger.kernel.org On Behalf > Of Parav Pandit > Sent: Tuesday, August 27, 2019 2:11 AM > To: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; coh...@redhat.com; da...@davemloft.net > Cc: k...@vger.kernel.org;

Re: [PATCH v2 2/4] x86/vmware: Add a header file for hypercall definitions

2019-08-27 Thread Borislav Petkov
On Fri, Aug 23, 2019 at 10:13:14AM +0200, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > The new header is intended to be used by drivers using the backdoor. > Follow the kvm example using alternatives self-patching to > choose between vmcall, vmmcall and io instructions. > >

[PATCH 4/4] KVM: selftests: Remove duplicate guest mode handling

2019-08-27 Thread Peter Xu
Remove the duplication code in run_test() of dirty_log_test because after some reordering of functions now we can directly use the outcome of vm_create(). Meanwhile, with the new VM_MODE_PXXV48_4K, we can safely revert b442324b58 too where we stick the x86_64 PA width to 39 bits for

[PATCH 2/4] KVM: selftests: Create VM earlier for dirty log test

2019-08-27 Thread Peter Xu
Since we've just removed the dependency of vm type in previous patch, now we can create the vm much earlier. Note that to move it earlier we used an approximation of number of extra pages but it should be fine. This prepares for the follow up patches to finally remove the duplication of guest

Re: [PATCH v2 01/10] PCI: designware-ep: Add multiple PFs support for DWC

2019-08-27 Thread Andrew Murray
On Fri, Aug 23, 2019 at 11:50:20PM +, Xiaowei Bao wrote: > > > > -Original Message- > > From: Andrew Murray > > Sent: 2019年8月23日 21:25 > > To: Xiaowei Bao > > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > > shawn...@kernel.org; Leo Li ; kis...@ti.com; > >

[PATCH 1/4] KVM: selftests: Move vm type into _vm_create() internally

2019-08-27 Thread Peter Xu
Rather than passing the vm type from the top level to the end of vm creation, let's simply keep that as an internal of kvm_vm struct and decide the type in _vm_create(). Several reasons for doing this: - The vm type is only decided by physical address width and currently only used in aarch64,

[PATCH 3/4] KVM: selftests: Introduce VM_MODE_PXXV48_4K

2019-08-27 Thread Peter Xu
The naming VM_MODE_P52V48_4K is explicit but unclear when used on x86_64 machines, because x86_64 machines are having various physical address width rather than some static values. Here's some examples: - Intel Xeon E3-1220: 36 bits - Intel Core i7-8650: 39 bits - AMD EPYC 7251: 48

[PATCH 0/4] KVM: selftests: Introduce VM_MODE_PXXV48_4K

2019-08-27 Thread Peter Xu
The work is based on Thomas's s390 port for dirty_log_test. This series originates from "[PATCH] KVM: selftests: Detect max PA width from cpuid" [1] and one of Drew's comments - instead of keeping the hackish line to overwrite guest_pa_bits all the time, this series introduced the new mode

Re: [PATCH 05/13] dt-bindings: interrupt-controller: Add Loongson-3 IOINTC

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 4:00 AM Jiaxun Yang wrote: > > Document Loongson-3 I/O Interrupt controller. > > Signed-off-by: Jiaxun Yang > --- > .../loongson,ls3-iointc.yaml | 61 +++ > 1 file changed, 61 insertions(+) > create mode 100644 >

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-27 Thread Joel Fernandes
On Tue, Aug 27, 2019 at 11:23:33AM +0200, Sebastian Andrzej Siewior wrote: [snip] > > However, if this was instead an rcu_read_lock() critical section within > > a PREEMPT=y kernel, then if a schedule() occured within stop_one_task(), > > RCU would consider that critical section to be preempted.

[PATCH 0/3] fix emulation error on Windows bootup

2019-08-27 Thread Jan Dakinevich
This series intended to fix (again) a bug that was a subject of the following change: 6ea6e84 ("KVM: x86: inject exceptions produced by x86_decode_insn") Suddenly, that fix had a couple mistakes. First, ctxt->have_exception was not set if fault happened during instruction decoding. Second,

Re: [PATCH V3 0/3] KVM/Hyper-V: Add Hyper-V direct tlb flush support

2019-08-27 Thread Tianyu Lan
On Tue, Aug 27, 2019 at 8:38 PM Vitaly Kuznetsov wrote: > > Tianyu Lan writes: > > > On Tue, Aug 27, 2019 at 2:41 PM Vitaly Kuznetsov > > wrote: > >> > >> lantianyu1...@gmail.com writes: > >> > >> > From: Tianyu Lan > >> > > >> > This patchset is to add Hyper-V direct tlb support in KVM.

[PATCH 2/3] KVM: x86: set ctxt->have_exception in x86_decode_insn()

2019-08-27 Thread Jan Dakinevich
x86_emulate_instruction() takes into account ctxt->have_exception flag during instruction decoding, but in practice this flag is never set in x86_decode_insn(). Fixes: 6ea6e84 ("KVM: x86: inject exceptions produced by x86_decode_insn") Cc: Denis Lunev Cc: Roman Kagan Cc: Denis Plotnikov

Re: linux-next: Fixes tags need some work in the arm-soc tree

2019-08-27 Thread Arnd Bergmann
On Mon, Aug 26, 2019 at 11:44 AM Alexandre Torgue wrote: > On 8/13/19 11:47 PM, Stephen Rothwell wrote: > > Hi Arnd, > > > > On Tue, 13 Aug 2019 21:35:58 +0200 Arnd Bergmann wrote: > >> > >> On Tue, Aug 13, 2019 at 4:28 PM Stephen Rothwell > >> wrote: > >> > >>> > >>> Please do not split Fixes

[PATCH 3/3] KVM: x86: always stop emulation on page fault

2019-08-27 Thread Jan Dakinevich
inject_emulated_exception() returns true if and only if nested page fault happens. However, page fault can come from guest page tables walk, either nested or not nested. In both cases we should stop an attempt to read under RIP and give guest to step over its own page fault handler. Fixes:

[PATCH 1/3] KVM: x86: fix wrong return code

2019-08-27 Thread Jan Dakinevich
x86_emulate_instruction(), the caller of x86_decode_insn(), expects that x86_decode_insn()'s returning value belongs to EMULATION_* name space. However, this function may return value from X86EMUL_* name space. Although, the code behaves properly (because both X86EMUL_CONTINUE and EMULATION_OK

Re: [PATCH v2 3/4] watchdog/aspeed: add support for dual boot

2019-08-27 Thread Guenter Roeck
On 8/27/19 2:24 AM, Ivan Mikhaylov wrote: On Mon, 2019-08-26 at 17:14 -0700, Guenter Roeck wrote: +/* + * At alternate side the 'access_cs0' sysfs node provides: + * ast2400: a way to get access to the primary SPI flash chip at CS0 + *after booting from the alternate chip at CS1.

Re: numlist API Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation

2019-08-27 Thread Petr Mladek
On Tue 2019-08-27 01:57:39, John Ogness wrote: > On 2019-08-23, Petr Mladek wrote: > >> --- /dev/null > >> +++ b/kernel/printk/numlist.c > >> @@ -0,0 +1,375 @@ > >> +// SPDX-License-Identifier: GPL-2.0 > >> + > >> +#include > >> +#include "numlist.h" > > > > struct numlist is really special

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-27 Thread Dan Murphy
Hello On 8/27/19 7:44 AM, Dan Murphy wrote: Tony On 8/27/19 7:18 AM, Pavel Machek wrote: On Mon 2019-08-26 15:44:37, Tony Lindgren wrote: * Pavel Machek [190826 22:14]: On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: Hi, * Dan Murphy [190820 19:53]: Fix the brightness control for I2C

Re: [PATCH v1 1/1] spi: bcm-qspi: Make BSPI default mode

2019-08-27 Thread Kamal Dasu
The spi-nor controller defaults to BSPI mode. So its being put to its default mode. Kamal On Tue, Aug 6, 2019 at 8:16 AM Mark Brown wrote: > > On Tue, Aug 06, 2019 at 03:44:34PM +0530, Rayagonda Kokatanur wrote: > > Switch back to BSPI mode after MSPI operations (write and erase) > > are

[PATCH] leds: syscon: Use resource managed variant of device register

2019-08-27 Thread Alexander Dahl
We have a MFD driver compiled as module instantiating this driver. When unloading that module, those LED devices are not removed, which produces conflicts, when that module is inserted again. Signed-off-by: Alexander Dahl --- drivers/leds/leds-syscon.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-27 Thread Kirill A. Shutemov
On Tue, Aug 27, 2019 at 03:17:39PM +0300, Kirill A. Shutemov wrote: > On Tue, Aug 27, 2019 at 02:09:23PM +0200, Michal Hocko wrote: > > On Tue 27-08-19 14:01:56, Vlastimil Babka wrote: > > > On 8/27/19 1:02 PM, Kirill A. Shutemov wrote: > > > > On Tue, Aug 27, 2019 at 08:01:39AM +0200, Michal

Re: Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-27 Thread Trond Myklebust
On Tue, 2019-08-27 at 06:25 -0400, Jan Stancek wrote: > That theory is probably not correct for this case, since EIO I see > appears > to originate from write and nfs_writeback_result(). This function > also > produces message we saw in logs from Naresh. > > I can't find where/how is resp->count

Re: [PATCH net] rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up

2019-08-27 Thread David Howells
David Miller wrote: > Once you've removed the entries from the globally visible idle_client_comms > list, and put them on the local garbage list, they cannot be seen in any way > by external threads of control outside of this function. Yeah, I think you're right. I was thinking that it might

Re: [PATCH v2 1/4] x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercalls

2019-08-27 Thread Borislav Petkov
On Fri, Aug 23, 2019 at 10:13:13AM +0200, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > Vmware has historically used an "inl" instruction for this, but recent > hardware versions support using VMCALL/VMMCALL instead, so use this method > if supported at platform detection time.

Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 20:19:34, Yafang Shao wrote: > On Tue, Aug 27, 2019 at 8:03 PM Michal Hocko wrote: > > > > On Tue 27-08-19 19:56:16, Yafang Shao wrote: > > > On Tue, Aug 27, 2019 at 7:50 PM Michal Hocko wrote: > > > > > > > > On Tue 27-08-19 19:43:49, Yafang Shao wrote: > > > > > On Tue, Aug 27,

Re: [PATCH 4/4] net: dsa: microchip: avoid hard-codded port count

2019-08-27 Thread Andrew Lunn
On Tue, Aug 27, 2019 at 12:31:10PM +0300, Razvan Stefanescu wrote: > Use port_cnt value to disable interrupts on switch reset. > > Signed-off-by: Razvan Stefanescu > --- > drivers/net/dsa/microchip/ksz9477.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 06/13] irqchip: Add driver for Loongson-3 HyperTransport interrupt controller

2019-08-27 Thread Marc Zyngier
On 27/08/2019 09:52, Jiaxun Yang wrote: > This controller appeared on Loongson-3 family of chips to receive interrupts > from PCH chip. > > Signed-off-by: Jiaxun Yang > --- > drivers/irqchip/Kconfig | 8 ++ > drivers/irqchip/Makefile | 1 + >

Re: [PATCH 3/4] net: dsa: microchip: fix interrupt mask

2019-08-27 Thread Andrew Lunn
On Tue, Aug 27, 2019 at 12:31:09PM +0300, Razvan Stefanescu wrote: > Global Interrupt Mask Register comprises of Lookup Engine (LUE) Interrupt > Mask (bit 31) and GPIO Pin Output Trigger and Timestamp Unit Interrupt > Mask (bit 29). > > This corrects LUE bit. Hi Razvan Is this a fix? Something

[PATCH] vfio/type1: avoid redundant PageReserved checking

2019-08-27 Thread Ben Luo
currently, if the page is not a tail of compound page, it will be checked twice for the same thing. Signed-off-by: Ben Luo --- drivers/vfio/vfio_iommu_type1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c

Re: [PATCH v6 11/11] arm/arm64: defconfig: Update configs to use the new CROS_EC options

2019-08-27 Thread Lee Jones
On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > Recently we refactored the CrOS EC drivers moving part of the code from > the MFD subsystem to the platform chrome subsystem. During this change > we needed to rename some config options, so, update the defconfigs > accordingly. > >

Re: [PATCH 07/13] dt-bindings: interrupt-controller: Add Loongson-3 HTINTC

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 3:59 AM Jiaxun Yang wrote: > > Document Loongson-3 HyperTransport Interrupt controller. > > Signed-off-by: Jiaxun Yang > --- > .../loongson,ls3-htintc.yaml | 53 +++ > 1 file changed, 53 insertions(+) > create mode 100644 >

Re: [PATCH 2/2] powerpc: cleanup hw_irq.h

2019-08-27 Thread Nicholas Piggin
Christophe Leroy's on August 27, 2019 6:13 pm: > SET_MSR_EE() is just use in this file and doesn't provide > any added value compared to mtmsr(). Drop it. > > Add macros to use wrtee/wrteei insn. > > Replace #ifdefs by IS_ENABLED() > > Signed-off-by: Christophe Leroy > --- >

[PATCH] Input: modify quirks of i2c-hid driver for weida's devices

2019-08-27 Thread hn.chen
From: HungNien Chen This 'SET_PWR_WAKEUP_DEV' quirk only works for weida's devices with pid 0xC300 & 0xC301. Some weida's devices with other pids also need this quirk now. Use 'HID_ANY_ID' instead of 0xC300 to make all of weida's devices can be fixed on the power on issue. This modification

Re: [PATCH v6 08/11] mfd: cros_ec: Add convenience struct to define dedicated CrOS EC MCUs

2019-08-27 Thread Lee Jones
On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > With the increasing use of dedicated CrOS EC MCUs, it takes a fair amount > of boiler plate code to add those devices, add a struct that can be used > to specify a dedicated CrOS EC MCU so we can just add a new item to it to > define a new

Re: [PATCH] x86: tpm: Remove a busy bit of the NVS area for supporting AMD's fTPM

2019-08-27 Thread Jarkko Sakkinen
On Mon, Aug 26, 2019 at 10:40:25AM -0700, Matthew Garrett wrote: > On Mon, Aug 26, 2019 at 1:18 AM Seunghun Han wrote: > > To support AMD's fTPM, I removed the busy bit from the ACPI NVS area like > > the reserved area so that AMD's fTPM regions could be assigned in it. > > drivers/acpi/nvs.c

Re: [PATCH v6 10/11] mfd: cros_ec: Use mfd_add_hotplug_devices() helper

2019-08-27 Thread Lee Jones
On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > Use mfd_add_hotplug_devices() helper to register the subdevices. The > helper allows us to reduce the boiler plate and also registers the > subdevices in the same way as used in other functions used in this > files. > > Signed-off-by: Enric

Re: [PATCH 11/13] dt-bindings: mips: Add loongson cpus & boards

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 3:55 AM Jiaxun Yang wrote: > > Prepare for later dts. > > Signed-off-by: Jiaxun Yang > --- > .../bindings/mips/loongson/cpus.yaml | 38 +++ > .../bindings/mips/loongson/devices.yaml | 64 +++ > 2 files changed, 102 insertions(+) >

[PATCH 2/2] powerpc/pseries: Delete an error message for a failed string duplication in dlpar_store()

2019-08-27 Thread Markus Elfring
From: Markus Elfring Date: Tue, 27 Aug 2019 13:37:56 +0200 Omit an extra message for a memory allocation failure in this function. Signed-off-by: Markus Elfring --- arch/powerpc/platforms/pseries/dlpar.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-27 Thread Dan Murphy
Tony On 8/27/19 7:18 AM, Pavel Machek wrote: On Mon 2019-08-26 15:44:37, Tony Lindgren wrote: * Pavel Machek [190826 22:14]: On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: Hi, * Dan Murphy [190820 19:53]: Fix the brightness control for I2C mode. Instead of changing the full scale

Re: a bug in genksysms/CONFIG_MODVERSIONS w/ __attribute__((foo))?

2019-08-27 Thread Nicholas Piggin
Masahiro Yamada's on August 27, 2019 8:49 pm: > Hi. > > On Tue, Aug 27, 2019 at 6:59 PM Nicholas Piggin wrote: >> >> Nick Desaulniers's on August 27, 2019 8:57 am: >> > On Mon, Aug 26, 2019 at 2:22 PM Nick Desaulniers >> > wrote: >> >> >> >> I'm looking into a linkage failure for one of our

[PATCH 1/2] powerpc/pseries: Delete an unnecessary kfree() call in dlpar_store()

2019-08-27 Thread Markus Elfring
From: Markus Elfring Date: Tue, 27 Aug 2019 13:34:02 +0200 A null pointer would be passed to a call of the function “kfree” immediately after a call of the function “kstrdup” failed at one place. Remove this superfluous function call. This issue was detected by using the Coccinelle software.

Re: [PATCH V3 1/5] thermal: qoriq: Add clock operations

2019-08-27 Thread Leonard Crestez
On 27.08.2019 04:51, Anson Huang wrote: >> In an earlier series the CLK_IS_CRITICAL flags was removed from the TMU >> clock so if the thermal driver doesn't explicitly enable it the system will >> hang >> on probe. This is what happens in linux-next right now! > > The thermal driver should be

[PATCH 0/2] PowerPC-pSeries: Adjustments for dlpar_store()

2019-08-27 Thread Markus Elfring
From: Markus Elfring Date: Tue, 27 Aug 2019 14:33:21 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an unnecessary kfree() call Delete an error message for a failed string duplication arch/powerpc/platforms/pseries/dlpar.c

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-27 Thread Qian Cai
On Mon, 2019-08-26 at 12:36 -0700, Edward Chron wrote: > This patch series provides code that works as a debug option through > debugfs to provide additional controls to limit how much information > gets printed when an OOM event occurs and or optionally print additional > information about slab

Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-27 Thread Rob Herring
On Tue, Aug 27, 2019 at 3:27 AM Ramuthevar,Vadivel MuruganX wrote: > > From: Ramuthevar Vadivel Murugan > > Add a YAML schema to use the host controller driver with the > SDXC PHY on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- >

Re: dma-buf: Add selftests for dma-fence

2019-08-27 Thread Chris Wilson
Quoting Geert Uytterhoeven (2019-08-27 13:30:04) > Hi Chris, > > When running the new dmabuf-selftests on two different systems, I get: > > dma-buf: Running sanitycheck > dma-buf: Running dma_fence > sizeof(dma_fence)=48 > dma-buf: Running dma_fence/sanitycheck > dma-buf:

Re: [PATCH] dt-bindings: mmc: aspeed: Update example ranges property

2019-08-27 Thread Rob Herring
On Sun, Aug 25, 2019 at 9:15 PM Andrew Jeffery wrote: > > The example node in the binding uses the AST2500 compatible string for > the SD controller with a 64kiB ranges property, but the SD controller is > allocated 128kiB of MMIO space according to the AST2500 datasheet. Fix > the example to

Re: [ANNOUNCE] v5.2.10-rt5

2019-08-27 Thread Alexander Dahl
Hello Sebastian, Am Dienstag, 27. August 2019, 12:55:42 CEST schrieb Sebastian Andrzej Siewior: > I'm pleased to announce the v5.2.10-rt5 patch set. > > Changes since v5.2.10-rt4: > > - Take care of compile issue within the timer-atmel-tcb driver on > AT91. Reported by Alexander Dahl,

[PATCH v2 2/2] ASoC: sun4i: Revert A83t description

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard The last set of reworks included some fixes to change the A83t behaviour and "fix" it. It turns out that the controller described in the datasheet and the one supported here are not the same, yet the A83t has the two of them, and the one supported in the driver wasn't the

[PATCH v2 1/2] input: keyboard: snvs_pwrkey: Send key events for i.MX6 S, DL and Q

2019-08-27 Thread Robin van der Gracht
The first generation i.MX6 processors does not send an interrupt when the power key is pressed. It sends a power down request interrupt if the key is released before a hard shutdown (5 second press). This should allow software to bring down the SoC safely. For this driver to work as a regular

[PATCH v2 2/2] arm: dts: imx6qdl: snvs-pwrkey: Change compatible string

2019-08-27 Thread Robin van der Gracht
The older imx6 SoCs do not send a power key press interrupt, instead it sends a power down request interrupt when the key is released between 750ms and 5 seconds. The driver uses a different compatible string to ID the older SoCs. Signed-off-by: Robin van der Gracht ---

[PATCH v2 1/2] ASoC: sun4i-i2s: Revert "ASoC: sun4i-i2s: Remove duplicated quirks structure"

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard This reverts commit 3e9acd7ac6933cdc20c441bbf9a38ed9e42e1490. It turns out that while one I2S controller is described in the A83t datasheet, the driver supports another, undocumented, one that has been inherited from the older SoCs, while the documented one uses the new

HELLO FRIEND

2019-08-27 Thread Abibatu Ali
Hello I'm "Mrs.Abibatu Ali" married to Mr. Ali ( an International Contractor and Oil Merchant/ jointly in Exposition of Agro Equipment ) who died in Burkina Faso attack, i am 64 years old and diagnosed of cancer for about 2 years ago and my husband informed me that he deposited the sum of

objtool warning "uses BP as a scratch register" with clang-9

2019-08-27 Thread Arnd Bergmann
I upgraded to the latest clang-9 snapshot from http://apt.llvm.org/ today. Many problems are fixed, but I still get tons of warnings like arch/x86/kernel/cpu/mtrr/generic.o: warning: objtool: mtrr_type_lookup_variable uses BP as a scratch register arch/x86/kernel/process.o: warning: objtool:

Re: [PATCH v2 4/4] sched/fair: Prevent active LB from preempting higher sched classes

2019-08-27 Thread Vincent Guittot
On Thu, 15 Aug 2019 at 16:52, Valentin Schneider wrote: > > The CFS load balancer can cause the cpu_stopper to run a function to > try and steal a remote rq's running task. However, it so happens > that while only CFS tasks will ever be migrated by that function, we > can end up preempting higher

Re: [PATCH rebased] powerpc/fadump: when fadump is supported register the fadump sysfs files.

2019-08-27 Thread Hari Bathini
Hi Michal, Thanks for the patch. On 20/08/19 11:42 PM, Michal Suchanek wrote: > Currently it is not possible to distinguish the case when fadump is > supported by firmware and disabled in kernel and completely unsupported > using the kernel sysfs interface. User can investigate the devicetree

Re: [PATCH] uuid: Add helpers for finding UUID from an array

2019-08-27 Thread Heikki Krogerus
On Tue, Aug 27, 2019 at 01:54:18PM +0200, Christoph Hellwig wrote: > On Tue, Aug 27, 2019 at 02:49:18PM +0300, Heikki Krogerus wrote: > > Matching function that compares every UUID in an array to a > > given UUID with guid_equal(). > > > > Signed-off-by: Heikki Krogerus > > --- > > Hi, > > > >

Re: [PATCH 1/2] x86/microcode: Update late microcode in parallel

2019-08-27 Thread Borislav Petkov
On Mon, Aug 26, 2019 at 01:23:39PM -0700, Raj, Ashok wrote: > > Cloud customers have expressed discontent as services disappear for a > > prolonged time. The restriction is that only one core goes through the > s/one core/one thread of a core/ > > > update while other cores are quiesced. >

Re: [PATCH] arm: xen: mm: use __GPF_DMA32 for arm64

2019-08-27 Thread Robin Murphy
On 09/07/2019 09:22, Peng Fan wrote: arm64 shares some code under arch/arm/xen, including mm.c. However ZONE_DMA is removed by commit ad67f5a6545("arm64: replace ZONE_DMA with ZONE_DMA32"). So to ARM64, need use __GFP_DMA32. Signed-off-by: Peng Fan --- arch/arm/xen/mm.c | 2 +- 1 file

Re: [RESEND PATCH v4 3/4] dt-bindings: ASoC: Add WSA881x bindings

2019-08-27 Thread Rob Herring
On Thu, Aug 22, 2019 at 6:38 PM Srinivas Kandagatla wrote: > > This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker > Amplifier. This Amplifier also has a simple thermal sensor for > over temperature and speaker protection. > > Signed-off-by: Srinivas Kandagatla > --- >

[PATCH] modpost: add NOFAIL to strndup

2019-08-27 Thread Denis Efremov
Add NOFAIL check for the strndup call, because the function allocates memory and can return NULL. All calls to strdup in modpost are checked with NOFAIL. Signed-off-by: Denis Efremov --- scripts/mod/modpost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2 06/24] EDAC: Kill EDAC_DIMM_PTR() macro

2019-08-27 Thread Robert Richter
On 13.08.19 16:59:47, Borislav Petkov wrote: > > + * > > + * For 2 layers, this macro is similar to allocate a bi-dimensional array > > + * and to return "dimms[layer0][layer1]"; > > + * > > + * For 3 layers, this macro is similar to allocate a tri-dimensional array > > + * and to return

Re: WARNINGs in set_task_reclaim_state with memory cgroup and full memory usage

2019-08-27 Thread Yafang Shao
On Tue, Aug 27, 2019 at 8:03 PM Michal Hocko wrote: > > On Tue 27-08-19 19:56:16, Yafang Shao wrote: > > On Tue, Aug 27, 2019 at 7:50 PM Michal Hocko wrote: > > > > > > On Tue 27-08-19 19:43:49, Yafang Shao wrote: > > > > On Tue, Aug 27, 2019 at 6:43 PM Michal Hocko wrote: > > > > > > > > > >

Re: [PATCH v3 06/11] KVM: SVM: Add KVM_SEV_RECEIVE_FINISH command

2019-08-27 Thread Borislav Petkov
On Wed, Jul 10, 2019 at 08:13:07PM +, Singh, Brijesh wrote: > The command finalize the guest receiving process and make the SEV guest > ready for the execution. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: Paolo Bonzini > Cc: "Radim Krčmář" > Cc: Joerg Roedel >

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-27 Thread Pavel Machek
On Mon 2019-08-26 15:44:37, Tony Lindgren wrote: > * Pavel Machek [190826 22:14]: > > On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: > > > Hi, > > > > > > * Dan Murphy [190820 19:53]: > > > > Fix the brightness control for I2C mode. Instead of > > > > changing the full scale current register

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-27 Thread Kirill A. Shutemov
On Tue, Aug 27, 2019 at 02:09:23PM +0200, Michal Hocko wrote: > On Tue 27-08-19 14:01:56, Vlastimil Babka wrote: > > On 8/27/19 1:02 PM, Kirill A. Shutemov wrote: > > > On Tue, Aug 27, 2019 at 08:01:39AM +0200, Michal Hocko wrote: > > >> On Mon 26-08-19 16:15:38, Kirill A. Shutemov wrote: > > >>>

Re: [PATCH V3 0/3] KVM/Hyper-V: Add Hyper-V direct tlb flush support

2019-08-27 Thread Tianyu Lan
On Tue, Aug 27, 2019 at 2:41 PM Vitaly Kuznetsov wrote: > > lantianyu1...@gmail.com writes: > > > From: Tianyu Lan > > > > This patchset is to add Hyper-V direct tlb support in KVM. Hyper-V > > in L0 can delegate L1 hypervisor to handle tlb flush request from > > L2 guest when direct tlb flush

[PATCH v2 15/15] drivers: thermal: tsens: Add interrupt support

2019-08-27 Thread Amit Kucheria
Depending on the IP version, TSENS supports upper, lower, max, min and critical threshold interrupts. We only add support for upper and lower threshold interrupts for now. TSENSv2 has an irq [status|clear|mask] bit tuple for each sensor while earlier versions only have a single bit per sensor to

<    3   4   5   6   7   8   9   10   11   12   >