[PATCH v5 1/3] input: pwm-beeper: add feature to set volume via sysfs

2017-02-17 Thread Frieder Schrempf
Make the driver accept switching volume levels via sysfs. This can be helpful if the beep/bell sound intensity needs to be adapted to the environment of the device. The volume adjustment is done by changing the duty cycle of the pwm signal. This patch adds the sysfs interface with 5 default volum

[PATCH v2 18/22] tools: PCI: Add a userspace tool to test PCI endpoint

2017-02-17 Thread Kishon Vijay Abraham I
Add a userspace tool to invoke the ioctls exposed by the PCI endpoint test driver to perform various PCI tests. Signed-off-by: Kishon Vijay Abraham I --- tools/pci/pcitest.c | 186 +++ 1 file changed, 186 insertions(+) create mode 100644 tools/pc

[PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-02-17 Thread Kishon Vijay Abraham I
Add endpoint mode support to designware driver. This uses the EP Core layer introduced recently to add endpoint mode support. *Any* function driver can now use this designware device in order to achieve the EP functionality. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Kconfig

[PATCH v2 19/22] tools: PCI: Add sample test script to invoke pcitest

2017-02-17 Thread Kishon Vijay Abraham I
Add a simple test script that invokes the pcitest userspace tool to perform all the PCI endpoint tests (BAR tests, interrupt tests, read tests, write tests and copy tests). Signed-off-by: Kishon Vijay Abraham I --- tools/pci/pcitest.sh | 56 ++ 1

[PATCH v5 0/3] input: pwm-beeper: add feature to set volume level

2017-02-17 Thread Frieder Schrempf
Make the driver accept switching volume levels via sysfs. This can be helpful if the beep/bell sound intensity needs to be adapted to the environment of the device. The number of volume levels available and their values can be specified via device tree (similar to pwm-backlight). The volume adjus

Re: [PATCH 1/5] KVM: change API for requests to match bit operations

2017-02-17 Thread Cornelia Huck
On Fri, 17 Feb 2017 10:49:35 +0100 Andrew Jones wrote: > On Fri, Feb 17, 2017 at 10:30:14AM +0100, Cornelia Huck wrote: > > On Thu, 16 Feb 2017 17:04:45 +0100 > > Radim Krčmář wrote: > > > +static inline void kvm_request_set(unsigned req, struct kvm_vcpu *vcpu) > > > > Should we make req unsign

[PATCH v2 20/22] Documentation: PCI: Add userguide for PCI endpoint test function

2017-02-17 Thread Kishon Vijay Abraham I
Add documentation to help users use pci-epf-test function driver and pci_endpoint_test host driver for testing PCI. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/endpoint/pci-test-howto.txt | 167 + 1 file changed, 167 insertions(+) create mode 100644 Docu

[PATCH v2 22/22] ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP

2017-02-17 Thread Kishon Vijay Abraham I
The PCIe programming sequence in TRM suggests CLKSTCTRL of PCIe should be set to SW_WKUP. There are no issues when CLKSTCTRL is set to HW_AUTO in RC mode. However in EP mode, the host system is not able to access the MEMSPACE and setting the CLKSTCTRL to SW_WKUP fixes it. Acked-by: Tony Lindgren

[PATCH v2 21/22] MAINTAINERS: add PCI EP maintainer

2017-02-17 Thread Kishon Vijay Abraham I
Add maintainer for the newly introduced PCI EP framework. Signed-off-by: Kishon Vijay Abraham I --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8672f18..62b86af 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9407,6 +9407,15 @@ F:

[PATCH v2 06/22] PCI: endpoint: functions: Add an EP function to test PCI

2017-02-17 Thread Kishon Vijay Abraham I
Adds a new endpoint function driver (to program the virtual test device) making use of the EP-core library. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/Kconfig |2 + drivers/pci/endpoint/Makefile |2 +- drivers/pci/endpoint/functions/Kc

[PATCH v2 11/22] PCI: dwc: dra7xx: Add EP mode support

2017-02-17 Thread Kishon Vijay Abraham I
The PCIe controller integrated in dra7xx SoCs is capable of operating in endpoint mode. Add endpoint mode support to dra7xx driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Kconfig | 31 +- drivers/pci/dwc/Makefile |4 +- drivers/pci/dwc/pci-dra7xx.c

[PATCH v2 15/22] PCI: Add device IDs for DRA74x and DRA72x

2017-02-17 Thread Kishon Vijay Abraham I
Add device IDs for DRA74x and DRA72x devices. These devices have configurable PCI endpoint. Signed-off-by: Kishon Vijay Abraham I --- include/linux/pci_ids.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 73dda0e..e8bbc4b 100644 -

[PATCH v2 17/22] Documentation: misc-devices: Add Documentation for pci-endpoint-test driver

2017-02-17 Thread Kishon Vijay Abraham I
Add Documentation for pci-endpoint-test driver. Signed-off-by: Kishon Vijay Abraham I --- Documentation/misc-devices/pci-endpoint-test.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/misc-devices/pci-endpoint-test.txt diff --git a/Documentat

Re: [PATCH 5/5] KVM: add kvm_request_pending

2017-02-17 Thread Andrew Jones
On Thu, Feb 16, 2017 at 05:04:49PM +0100, Radim Krčmář wrote: ... > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h > index 2cc438685af8..563cf964dc5c 100644 > --- a/include/linux/kvm_host.h > +++ b/include/linux/kvm_host.h > @@ -1101,6 +1101,11 @@ static inline int kvm_ioeventfd(s

[PATCH v2 05/22] Documentation: PCI: Add specification for the *pci test* function device

2017-02-17 Thread Kishon Vijay Abraham I
Add specification for the *pci test* virtual function device. The endpoint function driver and the host pci driver should be created based on this specification. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX |2 + Documentation/PCI/endpoint/pci-te

Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-17 Thread Bryan O'Donoghue
On 17/02/17 08:23, Kweh, Hock Leong wrote: > And to have UEFI expand > it capsule support and take in signed binary would be a more secured way. > So, influencing UEFI community to have such support would be the right > move throughout the discussion. That is my summary. CSH stands for "Clanton Se

[PATCH v2 03/22] PCI: endpoint: Introduce configfs entry for configuring EP functions

2017-02-17 Thread Kishon Vijay Abraham I
Introduce a new configfs entry to configure the EP function (like configuring the standard configuration header entries) and to bind the EP function with EP controller. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/Kconfig | 14 +- drivers/pci/endpoint/Makefile |1

[PATCH v2 00/22] PCI: Support for configurable PCI endpoint

2017-02-17 Thread Kishon Vijay Abraham I
This patch series *) add PCI endpoint core layer *) modify designware/dra7xx driver to be configured in EP mode *) add a PCI endpoint *test* function driver and corresponding host driver Changes from v1: *) The preparation patches for adding EP support is removed and is sent separately *

[PATCH v2 10/22] PCI: dwc: dra7xx: Facilitate wrapper and msi interrupts to be enabled independently

2017-02-17 Thread Kishon Vijay Abraham I
No functional change. Split dra7xx_pcie_enable_interrupts into dra7xx_pcie_enable_wrapper_interrupts and dra7xx_pcie_enable_msi_interrupts so that wrapper interrupts and msi interrupts can be enabled independently. This is in preparation for adding EP mode support to dra7xx driver since EP mode doe

[PATCH v2 02/22] Documentation: PCI: Guide to use PCI Endpoint Core Layer

2017-02-17 Thread Kishon Vijay Abraham I
Add Documentation to help users use endpoint library to enable endpoint mode in the PCI controller and add new PCI endpoint functions. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/00-INDEX |2 + Documentation/PCI/endpoint/pci-endpoint.txt | 190 ++

Re: [PATCH 1/5] KVM: change API for requests to match bit operations

2017-02-17 Thread Andrew Jones
On Fri, Feb 17, 2017 at 10:30:14AM +0100, Cornelia Huck wrote: > On Thu, 16 Feb 2017 17:04:45 +0100 > Radim Krčmář wrote: > > +static inline void kvm_request_set(unsigned req, struct kvm_vcpu *vcpu) > > Should we make req unsigned long as well, so that it matches the bit > api even more? The bit

[PATCH v3 6/6] drivers: staging: fix coding style issue of aligning comments properly

2017-02-17 Thread Chetan Sethi
This is 06th patch to file ks_wlan.h in order to fix coding style issue of having block comments using a trailing */ on a separate line, warning as issued by checkpatch.pl Signed-off-by: Chetan Sethi --- v2: - split multiple changes across different patches v3: - mentioned patch revision in sub

Re: [PATCH v2] gpio: dwapb: Add support for next generation of X-Gene SoC

2017-02-17 Thread Jamie Iles
On Thu, Feb 16, 2017 at 05:01:29PM -0800, Hoan Tran wrote: > Next generation of X-Gene SoC's GPIO hardware register map is very > similar to DW GPIO. It only differs by a few register addresses. > This patch modifies DW GPIO driver to accommodate the difference > in a few register addresses. > > S

[PATCH v3 5/6] drivers: staging: fix coding style issue of using __func__ instead of __FUNCTION__

2017-02-17 Thread Chetan Sethi
This is 05th patch to file ks_wlan.h which fixes coding style issue of using __func__ instead of gcc specific __FUNCTION__, warning as issued by checkpatch.pl Signed-off-by: Chetan Sethi --- v2: - split multiple changes across different patches v3: - mentioned patch revision in subject driver

[driver core] bea5b158ff WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:6482 ata_port_detach

2017-02-17 Thread Fengguang Wu
Hi Rob, We see this WARNING in both mainline and linux-next kernels. commit bea5b158ff0da9c7246ff391f754f5f38e34577a Author: Rob Herring AuthorDate: Thu Aug 11 10:20:58 2016 -0500 Commit: Greg Kroah-Hartman CommitDate: Wed Aug 31 15:13:55 2016 +0200 driver core: add test of driver

[PATCH v3 4/6] drivers: staging: fix coding style issue of using pr_notice instead of printk

2017-02-17 Thread Chetan Sethi
This is 04th patch to ks_wlan.h fixing coding style issue of using pr_notice instead of printk, warning as issued by checkpatch.pl Signed-off-by: Chetan Sethi --- v2: - split multiple changes across different patches v3: - mentioned patch revision in subject drivers/staging/ks7010/ks_wlan.h |

[PATCH v3 3/6] staging: ks7010: fix coding style issue of using tabs instead of spaces

2017-02-17 Thread Chetan Sethi
This is 03rd patch to file ks_wlan.h fixing coding style issue of using tabs instead of spaces at start of line, error as issued by checkpatch.pl Signed-off-by: Chetan Sethi --- v2: - split multiple changes across different patches v3: - mentioned patch revision in subject drivers/staging/ks7

[PATCH v3 2/6] staging: ks7010: fix coding style issue of enclosing complex macro value in parentheses

2017-02-17 Thread Chetan Sethi
This is 02nd patch to file ks_wlan.h file fixing error of enclosing complex macro value in parentheses Signed-off-by: Chetan Sethi --- v2: - split multiple changes across different patches v3: - mentioned patch revision in subject - incorporated review comment of correct indentation for do sta

[PATCH v3 1/6] staging: ks7010: fixed warning of avoiding line over 80 characters

2017-02-17 Thread Chetan Sethi
This is patch 01 to ks_wlan.h file in order to fix warning of line over 80 characters, as issued by checkpatch.pl Signed-off-by: Chetan Sethi --- v2: - split multiple changes across different patches v3: - mentioned patch revision in subject drivers/staging/ks7010/ks_wlan.h | 11 ++-

Re: [Patch 0/2] media: ti-vpe: allow user specified stride

2017-02-17 Thread Tomi Valkeinen
On 13/02/17 15:06, Benoit Parrot wrote: > This patch series enables user specified buffer stride to be used > instead of always forcing the stride from the driver side. > > Benoit Parrot (2): > media: ti-vpe: vpdma: add support for user specified stride > media: ti-vpe: vpe: allow use of user

Ihre Kooperation erwünscht,

2017-02-17 Thread Mr. Steve Morgan
Hallo Ich bin Herr Wuilan Lan, Bitte ich brauche Ihre Kooperation auf dieser Grund schreiben ich mit meinen private email Adresse um meine Interesse sowie vorhaben mit Ihnen zur Teilen. Sie sollen wissen das Sie die gleichen Nachnamen mit unsere verstobenen Kunden haben.Der Bank Mitarbeitern ha

Re: [PATCH v4 1/2] x86/paravirt: Change vcp_is_preempted() arg type to long

2017-02-17 Thread Peter Zijlstra
On Thu, Feb 16, 2017 at 04:02:57PM -0500, Waiman Long wrote: > On 02/16/2017 11:09 AM, Peter Zijlstra wrote: > > On Wed, Feb 15, 2017 at 04:37:49PM -0500, Waiman Long wrote: > >> The cpu argument in the function prototype of vcpu_is_preempted() > >> is changed from int to long. That makes it easier

Re: [PATCH] KVM: race-free exit from KVM_RUN without POSIX signals

2017-02-17 Thread Paolo Bonzini
On 16/02/2017 20:26, David Hildenbrand wrote: > As mentioned already on IRC, maybe something like "block_vcpu_run" would > fit better now. Hmm, the purpose of the flag is cause an immediate exit and it does do so... Surely incorrect (or just uncommon) usage will prevent a VCPU from running, but

[PATCH] pata: remove the at91 driver

2017-02-17 Thread Boris Brezillon
This driver is orphan since commit 2e591e7b3ac2 ("ARM: at91: remove at91sam9261/at91sam9g10 legacy board support"). Given that nobody cared adding DT support to it, it probably means it's no longer used and is thus a good candidate for removal. Signed-off-by: Boris Brezillon --- Note that I'm rem

counting file descriptors with a cgroup controller

2017-02-17 Thread Łukasz Stelmach
Hi, We need to limit and monitor the number of file descriptors processes keep open. If a process exceeds certain limit we'd like to terminate it and restart it or reboot the whole system. Currently the RLIMIT API allows limiting the number of file descriptors but to achieve our goals we'd need to

Re: [PATCH] KVM: x86: remove code for lazy FPU handling

2017-02-17 Thread Paolo Bonzini
On 17/02/2017 01:45, Bandan Das wrote: > Paolo Bonzini writes: > >> The FPU is always active now when running KVM. > > The lazy code was a performance optimization, correct ? > Is this just dormant code and being removed ? Maybe > mentioning the reasoning in a little more detail is a good > id

Re: [PATCH V3 0/4] Define coherent device memory node

2017-02-17 Thread Mel Gorman
On Fri, Feb 17, 2017 at 09:14:44AM +1100, Balbir Singh wrote: > > > On 16/02/17 05:20, Mel Gorman wrote: > > On Wed, Feb 15, 2017 at 05:37:22PM +0530, Anshuman Khandual wrote: > >>This four patches define CDM node with HugeTLB & Buddy allocation > >> isolation. Please refer to the last RFC po

Re: [PATCH] powerpc/xmon: Fix an unexpected xmon onoff state change

2017-02-17 Thread Pan Xinhui
在 2017/2/17 14:05, Michael Ellerman 写道: Pan Xinhui writes: diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 9c0e17c..f6e5c3d 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c @@ -76,6 +76,7 @@ static int xmon_gate; #endif /* CONFIG_SMP */ static u

Re: [PATCH 1/5] KVM: change API for requests to match bit operations

2017-02-17 Thread Cornelia Huck
On Thu, 16 Feb 2017 17:04:45 +0100 Radim Krčmář wrote: > kvm_make_request was a wrapper that added barriers to bit_set and > kvm_check_request did the same for bit_test and bit_check, but the name > was not very obvious and we were also lacking operations that cover > bit_test and bit_clear, whic

Re: [PATCH V3 3/7] mm: reclaim MADV_FREE pages

2017-02-17 Thread Minchan Kim
On Fri, Feb 17, 2017 at 02:41:08PM +0900, Minchan Kim wrote: > Hi Johannes, > > On Thu, Feb 16, 2017 at 01:40:18PM -0500, Johannes Weiner wrote: > > On Tue, Feb 14, 2017 at 11:36:09AM -0800, Shaohua Li wrote: > > > @@ -1419,11 +1419,18 @@ static int try_to_unmap_one(struct page *page, > > > struc

Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-17 Thread Jan Kiszka
On 2017-02-17 09:23, Kweh, Hock Leong wrote: >> -Original Message- >> From: Bryan O'Donoghue [mailto:pure.lo...@nexus-software.ie] >> Sent: Friday, February 17, 2017 8:54 AM >> To: Kweh, Hock Leong ; Jan Kiszka >> ; Andy Shevchenko >> Cc: Matt Fleming ; Ard Biesheuvel >> ; linux-...@vger.k

[PATCH] target/user: Add daynmic growing data area feature support

2017-02-17 Thread lixiubo
From: Xiubo Li Currently for the TCMU, the ring buffer size is fixed to 64K cmd area + 1M data area, and this will be bottlenecks for high iops. The struct tcmu_cmd_entry {} size is fixed about 44 bytes without iovec[N], and the size of struct iovec[N] is about (16 * N) bytes. The sizeof(cmd en

[PATCH v3] watchdog: add driver for StreamLabs USB watchdog device

2017-02-17 Thread Alexey Klimov
This patch creates new driver that supports StreamLabs usb watchdog device. This device plugs into 9-pin usb header and connects to reset pin and reset button on common PC. USB commands used to communicate with device were reverse engineered using usbmon. Signed-off-by: Alexey Klimov --- Change

[PATCH] platform/x86: intel_pmc_ipc: Use XTAL freq based on cpuid

2017-02-17 Thread Rajneesh Bhardwaj
This patch uses crystal frequency based on the cpu model. On Apollo Lake SoC we have 19.2 MHz clock frequency for counting S0ix residency but this clock frequency might change on future platforms depending on the crystal oscillator. Signed-off-by: Shanth Murthy Signed-off-by: Rajneesh Bhardwaj

Re: [PATCH 1/1] gpio: altera: Use handle_level_irq when configured as a level_high

2017-02-17 Thread Andy Shevchenko
On Fri, Feb 17, 2017 at 11:12 AM, Phil Reid wrote: > When a threaded irq handler is chained attached to one of the gpio > pins when configure for level irq the altera_gpio_irq_leveL_high_handler > does not mask the interrupt while being handled by the chained irq. > This resulting in the threaded

Re: [PATCH] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-02-17 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello Dmitry, On Fri, 2017-02-17 at 00:48 -0800, Dmitry Torokhov wrote: > It looks like the patch is trying to provide a way to disable the > touchpad when transitioning in tablet mode. The keyboard/touchpad get disabled, by hardware, when flipped

[PATCH] Staging: BCM2835-Audio: bcm2835-pcm: single line block statement braces fix

2017-02-17 Thread Daniel Perez de Andres
A single line statement under an if clause doesn't require braces {} Signed-off-by: Daniel Perez de Andres --- drivers/staging/bcm2835-audio/bcm2835-pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835-pcm.c b/drivers/staging/bcm283

Re: [PATCH 08/21] ARM: dts: sun8i-h3: add dwmac-sun8i rgmii pins

2017-02-17 Thread Corentin Labbe
On Thu, Feb 16, 2017 at 08:06:32PM +0100, Maxime Ripard wrote: > On Thu, Feb 16, 2017 at 01:48:46PM +0100, Corentin Labbe wrote: > > This patch add pinctrl node for dwmac-sun8i on H3. > > > > Signed-off-by: Corentin Labbe > > --- > > arch/arm/boot/dts/sun8i-h3.dtsi | 11 +++ > > 1 file c

[PATCH 1/1] gpio: altera: Use handle_level_irq when configured as a level_high

2017-02-17 Thread Phil Reid
When a threaded irq handler is chained attached to one of the gpio pins when configure for level irq the altera_gpio_irq_leveL_high_handler does not mask the interrupt while being handled by the chained irq. This resulting in the threaded irq not getting enough cycles to complete quickly enough bef

Re: [PATCH v3] xen,input: try to read screen resolution for xen-kbdfront

2017-02-17 Thread Juergen Gross
On 30/01/17 16:10, Juergen Gross wrote: > Instead of using the default resolution of 800*600 for the pointing > device of xen-kbdfront try to read the resolution of the (virtual) > framebuffer device. Use the default as fallback only. > > Signed-off-by: Juergen Gross Dmitry, any comment from you

Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic

2017-02-17 Thread Borislav Petkov
On Fri, Feb 17, 2017 at 09:53:21AM +0800, Xunlei Pang wrote: > It changes the value of cpu_online_mask/etc which will cause confusion to > vmcore analysis. Then export the crashing_cpu variable, initialize it to something invalid in the first kernel, -1 for example, and test it in the #MC handlie

Re: [PATCH] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-02-17 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello Darren, On Thu, 2017-02-16 at 19:33 -0800, Darren Hart wrote: > On Tue, Feb 14, 2017 at 07:46:12PM +0530, Ritesh Raj Sarraf wrote: > > > > > That said, we need to make these systems usable, and as there appears not to > be > an accepted stan

Re: [PATCH v5 00/15] livepatch: hybrid consistency model

2017-02-17 Thread Miroslav Benes
On Mon, 13 Feb 2017, Josh Poimboeuf wrote: > Here's v5 of the consistency model, targeted for 4.12. Only a few minor > changes this time. > > v5: > - return -EINVAL in __save_stack_trace_reliable() > - only call show_stack() once > - add save_stack_trace_tsk_reliable() define for !CONFIG_STACKTR

Re: [PATCH 20/21] ARM: sunxi: Enable dwmac-sun8i driver on sunxi_defconfig

2017-02-17 Thread Corentin Labbe
On Thu, Feb 16, 2017 at 08:08:27PM +0100, Maxime Ripard wrote: > Hi, > > On Thu, Feb 16, 2017 at 01:48:58PM +0100, Corentin Labbe wrote: > > From: LABBE Corentin > > > > Enable the dwmac-sun8i driver in the sunxi default configuration > > > > Signed-off-by: Corentin Labbe > > --- > > arch/arm

Re: [PATCH 1/4] Documentation: w1_therm: clearly state about binary value for precision

2017-02-17 Thread Mariusz Bialonczyk
On Thu, 16 Feb 2017 10:05:36 +0100 Mariusz Bialonczyk wrote: > Signed-off-by: Mariusz Bialonczyk > --- > Documentation/w1/slaves/w1_therm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/w1/slaves/w1_therm > b/Documentation/w1/slaves/w1_therm > index d1f93af..e10cd91 100

Re: [PATCH v5 13/15] livepatch: change to a per-task consistency model

2017-02-17 Thread Miroslav Benes
On Thu, 16 Feb 2017, Josh Poimboeuf wrote: > On Thu, Feb 16, 2017 at 03:33:26PM +0100, Miroslav Benes wrote: > > > > > @@ -347,22 +356,36 @@ static int __klp_enable_patch(struct klp_patch > > > *patch) > > > > > > pr_notice("enabling patch '%s'\n", patch->mod->name); > > > > > > + klp_init

Re: [PATCH 20/35] drivers/isdn: Convert remaining uses of pr_warning to pr_warn

2017-02-17 Thread Paul Bolle
On Thu, 2017-02-16 at 23:11 -0800, Joe Perches wrote: > To enable eventual removal of pr_warning > > This makes pr_warn use consistent for drivers/isdn > > Prior to this patch, there were 20 uses of pr_warning and > 3 uses of pr_warn in drivers/isdn > > Signed-off-by: Joe Perches > --- > drive

Re: [PATCH] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-02-17 Thread Dmitry Torokhov
On Fri, Feb 17, 2017 at 09:39:20AM +0200, Andy Shevchenko wrote: > On Fri, Feb 17, 2017 at 5:33 AM, Darren Hart wrote: > > On Tue, Feb 14, 2017 at 07:46:12PM +0530, Ritesh Raj Sarraf wrote: > >> Lenovo Yoga (many variants: Yoga, Yoga2 Pro, Yoga2 13, Yoga3 Pro, Yoga 3 > >> 14 etc) has multiple modl

Re: [PATCH 4/5] KVM: add __kvm_request_needs_mb

2017-02-17 Thread Christian Borntraeger
On 02/16/2017 08:49 PM, David Hildenbrand wrote: > Am 16.02.2017 um 17:04 schrieb Radim Krčmář: >> A macro to optimize requests that do not need a memory barrier because >> they have no dependencies. An architecture can implement a function >> that says which requests do not need memory barriers w

Re: [PATCH] groups: don't return unmapped gids in getgroups(2)

2017-02-17 Thread Aleksa Sarai
One thing overlooked by commit 9cc46516ddf4 ("userns: Add a knob to disable setgroups on a per user namespace basis") is that because setgroups(2) no longer works in user namespaces it doesn't make any sense to be returning weird group IDs that the process cannot do anything with. This code work

Re: [PATCH] KVM: VMX: use vmcs_set/clear_bits for CPU-based execution controls

2017-02-17 Thread Paolo Bonzini
- Original Message - > From: "Bandan Das" > To: "Paolo Bonzini" > Cc: linux-kernel@vger.kernel.org, k...@vger.kernel.org > Sent: Friday, February 17, 2017 1:04:14 AM > Subject: Re: [PATCH] KVM: VMX: use vmcs_set/clear_bits for CPU-based > execution controls > > Paolo Bonzini writes:

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-17 Thread Maxime Ripard
On Thu, Feb 16, 2017 at 07:17:54AM +0100, Rask Ingemann Lambertsen wrote: > > > Supported features (+ means tested): > > > + One Cortex-A7 CPU core (or four with experimental U-Boot PSCI patches) > > > + AXP808 power management chip > > > + OZ80120 voltage regulator > > > + Serial console port (int

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-17 Thread Maxime Ripard
On Wed, Feb 15, 2017 at 12:35:39AM +0100, Rask Ingemann Lambertsen wrote: > On Fri, Feb 10, 2017 at 05:22:21PM +0800, Chen-Yu Tsai wrote: > > On Fri, Feb 10, 2017 at 4:59 PM, Maxime Ripard > > wrote: > > > Hi, > > > > > > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: >

Re: [PATCH 04/21] ARM: sun8i: dt: Add DT bindings documentation for Allwinner dwmac-sun8i

2017-02-17 Thread Maxime Ripard
Hi, On Thu, Feb 16, 2017 at 01:48:42PM +0100, Corentin Labbe wrote: > This patch adds documentation for Device-Tree bindings for the > Allwinner dwmac-sun8i driver. > > Signed-off-by: Corentin Labbe > --- > .../devicetree/bindings/net/dwmac-sun8i.txt| 86 > ++ > 1 f

Re: [PATCH 08/21] ARM: dts: sun8i-h3: add dwmac-sun8i rgmii pins

2017-02-17 Thread Maxime Ripard
On Thu, Feb 16, 2017 at 01:48:46PM +0100, Corentin Labbe wrote: > This patch add pinctrl node for dwmac-sun8i on H3. > > Signed-off-by: Corentin Labbe > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/

Re: [PATCH 0/8] ARM: sun8i: a33: Mali improvements

2017-02-17 Thread Maxime Ripard
Hi, On Thu, Feb 16, 2017 at 01:43:06PM +0100, Tobias Jakobi wrote: > I was wondering about the following. Wasn't there some strict > requirement about code going upstream, which also included that there > was a full open-source driver stack for it? > > I don't see how this is the case for Mali, n

Re: [PATCH 05/21] net-next: stmmac: Add dwmac-sun8i

2017-02-17 Thread Maxime Ripard
Hi, On Thu, Feb 16, 2017 at 01:48:43PM +0100, Corentin Labbe wrote: > The dwmac-sun8i is a heavy hacked version of stmmac hardware by > allwinner. > In fact the only common part is the descriptor management and the first > register function. > > Signed-off-by: Corentin Labbe > --- > drivers/net

Re: [PATCH] clk: sunxi: ccu-sun5i needs nkmp

2017-02-17 Thread Maxime Ripard
On Tue, Feb 14, 2017 at 10:29:45PM +0100, Arnd Bergmann wrote: > A randconfig build ran into this rare link error: > > drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.1+0x4): undefined > reference to `ccu_nkmp_ops' > drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.7+0x4): un

Re: [PATCH 20/21] ARM: sunxi: Enable dwmac-sun8i driver on sunxi_defconfig

2017-02-17 Thread Maxime Ripard
Hi, On Thu, Feb 16, 2017 at 01:48:58PM +0100, Corentin Labbe wrote: > From: LABBE Corentin > > Enable the dwmac-sun8i driver in the sunxi default configuration > > Signed-off-by: Corentin Labbe > --- > arch/arm/configs/sunxi_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/

Re: [PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn

2017-02-17 Thread Sam Ravnborg
On Thu, Feb 16, 2017 at 11:11:21PM -0800, Joe Perches wrote: > To enable eventual removal of pr_warning > > This makes pr_warn use consistent for arch/sparc > > Prior to this patch, there was 1 use of pr_warning and > 8 uses of pr_warn in arch/sparc > > Signed-off-by: Joe Perches > --- > arch/

Re: [PATCH] clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock

2017-02-17 Thread Maxime Ripard
Hi Bob, On Tue, Feb 14, 2017 at 10:20:55PM +, Bob Ham wrote: > On Tue, 2017-02-14 at 10:23 +0800, Chen-Yu Tsai wrote: > > The enable bit offset for the hdmi-ddc module clock is wrong. It is > > pointing to the main hdmi module clock enable bit. > > > > Reported-by: Bob Ham > > Fixes: c6e6c96

Re: [PATCH] clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock

2017-02-17 Thread Maxime Ripard
On Tue, Feb 14, 2017 at 10:23:32AM +0800, Chen-Yu Tsai wrote: > The enable bit offset for the hdmi-ddc module clock is wrong. It is > pointing to the main hdmi module clock enable bit. > > Reported-by: Bob Ham > Fixes: c6e6c96d8fa6 ("clk: sunxi-ng: Add A31/A31s clocks") > Cc: sta...@vger.kernel.o

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-17 Thread Djalal Harouni
On Fri, Feb 17, 2017 at 2:57 AM, Eric W. Biederman wrote: > James Bottomley writes: > >> On Thu, 2017-02-16 at 11:42 -0500, Vivek Goyal wrote: >>> On Thu, Feb 16, 2017 at 07:51:58AM -0800, James Bottomley wrote: >>> >>> [..] >>> > > Two levels of checks will simplify this a bit. Top level inode >

Re: [PATCH v4 18/36] media: Add i.MX media core driver

2017-02-17 Thread Philipp Zabel
On Thu, 2017-02-16 at 17:33 -0800, Steve Longerbeam wrote: > > On 02/16/2017 05:02 AM, Philipp Zabel wrote: > > On Wed, 2017-02-15 at 18:19 -0800, Steve Longerbeam wrote: > > >> + > >> +- Clean up and move the ov5642 subdev driver to drivers/media/i2c, and > >> + create the binding docs for it.

[RFC 0/2] fs,eventpoll: Add EPOLL_CTL_DUP into epoll_ctl syscall

2017-02-17 Thread Cyrill Gorcunov
In the series new EPOLL_CTL_DUP operation introduced, we need it to be able to restore target file descriptors in case if they were dup'ed (or received via unix message) before registering and closed after, so the fdinfo info shows file number which application no longer having. Please take a look

[RFC 1/2] fs,eventpoll: Add ability to install target file by its number

2017-02-17 Thread Cyrill Gorcunov
When we checkpoint a process we look into /proc//fdinfo/ of eventpoll file and parse target files list from there. In most situations this is fine because target file is present in the /proc//fd/ list. But in case if file descriptor was dup'ed or transferred via unix socket and closed after, it mig

Re: [PATCH 12/17] md: raid1: avoid direct access to bvec table in process_checks()

2017-02-17 Thread kbuild test robot
Hi Ming, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc8] [cannot apply to next-20170216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ming-Lei/md-cleanup-on-di

Re: [PATCH 2/3] KVM: use separate generations for each address space

2017-02-17 Thread Paolo Bonzini
> > + /* > > +* Generations must be different for each address space. > > +* Init kvm generation close to the maximum to easily test the > > +* code of handling generation number wrap-around. > > +*/ > > + slots->generation = i * 2

[PATCH][RFC v4] ACPI throttling: Disable the MSR T-state if enabled after resumed

2017-02-17 Thread Chen Yu
Previously a bug was reported that on certain Broadwell platform, after resumed from S3, the CPU is running at an anomalously low speed, due to the BIOS has enabled the MSR throttling across S3. The solution to this was to introduce a quirk framework to save/restore tstate MSR register around suspe

Re: [PATCHv3 2/2] arch: Rename CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX

2017-02-17 Thread Helge Deller
On 17.02.2017 02:08, Kees Cook wrote: > On Thu, Feb 16, 2017 at 2:25 PM, Pavel Machek wrote: >> Hi! >> >>> >>> -config DEBUG_RODATA >>> +config STRICT_KERNEL_RWX >>> bool "Make kernel text and rodata read-only" if >>> ARCH_OPTIONAL_KERNEL_RWX >>> depends on ARCH_HAS_STRICT_KERNEL_RWX

Re: [PATCH v2] i2c: at91: ensure state is restored after suspending

2017-02-17 Thread Ludovic Desroches
On Thu, Feb 16, 2017 at 06:27:59PM +0100, Alexandre Belloni wrote: > When going to suspend, the I2C registers may be lost because the power to > VDDcore is cut. Restore them when resuming. > > Signed-off-by: Alexandre Belloni Acked-by: Ludovic Desroches > --- > Changes in v2: > - don't cache

RE: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-17 Thread Kweh, Hock Leong
> -Original Message- > From: Bryan O'Donoghue [mailto:pure.lo...@nexus-software.ie] > Sent: Friday, February 17, 2017 8:54 AM > To: Kweh, Hock Leong ; Jan Kiszka > ; Andy Shevchenko > Cc: Matt Fleming ; Ard Biesheuvel > ; linux-...@vger.kernel.org; Linux Kernel Mailing > List ; Borislav Pe

Geode LX AES driver warning, kernel 4.9.10

2017-02-17 Thread Boszormenyi Zoltan
Hi, this did not occur in the 4.8.x series but I get this with 4.9.9 and 4.9.10: [ 13.785289] [ cut here ] [ 13.785314] WARNING: CPU: 0 PID: 1 at drivers/base/dd.c:344 driver_probe_device+0x3f7/0x430 [ 13.785319] Modules linked in: [ 13.785339] CPU: 0 PID: 1 Comm

Re: [PATCH] of: add EXPORT_SYMBOL for of_device_compatible_match

2017-02-17 Thread Corentin Labbe
On Wed, Feb 15, 2017 at 07:34:57AM -0800, Frank Rowand wrote: > On 02/15/17 06:22, Corentin Labbe wrote: > > This symbol will be needed for the dwmac-sun8i ethernet driver. > > For letting it to be build as module, of_device_compatible_match need to > > be exported. > > > > Signed-off-by: Corentin

[PATCHSET 0/6] perf tools: Add -q/--quiet option to suppress messages (v1)

2017-02-17 Thread Namhyung Kim
Hello, The -q/--quiet option is to suppress headers or messages (in stdio) so that it can be copied to other place if users just want to see the numbers. This was suggested by Arnaldo. Note that this patchset only implements it in a couple of commands. If it seems ok, it can be applied to others

[PATCH 2/6] perf utils: Check verbose flag properly

2017-02-17 Thread Namhyung Kim
It now can have negative value to suppress the message entirely. So it needs to check it being positive. Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c| 2 +- tools/perf/util/hist.c | 6 +++--- tools/perf/util/pmu.c| 8 tools/perf/util/sort.c | 8

[PATCH 4/6] perf diff: Add -q/--quiet option

2017-02-17 Thread Namhyung Kim
The -q/--quiet option is to suppress any message. Sometimes users just want to see the numbers and it can be used for that case. Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-diff.txt | 4 tools/perf/builtin-diff.c | 14 ++ 2 files changed, 14 inse

[PATCH 3/6] perf report: Add -q/--quiet option

2017-02-17 Thread Namhyung Kim
The -q/--quiet option is to suppress any message. Sometimes users just want to see the numbers and it can be used for that case. Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 4 tools/perf/builtin-report.c | 21 - 2 files chang

Re: [linux-sunxi] [PATCH 03/21] net-next: stmmac: add optional setup function

2017-02-17 Thread Corentin Labbe
On Thu, Feb 16, 2017 at 09:38:33PM +0100, Peter Korsgaard wrote: > > "Corentin" == Corentin Labbe writes: > > > Instead of ading more ifthen login for adding a new mac_device_info > > s/login/logic/ > > -- > Bye, Peter Korsgaard Thanks, will fix it. Regards Corentin Labbe

[PATCH 5/6] perf annotate: Add -q/--quiet option

2017-02-17 Thread Namhyung Kim
The -q/--quiet option is to suppress any message. Sometimes users just want to see the numbers and it can be used for that case. Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-annotate.txt | 4 tools/perf/builtin-annotate.c | 4 tools/perf/util/annotate.c

[PATCH 6/6] perf record: Honor quiet option properly

2017-02-17 Thread Namhyung Kim
It should call perf_quiet_option() to suppress messages. Signed-off-by: Namhyung Kim --- tools/perf/builtin-record.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 6cd6776052e7..47ca5ff02c35 100644 --- a/tools/perf/builtin-r

[PATCH 1/6] perf utils: Add perf_quiet_option()

2017-02-17 Thread Namhyung Kim
The perf_quiet_option() is to suppress all messages. It's intended to be called just after parsing options. Signed-off-by: Namhyung Kim --- tools/perf/util/debug.c | 17 + tools/perf/util/debug.h | 1 + 2 files changed, 18 insertions(+) diff --git a/tools/perf/util/debug.c b/t

Re: [PATCH 09/35] x86: Convert remaining uses of pr_warning to pr_warn

2017-02-17 Thread Juergen Gross
On 17/02/17 08:11, Joe Perches wrote: > To enable eventual removal of pr_warning > > This makes pr_warn use consistent for arch/x86 > > Prior to this patch, there were 46 uses of pr_warning and > 122 uses of pr_warn in arch/x86 > > Miscellanea: > > o Coalesce a few formats and realign arguments

Re: [PATCH] usb: dwc3: ep0: Fix the possible missed request for handling delay STATUS phase

2017-02-17 Thread Felipe Balbi
Hi, Baolin Wang writes: >>> (One possible approach would be to have the setup routine return >>> different values for explicit and implicit status stages -- for >>> example, return 1 if it wants to submit an explicit status request. >>> That wouldn't be very different from the current >>> USB_GA

[no subject]

2017-02-17 Thread MACDONALD, MISHUNA
Good morning sir/madam, we are presently offering business and personal loans at low rates at Al Futtaim GE Finance for 2 percent per year and you are qualified to received the loan. if interested, send request now to: aeonthan...@gmail.com

[PATCH v3 2/7] ALSA: hda - use dell_micmute_led_set() instead of dell_app_wmi_led_set()

2017-02-17 Thread Michał Kępień
The dell_app_wmi_led_set() method introduced in commit db6d8cc00773 ("dell-led: add mic mute led interface") was implemented as an easily extensible entry point for other modules to set the state of various LEDs. However, almost three years later it is still only used to control the mic mute LED,

[PATCH v3 0/7] Move dell-led to drivers/platform/x86

2017-02-17 Thread Michał Kępień
This patch series moves the dell-led driver from the LED subsystem to the x86 platform driver subsystem. The original motivation behind this effort was to move all code using the dell-smbios module to the x86 platform driver subsystem. While I was investigating the possibilities to do that, it qu

[PATCH v3 4/7] platform/x86: dell-laptop: import dell_micmute_led_set() from drivers/leds/dell-led.c

2017-02-17 Thread Michał Kępień
To ensure all users of dell-smbios are in drivers/platform/x86, move the dell_micmute_led_set() method from drivers/leds/dell-led.c to drivers/platform/x86/dell-laptop.c. Signed-off-by: Michał Kępień Tested-by: Alex Hung Reviewed-by: Pali Rohár Acked-by: Andy Shevchenko Acked-by: Takashi Iwai

[PATCH v3 3/7] ALSA: hda - rename dell_led_set_func to dell_micmute_led_set_func

2017-02-17 Thread Michał Kępień
With dell_app_wmi_led_set() replaced by dell_micmute_led_set(), rename the function pointer to the latter for consistency. Signed-off-by: Michał Kępień Tested-by: Alex Hung Reviewed-by: Pali Rohár Acked-by: Takashi Iwai --- sound/pci/hda/dell_wmi_helper.c | 20 ++-- 1 file cha

<    2   3   4   5   6   7