Re: [PATCH v9 0/5] iommu: Bounce page for untrusted devices

2019-09-10 Thread Joerg Roedel
On Fri, Sep 06, 2019 at 02:14:47PM +0800, Lu Baolu wrote: > Lu Baolu (5): > swiotlb: Split size parameter to map/unmap APIs > iommu/vt-d: Check whether device requires bounce buffer > iommu/vt-d: Don't switch off swiotlb if bounce page is used > iommu/vt-d: Add trace events for device dma

Re: [PATCH v2 09/11] clk: mediatek: Add dt-bindings for MT6779 clocks

2019-09-10 Thread Stephen Boyd
Quoting Mars Cheng (2019-08-19 02:21:40) > From: mtk01761 > > Add MT6779 clock dt-bindings, include topckgen, apmixedsys, > infracfg, and subsystem clocks. > > Signed-off-by: mtk01761 > --- Applied to clk-next

Re: [PATCH v2 08/11] dt-bindings: mediatek: bindings for MT6779 clk

2019-09-10 Thread Stephen Boyd
Quoting Mars Cheng (2019-08-19 02:21:39) > From: mtk01761 > > This patch adds the binding documentation for > apmixedsys, audiosys, camsys, imgsys, ipesys, > infracfg, mfgcfg, mmsys, topckgen, vdecsys, > and vencsys for Mediatek MT6779. > > Signed-off-by: mtk01761 > --- Applied to clk-next

[PATCH v2 2/2] powerpc/32: Split kexec low level code out of misc_32.S

2019-09-10 Thread Christophe Leroy
Almost half of misc_32.S is dedicated to kexec. Drop it into a dedicated kexec_32.S Signed-off-by: Christophe Leroy --- v2: no change --- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/kernel/kexec_32.S | 500 + arch/powerpc/kernel/misc_32.S |

[PATCH v2 1/2] NFS: Fix inode fileid checks in attribute revalidation code

2019-09-10 Thread Trond Myklebust
We want to throw out the attrbute if it refers to the mounted on fileid, and not the real fileid. However we do not want to block cache consistency updates from NFSv4 writes. Reported-by: Murphy Zhou Fixes: 7e10cc25bfa0 ("NFS: Don't refresh attributes with mounted-on-file...") Signed-off-by:

Re: [PATCH v9 2/8] mm: Adjust shuffle code to allow for future coalescing

2019-09-10 Thread Alexander Duyck
On Tue, Sep 10, 2019 at 5:20 AM Michal Hocko wrote: > > On Sat 07-09-19 10:25:20, Alexander Duyck wrote: > > From: Alexander Duyck > > > > Move the head/tail adding logic out of the shuffle code and into the > > __free_one_page function since ultimately that is where it is really > > needed

Re: [PATCH v9 0/8] stg mail -e --version=v9 \

2019-09-10 Thread Michal Hocko
On Tue 10-09-19 07:42:43, Alexander Duyck wrote: > On Tue, Sep 10, 2019 at 5:42 AM Michal Hocko wrote: > > > > I wanted to review "mm: Introduce Reported pages" just realize that I > > have no clue on what is going on so returned to the cover and it didn't > > really help much. I am completely

[PATCH 3/8] x86/platform/uv: Add return code to UV BIOS Init function

2019-09-10 Thread Mike Travis
Add a return code to the UV BIOS init function that indicates the successful initialization of the kernel/BIOS callback interface. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- arch/x86/include/asm/uv/bios.h |2 +- arch/x86/platform/uv/bios_uv.c |

[PATCH 4/8] x86/platform/uv: Setup UV functions for Hubless UV Systems

2019-09-10 Thread Mike Travis
Add more support for UV systems that do not contain a UV Hub (AKA "hubless"). This update adds support for additional functions required: Use PCH NMI handler instead of a UV Hub NMI handler. Initialize the UV BIOS callback interface used to support specific UV functions.

[PATCH V2 2/8] x86/platform/uv: Return UV Hubless System Type

2019-09-10 Thread Mike Travis
Return the type of UV hubless system for UV specific code that depends on that. Add a function to convert UV system type to bit pattern needed for is_uv_hubless(). Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- V2: Remove is_uv_hubless define Remove

[PATCH V2 0/8] x86/platform/UV: Update UV Hubless System Support

2019-09-10 Thread Mike Travis
On 9/5/2019 11:47 AM, Mike Travis wrote: > > These patches support upcoming UV systems that do not have a UV HUB. > > [1/8] Save OEM_ID from ACPI MADT probe > > [2/8] Return UV Hubless System Type V2: Remove is_uv_hubless define Remove leading '_' from _is_uv_hubless > [3/8] Add

Re: [PATCH v9 3/8] mm: Move set/get_pcppage_migratetype to mmzone.h

2019-09-10 Thread Alexander Duyck
On Tue, Sep 10, 2019 at 5:23 AM Michal Hocko wrote: > > On Sat 07-09-19 10:25:28, Alexander Duyck wrote: > > From: Alexander Duyck > > > > In order to support page reporting it will be necessary to store and > > retrieve the migratetype of a page. To enable that I am moving the set and > > get

[PATCH V2 6/8] x86/platform/uv: Decode UVsystab Info

2019-09-10 Thread Mike Travis
Decode the hubless UVsystab passed from BIOS to the kernel saving pertinent info in a similar manner that hubbed UVsystabs are decoded. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- V2: Removed redundant error message after call to uv_bios_init.

[PATCH V2 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops

2019-09-10 Thread Mike Travis
The references in the is_uvX_hub() function uses the hub_info pointer which will be NULL when the system is hubless. This change avoids that NULL dereference. It is also an optimization in performance. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- V2:

[PATCH V2 5/8] x86/platform/uv: Add UV Hubbed/Hubless Proc FS Files

2019-09-10 Thread Mike Travis
Indicate to UV user utilities that UV hubless support is available on this system via the existing /proc infterface. The current interface is maintained with the addition of new /proc leaves ("hubbed", "hubless", and "oemid") that contain the specific type of UV arch this one is. Signed-off-by:

[PATCH 1/8] x86/platform/uv: Save OEM_ID from ACPI MADT probe

2019-09-10 Thread Mike Travis
Save the OEM_ID and OEM_TABLE_ID passed to the apic driver probe function for later use. Also, convert the char list arg passed from the kernel to a true null-terminated string. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich ---

Re: [PATCH] fork: fail on non-zero higher 32 bits of args.exit_signal

2019-09-10 Thread Christian Brauner
On Tue, Sep 10, 2019 at 04:39:44PM +0200, Oleg Nesterov wrote: > On 09/10, Christian Brauner wrote: > > On Tue, Sep 10, 2019 at 03:10:48PM +0200, Christian Brauner wrote: > > > On Tue, Sep 10, 2019 at 03:09:35PM +0200, Christian Brauner wrote: > > > > On Tue, Sep 10, 2019 at 02:44:41PM +0200, Oleg

[PATCH 7/8] x86/platform/uv: Check EFI Boot to set reboot type

2019-09-10 Thread Mike Travis
Change to checking for EFI Boot type from previous check on if this is a KDUMP kernel. This allows for KDUMP kernels that can handle EFI reboots. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- arch/x86/kernel/apic/x2apic_uv_x.c | 18 --

[PATCH v2 3/3] iio: accel: adxl372: Perform a reset at start up

2019-09-10 Thread Stefan Popa
We need to perform a reset a start up to make sure that the chip is in a consistent state. This reset also disables all the interrupts which should only be enabled together with the iio buffer. Not doing this, was sometimes causing unwanted interrupts to trigger. Signed-off-by: Stefan Popa ---

Re: [RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-09-10 Thread Pali Rohár
On Tuesday 10 September 2019 15:37:32 Sebastian Reichel wrote: > Hi, > > On Tue, Sep 10, 2019 at 08:56:49AM -0500, Adam Ford wrote: > > On Thu, Sep 5, 2019 at 6:04 PM Tony Lindgren wrote: > > > Oh and this needs to default to status = "disabled" for > > > HS devices like n900 as it needs to use

Re: [PATCH] KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()

2019-09-10 Thread Cornelia Huck
On Tue, 10 Sep 2019 09:02:15 -0400 Igor Mammedov wrote: > If userspace doesn't set KVM_MEM_LOG_DIRTY_PAGES on memslot before calling > kvm_s390_vm_start_migration(), kernel will oops with: > > Unable to handle kernel pointer dereference in virtual kernel address space > Failing address:

[PATCH v2 2/3] iio: accel: adxl372: Fix push to buffers lost samples

2019-09-10 Thread Stefan Popa
One in two sample sets was lost by multiplying fifo_set_size with sizeof(u16). Also, the double number of available samples were pushed to the iio buffers. Signed-off-by: Stefan Popa --- Changes in v2: - Nothing changed. drivers/iio/accel/adxl372.c | 3 +-- 1 file changed, 1

[PATCH v2 1/3] iio: accel: adxl372: Fix/remove limitation for FIFO samples

2019-09-10 Thread Stefan Popa
Currently, the driver sets the FIFO_SAMPLES register with the number of sample sets (maximum of 170 for 3 axis data, 256 for 2-axis and 512 for single axis). However, the FIFO_SAMPLES register should store the number of samples, regardless of how the FIFO format is configured. Signed-off-by:

Re: [PATCH v9 0/8] stg mail -e --version=v9 \

2019-09-10 Thread Alexander Duyck
On Tue, Sep 10, 2019 at 5:42 AM Michal Hocko wrote: > > I wanted to review "mm: Introduce Reported pages" just realize that I > have no clue on what is going on so returned to the cover and it didn't > really help much. I am completely unfamiliar with virtio so please bear > with me. > > On Sat

linux-next: Signed-off-by missing for commit in the net-next tree

2019-09-10 Thread Stephen Rothwell
Hi all, Commit aa43ae121675 ("iwlwifi: LTR updates") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpMPkHMrX50z.pgp Description: OpenPGP digital signature

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-10 Thread Andreas Schwab
On Sep 10 2019, Christoph Hellwig wrote: > On Tue, Sep 10, 2019 at 10:18:15AM +0200, Andreas Schwab wrote: >> > How so? Wіth OF and a stdout path you just set earlycon on the >> > command line without any arguments and it will be found. >> >> Doesn't work for me. >> >> [0.00]

linux-next: Signed-off-by missing for commit in the net-next tree

2019-09-10 Thread Stephen Rothwell
Hi all, Commit 9d71dd0c7009 ("can: add support of SAE J1939 protocol") is missing a Signed-off-by from its author. [Not sure if I should complain about this one ...] -- Cheers, Stephen Rothwell pgpu3pVOzLkqZ.pgp Description: OpenPGP digital signature

Re: [PATCH v2 2/2] tpm: tpm_crb: enhance resource mapping mechanism for supporting AMD's fTPM

2019-09-10 Thread Jarkko Sakkinen
On Mon, Sep 09, 2019 at 06:09:06PM +0900, Seunghun Han wrote: > I got an AMD system which had a Ryzen Threadripper 1950X and MSI > mainboard, and I had a problem with AMD's fTPM. My machine showed an error > message below, and the fTPM didn't work because of it. > > [  5.732084] tpm_crb

[PATCH net-next 2/6] net: stmmac: Add VLAN HASH filtering support in GMAC4+

2019-09-10 Thread Jose Abreu
Adds the support for VLAN HASH Filtering in GMAC4/5 cores. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc:

[PATCH net-next 1/6] net: stmmac: Prevent divide-by-zero

2019-09-10 Thread Jose Abreu
When RX Coalesce settings are set to all zero (which is a valid setting) we will currently get a divide-by-zero error. Fix it. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc:

Re: [PATCH] KVM: x86: Manually calculate reserved bits when loading PDPTRS

2019-09-10 Thread Paolo Bonzini
On 04/09/19 01:36, Sean Christopherson wrote: > Manually generate the PDPTR reserved bit mask when explicitly loading > PDPTRs. The reserved bits that are being tracked by the MMU reflect the > current paging mode, which is unlikely to be PAE paging in the vast > majority of flows that use

[PATCH net-next 4/6] net: stmmac: Add support for SA Insertion/Replacement in GMAC4+

2019-09-10 Thread Jose Abreu
Add the support for Source Address Insertion and Replacement in GMAC4 and GMAC5 cores. Two methods are supported: Descriptor based and register based. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc:

[PATCH net-next 5/6] net: stmmac: Add support for VLAN Insertion Offload in GMAC4+

2019-09-10 Thread Jose Abreu
Adds support for TX VLAN Offload using descriptors based features available in GMAC4/5. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com

[PATCH net-next 0/6] net: stmmac: Improvements for -next

2019-09-10 Thread Jose Abreu
Misc patches for -next. It includes: - Two fixes for features in -next only - New features support for GMAC cores (which includes GMAC4 and GMAC5) --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc:

[PATCH net-next 6/6] net: stmmac: ARP Offload for GMAC4+ Cores

2019-09-10 Thread Jose Abreu
Implement the ARP Offload feature in GMAC4 and GMAC5 cores. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc:

[PATCH net-next 3/6] net: stmmac: xgmac: Reinitialize correctly a variable

2019-09-10 Thread Jose Abreu
'value' was being or'ed with a value from another register. This is a typo and could cause new written value to be wrong. Fix it. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org

Re: [PATCH net-next v2 1/3] net: dsa: microchip: add KSZ9477 I2C driver

2019-09-10 Thread George McCollister
Andrew, On Tue, Sep 10, 2019 at 9:03 AM Andrew Lunn wrote: > > Hi George > > > +KSZ_REGMAP_TABLE(ksz9477, not_used, 16, 0, 0); > > + > > @@ -294,6 +294,8 @@ static inline void ksz_pwrite32(struct ksz_device *dev, > > int port, int offset, > > #define KSZ_SPI_OP_RD3 > > #define

Re: [PATCH v3] KVM: x86: Disable posted interrupts for odd IRQs

2019-09-10 Thread Paolo Bonzini
On 10/09/19 08:15, Christoph Hellwig wrote: > And what about even ones? :) > > Sorry, just joking, but the "odd" qualifier here looks a little weird, > maybe something like "non-standard develiry modes" might make sense > here. Indeed, folded this into the commit message. Thanks Christoph.

Re: [PATCH] fork: fail on non-zero higher 32 bits of args.exit_signal

2019-09-10 Thread Oleg Nesterov
On 09/10, Christian Brauner wrote: > On Tue, Sep 10, 2019 at 03:10:48PM +0200, Christian Brauner wrote: > > On Tue, Sep 10, 2019 at 03:09:35PM +0200, Christian Brauner wrote: > > > On Tue, Sep 10, 2019 at 02:44:41PM +0200, Oleg Nesterov wrote: > > > > On 09/10, Eugene Syromiatnikov wrote: > > > >

Re: [PATCH] powerpc/xive: Fix bogus error code returned by OPAL

2019-09-10 Thread Cédric Le Goater
On 10/09/2019 15:53, Greg Kurz wrote: > There's a bug in skiboot that causes the OPAL_XIVE_ALLOCATE_IRQ call > to return the 32-bit value 0x when OPAL has run out of IRQs. > Unfortunatelty, OPAL return values are signed 64-bit entities and > errors are supposed to be negative. If that

Re: [PATCH] x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area.

2019-09-10 Thread Steve Wahl
On Tue, Sep 10, 2019 at 08:18:15AM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > On Fri, Sep 06, 2019 at 04:29:50PM -0500, Steve Wahl wrote: > > > Our hardware (UV aka Superdome Flex) has address ranges marked > > > reserved by the BIOS. These ranges can cause the system to

Re: [RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-09-10 Thread Sebastian Reichel
Hi, On Tue, Sep 10, 2019 at 08:56:49AM -0500, Adam Ford wrote: > On Thu, Sep 5, 2019 at 6:04 PM Tony Lindgren wrote: > > Oh and this needs to default to status = "disabled" for > > HS devices like n900 as it needs to use the omap3-rom-rng. > > I don't know enough about the HS version of the

linux-next: Fixes tag needs some work in the net-next tree

2019-09-10 Thread Stephen Rothwell
Hi all, In commit ed4a3983cd3e ("tools: bpftool: fix argument for p_err() in BTF do_dump()") Fixes tag Fixes: c93cc69004dt ("bpftool: add ability to dump BTF types") has these problem(s): - missing space between the SHA1 and the subject Presumably: Fixes: c93cc69004df ("bpftool: add

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-10 Thread Christoph Hellwig
On Tue, Sep 10, 2019 at 10:18:15AM +0200, Andreas Schwab wrote: > > How so? Wіth OF and a stdout path you just set earlycon on the > > command line without any arguments and it will be found. > > Doesn't work for me. > > [0.00] Malformed early option 'earlycon' That functionality is

linux-next: Fixes tag needs some work in the pm tree

2019-09-10 Thread Stephen Rothwell
Hi all, In commit fd3f7275826f ("software node: Initialize the return value in software_node_find_by_name()") Fixes tag Fixes: 1666faedb567 ("software node: Add software_node_get_reference_args()") has these problem(s): - Subject does not match target commit subject Just use

[PATCH v3] ftrace: simplify ftrace hash lookup code in clear_func_from_hash()

2019-09-10 Thread Changbin Du
Function ftrace_lookup_ip() will check empty hash table. So we don't need extra check outside. Signed-off-by: Changbin Du --- v3: only keep the change in function clear_func_from_hash(). v2: fix incorrect code remove. --- kernel/trace/ftrace.c | 6 +- 1 file changed, 1 insertion(+), 5

[PATCH] MAINTAINERS: Add a git and a maintainer entry to keyring subsystems

2019-09-10 Thread Jarkko Sakkinen
Add Jarkko Sakkinen as co-maintainer of KEYS/KEYRINGS and add git://git.infradead.org/users/jjs/linux-tpmdd.git as the GIT repository for KEYS-TRUSTED. Cc: David Howells Cc: Mimi Zohar Cc: James Bottomley Signed-off-by: Jarkko Sakkinen --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+)

Re: [BACKPORT 4.14.y v2 2/6] locking/lockdep: Add debug_locks check in __lock_downgrade()

2019-09-10 Thread Greg KH
On Thu, Sep 05, 2019 at 11:07:14AM +0800, Baolin Wang wrote: > From: Waiman Long > > [Upstream commit 513e1073d52e55b8024b4f238a48de7587c64ccf] > > Tetsuo Handa had reported he saw an incorrect "downgrading a read lock" > warning right after a previous lockdep warning. It is likely that the >

[PATCH V2 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops

2019-09-10 Thread Mike Travis
The references in the is_uvX_hub() function uses the hub_info pointer which will be NULL when the system is hubless. This change avoids that NULL dereference. It is also an optimization in performance. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- V2:

[PATCH V2 5/8] x86/platform/uv: Add UV Hubbed/Hubless Proc FS Files

2019-09-10 Thread Mike Travis
Indicate to UV user utilities that UV hubless support is available on this system via the existing /proc infterface. The current interface is maintained with the addition of new /proc leaves ("hubbed", "hubless", and "oemid") that contain the specific type of UV arch this one is. Signed-off-by:

[PATCH 3/8] x86/platform/uv: Add return code to UV BIOS Init function

2019-09-10 Thread Mike Travis
Add a return code to the UV BIOS init function that indicates the successful initialization of the kernel/BIOS callback interface. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- arch/x86/include/asm/uv/bios.h |2 +- arch/x86/platform/uv/bios_uv.c |

Re: linux-next: Fixes tag needs some work in the omap-fixes tree

2019-09-10 Thread Tony Lindgren
Hi, * Stephen Rothwell [190910 14:25]: > Hi all, > > In commit > > a932b77b4d19 ("ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux") > > Fixes tag > > Fixes: 5fe3c0fa0d54 ("ARM: dts: Add pinmuxing for i2c2 and i2c3 > > has these problem(s): > > - Subject has leading but no

[PATCH V2 2/8] x86/platform/uv: Return UV Hubless System Type

2019-09-10 Thread Mike Travis
Return the type of UV hubless system for UV specific code that depends on that. Add a function to convert UV system type to bit pattern needed for is_uv_hubless(). Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- V2: Remove is_uv_hubless define Remove

[PATCH 7/8] x86/platform/uv: Check EFI Boot to set reboot type

2019-09-10 Thread Mike Travis
Change to checking for EFI Boot type from previous check on if this is a KDUMP kernel. This allows for KDUMP kernels that can handle EFI reboots. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- arch/x86/kernel/apic/x2apic_uv_x.c | 18 --

[PATCH 1/8] x86/platform/uv: Save OEM_ID from ACPI MADT probe

2019-09-10 Thread Mike Travis
Save the OEM_ID and OEM_TABLE_ID passed to the apic driver probe function for later use. Also, convert the char list arg passed from the kernel to a true null-terminated string. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich ---

[PATCH 4/8] x86/platform/uv: Setup UV functions for Hubless UV Systems

2019-09-10 Thread Mike Travis
Add more support for UV systems that do not contain a UV Hub (AKA "hubless"). This update adds support for additional functions required: Use PCH NMI handler instead of a UV Hub NMI handler. Initialize the UV BIOS callback interface used to support specific UV functions.

[PATCH V2 0/8] x86/platform/UV: Update UV Hubless System Support

2019-09-10 Thread Mike Travis
On 9/5/2019 11:47 AM, Mike Travis wrote: > > These patches support upcoming UV systems that do not have a UV HUB. > > [1/8] Save OEM_ID from ACPI MADT probe > > [2/8] Return UV Hubless System Type V2: Remove is_uv_hubless define Remove leading '_' from _is_uv_hubless > [3/8] Add

[PATCH V2 6/8] x86/platform/uv: Decode UVsystab Info

2019-09-10 Thread Mike Travis
Decode the hubless UVsystab passed from BIOS to the kernel saving pertinent info in a similar manner that hubbed UVsystabs are decoded. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich --- V2: Removed redundant error message after call to uv_bios_init.

Re: [PATCH v2] ftrace: simplify ftrace hash lookup code

2019-09-10 Thread Changbin Du
On Tue, Sep 10, 2019 at 05:28:04AM -0400, Steven Rostedt wrote: > On Tue, 10 Sep 2019 08:33:23 +0800 > Changbin Du wrote: > > > > > > > bool ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip, bool > > > empty_result) > > > { > > > if (ftrace_hash_empty(hash)) > > > return

Re: [PATCH] x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area.

2019-09-10 Thread Steve Wahl
On Mon, Sep 09, 2019 at 11:14:14AM +0300, Kirill A. Shutemov wrote: > On Fri, Sep 06, 2019 at 04:29:50PM -0500, Steve Wahl wrote: > > ... > > The answer is to invalidate the pages of this table outside the > > address range occupied by the kernel before the page table is > > activated. This patch

Re: [PATCH] fork: fail on non-zero higher 32 bits of args.exit_signal

2019-09-10 Thread Eugene Syromiatnikov
On Tue, Sep 10, 2019 at 03:27:02PM +0200, Christian Brauner wrote: > On Tue, Sep 10, 2019 at 03:10:48PM +0200, Christian Brauner wrote: > > On Tue, Sep 10, 2019 at 03:09:35PM +0200, Christian Brauner wrote: > > > On Tue, Sep 10, 2019 at 02:44:41PM +0200, Oleg Nesterov wrote: > > > > On 09/10,

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-09-10 Thread Julien Desfossez
On 29-Aug-2019 04:38:21 PM, Peter Zijlstra wrote: > On Thu, Aug 29, 2019 at 10:30:51AM -0400, Phil Auld wrote: > > I think, though, that you were basically agreeing with me that the current > > core scheduler does not close the holes, or am I reading that wrong. > > Agreed; the missing bits for

linux-next: Signed-off-by missing for commit in the vfs tree

2019-09-10 Thread Stephen Rothwell
Hi all, Commit 591b53ca2883 ("vfs: Convert orangefs to use the new mount API") is missing a Signed-off-by from its author. Also, please keep the tags together in the commit message. -- Cheers, Stephen Rothwell pgp3qXea3G0zd.pgp Description: OpenPGP digital signature

Re: [PATCH v3] KEYS: trusted: correctly initialize digests and fix locking issue

2019-09-10 Thread Jarkko Sakkinen
On Sun, Sep 08, 2019 at 07:45:42PM +0200, Roberto Sassu wrote: > diff --git a/drivers/char/tpm/tpm-interface.c > b/drivers/char/tpm/tpm-interface.c > index 1b4f95c13e00..1fffa91fc148 100644 > --- a/drivers/char/tpm/tpm-interface.c > +++ b/drivers/char/tpm/tpm-interface.c > @@ -316,14 +316,14 @@

[PATCH] tpm: Call tpm_put_ops() when the validation for @digests fails

2019-09-10 Thread Jarkko Sakkinen
The chip is not released when the validation for @digests fails. Add tpm_put_ops() to the failure path. Cc: sta...@vger.kernel.org Reported-by: Roberto Sassu Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-interface.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-)

Re: linux-next: Signed-off-by missing for commit in the arm tree

2019-09-10 Thread Russell King - ARM Linux admin
This is correctly signed off, but Mike didn't send the patch correctly. It missed a From: line for the proper author, so the patch was committed as if Mike had authored it, which he didn't. On Wed, Sep 11, 2019 at 12:14:59AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 2505b9ba9c37

linux-next: Signed-off-by missing for commit in the fuse tree

2019-09-10 Thread Stephen Rothwell
Hi all, Commit 4beb84c4282f ("fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgp5mlZuD8Apr.pgp Description: OpenPGP digital signature

Re: [PATCH] arm64: fix unreachable code issue with cmpxchg

2019-09-10 Thread Andrew Murray
On Tue, Sep 10, 2019 at 08:46:07AM +0100, Will Deacon wrote: > On Mon, Sep 09, 2019 at 10:21:35PM +0200, Arnd Bergmann wrote: > > On arm64 build with clang, sometimes the __cmpxchg_mb is not inlined > > when CONFIG_OPTIMIZE_INLINING is set. > > Hmm. Given that CONFIG_OPTIMIZE_INLINING has also

Re: [PATCH] rtc: meson: mark PM functions as __maybe_unused

2019-09-10 Thread Alexandre Belloni
On 06/09/2019 17:24:29+0200, Arnd Bergmann wrote: > The meson_vrtc_set_wakeup_time() function is only used by > the PM functions and causes a warning when they are disabled: > > drivers/rtc/rtc-meson-vrtc.c:32:13: error: unused function > 'meson_vrtc_set_wakeup_time' [-Werror,-Wunused-function]

Re: [PATCH] rtc: sc27xx: Remove clearing SPRD_RTC_POWEROFF_ALM_FLAG flag

2019-09-10 Thread Alexandre Belloni
On 05/09/2019 15:03:30+0800, Baolin Wang wrote: > The SPRD_RTC_POWEROFF_ALM_FLAG flag is used to indicate if a poweroff alarm > is set, which can power on the system when system in power-off status. > > And the bootloader will validate this flag to check if the booting mode is > alarm booting

[PATCH] gpio: htc-egpio: Remove unused exported htc_egpio_get_wakeup_irq()

2019-09-10 Thread Geert Uytterhoeven
This function was never used upstream, and is a relic of the original handhelds.org code the htc-egpio driver was based on. Signed-off-by: Geert Uytterhoeven --- drivers/gpio/gpio-htc-egpio.c| 14 -- include/linux/platform_data/gpio-htc-egpio.h | 3 --- 2 files

linux-next: Signed-off-by missing for commit in the arm tree

2019-09-10 Thread Stephen Rothwell
Hi all, Commit 2505b9ba9c37 ("ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpNYfETEawIh.pgp Description: OpenPGP digital signature

Re: [PATCH v3] powerpc/lockdep: fix a false positive warning

2019-09-10 Thread Michael Ellerman
Hi Qian, Sorry I haven't replied sooner, I've been travelling. Qian Cai writes: > The commit 108c14858b9e ("locking/lockdep: Add support for dynamic > keys") introduced a boot warning on powerpc below, because since the > commit 2d4f567103ff ("KVM: PPC: Introduce kvm_tmp framework") adds >

Re: [alsa-devel] [PATCH] ASoC: bdw-rt5677: channel constraint support

2019-09-10 Thread Pierre-Louis Bossart
I also don't see any case where we support 4 channels in any broadwell machine driver? It's the bdw-rt5650.c which only exists in chrome's 3.14 branch supporting Buddy project. They submitted the machine driver but not yet merged. https://patchwork.kernel.org/patch/11050985/ So again can

linux-next: Fixes tag needs some work in the mmc-fixes tree

2019-09-10 Thread Stephen Rothwell
Hi all, In commit 9fab7e575727 ("Revert "mmc: sdhci: Remove unneeded quirk2 flag of O2 SD host controller"") Fixes tag Fixes: 414126f9e5ab ("mmc: sdhci: Remove unneeded quirk2 flag of O2 SD host has these problem(s): - Subject has leading but no trailing parentheses - Subject has

linux-next: Fixes tag needs some work in the omap-fixes tree

2019-09-10 Thread Stephen Rothwell
Hi all, In commit a932b77b4d19 ("ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux") Fixes tag Fixes: 5fe3c0fa0d54 ("ARM: dts: Add pinmuxing for i2c2 and i2c3 has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no trailing quotes

Re: [PATCH 2/2] PCI: dwc: Add support to disable equalization phase 2 and 3

2019-09-10 Thread Andrew Murray
On Tue, Sep 10, 2019 at 05:55:02PM +0530, Pankaj Dubey wrote: > From: Anvesh Salveru > > In some platforms, PCIe PHY may have issues which will prevent linkup > to happen in GEN3 or high speed. In case equalization fails, link will > fallback to GEN1. > > Designware controller gives flexibility

Re: [PATCH net-next v2 1/3] net: dsa: microchip: add KSZ9477 I2C driver

2019-09-10 Thread Andrew Lunn
Hi George > +KSZ_REGMAP_TABLE(ksz9477, not_used, 16, 0, 0); > + > @@ -294,6 +294,8 @@ static inline void ksz_pwrite32(struct ksz_device *dev, > int port, int offset, > #define KSZ_SPI_OP_RD3 > #define KSZ_SPI_OP_WR2 > > +#define swabnot_used(x) 0

Re: [RFC PATCH v2] mm: initialize struct pages reserved by ZONE_DEVICE driver.

2019-09-10 Thread Michal Hocko
On Fri 06-09-19 08:09:52, Toshiki Fukasawa wrote: [...] > @@ -5856,8 +5855,6 @@ void __meminit memmap_init_zone(unsigned long size, int > nid, unsigned long zone, > if (!altmap) > return; > > - if (start_pfn == altmap->base_pfn) > -

Re: [PATCH] tas2770: add tas2770 smart PA kernel driver

2019-09-10 Thread Dan Murphy
Shi On 9/6/19 2:06 AM, shifu0...@thundersoft.com wrote: From: Frank Shi add tas2770 smart PA kernel driver Signed-off-by: Frank Shi --- sound/soc/codecs/Kconfig |5 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/tas2770.c | 1103

Re: [PATCH 1/2] PCI: dwc: Add support to disable GEN3 equalization

2019-09-10 Thread Andrew Murray
On Tue, Sep 10, 2019 at 05:55:01PM +0530, Pankaj Dubey wrote: > From: Anvesh Salveru > > In some platforms, PCIe PHY may have issues which will prevent linkup > to happen in GEN3 or high speed. In case equalization fails, link will > fallback to GEN1. When you refer to "high speed", do you mean

Re: [RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-09-10 Thread Adam Ford
On Thu, Sep 5, 2019 at 6:04 PM Tony Lindgren wrote: > > Hi, > > * Adam Ford [190828 15:01]: > > The datasheet for the AM3517 shows the RNG is connected to L4. > > It shows the module address for the RNG is 0x480A, and it > > matches the omap2.dtsi description. Since the driver can support >

RE: linux-next: Signed-off-by missing for commit in the pci tree

2019-09-10 Thread Haiyang Zhang
> -Original Message- > From: Lorenzo Pieralisi > Sent: Tuesday, September 10, 2019 7:18 AM > To: Haiyang Zhang > Cc: Stephen Rothwell ; Bjorn Helgaas > ; Linux Next Mailing List n...@vger.kernel.org>; Linux Kernel Mailing List ker...@vger.kernel.org>; Sasha Levin > Subject: Re:

[PATCH] powerpc/xive: Fix bogus error code returned by OPAL

2019-09-10 Thread Greg Kurz
There's a bug in skiboot that causes the OPAL_XIVE_ALLOCATE_IRQ call to return the 32-bit value 0x when OPAL has run out of IRQs. Unfortunatelty, OPAL return values are signed 64-bit entities and errors are supposed to be negative. If that happens, the linux code confusingly treats

Re: [RFC PATCH 3/4] virtio: introudce a mdev based transport

2019-09-10 Thread Michael S. Tsirkin
On Tue, Sep 10, 2019 at 09:13:02PM +0800, Jason Wang wrote: > > On 2019/9/10 下午6:01, Michael S. Tsirkin wrote: > > > +#ifndef _LINUX_VIRTIO_MDEV_H > > > +#define _LINUX_VIRTIO_MDEV_H > > > + > > > +#include > > > +#include > > > +#include > > > + > > > +/* > > > + * Ioctls > > > + */ > > Pls

[PATCH 7/7] clocksource/drivers/integrator-ap: parse the chosen node

2019-09-10 Thread Claudiu Beznea
From: Alexandre Belloni The driver currently uses aliases to know whether the timer is the clocksource or the clockevent. Add the /chosen/linux,clocksource and /chosen/linux,clockevent parsing while keeping backward compatibility. Signed-off-by: Alexandre Belloni Signed-off-by: Claudiu Beznea

[PATCH 5/7] clocksource/drivers/timer-of: add support support for timer's functionalities

2019-09-10 Thread Claudiu Beznea
Timers could feed clocksource and clockevent devices. Even so, there are timers that could work as clocksource only, clockevent only or both. For timers that could work only as clocksource or as clockevent there were used different mechanisms to register one hardware resource to feed a clocksource

[PATCH 6/7] drivers/clocksource/timer-of: keep declaration on one line

2019-09-10 Thread Claudiu Beznea
timer_of_init() declaration could be kept on one line (80 chars per line rule is not broken). Signed-off-by: Claudiu Beznea --- drivers/clocksource/timer-of.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clocksource/timer-of.h b/drivers/clocksource/timer-of.h

[PATCH 4/7] dt-bindings: chosen: Add clocksource and clockevent selection

2019-09-10 Thread Claudiu Beznea
From: Alexandre Belloni Some timer drivers may behave either as clocksource or clockevent or both. Until now, in case of platforms with multiple hardware resources of the same type, the drivers were chosing the first registered hardware resource as clocksource/clockevent and the next one as

[PATCH 3/7] clocksource/timer_of: use BIT() macro

2019-09-10 Thread Claudiu Beznea
Use BIT() macro for timer_of flags. Signed-off-by: Claudiu Beznea --- drivers/clocksource/timer-of.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-of.h b/drivers/clocksource/timer-of.h index ee467bb16ca3..df861ea2ec42 100644 ---

[PATCH 1/7] clocksource/drivers/c-sky: request timer_of_init only for probing CPU

2019-09-10 Thread Claudiu Beznea
timer_of_init() was initially called for all possible CPUs although it was requested clock with index 0 for the same device_node on behalf of all possible CPUs. This patch keeps the timer_of_init() only for probing CPU and use the information obtained by timer_of_init() to also initialize the

[PATCH 2/7] clocksource: change timer registration macros

2019-09-10 Thread Claudiu Beznea
Change timer registration macros (TIMER_OF_DECLARE() and CLOCKSOURCE_OF_DECLARE()) by adding a new argument. This new argument is a pointer to an object of type struct timer_of and is used in timer_probe(). Based on the flags filled in the struct timer_of object the probing process will parse

Re: mtd raw nand denali.c broken for Intel/Altera Cyclone V

2019-09-10 Thread Tim Sander
Hi I have noticed that my SPF records where not in place after moving the server, so it seems the mail didn't go to the mailing list. Hopefully that's fixed now. Am Dienstag, 10. September 2019, 09:16:37 CEST schrieb Masahiro Yamada: > On Fri, Sep 6, 2019 at 9:39 PM Tim Sander wrote: > > Hi > >

Re: [PATCH] tas2770: add tas2770 smart PA dt bindings

2019-09-10 Thread Dan Murphy
Shi One other thing On 9/10/19 8:21 AM, Dan Murphy wrote: Shi On 9/6/19 2:06 AM, shifu0...@thundersoft.com wrote: From: Frank Shi Subject should be dt-bindings: ASoC: Add tas2770 smart PA dt bindings Also Please add Rob Herring for review add tas2770 smart PA dt bindings

[PATCH 0/7] add support for clocksource/clockevent DT selection

2019-09-10 Thread Claudiu Beznea
Hi, This series adds support to permit the selection of clocksource/clockevent via DT. In [1] I proposed a solution other than the one in this series, with parsing DT bindings and at probe time and passing it to timer specific probe function. Looking forward though the clocksource/clockevent

hello

2019-09-10 Thread joe akaba
Hallo Mein Name ist Joe Akaba. Ich bin von Beruf Rechtsanwalt. Ich möchte Ihnen anbieten die nächsten Verwandten zu meinem Klienten. Sie erben die Summe von (8,5 Millionen US-Dollar) Dollar, die mein Kunde vor seinem Tod in der Bank gelassen hat. Mein Mandant ist ein Staatsbürger Ihres Landes,

Re: [PATCH] arm64: fix unreachable code issue with cmpxchg

2019-09-10 Thread Arnd Bergmann
On Tue, Sep 10, 2019 at 3:24 PM Will Deacon wrote: > On Tue, Sep 10, 2019 at 10:04:24AM +0200, Arnd Bergmann wrote: > > On Tue, Sep 10, 2019 at 9:46 AM Will Deacon wrote: > > - In theory, CONFIG_OPTIMIZE_INLINING is the right thing to do -- the > > compilers > > also make some particularly

[RESEND,v2 2/2] leds: tlc591xx: Use the OF version of the LED registration function

2019-09-10 Thread Jean-Jacques Hiblot
The driver parses the device-tree to identify which LED should be handled. Since the information about the device node is known at this time, we can provide the LED core with it. It may be useful later. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tomi Valkeinen Acked-by: Pavel Machek ---

[RESEND,v2 1/2] leds: tlc591xx: simplify driver by using the managed led API

2019-09-10 Thread Jean-Jacques Hiblot
Use the managed API of the LED class (devm_led_classdev_register() instead of led_classdev_register()). This allows us to remove the code used to track-and-destroy the LED devices Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tomi Valkeinen --- drivers/leds/leds-tlc591xx.c | 79

[RESEND,v2 0/2] leds: tlc591xx: switch to OF and managed API

2019-09-10 Thread Jean-Jacques Hiblot
This mini-series updates the tlc591xx driver to use the managed API. The driver is also modified to pass the DT node to the LED core layer. The goal is to be able to the generic led-backlight [0] driver on top of it. changes in v2: - fixed LED indexing. Previous version did not allow for holes:

<    1   2   3   4   5   6   7   8   9   >