Re: [PATCH v5 15/17] mfd: ioc3: Add driver for SGI IOC3 chip

2019-08-19 Thread Alexandre Belloni
Hi, On 19/08/2019 18:31:38+0200, Thomas Bogendoerfer wrote: > diff --git a/drivers/mfd/ioc3.c b/drivers/mfd/ioc3.c > new file mode 100644 > index ..5bcb3461a189 > --- /dev/null > +++ b/drivers/mfd/ioc3.c > @@ -0,0 +1,586 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * SGI IOC3 mu

Re: [PATCH v7 3/7] of/platform: Add functional dependency link from DT bindings

2019-08-19 Thread Frank Rowand
On 8/19/19 5:09 PM, Saravana Kannan wrote: > On Mon, Aug 19, 2019 at 2:30 PM Frank Rowand wrote: >> >> On 8/19/19 1:49 PM, Saravana Kannan wrote: >>> On Mon, Aug 19, 2019 at 10:16 AM Frank Rowand >>> wrote: On 8/15/19 6:50 PM, Saravana Kannan wrote: > On Wed, Aug 7, 2019 at 7:06 PM

[PATCH v2 3/3] arm64: implement KPROBES_ON_FTRACE

2019-08-19 Thread Jisheng Zhang
KPROBES_ON_FTRACE avoids much of the overhead with regular kprobes as it eliminates the need for a trap, as well as the need to emulate or single-step instructions. This patch implements KPROBES_ON_FTRACE for arm64. Tested on berlin arm64 platform. ~ # mount -t debugfs debugfs /sys/kernel/debug/

[PATCH v2 2/3] kprobes: adjust kprobe addr for KPROBES_ON_FTRACE

2019-08-19 Thread Jisheng Zhang
For KPROBES_ON_FTRACE case, we need to adjust the kprobe's addr correspondingly. Signed-off-by: Jisheng Zhang --- kernel/kprobes.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/kernel/kprobes.c b/kernel/kprobes.c index 9873fc627d61..3fd2f68644da 100644 --- a/kern

[PATCH v2 1/3] kprobes/x86: use instruction_pointer and instruction_pointer_set

2019-08-19 Thread Jisheng Zhang
This is to make the x86 kprobe_ftrace_handler() more common so that the code could be reused in future. Signed-off-by: Jisheng Zhang Acked-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/ftrace.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/kprob

[PATCH v2 0/3] arm64: KPROBES_ON_FTRACE

2019-08-19 Thread Jisheng Zhang
KPROBES_ON_FTRACE avoids much of the overhead with regular kprobes as it eliminates the need for a trap, as well as the need to emulate or single-step instructions. Applied after arm64 FTRACE_WITH_REGS: http://lists.infradead.org/pipermail/linux-arm-kernel/2019-August/674404.html Changes since v1

Re: [PATCH v5 0/9] FPGA DFL updates

2019-08-19 Thread Wu Hao
On Mon, Aug 19, 2019 at 10:51:24PM +0200, Greg KH wrote: > On Mon, Aug 19, 2019 at 01:31:33PM +0800, Wu Hao wrote: > > On Mon, Aug 12, 2019 at 10:49:55AM +0800, Wu Hao wrote: > > > Hi Greg, > > > > > > This is v5 patchset which adds more features to FPGA DFL. Marjor changes > > > against v4 are sy

Re: [PATCH v8 18/27] mm: Introduce do_mmap_locked()

2019-08-19 Thread Sean Christopherson
On Tue, Aug 13, 2019 at 01:52:16PM -0700, Yu-cheng Yu wrote: > There are a few places that need do_mmap() with mm->mmap_sem held. > Create an in-line function for that. > > Signed-off-by: Yu-cheng Yu > --- > include/linux/mm.h | 18 ++ > 1 file changed, 18 insertions(+) > > diff

Re: [PATCH v5 0/9] FPGA DFL updates

2019-08-19 Thread Greg KH
On Mon, Aug 19, 2019 at 01:31:33PM +0800, Wu Hao wrote: > On Mon, Aug 12, 2019 at 10:49:55AM +0800, Wu Hao wrote: > > Hi Greg, > > > > This is v5 patchset which adds more features to FPGA DFL. Marjor changes > > against v4 are sysfs related code rework to address comments on v4. > > > > Please he

Re: [PATCH v7 3/7] of/platform: Add functional dependency link from DT bindings

2019-08-19 Thread Saravana Kannan
On Mon, Aug 19, 2019 at 2:30 PM Frank Rowand wrote: > > On 8/19/19 1:49 PM, Saravana Kannan wrote: > > On Mon, Aug 19, 2019 at 10:16 AM Frank Rowand > > wrote: > >> > >> On 8/15/19 6:50 PM, Saravana Kannan wrote: > >>> On Wed, Aug 7, 2019 at 7:06 PM Frank Rowand > >>> wrote: > > On 7

Re: [PATCH v5 12/17] net: sgi: ioc3-eth: use dma-direct for dma allocations

2019-08-19 Thread Jakub Kicinski
On Mon, 19 Aug 2019 18:31:35 +0200, Thomas Bogendoerfer wrote: > @@ -1386,18 +1427,24 @@ static netdev_tx_t ioc3_start_xmit(struct sk_buff > *skb, struct net_device *dev) > unsigned long b2 = (data | 0x3fffUL) + 1UL; > unsigned long s1 = b2 - data; > unsig

Re: [PATCH v5 11/17] net: sgi: ioc3-eth: no need to stop queue set_multicast_list

2019-08-19 Thread Jakub Kicinski
On Mon, 19 Aug 2019 18:31:34 +0200, Thomas Bogendoerfer wrote: > netif_stop_queue()/netif_wake_qeue() aren't needed for changing > multicast filters. Use spinlocks instead for proper protection > of private struct. > > Signed-off-by: Thomas Bogendoerfer > --- > drivers/net/ethernet/sgi/ioc3-eth.

Re: [PATCH v5 10/17] net: sgi: ioc3-eth: rework skb rx handling

2019-08-19 Thread Jakub Kicinski
On Mon, 19 Aug 2019 18:31:33 +0200, Thomas Bogendoerfer wrote: > Buffers alloacted by alloc_skb() are already cache aligned so there > is no need for an extra align done by ioc3_alloc_skb. And instead > of skb_put/skb_trim simply use one skb_put after frame size is known > during receive. > > Sign

Re: [PATCH v5 09/17] net: sgi: ioc3-eth: use defines for constants dealing with desc rings

2019-08-19 Thread Jakub Kicinski
On Mon, 19 Aug 2019 18:31:32 +0200, Thomas Bogendoerfer wrote: > Descriptor ring sizes of the IOC3 are more or less fixed size. To > make clearer where there is a relation to ring sizes use defines. > > Signed-off-by: Thomas Bogendoerfer Reviewed-by: Jakub Kicinski

Re: [PATCH v5 00/17] Use MFD framework for SGI IOC3 drivers

2019-08-19 Thread Jakub Kicinski
On Mon, 19 Aug 2019 18:31:23 +0200, Thomas Bogendoerfer wrote: > - requested by Jakub I've splitted ioc3 ethernet driver changes into >more steps to make the transition more visible; Thanks a lot for doing that!

Re: [PATCH v5 1/6] mm/page_idle: Add per-pid idle page tracking using virtual index

2019-08-19 Thread Joel Fernandes
On Wed, Aug 14, 2019 at 09:56:01AM +0200, Michal Hocko wrote: [snip] > > > > Can this be used to observe which library pages other processes are > > > > accessing, even if you don't have access to those processes, as long > > > > as you can map the same libraries? I realize that there are already a

Re: [PATCH v7 3/7] of/platform: Add functional dependency link from DT bindings

2019-08-19 Thread Frank Rowand
On 8/19/19 1:49 PM, Saravana Kannan wrote: > On Mon, Aug 19, 2019 at 10:16 AM Frank Rowand wrote: >> >> On 8/15/19 6:50 PM, Saravana Kannan wrote: >>> On Wed, Aug 7, 2019 at 7:06 PM Frank Rowand wrote: On 7/23/19 5:10 PM, Saravana Kannan wrote: > Add device-links after the devices a

Re: [PATCH v7 3/7] of/platform: Add functional dependency link from DT bindings

2019-08-19 Thread Saravana Kannan
On Mon, Aug 19, 2019 at 10:16 AM Frank Rowand wrote: > > On 8/15/19 6:50 PM, Saravana Kannan wrote: > > On Wed, Aug 7, 2019 at 7:06 PM Frank Rowand wrote: > >> > >> On 7/23/19 5:10 PM, Saravana Kannan wrote: > >>> Add device-links after the devices are created (but before they are > >>> probed) b

Re: [PATCH] Documentation PCI: Fix pciebus-howto.rst filename typo

2019-08-19 Thread Bjorn Helgaas
On Fri, Aug 16, 2019 at 08:53:58AM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > 2e6422444894 ("Documentation: PCI: convert PCIEBUS-HOWTO.txt to reST") > incorrectly renamed PCIEBUS-HOWTO.txt to picebus-howto.rst. > > Rename it to pciebus-howto.rst. > > Fixes: 2e6422444894 ("Documentati

Re: [PATCH v7 3/7] of/platform: Add functional dependency link from DT bindings

2019-08-19 Thread Frank Rowand
On 8/15/19 6:50 PM, Saravana Kannan wrote: > On Wed, Aug 7, 2019 at 7:06 PM Frank Rowand wrote: >> >> On 7/23/19 5:10 PM, Saravana Kannan wrote: >>> Add device-links after the devices are created (but before they are >>> probed) by looking at common DT bindings like clocks and >>> interconnects.

[PATCH v5 03/17] nvmem: core: add nvmem_device_find

2019-08-19 Thread Thomas Bogendoerfer
nvmem_device_find provides a way to search for nvmem devices with the help of a match function simlair to bus_find_device. Signed-off-by: Thomas Bogendoerfer --- Documentation/driver-api/nvmem.rst | 2 ++ drivers/nvmem/core.c | 62 -- include/li

[PATCH v5 04/17] MIPS: PCI: refactor ioc3 special handling

2019-08-19 Thread Thomas Bogendoerfer
Refactored code to only have one ioc3 special handling for read access and one for write access. Signed-off-by: Thomas Bogendoerfer --- arch/mips/pci/pci-xtalk-bridge.c | 167 +++ 1 file changed, 62 insertions(+), 105 deletions(-) diff --git a/arch/mips/pci/p

[PATCH v5 11/17] net: sgi: ioc3-eth: no need to stop queue set_multicast_list

2019-08-19 Thread Thomas Bogendoerfer
netif_stop_queue()/netif_wake_qeue() aren't needed for changing multicast filters. Use spinlocks instead for proper protection of private struct. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dr

[PATCH v5 10/17] net: sgi: ioc3-eth: rework skb rx handling

2019-08-19 Thread Thomas Bogendoerfer
Buffers alloacted by alloc_skb() are already cache aligned so there is no need for an extra align done by ioc3_alloc_skb. And instead of skb_put/skb_trim simply use one skb_put after frame size is known during receive. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c |

[PATCH v5 09/17] net: sgi: ioc3-eth: use defines for constants dealing with desc rings

2019-08-19 Thread Thomas Bogendoerfer
Descriptor ring sizes of the IOC3 are more or less fixed size. To make clearer where there is a relation to ring sizes use defines. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 42 + 1 file changed, 24 insertions(+), 18 deletion

[PATCH v5 07/17] MIPS: SGI-IP27: restructure ioc3 register access

2019-08-19 Thread Thomas Bogendoerfer
Break up the big ioc3 register struct into functional pieces to make use in sub-function drivers more straightforward. And while doing that get rid of all volatile access by using readX/writeX. Signed-off-by: Thomas Bogendoerfer --- arch/mips/include/asm/sn/ioc3.h | 359 +

[PATCH v5 14/17] net: sgi: ioc3-eth: Fix IPG settings

2019-08-19 Thread Thomas Bogendoerfer
The half/full duplex settings for inter packet gap counters/timer were reversed. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/sgi/ioc3-eth.c b/drivers/net/ethernet/sgi/ioc3

[PATCH v5 12/17] net: sgi: ioc3-eth: use dma-direct for dma allocations

2019-08-19 Thread Thomas Bogendoerfer
Replace the homegrown DMA memory allocation, which only works on SGI-IP27 machines, with the generic dma allocations. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 107 ++-- 1 file changed, 77 insertions(+), 30 deletions(-) diff --g

[PATCH v5 05/17] MIPS: PCI: use information from 1-wire PROM for IOC3 detection

2019-08-19 Thread Thomas Bogendoerfer
IOC3 chips in SGI system are conntected to a bridge ASIC, which has a 1-wire prom attached with part number information. This changeset uses this information to create PCI subsystem information, which the MFD driver uses for further platform device setup. Signed-off-by: Thomas Bogendoerfer --- a

[PATCH v5 13/17] net: sgi: ioc3-eth: use csum_fold

2019-08-19 Thread Thomas Bogendoerfer
replace open coded checksum folding by csum_fold. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/ethernet/sgi/ioc3-eth.c b/drivers/net/ethernet/sgi/ioc3-eth.c index 647e3926bd71..563

[PATCH v5 16/17] MIPS: SGI-IP27: fix readb/writeb addressing

2019-08-19 Thread Thomas Bogendoerfer
Our chosen byte swapping, which is what firmware already uses, is to do readl/writel by normal lw/sw intructions (data invariance). This also means we need to mangle addresses for u8 and u16 accesses. The mangling for 16bit has been done aready, but 8bit one was missing. Correcting this causes diff

[PATCH v5 17/17] Input: add IOC3 serio driver

2019-08-19 Thread Thomas Bogendoerfer
This patch adds a platform driver for supporting keyboard and mouse interface of SGI IOC3 chips. Signed-off-by: Thomas Bogendoerfer --- drivers/input/serio/Kconfig | 10 +++ drivers/input/serio/Makefile | 1 + drivers/input/serio/ioc3kbd.c | 160 ++

[PATCH v5 06/17] MIPS: SGI-IP27: remove ioc3 ethernet init

2019-08-19 Thread Thomas Bogendoerfer
Removed not needed disabling of ethernet interrupts in IP27 platform code. Signed-off-by: Thomas Bogendoerfer --- arch/mips/sgi-ip27/ip27-init.c | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/mips/sgi-ip27/ip27-init.c b/arch/mips/sgi-ip27/ip27-init.c index 066b33f50bcc..5

[PATCH v5 02/17] w1: add DS2501, DS2502, DS2505 EPROM device driver

2019-08-19 Thread Thomas Bogendoerfer
Add a 1-Wire slave driver to support DS250x EPROM deivces. This slave driver attaches the devices to the NVMEM subsystem for an easy in-kernel usage. Signed-off-by: Thomas Bogendoerfer --- drivers/w1/slaves/Kconfig | 6 + drivers/w1/slaves/Makefile| 1 + drivers/w1/slaves/w1_ds250x.c

[PATCH v5 08/17] net: sgi: ioc3-eth: remove checkpatch errors/warning

2019-08-19 Thread Thomas Bogendoerfer
Before massaging the driver further fix oddities found by checkpatch like - wrong indention - comment formatting - use of printk instead or netdev_xxx/pr_xxx Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 275 +--- 1 file changed, 130

[PATCH v5 15/17] mfd: ioc3: Add driver for SGI IOC3 chip

2019-08-19 Thread Thomas Bogendoerfer
SGI IOC3 chip has integrated ethernet, keyboard and mouse interface. It also supports connecting a SuperIO chip for serial and parallel interfaces. IOC3 is used inside various SGI systemboards and add-on cards with different equipped external interfaces. Support for ethernet and serial interfaces

[PATCH v5 00/17] Use MFD framework for SGI IOC3 drivers

2019-08-19 Thread Thomas Bogendoerfer
GI IOC3 ASIC includes support for ethernet, PS2 keyboard/mouse, NIC (number in a can), GPIO and a byte bus. By attaching a SuperIO chip to it, it also supports serial lines and a parallel port. The chip is used on a variety of SGI systems with different configurations. This patchset moves code out

[PATCH v5 01/17] w1: add 1-wire master driver for IP block found in SGI ASICs

2019-08-19 Thread Thomas Bogendoerfer
Starting with SGI Origin machines nearly every new SGI ASIC contains an 1-Wire master. They are used for attaching One-Wire prom devices, which contain information about part numbers, revision numbers, serial number etc. and MAC addresses for ethernet interfaces. This patch adds a master driver to

Re: [PATCH v8 1/5] mm: untag user pointers in mmap/munmap/mremap/brk

2019-08-19 Thread Will Deacon
On Thu, Aug 15, 2019 at 04:43:59PM +0100, Catalin Marinas wrote: > There isn't a good reason to differentiate between the user address > space layout modification syscalls and the other memory > permission/attributes ones (e.g. mprotect, madvise) w.r.t. the tagged > address ABI. Untag the user addr

Re: [PATCH v8 4/5] arm64: Define Documentation/arm64/tagged-address-abi.rst

2019-08-19 Thread Will Deacon
On Thu, Aug 15, 2019 at 04:44:02PM +0100, Catalin Marinas wrote: > From: Vincenzo Frascino > > On AArch64 the TCR_EL1.TBI0 bit is set by default, allowing userspace > (EL0) to perform memory accesses through 64-bit pointers with a non-zero > top byte. Introduce the document describing the relaxat

[PATCH v2] x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h

2019-08-19 Thread Lendacky, Thomas
From: Tom Lendacky There have been reports of RDRAND issues after resuming from suspend on some AMD family 15h and family 16h systems. This issue stems from a BIOS not performing the proper steps during resume to ensure RDRAND continues to function properly. RDRAND support is indicated by CPUID

Re: [PATCH v8 4/5] arm64: Define Documentation/arm64/tagged-address-abi.rst

2019-08-19 Thread Andrey Konovalov
On Thu, Aug 15, 2019 at 5:44 PM Catalin Marinas wrote: > > From: Vincenzo Frascino > > On AArch64 the TCR_EL1.TBI0 bit is set by default, allowing userspace > (EL0) to perform memory accesses through 64-bit pointers with a non-zero > top byte. Introduce the document describing the relaxation of t

Re: [PATCH v8 5/5] arm64: Relax Documentation/arm64/tagged-pointers.rst

2019-08-19 Thread Andrey Konovalov
On Thu, Aug 15, 2019 at 5:44 PM Catalin Marinas wrote: > > From: Vincenzo Frascino > > On AArch64 the TCR_EL1.TBI0 bit is set by default, allowing userspace > (EL0) to perform memory accesses through 64-bit pointers with a non-zero > top byte. However, such pointers were not allowed at the user-k

Re: [PATCH v8 3/5] arm64: Change the tagged_addr sysctl control semantics to only prevent the opt-in

2019-08-19 Thread Andrey Konovalov
On Thu, Aug 15, 2019 at 5:44 PM Catalin Marinas wrote: > > First rename the sysctl control to abi.tagged_addr_disabled and make it > default off (zero). When abi.tagged_addr_disabled == 1, only block the > enabling of the TBI ABI via prctl(PR_SET_TAGGED_ADDR_CTRL, > PR_TAGGED_ADDR_ENABLE). > Gett

Re: [PATCH v8 1/5] mm: untag user pointers in mmap/munmap/mremap/brk

2019-08-19 Thread Andrey Konovalov
On Thu, Aug 15, 2019 at 5:44 PM Catalin Marinas wrote: > > There isn't a good reason to differentiate between the user address > space layout modification syscalls and the other memory > permission/attributes ones (e.g. mprotect, madvise) w.r.t. the tagged > address ABI. Untag the user addresses o

Re: [PATCH v8 2/5] arm64: Tighten the PR_{SET,GET}_TAGGED_ADDR_CTRL prctl() unused arguments

2019-08-19 Thread Andrey Konovalov
On Thu, Aug 15, 2019 at 5:44 PM Catalin Marinas wrote: > > Require that arg{3,4,5} of the PR_{SET,GET}_TAGGED_ADDR_CTRL prctl and > arg2 of the PR_GET_TAGGED_ADDR_CTRL prctl() are zero rather than ignored > for future extensions. > > Signed-off-by: Catalin Marinas Acked-by: Andrey Konovalov >

Re: [PATCH 1/3] kbuild: move KBUILD_LDS, KBUILD_VMLINUX_{OBJS,LIBS} to makefiles.rst

2019-08-19 Thread Masahiro Yamada
On Thu, Aug 15, 2019 at 1:06 AM Masahiro Yamada wrote: > > These three variables are not intended to be tweaked by users. > Move them from kbuild.rst to makefiles.rst. > > Signed-off-by: Masahiro Yamada > --- > Applied to linux-kbuild. > I will apply to linux-kbuild this > to avoid conflicts.

Re: [PATCH V3 1/3] x86/Hyper-V: Fix definition of struct hv_vp_assist_page

2019-08-19 Thread Thomas Gleixner
On Mon, 19 Aug 2019, lantianyu1...@gmail.com wrote: > From: Tianyu Lan > > The struct hv_vp_assist_page was defined incorrectly. > The "vtl_control" should be u64[3], "nested_enlightenments s/The /The member/ > _control" should be a u64 and there is 7 reserved bytes s/is/are/ > following "en

Re: [PATCH V3 2/3] KVM/Hyper-V: Add new KVM cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH

2019-08-19 Thread Thomas Gleixner
On Mon, 19 Aug 2019, lantianyu1...@gmail.com wrote: > From: Tianyu Lan > > This patch adds Same git grep command as before > new KVM cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH and let baseball cap? Please do not use weird acronyms. This is text and there is not limitation on characters. > user spac

[PATCH V3 2/3] KVM/Hyper-V: Add new KVM cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH

2019-08-19 Thread lantianyu1986
From: Tianyu Lan This patch adds new KVM cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH and let user space to enable direct tlb flush function when only Hyper-V hypervsior capability is exposed to VM. This patch also adds enable_direct_tlbflush callback in the struct kvm_x86_ops and platforms may use it to i

[PATCH V3 1/3] x86/Hyper-V: Fix definition of struct hv_vp_assist_page

2019-08-19 Thread lantianyu1986
From: Tianyu Lan The struct hv_vp_assist_page was defined incorrectly. The "vtl_control" should be u64[3], "nested_enlightenments _control" should be a u64 and there is 7 reserved bytes following "enlighten_vmentry". This patch is to fix it. Signed-off-by: Tianyu Lan -- Change since v1:

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

2019-08-19 Thread lantianyu1986
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 is enabled in L1. Patch 2 introduces new cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH to enable feature from user space. User

Re: [PATCH v6 2/2] hwmon: pmbus: Add Inspur Power System power supply driver

2019-08-19 Thread Joel Stanley
On Mon, 19 Aug 2019 at 09:15, John Wang wrote: > > Add the driver to monitor Inspur Power System power supplies > with hwmon over pmbus. > > This driver adds sysfs attributes for additional power supply data, > including vendor, model, part_number, serial number, > firmware revision, hardware revi

[PATCH v6 2/2] hwmon: pmbus: Add Inspur Power System power supply driver

2019-08-19 Thread John Wang
Add the driver to monitor Inspur Power System power supplies with hwmon over pmbus. This driver adds sysfs attributes for additional power supply data, including vendor, model, part_number, serial number, firmware revision, hardware revision, and psu mode(active/standby). Signed-off-by: John Wang

Re: [PATCH v2 3/6] arm64: dts: fsl: Add device tree for S32V234-EVB

2019-08-19 Thread Shawn Guo
On Fri, Aug 09, 2019 at 11:29:12AM +, Stefan-gabriel Mirea wrote: > From: Stoica Cosmin-Stefan > > Add initial version of device tree for S32V234-EVB, including nodes for the > 4 Cortex-A53 cores, AIPS bus with UART modules, ARM architected timer and > Generic Interrupt Controller (GIC). > >

Re: [PATCH v2 2/6] arm64: Introduce config for S32

2019-08-19 Thread Shawn Guo
On Fri, Aug 09, 2019 at 11:29:10AM +, Stefan-gabriel Mirea wrote: > From: Mihaela Martinas > > Add configuration option for the Freescale S32 platform family in > Kconfig.platforms. For starters, the only SoC supported will be Treerunner > (S32V234), with a single execution target: the S32V23