[PATCH v4 6/9] platform/chrome: Add event handling

2019-01-23 Thread Nick Crews
From: Duncan Laurie The Wilco Embedded Controller can return extended events that are not handled by standard ACPI objects. These events can include hotkeys which map to standard functions like brightness controls, or information about EC controlled features like the charger or battery. These e

Re: [PATCH] EDAC, dmc520:: add DMC520 EDAC driver

2019-01-23 Thread James Morse
Hi Rui, On 23/01/2019 00:42, Rui Zhao wrote: > On Monday, January 21, 2019 9:09 AM, James Morse wrote: >> It would be good if we can make this generic, so it works on all platforms >> with >> a DMC520, possibly along with other components. (e.g. the a15 L2 driver >> posted >> recently). >> >> Th

Re: [PATCH v5 0/2] let kexec_file_load use platform keyring to verify the kernel image

2019-01-23 Thread Mimi Zohar
On Mon, 2019-01-21 at 17:59 +0800, Kairui Song wrote: > This patch series adds a .platform_trusted_keys in system_keyring as the > reference to .platform keyring in integrity subsystem, when platform > keyring is being initialized it will be updated, so it will be > accessable for verifying PE sign

[PATCH v4 2/9] platform/chrome: Add new driver for Wilco EC

2019-01-23 Thread Nick Crews
From: Duncan Laurie This EC is an incompatible variant of the typical Chrome OS embedded controller. It uses the same low-level communication and a similar protocol with some significant differences. The EC firmware does not support the same mailbox commands so it is not registered as a cros_ec

[PATCH ghak100 V2 1/2] audit: more filter PATH records keyed on filesystem magic

2019-01-23 Thread Richard Guy Briggs
Like commit 42d5e37654e4 ("audit: filter PATH records keyed on filesystem magic") that addresses https://github.com/linux-audit/audit-kernel/issues/8 Any user or remote filesystem could become unavailable and effectively block on a forced unmount. -a always,exit -S umount2 -F key=umount2 Pro

Re: [PATCH 1/6] dt-bindings: soc: qcom: Add interconnect binding for GENI QUP

2019-01-23 Thread Georgi Djakov
Hi Alok, Thanks for the patches! On 1/22/19 08:33, Alok Chauhan wrote: > Add documentation for the interconnect and interconnect-names bindings s/interconnect /interconnects / > for the GENI QUP as detailed by bindings/interconnect/interconnect.txt. > > Signed-off-by: Alok Chauhan > --- > Do

[PATCH ghak100 V2 2/2] audit: ignore fcaps on umount

2019-01-23 Thread Richard Guy Briggs
Don't fetch fcaps when umount2 is called to avoid a process hang while it waits for the missing resource to (possibly never) re-appear. Note the comment above user_path_mountpoint_at(): * A umount is a special case for path walking. We're not actually interested * in the inode in this situation,

[PATCH ghak100 V2 0/2] audit: avoid umount hangs on missing mount

2019-01-23 Thread Richard Guy Briggs
On user and remote filesystems, a forced umount can still hang due to attemting to fetch the fcaps of a mounted filesystem that is no longer available. These two patches take different approaches to address this, one by avoiding the lookup when the MNT_FORCE flag is included, the other by providin

[PATCH v4 0/9] platform/chrome: rtc: Add support for Wilco EC

2019-01-23 Thread Nick Crews
There is a new chromebook that contains a different Embedded Controller (codename Wilco) than the rest of the chromebook series. Thus the kernel requires a different driver than the already existing and generalized cros_ec_* drivers. Specifically, this driver adds support for getting and setting

Re: [PATCH v3 1/4] drm/vc4: Wait for display list synchronization when completing commit

2019-01-23 Thread Eric Anholt
Paul Kocialkowski writes: > During an atomic commit, the HVS is configured with a display list > for the channel matching the associated CRTC. The Pixel Valve (CRTC) > and encoder are also configured for the new setup at that time. > While the Pixel Valve and encoder are reconfigured synchronousl

Re: [PATCH 1/6] mm: make mm->pinned_vm an atomic64 counter

2019-01-23 Thread Jason Gunthorpe
On Mon, Jan 21, 2019 at 09:42:15AM -0800, Davidlohr Bueso wrote: > Taking a sleeping lock to _only_ increment a variable is quite the > overkill, and pretty much all users do this. Furthermore, some drivers > (ie: infiniband and scif) that need pinned semantics can go to quite > some trouble to act

Re: [RFC PATCH] kvm: x86/vmx: Use kzalloc for cached_vmcs12

2019-01-23 Thread Tom Roeder
On Tue, Jan 15, 2019 at 09:51:11AM -0800, Tom Roeder wrote: > On Mon, Jan 14, 2019 at 06:43:04PM -0800, Sean Christopherson wrote: > > On Mon, Jan 14, 2019 at 03:47:28PM -0800, Tom Roeder wrote: > > > This changes the allocation of cached_vmcs12 to use kzalloc instead of > > > kmalloc. This removes

[GIT PULL] Hyper-V hv_netvsc commits for 5.0

2019-01-23 Thread Sasha Levin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git tags/hyperv-fixes-si

Re: [PATCH RFC] iw_cxgb4: drop check - dead code

2019-01-23 Thread Jason Gunthorpe
On Sun, Jan 20, 2019 at 02:27:13AM +0100, Nicholas Mc Guire wrote: > The kmalloc is called with | __GFP_NOFAIL so there is no point in > checking the return value - it either returns valid storage or it would > hang/terminate there. But it is not possible to say if the use of > __GFP_NOFAIL is re

Re: [PATCH 4/4] livepatch: Remove the redundant enabled flag in struct klp_patch

2019-01-23 Thread Joe Lawrence
On 1/22/19 5:06 AM, Miroslav Benes wrote: On Wed, 16 Jan 2019, Petr Mladek wrote: diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index 684766d306ad..8e644837e668 100644 --- a/kernel/livepatch/core.c +++ b/kernel/livepatch/core.c @@ -59,6 +59,17 @@ static bool klp_is_module(struc

[PATCH] usb: musb: Fix potential NULL dereference

2019-01-23 Thread Matwey V. Kornilov
We assign "urb->hcpriv = qh;" a few lines down. The valid qh for the urb is hep->hcpriv in this code path. Fixes: 714bc5ef3eda ("musb: potential use after free") Signed-off-by: Matwey V. Kornilov --- drivers/usb/musb/musb_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

Re: [RFC v7 0/5] pstore/block: new support logger for block devices

2019-01-23 Thread Aaro Koskinen
Hi, On Wed, Jan 23, 2019 at 08:05:11PM +0800, liaoweixiong wrote: > Why should we need pstore_block? > 1. Most embedded intelligent equipment have no persistent ram, which > increases costs. We perfer to cheaper solutions, like block devices. > In fast, there is already a sample for block device l

Re: [RFC PATCH] kvm: x86/vmx: Use kzalloc for cached_vmcs12

2019-01-23 Thread Tom Roeder
On Tue, Jan 15, 2019 at 11:15:51AM +0100, Paolo Bonzini wrote: > On 15/01/19 03:43, Sean Christopherson wrote: > >> - vmx->nested.cached_vmcs12 = kmalloc(VMCS12_SIZE, GFP_KERNEL); > >> + vmx->nested.cached_vmcs12 = kzalloc(VMCS12_SIZE, GFP_KERNEL); > >>if (!vmx->nested.cached_vmcs12) > >>

Re: [PATCH 1/2] ARM: dts: meson8b: odroidc1: Enable usb phy node

2019-01-23 Thread Anand Moon
Hi Kevin, On Wed, 23 Jan 2019 at 22:20, Kevin Hilman wrote: > > Anand Moon writes: > > > Add missing vbus-supply link to phy controller for usb_phy0 > > and usb_phy1 nodes, this changes fixed the power issue > > on usb ports usb, changes help fix usb reset warning. > > > > [ 821.991470] usb 1-1.

Re: [PATCH v5] cpufreq: qcom: Read voltage LUT and populate OPP

2019-01-23 Thread Matthias Kaehlcke
Hi Taniya, On Wed, Jan 23, 2019 at 04:52:00PM +0530, Taniya Das wrote: > Add support to read the voltage look up table and populate OPP for all > corresponding CPUS for consumers like the energy model could use the > frequency and voltage from the OPP tables. Also update the logic to not add > dup

GRSec is vital to Linux security

2019-01-23 Thread linuxgpletc
There are two iron laws when it comes to the linux-kernel and it's facing towards the larger world. 1) The grsecurity-pax patch is absolutely vital if one wishes to not be hacked by chinese(TM). (And has been vital for the last 15+ years.) 2) GRSecurity is _blatantly_ violating the GPL by adding

Re: [RFC v5 1/4] pstore/blk: new support logger for block devices

2019-01-23 Thread Aaro Koskinen
Hi, On Sat, Jan 19, 2019 at 04:53:48PM +0800, liaoweixiong wrote: > On 2019-01-18 08:12, Kees Cook wrote: > >> MTD (drivers/mtd/mtdoops.c). > > > > Would mtdoops get dropped in favor of pstore/blk, or do they not share > > features? > > We can show them what pstore/blk do. I think they will be i

Re: [PATCH AUTOSEL 4.20 072/117] btrfs: alloc_chunk: fix more DUP stripe size handling

2019-01-23 Thread Sasha Levin
On Wed, Jan 23, 2019 at 03:54:00PM +, Hans van Kranenburg wrote: On 1/23/19 3:37 PM, Sasha Levin wrote: On Tue, Jan 08, 2019 at 11:52:02PM +, Hans van Kranenburg wrote: Hi Sasha, On 1/8/19 8:25 PM, Sasha Levin wrote: From: Hans van Kranenburg [ Upstream commit baf92114c7e6dd6124aa3d

Re: [PATCH v5 13/13] KVM/nVMX: Use page_address_valid in a few more locations

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:13AM +0100, KarimAllah Ahmed wrote: > Use page_address_valid in a few more locations that is already checking for > a page aligned address that does not cross the maximum physical address. Where is this page_address_valid declared? The latest linus's tree does not hav

Re: [PATCH v5 00/13] KVM/X86: Introduce a new guest mapping interface

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:00AM +0100, KarimAllah Ahmed wrote: > Guest memory can either be directly managed by the kernel (i.e. have a "struct > page") or they can simply live outside kernel control (i.e. do not have a > "struct page"). KVM mostly support these two modes, except in a few places

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-23 Thread Catalin Marinas
On Tue, Jan 22, 2019 at 05:44:02AM +, Will Deacon wrote: > On Mon, Jan 21, 2019 at 02:21:28PM +, Catalin Marinas wrote: > > arm64: Do not issue IPIs for user executable ptes > > > > From: Catalin Marinas > > > > Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating the I-cache > >

Re: [PATCH 2/6] soc: qcom: Add wrapper to support for Interconnect path

2019-01-23 Thread Bjorn Andersson
On Mon 21 Jan 22:33 PST 2019, Alok Chauhan wrote: > Add the wrapper to support for interconnect path voting > from GENI QUP. This wrapper provides the functionalities > to individual Serial Engine device to get the interconnect > path and to vote for bandwidth based on their need. > > This wrappe

Re: [PATCH v5 12/13] KVM/nVMX: Use kvm_vcpu_map for accessing the enlightened VMCS

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:12AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map for accessing the enhanced VMCS since using > kvm_vcpu_gpa_to_page() and kmap() will only work for guest memory that has > a "struct page". > > Signed-off-by: KarimAllah Ahmed Reviewed-by: Konrad Rzeszutek Wilk

Re: New warnings with gcc9

2019-01-23 Thread Miguel Ojeda
On Wed, Jan 23, 2019 at 6:17 PM Miguel Ojeda wrote: > > Hi Laura, > > On Wed, Jan 23, 2019 at 4:27 PM Laura Abbott wrote: > > > > There's also some missing attribute warnings. The majority are caused by a > > missing attribute in module_init/module_exit > > > > BUILDSTDERR: In file included from

Re: [PATCH v2 0/2] eeprom: at25: SPI transfer improvements

2019-01-23 Thread Geert Uytterhoeven
Hi Boris, On Fri, Jan 18, 2019 at 11:07 PM Boris Brezillon wrote: > On Fri, 18 Jan 2019 15:05:23 +0100 > Geert Uytterhoeven wrote: > > This patch series contains two improvements for the AT25 SPI EEPROM > > driver, related to SPI transfers. > > > > Changes compared to v1: > > - Merge "off" and

Re: [PATCH v5 11/13] KVM/nVMX: Use kvm_vcpu_map for accessing the shadow VMCS

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:11AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map for accessing the shadow VMCS since using > kvm_vcpu_gpa_to_page() and kmap() will only work for guest memory that has > a "struct page". > > Signed-off-by: KarimAllah Ahmed Reviewed-by: Konrad Rzessutek Wilk

Re: [PATCH 12/22] x86/fpu: Only write PKRU if it is different from current

2019-01-23 Thread Dave Hansen
On 1/9/19 3:47 AM, Sebastian Andrzej Siewior wrote: > +static inline void __write_pkru(u32 pkru) > +{ > + /* > + * Writting PKRU is expensive. Only write the PKRU value if it is > + * different from the current one. > + */ I'd say: WRPKRU is relatively expensive compare

Re: [PATCH net-next] net/mlx4: Mark expected switch fall-through

2019-01-23 Thread Gustavo A. R. Silva
On 1/23/19 11:08 AM, David Miller wrote: > From: "Gustavo A. R. Silva" > Date: Wed, 23 Jan 2019 02:05:11 -0600 > >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> This patch fixes the following warning: >> >> drivers/net/et

Re: [PATCH v5 10/13] KVM/nSVM: Use the new mapping API for mapping guest memory

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:10AM +0100, KarimAllah Ahmed wrote: > Use the new mapping API for mapping guest memory to avoid depending on > "struct page". > > Signed-off-by: KarimAllah Ahmed Reviewed-by: Konrad Rzeszutek Wilk

Re: [PATCH v7 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-23 Thread Sergei Shtylyov
On 01/23/2019 10:09 AM, Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang > --- > .../devicetree/bindings/spi/spi-renesas-rpc.txt| 46 > ++ > 1 file changed, 46 insertions(+) > create mode 100644 D

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Sudeep Holla
On Wed, Jan 23, 2019 at 09:46:22AM -0800, Scott Branden wrote: [...] > > Some additional flags and details are saved to disk with the "pending i/o". > I am getting a sense that this is some raw partition on a disk(flash/eMMC/UFS) the M0 can write to and Linux can read. It's can't be full fledge

Re: [PATCH -next] watchdog: pika_wdt: drop pointless static qualifier in pikawdt_init

2019-01-23 Thread Guenter Roeck
On Wed, Jan 23, 2019 at 05:05:24PM +0800, YueHaibing wrote: > There is no need to have the 'post1' variable static since > new value always be assigned before use it. > > Signed-off-by: YueHaibing Reviewed-by: Guenter Roeck Is anyone still using this driver ? If yes it might make sense to conv

Re: [PATCH net-next] Bluetooth: Mark expected switch fall-throughs

2019-01-23 Thread Gustavo A. R. Silva
On 1/23/19 11:46 AM, Marcel Holtmann wrote: > Hi Gustavo, > >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> net/bluetooth/rfcomm/core.c:479:6: warning: this statement may fall

Re: [PATCH v7 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-01-23 Thread Sergei Shtylyov
Hello! On 01/23/2019 10:09 AM, Mason Yang wrote: > Add a driver for Renesas R-Car Gen3 RPC-IF SPI controller. > > Signed-off-by: Mason Yang > Signed-off-by: Sergei Shtylyov [...] > diff --git a/drivers/spi/spi-renesas-rpc.c b/drivers/spi/spi-renesas-rpc.c > new file mode 100644 > index 000

Re: [PATCH v5 09/13] KVM/X86: Use kvm_vcpu_map in emulator_cmpxchg_emulated

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:09AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map in emulator_cmpxchg_emulated since using > kvm_vcpu_gpa_to_page() and kmap() will only work for guest memory that has > a "struct page". > > Signed-off-by: KarimAllah Ahmed Reviewed-by: Konrad Rzeszutek Wilk

Re: [PATCH v5 08/13] KVM/nVMX: Use kvm_vcpu_map when mapping the posted interrupt descriptor table

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:08AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map when mapping the posted interrupt descriptor table since > using kvm_vcpu_gpa_to_page() and kmap() will only work for guest memory > that has a "struct page". > > One additional semantic change is that the virtual

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-23 Thread Jan Kara
On Tue 22-01-19 11:46:13, Jerome Glisse wrote: > On Tue, Jan 22, 2019 at 04:24:59PM +0100, Jan Kara wrote: > > On Thu 17-01-19 10:17:59, Jerome Glisse wrote: > > > On Thu, Jan 17, 2019 at 10:30:47AM +0100, Jan Kara wrote: > > > > On Wed 16-01-19 08:08:14, Jerome Glisse wrote: > > > > > On Wed, Jan

Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-01-23 Thread Guenter Roeck
On Wed, Jan 23, 2019 at 02:25:53PM -0300, Paul Cercueil wrote: > Hi, > > Le mer. 23 janv. 2019 à 11:31, Guenter Roeck a écrit : > >On 1/23/19 4:58 AM, Mathieu Malaterre wrote: > >>On Wed, Dec 12, 2018 at 11:09 PM Paul Cercueil > >>wrote: > >>> > >>>From: Maarten ter Huurne > >>> > >>>OST is the

Applied "spi/topcliff_pch: Fix potential NULL dereference on allocation error" to the spi tree

2019-01-23 Thread Mark Brown
The patch spi/topcliff_pch: Fix potential NULL dereference on allocation error has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "spi: bcm2835aux: remove unneeded NULL check of devm_clk_get" to the spi tree

2019-01-23 Thread Mark Brown
The patch spi: bcm2835aux: remove unneeded NULL check of devm_clk_get has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "regulator: bd70528: Support ROHM BD70528 regulator block" to the regulator tree

2019-01-23 Thread Mark Brown
The patch regulator: bd70528: Support ROHM BD70528 regulator block has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "pxa2xx: replace spi_master with spi_controller" to the spi tree

2019-01-23 Thread Mark Brown
The patch pxa2xx: replace spi_master with spi_controller has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to L

Re: [PATCH v5 07/13] KVM/nVMX: Use kvm_vcpu_map when mapping the virtual APIC page

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:07AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map when mapping the virtual APIC page since using > kvm_vcpu_gpa_to_page() and kmap() will only work for guest memory that has > a "struct page". > > One additional semantic change is that the virtual host mapping li

Applied "regulator: stpmic1: Add static const qualifier at peroper places" to the regulator tree

2019-01-23 Thread Mark Brown
The patch regulator: stpmic1: Add static const qualifier at peroper places has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in th

Applied "regulator: bindings: ROHM bd70528 regulator bindings" to the regulator tree

2019-01-23 Thread Mark Brown
The patch regulator: bindings: ROHM bd70528 regulator bindings has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

Applied "regmap: regmap-irq: Add main status register support" to the regmap tree

2019-01-23 Thread Mark Brown
The patch regmap: regmap-irq: Add main status register support has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) a

[PATCHv2] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread richard . gong
From: Richard Gong Add a Kconfig dependency to ensure Intel Stratix10 service layer driver can be built only on the platform that supports it. Signed-off-by: Richard Gong --- v2: add depends on COMPILE_TEST --- drivers/firmware/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: Regression: spi: core: avoid waking pump thread from spi_sync instead run teardown delayed

2019-01-23 Thread Mark Brown
On Sun, Jan 20, 2019 at 12:24:23PM +0100, ker...@martin.sperl.org wrote: > These kind of changes it requires are consuming a bit more time than > I was hoping for. Thanks for trying. > So maybe at this very moment the best is reverting the patch. Yes, I'm just going to do that for now. > As fo

Re: [PATCH] MIPS: remove meaningless generic-(CONFIG_GENERIC_CSUM) += checksum.h

2019-01-23 Thread Paul Burton
Hello, Masahiro Yamada wrote: > This line is weird in multiple ways. > > (CONFIG_GENERIC_CSUM) might be a typo of $(CONFIG_GENERIC_CSUM). > > Even if you add '$' to it, $(CONFIG_GENERIC_CSUM) is never evaluated > to 'y' because scripts/Makefile.asm-generic does not include > include/config/auto.

Re: [PATCH v5 04/13] KVM: Introduce a new guest mapping API

2019-01-23 Thread Konrad Rzeszutek Wilk
> + if (dirty) > + kvm_release_pfn_dirty(map->pfn); > + else > + kvm_release_pfn_clean(map->pfn); > + map->hva = NULL; I keep on having this gnawing feeling that we MUST set map->page to NULL. That is I can see how it is not needed if you are using 'map' and 'u

Re: [PATCH net-next] Bluetooth: Mark expected switch fall-throughs

2019-01-23 Thread Marcel Holtmann
Hi Gustavo, > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warnings: > > net/bluetooth/rfcomm/core.c:479:6: warning: this statement may fall through > [-Wimplicit-fallthrough=] > net/bluetooth/l

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Scott Branden
On 2019-01-23 9:33 a.m., Mark Rutland wrote: On Wed, Jan 23, 2019 at 09:05:26AM -0800, Scott Branden wrote: Hi Mark, Hopefully I can shed some light on the use case inline. On 2019-01-23 8:48 a.m., Mark Rutland wrote: On Mon, Jan 21, 2019 at 11:30:02AM +0530, Pramod Kumar wrote: On Mon, Jan

Re: [PATCH] staging: mt7621-pinctrl: Remove space after cast

2019-01-23 Thread Joe Perches
On Wed, 2019-01-23 at 22:01 +0530, Nishad Kamdar wrote: > This patch removes space after a cast as it > is not needed. > Issue found by checkpatch. > > Signed-off-by: Nishad Kamdar > --- > drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v5 05/13] X86/nVMX: handle_vmptrld: Use kvm_vcpu_map when copying VMCS12 from guest memory

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:05AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map to the map the VMCS12 from guest memory because > kvm_vcpu_gpa_to_page() and kmap() will only work for guest memory that has > a "struct page". > > Signed-off-by: KarimAllah Ahmed Reviewed-by: Konrad Rzeszutek W

Re: [PATCH net-next] intel: Mark expected switch fall-throughs

2019-01-23 Thread Jeff Kirsher
On Wed, 2019-01-23 at 11:11 -0600, Gustavo A. R. Silva wrote: > Hi Jeffrey, > > On 1/23/19 11:04 AM, Jeff Kirsher wrote: > > On Wed, 2019-01-23 at 01:48 -0600, Gustavo A. R. Silva wrote: > > > In preparation to enabling -Wimplicit-fallthrough, mark switch > > > cases > > > where we are expecting t

Re: [PATCH AUTOSEL 4.20 072/117] btrfs: alloc_chunk: fix more DUP stripe size handling

2019-01-23 Thread David Sterba
On Wed, Jan 23, 2019 at 03:54:00PM +, Hans van Kranenburg wrote: > On 1/23/19 3:37 PM, Sasha Levin wrote: > > On Tue, Jan 08, 2019 at 11:52:02PM +, Hans van Kranenburg wrote: > >> Hi Sasha, > >> > >> On 1/8/19 8:25 PM, Sasha Levin wrote: > >>> From: Hans van Kranenburg > >>> > >>> [ Upstre

Re: [PATCH v5 04/13] KVM: Introduce a new guest mapping API

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:04AM +0100, KarimAllah Ahmed wrote: > In KVM, specially for nested guests, there is a dominant pattern of: > > => map guest memory -> do_something -> unmap guest memory > > In addition to all this unnecessarily noise in the code due to boiler plate > code, most

Want to edit your photos

2019-01-23 Thread Judy
We want to work for you to edit your photos. We can do your photos with white background, sharpen, retouching is included for all your photos. Waiting for the test photos to start with. Thanks, Judy

Re: New warnings with gcc9

2019-01-23 Thread Miguel Ojeda
On Wed, Jan 23, 2019 at 6:17 PM Miguel Ojeda wrote: > > Hi Laura, > > On Wed, Jan 23, 2019 at 4:27 PM Laura Abbott wrote: > > > > There's also some missing attribute warnings. The majority are caused by a > > missing attribute in module_init/module_exit > > > > BUILDSTDERR: In file included from

Want to edit your photos

2019-01-23 Thread Judy
We want to work for you to edit your photos. We can do your photos with white background, sharpen, retouching is included for all your photos. Waiting for the test photos to start with. Thanks, Judy

[PATCH] include/linux/module.h: mark init/cleanup_module aliases as __cold

2019-01-23 Thread Miguel Ojeda
The upcoming GCC 9 release adds the -Wmissing-attributes warnings (enabled by -Wall), which trigger for all the init/cleanup_module aliases in the kernel (defined by the module_init/exit macros), ending up being very noisy. These aliases point to the __init/__exit functions of a module, which are

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Mark Rutland
On Wed, Jan 23, 2019 at 09:05:26AM -0800, Scott Branden wrote: > Hi Mark, > > Hopefully I can shed some light on the use case inline. > > On 2019-01-23 8:48 a.m., Mark Rutland wrote: > > On Mon, Jan 21, 2019 at 11:30:02AM +0530, Pramod Kumar wrote: > > > On Mon, Jan 21, 2019 at 11:28 AM Pramod Ku

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Scott Branden
Hi Sudeep, On 2019-01-23 9:21 a.m., Sudeep Holla wrote: On Wed, Jan 23, 2019 at 09:05:26AM -0800, Scott Branden wrote: Hi Mark, Hopefully I can shed some light on the use case inline. On 2019-01-23 8:48 a.m., Mark Rutland wrote: On Mon, Jan 21, 2019 at 11:30:02AM +0530, Pramod Kumar wrote:

Re: [PATCH v5 03/13] X86/KVM: Handle PFNs outside of kernel reach when touching GPTEs

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:03AM +0100, KarimAllah Ahmed wrote: > From: Filippo Sironi > > cmpxchg_gpte() calls get_user_pages_fast() to retrieve the number of > pages and the respective struct page to map in the kernel virtual > address space. > This doesn't work if get_user_pages_fast() is in

Re: [PATCH 1/1] regulator: pwm: suppress EPROBE_DEFER error message

2019-01-23 Thread Mark Brown
On Wed, Jan 23, 2019 at 04:14:49PM +, Ben Dooks wrote: > On 2019-01-23 16:04, Mark Brown wrote: > > This also cleans up the kernel log in the case where you've not got a > > driver enabled that you need (or it's not loading for some reason) which > > isn't super helpful when you're trying to f

[GIT PULL] IPMI serious bugfixes for 5.0

2019-01-23 Thread Corey Minyard
The following changes since commit 7b55851367136b1efd84d98fea81ba57a98304cf:   fork: record start_time late (2019-01-08 09:40:53 -0800) are available in the Git repository at:   https://github.com/cminyard/linux-ipmi.git tags/for-linus-5.0 for you to fetch changes up to 913a89f009d98c85a902d71

Re: [PATCH 18/22] x86/fpu: Update xstate's PKRU value on write_pkru()

2019-01-23 Thread Dave Hansen
On 1/9/19 3:47 AM, Sebastian Andrzej Siewior wrote: > + pk = get_xsave_addr(¤t->thread.fpu.state.xsave, XFEATURE_PKRU); > + /* > + * The PKRU value in xstate needs to be in sync with the value that is > + * written to the CPU. The FPU restore on return to userland would > + *

Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-01-23 Thread Paul Cercueil
(re-send, in plain text this time, sorry for those who got it twice) Le mer. 23 janv. 2019 à 9:58, Mathieu Malaterre a écrit : On Wed, Dec 12, 2018 at 11:09 PM Paul Cercueil wrote: From: Maarten ter Huurne OST is the OS Timer, a 64-bit timer/counter with buffered reading. SoCs before

Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-01-23 Thread Paul Cercueil
Hi, Le mer. 23 janv. 2019 à 11:31, Guenter Roeck a écrit : On 1/23/19 4:58 AM, Mathieu Malaterre wrote: On Wed, Dec 12, 2018 at 11:09 PM Paul Cercueil wrote: From: Maarten ter Huurne OST is the OS Timer, a 64-bit timer/counter with buffered reading. SoCs before the JZ4770 had (if any) a

Re: [PATCH net-next V4 0/5] vhost: accelerate metadata access through vmap()

2019-01-23 Thread David Miller
From: "Michael S. Tsirkin" Date: Wed, 23 Jan 2019 08:58:07 -0500 > On Wed, Jan 23, 2019 at 05:55:52PM +0800, Jason Wang wrote: >> This series tries to access virtqueue metadata through kernel virtual >> address instead of copy_user() friends since they had too much >> overheads like checks, spec

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Sudeep Holla
On Wed, Jan 23, 2019 at 09:05:26AM -0800, Scott Branden wrote: > Hi Mark, > > Hopefully I can shed some light on the use case inline. > > On 2019-01-23 8:48 a.m., Mark Rutland wrote: > > On Mon, Jan 21, 2019 at 11:30:02AM +0530, Pramod Kumar wrote: > > > On Mon, Jan 21, 2019 at 11:28 AM Pramod Kuma

Re: [PATCH v5 02/13] X86/nVMX: Update the PML table without mapping and unmapping the page

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 09, 2019 at 10:42:02AM +0100, KarimAllah Ahmed wrote: > Update the PML table without mapping and unmapping the page. This also > avoids using kvm_vcpu_gpa_to_page(..) which assumes that there is a "struct > page" for guest memory. > > As a side-effect of using kvm_write_guest_page the

Re: New warnings with gcc9

2019-01-23 Thread Miguel Ojeda
Hi Laura, On Wed, Jan 23, 2019 at 4:27 PM Laura Abbott wrote: > > There's also some missing attribute warnings. The majority are caused by a > missing attribute in module_init/module_exit > > BUILDSTDERR: In file included from drivers/scsi/hptiop.c:18: > BUILDSTDERR: ./include/linux/module.h:132:

[no subject]

2019-01-23 Thread Chris Rankin
Linux http://awesomebestwallpapers.us/tlv2k5j/wtuds/hosting/writereview/contactdo.php?produce=hz10y3pp5a0k Chris Rankin

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-23 Thread Brian Starkey
Hi Andrew, On Wed, Jan 23, 2019 at 10:51:24AM -0600, Andrew F. Davis wrote: > On 1/22/19 11:33 AM, Sumit Semwal wrote: > > Hello everyone, > > > > Sincere apologies for chiming in a bit late here, but was off due to > > some health issues. > > > > Hope you are feeling better friend :) > > Look

Re: [PATCH net-next] intel: Mark expected switch fall-throughs

2019-01-23 Thread Gustavo A. R. Silva
Hi Jeffrey, On 1/23/19 11:04 AM, Jeff Kirsher wrote: > On Wed, 2019-01-23 at 01:48 -0600, Gustavo A. R. Silva wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> drivers/net/e

Re: [PATCH 0/5 v3] Fix virtio-blk issue with SWIOTLB

2019-01-23 Thread Konrad Rzeszutek Wilk
On Wed, Jan 23, 2019 at 05:30:44PM +0100, Joerg Roedel wrote: > Hi, > > here is the third version of this patch-set. Previous > versions can be found here: > > V1: https://lore.kernel.org/lkml/20190110134433.15672-1-j...@8bytes.org/ > > V2: https://lore.kernel.org/lkml/20190115132257

Re: [RFC PATCH] time/nohz: allow the boot CPU to be nohz_full

2019-01-23 Thread Frederic Weisbecker
On Wed, Jan 23, 2019 at 06:25:26PM +1000, Nicholas Piggin wrote: > Frederic Weisbecker's on January 17, 2019 3:54 am: > > On Mon, Jan 14, 2019 at 04:47:45PM +1000, Nicholas Piggin wrote: > >> We have a supercomputer site testing nohz_full to reduce jitter with > >> good results, but they want CPU0

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-23 Thread Andrew F. Davis
On 1/22/19 9:23 PM, Sumit Semwal wrote: > Hello everyone, > > (Thanks to Dan for letting me know my last email got corrupted :/ - > resending it here) > Hmm, this one seems a bit messed up also (Thunderbird doesn't seem to like it at least). [snip] > - from dma-buf PoV, ION is an exporter of d

Re: [PATCH net-next 05/10] net: phy: introduce a phy_driver macsec helper

2019-01-23 Thread Andrew Lunn
> +int phy_macsec(struct phy_device *phydev, struct netdev_macsec *macsec) > +{ > + int ret = -EOPNOTSUPP; > + > + if (!phydev->drv) > + return -EIO; > + > + mutex_lock(&phydev->lock); > + > + if (phydev->drv->macsec) > + ret = phydev->drv->macsec(phydev, mac

Re: [PATCH net-next] net/mlx4: Mark expected switch fall-through

2019-01-23 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 23 Jan 2019 02:05:11 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/net/ethernet/mellanox/mlx4/eq.c: In function ‘mlx4_eq_int’:

Re: [PATCH net-next] bna: Mark expected switch fall-throughs

2019-01-23 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 23 Jan 2019 01:53:28 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/net/ethernet/brocade/bna/bfa_ioc.c:790:3: warning: this sta

Re: [PATCH 1/6] dt-bindings: soc: qcom: Add interconnect binding for GENI QUP

2019-01-23 Thread Bjorn Andersson
On Mon 21 Jan 22:33 PST 2019, Alok Chauhan wrote: > Add documentation for the interconnect and interconnect-names bindings > for the GENI QUP as detailed by bindings/interconnect/interconnect.txt. > > Signed-off-by: Alok Chauhan > --- > Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.tx

Re: [PATCH net-next] bna: Mark expected switch fall-throughs

2019-01-23 Thread David Miller
From: Sudarsana Reddy Kalluru Date: Wed, 23 Jan 2019 08:03:12 + > -Original Message- > From: Gustavo A. R. Silva [mailto:gust...@embeddedor.com] > Sent: 23 January 2019 13:23 > To: Rasesh Mody ; Sudarsana Kalluru > ; dept-gelinuxnic...@cavium.com; David S. > Miller > Cc: net...@vg

Re: [PATCH net-next] qed: Mark expected switch fall-through

2019-01-23 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 23 Jan 2019 01:59:12 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/net/ethernet/qlogic/qed/qed_cxt.c:2126:4: warning: this stat

Re: [PATCH net-next] net: 3c509: mark expected switch fall-throughs

2019-01-23 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 23 Jan 2019 01:29:55 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/net/ethernet/3com/3c509.c:1265:8: warning: this statement m

Re: [PATCH net-next] tipc: mark expected switch fall-throughs

2019-01-23 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 23 Jan 2019 01:09:31 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warnings: > > net/tipc/link.c:1125:6: warning: this statement may fall through >

Re: [PATCH net-next] broadcom: Mark expected switch fall-throughs

2019-01-23 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 23 Jan 2019 01:41:19 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:6336:6: warning: t

[PATCH 4/4] Pinctrl: Ingenic: Fix const declaration.

2019-01-23 Thread Zhou Yanjie
From: Zhou Yanjie Warning is reported when checkpatch indicates that "static const char * array" should be changed to "static const char * const". Signed-off-by: Zhou Yanjie --- drivers/pinctrl/pinctrl-ingenic.c | 136 +- 1 file changed, 76 insertions(+), 60

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-23 Thread Scott Branden
Hi Mark, Hopefully I can shed some light on the use case inline. On 2019-01-23 8:48 a.m., Mark Rutland wrote: On Mon, Jan 21, 2019 at 11:30:02AM +0530, Pramod Kumar wrote: On Mon, Jan 21, 2019 at 11:28 AM Pramod Kumar wrote: Need comes from a specific use case where one Accelerator card

Re: [PATCH 2/4] mm/memory-hotplug: allow memory resources to be children

2019-01-23 Thread Michal Hocko
[Sorry for a late reply] On Wed 16-01-19 10:19:02, Dave Hansen wrote: > > From: Dave Hansen > > The mm/resource.c code is used to manage the physical address > space. We can view the current resource configuration in > /proc/iomem. An example of this is at the bottom of this > description. >

[PATCH 1/4] Pinctrl: Ingenic: Fix bugs caused by differences between JZ4770 and JZ4780.

2019-01-23 Thread Zhou Yanjie
From: Zhou Yanjie Delete uart4 and i2c3/4 from JZ4770: According to the datasheet, only JZ4780 have uart4 and i2c3/4. So we remove it from the JZ4770 code and add a section corresponding the JZ4780. Fix bugs in i2c0/1: The pin number was wrong in the original code. Fix bugs in uart2: JZ4770 and

Re: [PATCH v3 00/15] Bring suspend to RAM support to PCIe Aardvark driver

2019-01-23 Thread Lorenzo Pieralisi
On Tue, Jan 08, 2019 at 05:24:25PM +0100, Miquel Raynal wrote: > Hello, > > As part of an effort to bring suspend to RAM support to Armada 3700 > SoCs (main target: ESPRESSObin), this series handles the work around > the PCIe IP. > > First, more configuration is done in the 'setup' helper as insp

Re: [PATCHv1] firmware: intel_stratix10_service: add hardware dependency

2019-01-23 Thread Dinh Nguyen
On 1/23/19 11:01 AM, Alan Tull wrote: > On Wed, Jan 23, 2019 at 10:42 AM Dinh Nguyen wrote: >> >> >> >> On 1/23/19 10:37 AM, Alan Tull wrote: >>> On Wed, Jan 23, 2019 at 10:00 AM Greg KH wrote: >>> >>> Hi Greg, >>> On Wed, Jan 23, 2019 at 09:47:56AM -0600, richard.g...@linux.intel.co

[PATCH 3/4] Pinctrl: Ingenic: Unify the function name prefix to "ingenic_gpio_".

2019-01-23 Thread Zhou Yanjie
From: Zhou Yanjie In the original code, some function names begin with "ingenic_gpio_", and some with "gpio_ingenic_". For the sake of uniform style, all of them are changed to the beginning of "ingenic_gpio_". Signed-off-by: Zhou Yanjie --- drivers/pinctrl/pinctrl-ingenic.c | 46 +

<    1   2   3   4   5   6   7   8   9   10   >