[PATCH 3.12 24/84] KVM: MMU: fix validation of mmio page fault

2015-10-02 Thread Jiri Slaby
From: Xiao Guangrong 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6f691251c0350ac52a007c54bf3ef62e9d8cdc5e upstream. We got the bug that qemu complained with "KVM: unknown exit, hardware reason 31" and KVM shown these info: [84245.284948]

[PATCH 3.12 08/84] regmap: regcache-rbtree: Clean new present bits on present bitmap resize

2015-10-02 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8ef9724bf9718af81cfc5132253372f79c71b7e2 upstream. When inserting a new register into a block, the present bit map size is increased using krealloc. krealloc does not clear t

[PATCH 3.12 22/84] crypto: ghash-clmulni: specify context size for ghash async algorithm

2015-10-02 Thread Jiri Slaby
From: Andrey Ryabinin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 71c6da846be478a61556717ef1ee1cea91f5d6a8 upstream. Currently context size (cra_ctxsize) doesn't specified for ghash_async_alg. Which means it's zero. Thus crypto_create_tfm

[PATCH 3.12 23/84] HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error

2015-10-02 Thread Jiri Slaby
From: Don Zickus 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3af4e5a95184d6d3c1c6a065f163faa174a96a1d upstream. It was reported that after 10-20 reboots, a usb keyboard plugged into a docking station would not work unless it was replugged

[PATCH 3.12 04/84] staging: comedi: usbduxsigma: don't clobber ao_timer in command test

2015-10-02 Thread Jiri Slaby
From: Ian Abbott 3.12-stable review patch. If anyone has any objections, please let me know. === commit c04a1f17803e0d3eeada586ca34a6b436959bc20 upstream `devpriv->ao_timer` is used while an asynchronous command is running on the AO subdevice. It also gets modified by the subdevi

[PATCH 3.12 21/84] serial: 8250: don't bind to SMSC IrCC IR port

2015-10-02 Thread Jiri Slaby
From: "Maciej S. Szmigiero" 3.12-stable review patch. If anyone has any objections, please let me know. === commit ffa34de03bcfbfa88d8352942bc238bb48e94e2d upstream. SMSC IrCC SIR/FIR port should not be bound to by (legacy) serial driver so its own driver (smsc-ircc2) can bind to

[PATCH 1/2] pinctrl: at91-pio4: Use irq_set_handler_locked()

2015-10-02 Thread Nicolas Ferre
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. This adaptation landed on the pinctrl-at91.c driver while this one was being developped: synchronize with this enhancement and avoid the following compilation error: ../drivers/pinctrl/pinctrl-at91-pio4.c: In funct

[PATCH 3.12 20/84] usb: host: ehci-sys: delete useless bus_to_hcd conversion

2015-10-02 Thread Jiri Slaby
From: Peter Chen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0521cfd06e1ebcd575e7ae36aab068b38df23850 upstream. The ehci platform device's drvdata is the pointer of struct usb_hcd already, so we doesn't need to call bus_to_hcd conversion

[PATCH 2/2] pinctrl: at91-pio4: Adapt to new irq flow handler prototype

2015-10-02 Thread Nicolas Ferre
Adapt atmel_gpio_irq_handler() function as the "irq" argument is now removed from the irq flow handlers prototype in commit bd0b9ac405e1794d72533c3d487aa65b6b955a0c (genirq: Remove irq argument from irq flow handlers). This allows to remove this warning: ../drivers/pinctrl/pinctrl-at91-pio4.c: In

[PATCH 3.12 19/84] usb: dwc3: ep0: Fix mem corruption on OUT transfers of more than 512 bytes

2015-10-02 Thread Jiri Slaby
From: Kishon Vijay Abraham I 3.12-stable review patch. If anyone has any objections, please let me know. === commit b2fb5b1a0f50d3ebc12342c8d8dead245e9c9d4e upstream. DWC3 uses bounce buffer to handle non max packet aligned OUT transfers and the size of bounce buffer is 512 bytes.

[PATCH 3.12 14/84] iio: adis16480: Fix scale factors

2015-10-02 Thread Jiri Slaby
From: Lars-Peter Clausen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7abad1063deb0f77d275c61f58863ec319c58c5c upstream. The different devices support by the adis16480 driver have slightly different scales for the gyroscope and acceleromet

[PATCH 3.12 15/84] clk: versatile: off by one in clk_sp810_timerclken_of_get()

2015-10-02 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3294bee87091be5f179474f6c39d1d87769635e2 upstream. The ">" should be ">=" or we end up reading beyond the end of the array. Fixes: 6e973d2c4385 ('clk: vexpress: Add separate

[PATCH 3.12 18/84] USB: ftdi_sio: Added custom PID for CustomWare products

2015-10-02 Thread Jiri Slaby
From: Matthijs Kooijman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1fb8dc36384ae1140ee6ccc470de74397606a9d5 upstream. CustomWare uses the FTDI VID with custom PIDs for their ShipModul MiniPlex products. Signed-off-by: Matthijs Kooijman

[PATCH 3.12 17/84] USB: symbolserial: Use usb_get_serial_port_data

2015-10-02 Thread Jiri Slaby
From: Philipp Hachtmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 951d3793bbfc0a441d791d820183aa3085c83ea9 upstream. The driver used usb_get_serial_data(port->serial) which compiled but resulted in a NULL pointer being returned (and sub

[PATCH 3.12 16/84] PCI: Fix TI816X class code quirk

2015-10-02 Thread Jiri Slaby
From: Bjorn Helgaas 3.12-stable review patch. If anyone has any objections, please let me know. === commit d1541dc977d376406f4584d8eb055488655c98ec upstream. In fixup_ti816x_class(), we assigned "class = PCI_CLASS_MULTIMEDIA_VIDEO". But PCI_CLASS_MULTIMEDIA_VIDEO is only the two-b

Re: [PATCH 2/2] iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs

2015-10-02 Thread kbuild test robot
Hi Paul, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/iio/dac/ad5592r.c:20:19: s

[PATCH 3.12 05/84] staging: comedi: adl_pci7x3x: fix digital output on PCI-7230

2015-10-02 Thread Jiri Slaby
From: Ian Abbott 3.12-stable review patch. If anyone has any objections, please let me know. === commit ad83dbd974feb2e2a8cc071a1d28782bd4d2c70e upstream The "adl_pci7x3x" driver replaced the "adl_pci7230" and "adl_pci7432" drivers in commits 8f567c373c4b ("staging: comedi: new ad

[PATCH 3.12 11/84] DRM - radeon: Don't link train DisplayPort on HPD until we get the dpcd

2015-10-02 Thread Jiri Slaby
From: Stephen Chandler Paul 3.12-stable review patch. If anyone has any objections, please let me know. === commit 924f92bf12bfbef3662619e3ed24a1cea7c1cbcd upstream. Most of the time this isn't an issue since hotplugging an adaptor will trigger a crtc mode change which in turn, ca

[PATCH 3.12 07/84] libfc: Fix fc_fcp_cleanup_each_cmd()

2015-10-02 Thread Jiri Slaby
From: Bart Van Assche 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8f2777f53e3d5ad8ef2a176a4463a5c8e1a16431 upstream. Since fc_fcp_cleanup_cmd() can sleep this function must not be called while holding a spinlock. This patch avoids that fc

[PATCH 3.12 09/84] crypto: caam - fix memory corruption in ahash_final_ctx

2015-10-02 Thread Jiri Slaby
From: Horia Geant? 3.12-stable review patch. If anyone has any objections, please let me know. === commit b310c178e6d897f82abb9da3af1cd7c02b09f592 upstream. When doing pointer operation for accessing the HW S/G table, a value representing number of entries (and not number of bytes

[PATCH 3.12 12/84] drm/qxl: validate monitors config modes

2015-10-02 Thread Jiri Slaby
From: Jonathon Jongsma 3.12-stable review patch. If anyone has any objections, please let me know. === commit bd3e1c7c6de9f5f70d97cdb6c817151c0477c5e3 upstream. Due to some recent changes in drm_helper_probe_single_connector_modes_merge_bits(), old custom modes were not being prun

[PATCH 3.12 10/84] arm64: KVM: Fix host crash when injecting a fault into a 32bit guest

2015-10-02 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 126c69a0bd0e441bf6766a5d9bf20de011be9f68 upstream. When injecting a fault into a misbehaving 32bit guest, it seems rather idiotic to also inject a 64bit fault that is only goi

Re: [PATCH 06/18] Input: zforce - simplify function return logic

2015-10-02 Thread Heiko Stübner
Am Freitag, 2. Oktober 2015, 15:40:17 schrieb Javier Martinez Canillas: > The invoked function already returns zero on success or a negative > errno code so there is no need to open code the logic in the caller. > > This also fixes the following make coccicheck warning: > > end returns can be sim

[PATCH 3.12 03/84] staging: comedi: usbduxsigma: don't clobber ai_timer in command test

2015-10-02 Thread Jiri Slaby
From: Ian Abbott 3.12-stable review patch. If anyone has any objections, please let me know. === commit 423b24c37dd5794a674c74b0ed56392003a69891 upstream `devpriv->ai_timer` is used while an asynchronous command is running on the AI subdevice. It also gets modified by the subdevi

[PATCH 3.12 01/84] PCI: Add dev_flags bit to access VPD through function 0

2015-10-02 Thread Jiri Slaby
From: Mark Rustad 3.12-stable review patch. If anyone has any objections, please let me know. === commit 932c435caba8a2ce473a91753bad0173269ef334 upstream. Add a dev_flags bit, PCI_DEV_FLAGS_VPD_REF_F0, to access VPD through function 0 to provide VPD access on other functions. Th

[PATCH 3.12 02/84] PCI: Add VPD function 0 quirk for Intel Ethernet devices

2015-10-02 Thread Jiri Slaby
From: Mark Rustad 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7aa6ca4d39edf01f997b9e02cf6d2fdeb224f351 upstream. Set the PCI_DEV_FLAGS_VPD_REF_F0 flag on all Intel Ethernet device functions other than function 0, so that on multi-function

Re: [PATCH 1/2] pinctrl: at91-pio4: Use irq_set_handler_locked()

2015-10-02 Thread Nicolas Ferre
Hi all, Well it seems my cover letter is missing. So, here it is: ---8< pinctrl: at91-pio4: fixes for current linux-next (irq) While testing the sama5d2 on today's linux-next I discovered that some adaptations were missing. So, I don't know if you were aware but here are my fixes in case you

[PATCH 3.12 13/84] iio: Add inverse unit conversion macros

2015-10-02 Thread Jiri Slaby
From: Lars-Peter Clausen 3.12-stable review patch. If anyone has any objections, please let me know. === commit c689a923c867eac40ed3826c1d9328edea8b6bc7 upstream. Add inverse unit conversion macro to convert from standard IIO units to units that might be used by some devices. Tho

Re: [RFC v2 00/18] kthread: Use kthread worker API more widely

2015-10-02 Thread Paul E. McKenney
On Fri, Oct 02, 2015 at 02:00:14PM +0200, Petr Mladek wrote: > On Thu 2015-10-01 10:00:53, Paul E. McKenney wrote: > > On Thu, Oct 01, 2015 at 05:59:43PM +0200, Petr Mladek wrote: > > > On Tue 2015-09-29 22:08:33, Paul E. McKenney wrote: > > > > On Mon, Sep 21, 2015 at 03:03:41PM +0200, Petr Mladek

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Oleg Nesterov
On 10/02, Michal Hocko wrote: > > So clone without CLONE_THREAD should create a new thread group leader > and so create a new thread group. Yes. > Unless there is some other trickery > which I do not see right now for_each_thread from the parent task > shouldn't see those which are cloned without

Re: [PATCH 2/2] arm64: dts: mt8173: add timer node

2015-10-02 Thread Yingjoe Chen
On Thu, 2015-10-01 at 16:32 +0100, Sudeep Holla wrote: > > On 01/10/15 15:33, Yingjoe Chen wrote: > > On Thu, 2015-09-17 at 17:13 +0100, Sudeep Holla wrote: > >> > > [...] > > >> > >> I think your are confusing the system counter with arch timers. System > >> counter is always-on, but the arch t

[PATCH 3.12 00/84] 3.12.49-stable review

2015-10-02 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.49 release. There are 84 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Oct 6 15:25:04 CEST 2015. Anything recei

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Oleg Nesterov
Tetsuo, sorry, I don't understand your question... On 10/02, Tetsuo Handa wrote: > > Oleg Nesterov wrote: > > On 10/01, Michal Hocko wrote: > > > > > > zap_process will add SIGKILL to all threads but the > > > current which will go on without being killed and if this is not a > > > thread group le

Re: CRIS v32: leftover references on ETRAX_VIRTUAL_GPIO

2015-10-02 Thread Jesper Nilsson
On Fri, Oct 02, 2015 at 08:57:22AM +0200, Valentin Rothberg wrote: > Hi Rabin, > > your commit ("CRIS v32: remove old GPIO and LEDs code") is in today's > linux-next tree (i.e., 20151002). Among other Kconfig options, the > commit removes ETRAX_VIRTUAL_GPIO but leav

Re: [PATCH v5 12/22] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-10-02 Thread David Vrabel
On 30/09/15 11:45, Julien Grall wrote: > For ARM64 guests, Linux is able to support either 64K or 4K page > granularity. Although, the hypercall interface is always based on 4K > page granularity. > > With 64K page granularity, a single page will be spread over multiple > Xen frame. > > To avoid

Re: [PATCH 2/5] writeback: fix bdi_writeback iteration in wakeup_dirtytime_writeback()

2015-10-02 Thread Jan Kara
On Tue 29-09-15 12:47:51, Tejun Heo wrote: > wakeup_dirtytime_writeback() walks and wakes up all wb's of all bdi's; > unfortunately, it was always waking up bdi->wb instead of the wb being > walked. Fix it. Looks good. You can add: Reviewed-by: Jan Kara

Re: [PATCH 1/5] writeback: laptop_mode_timer_fn() needs rcu_read_lock() around bdi_writeback iteration

2015-10-02 Thread Jan Kara
On Tue 29-09-15 12:47:50, Tejun Heo wrote: > laptop_mode_timer_fn() was using bdi_for_each_wb() without the > required RCU locking leading to the following warning. > > WARNING: CPU: 0 PID: 0 at include/linux/backing-dev.h:415 > laptop_mode_timer_fn+0x106/0x170() > ... > Call Trace: > [] d

Re: [PATCH] PM / AVS: rockchip-io: Fix module autoload for OF platform driver

2015-10-02 Thread Heiko Stübner
Am Freitag, 18. September 2015, 18:52:58 schrieb Luis de Bethencourt: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt looks obviously correct. Reviewed-by: Heiko Stuebne

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Tetsuo Handa
Michal Hocko wrote: > > --- a/fs/coredump.c > > +++ b/fs/coredump.c > > @@ -295,6 +295,8 @@ static int zap_process(struct task_struct *start, int > > exit_code, int flags) > > for_each_thread(start, t) { > > task_clear_jobctl_pending(t, JOBCTL_PENDING_MASK); > >

Re: [PATCH] ARM: debug: add support for alternate 8250 register layout

2015-10-02 Thread Måns Rullgård
Mans Rullgard writes: > Some SoCs have a UART with a non-standard register layout. This > allows the debug console to work with these. > > Signed-off-by: Mans Rullgard > --- > I would have preferred a more accurate description of the UART, but I've > not managed to figure out who the vendor is.

Re: [PATCH 3/5] writeback: bdi_writeback iteration must not skip dying ones

2015-10-02 Thread Jan Kara
On Tue 29-09-15 12:47:52, Tejun Heo wrote: > bdi_for_each_wb() is used in several places to wake up or issue > writeback work items to all wb's (bdi_writeback's) on a given bdi. > The iteration is performed by walking bdi->cgwb_tree; however, the > tree only indexes wb's which are currently active.

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Oleg Nesterov
On 10/02, Tetsuo Handa wrote: > > Indeed. I retested with updated patch. Not all of them are killed from > the same zap_process, but all of them are killed by the same SEGV event. > I think that coredump stops all threads sharing the same memory. Yes sure. Please see other emails. Oleg. -- To un

Re: [PATCH] kselftest: add cleankselftest rule

2015-10-02 Thread Shuah Khan
On 09/30/2015 07:17 PM, Michael Ellerman wrote: > On Wed, 2015-09-23 at 09:33 +, Wang Long wrote: >> We use >> >> $make TARGETS="size timers" kselftest >> >> to build and run selftests. but there is no rule >> for us to clean the kselftest generated files. >> >> This patch add the rules, fo

Re: [PATCH] ARM: debug: add support for alternate 8250 register layout

2015-10-02 Thread Sergei Shtylyov
Hello. On 10/2/2015 3:12 PM, Mans Rullgard wrote: Some SoCs have a UART with a non-standard register layout. This allows the debug console to work with these. Signed-off-by: Mans Rullgard --- I would have preferred a more accurate description of the UART, but I've not managed to figure out

Re: [PATCH] lib/vsprintf.c: update documentation

2015-10-02 Thread Martin Kletzander
On Fri, Oct 02, 2015 at 02:28:06PM +0200, Rasmus Villemoes wrote: %n is no longer just ignored; it results in early return from vsnprintf. Also add a request to add test cases for future %p extensions. Signed-off-by: Rasmus Villemoes --- applies on top of lib-documentation-synchronize-%p-format

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Michal Hocko
On Fri 02-10-15 15:57:56, Oleg Nesterov wrote: > On 10/02, Michal Hocko wrote: > > > > So clone without CLONE_THREAD should create a new thread group leader > > and so create a new thread group. > > Yes. > > > Unless there is some other trickery > > which I do not see right now for_each_thread fr

Re: [PATCH] ARM: debug: add support for alternate 8250 register layout

2015-10-02 Thread Måns Rullgård
Sergei Shtylyov writes: > Hello. > > On 10/2/2015 3:12 PM, Mans Rullgard wrote: > >> Some SoCs have a UART with a non-standard register layout. This >> allows the debug console to work with these. > >> Signed-off-by: Mans Rullgard >> --- >> I would have preferred a more accurate description of t

Re: [PATCH v2 0/3] leds: add device trigger

2015-10-02 Thread Jacek Anaszewski
Hi Maciek, I tested your trigger, and it works fine, but I wonder if it really improves the things. Basically, similarly as Josh, I have doubts related to associating triggers with dev_t. It requires from user to figure out how they can obtain valid dev_t. For example, in case of v4l2 jpeg codec

[PATCH v2] PM / AVS: rockchip-io: Fix module autoload for OF platform driver

2015-10-02 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt Reviewed-by: Heiko Stuebner --- Hello, Sending a second version to add Rafael Wysocki in the to-list as suggested by Heiko Stübn

Re: [PATCH] ARM: debug: add support for alternate 8250 register layout

2015-10-02 Thread Sergei Shtylyov
On 10/2/2015 5:26 PM, Måns Rullgård wrote: Some SoCs have a UART with a non-standard register layout. This allows the debug console to work with these. Signed-off-by: Mans Rullgard --- I would have preferred a more accurate description of the UART, but I've not managed to figure out who the

Re: [PATCH 1/2] leds: rt5033: add DT binding for RT5033

2015-10-02 Thread Rob Herring
On Fri, Oct 2, 2015 at 4:41 AM, Ingi Kim wrote: > This patch adds the device tree bindings for RT5033 flash LEDs. > > Signed-off-by: Ingi Kim Acked-by: Rob Herring > --- > .../devicetree/bindings/leds/leds-rt5033.txt | 38 > ++ > 1 file changed, 38 insertions(+) >

Re: [PATCH v5 12/22] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-10-02 Thread Julien Grall
Hi David, On 02/10/15 15:09, David Vrabel wrote: > On 30/09/15 11:45, Julien Grall wrote: >> For ARM64 guests, Linux is able to support either 64K or 4K page >> granularity. Although, the hypercall interface is always based on 4K >> page granularity. >> >> With 64K page granularity, a single page

[PATCH] Add support for EDD4 fields and types.

2015-10-02 Thread Peter Jones
Back in 2010, t13 EDD version 4 added a couple of storage types, some host bridge types (that are pretty much all represented identically), and a couple of fields on existing storage types. This change makes the driver expose those to userland. Signed-off-by: Peter Jones --- drivers/firmware/ed

Re: [PATCH v2] drm/rockchip: import dma_buf to gem

2015-10-02 Thread Heiko Stübner
Hi Mark, Am Freitag, 26. Juni 2015, 09:27:18 schrieb Mark Yao: > We want to display a buffer allocated by other driver, need import > the buffer to gem. > > Signed-off-by: Mark Yao This looks interesting ... do you want to follow up on it? Heiko > --- > Changes in v2: > Adviced by Russell Ki

[GIT PULL] Block fixes for 4.3-rc4

2015-10-02 Thread Jens Axboe
Hi Linus, Another week, another round of fixes. These have been brewing for a bit and in various iterations, but I feel pretty comfortable about the quality of them. They fix real issues. The pull request is mostly blk-mq related, and the only one not fixing a real bug, is the tag iterator abstrac

Re: [PATCH] ARM: debug: add support for alternate 8250 register layout

2015-10-02 Thread Måns Rullgård
Sergei Shtylyov writes: > On 10/2/2015 5:26 PM, Måns Rullgård wrote: > Some SoCs have a UART with a non-standard register layout. This allows the debug console to work with these. >>> Signed-off-by: Mans Rullgard --- I would have preferred a more accurate description of

RE: [PATCH] x86: guest: rely on leaf 0x40000001 to detect Hyper-V

2015-10-02 Thread KY Srinivasan
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Friday, October 2, 2015 2:27 AM > To: linux-kernel@vger.kernel.org > Cc: KY Srinivasan ; Haiyang Zhang > ; x...@kernel.org; de...@linuxdriverproject.org; > alex.william...@redh

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Tetsuo Handa
Oleg Nesterov wrote: > Tetsuo, sorry, I don't understand your question... > > > because it is possible that T starts the coredump, T sends SIGKILL to P, > > P calls out_of_memory() on GFP_FS allocation, > > yes, and since fatal_signal_pending() == T we do not even check > task_will_free_mem(). >

[PATCH net-next] ARM: net: support BPF_ALU | BPF_MOD instructions in the BPF JIT.

2015-10-02 Thread Nicolas Schichan
For ARMv7 with UDIV instruction support, generate an UDIV instruction followed by an MLS instruction. For other ARM variants, generate code calling a C wrapper similar to the jit_udiv() function used for BPF_ALU | BPF_DIV instructions. Some performance numbers reported by the test_bpf module (the

[PATCH] Input: goldfish - Allow compile the driver with COMPILE_TEST

2015-10-02 Thread Javier Martinez Canillas
The driver depends on GOLDFISH but there isn't a build dependency so it's a good idea to allow the driver to be built even if that option is disabled, if the COMPILE_TEST option is enabled. That way, the driver can be built with a config generated by make allyesconfig and can be checked if a patch

Re: [PATCH net-next] ARM: net: support BPF_ALU | BPF_MOD instructions in the BPF JIT.

2015-10-02 Thread Russell King - ARM Linux
On Fri, Oct 02, 2015 at 04:37:51PM +0200, Nicolas Schichan wrote: > @@ -125,7 +125,7 @@ static u64 jit_get_skb_w(struct sk_buff *skb, int offset) > } > > /* > - * Wrapper that handles both OABI and EABI and assures Thumb2 interworking > + * Wrappers that handles both OABI and EABI and assures T

Re: [PATCH v5 12/22] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-10-02 Thread Julien Grall
On 02/10/15 15:31, Julien Grall wrote: > Hi David, > > On 02/10/15 15:09, David Vrabel wrote: >> On 30/09/15 11:45, Julien Grall wrote: >>> For ARM64 guests, Linux is able to support either 64K or 4K page >>> granularity. Although, the hypercall interface is always based on 4K >>> page granularity

randconfig build error with next-20151002, in samples/configfs

2015-10-02 Thread Jim Davis
Building with the attached random configuration file, ERROR: "configfs_unregister_subsystem" [samples/configfs/configfs_sample.ko] undefined! ERROR: "configfs_register_subsystem" [samples/configfs/configfs_sample.ko] undefined! ERROR: "config_group_init" [samples/configfs/configfs_sample.ko] undef

Re: [PATCH v4 1/4] mm, documentation: clarify /proc/pid/status VmSwap limitations

2015-10-02 Thread Jerome Marchand
On 10/02/2015 03:35 PM, Vlastimil Babka wrote: > The documentation for /proc/pid/status does not mention that the value of > VmSwap counts only swapped out anonymous private pages and not shmem. This is > not obvious, so document this limitation. > > Signed-off-by: Vlastimil Babka > Acked-by: Kon

Re: [PATCH 0/2] Add RT5033 Flash LED driver

2015-10-02 Thread Jacek Anaszewski
Hi Ingi, Thanks for the patches. Please fix build errors and resubmit. On 10/02/2015 11:41 AM, Ingi Kim wrote: This patch adds ktd2692 Flash LED driver with LED Flash class Ingi Kim (2): leds: rt5033: add DT binding for RT5033 leds: rt5033: Add RT5033 Flash led device driver .../devic

Re: randconfig build error with next-20151002, in samples/configfs

2015-10-02 Thread Christoph Hellwig
On Fri, Oct 02, 2015 at 07:56:46AM -0700, Jim Davis wrote: > Building with the attached random configuration file, Looks like the sample will need a Kconfig dependency. I'll send out an updated series which should this in addition to the review comments. -- To unsubscribe from this list: send the

[PATCH v7 1/5] Documentation: bindings: document the Berlin PWM driver

2015-10-02 Thread Antoine Tenart
Following the addition of a Berlin PWM driver, this patch adds the corresponding documentation. Signed-off-by: Antoine Tenart Acked-by: Sebastian Hesselbarth --- Documentation/devicetree/bindings/pwm/pwm-berlin.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Doc

[PATCH v7 3/5] ARM: berlin: add a PWM node on the BG2Q

2015-10-02 Thread Antoine Tenart
This patch adds a PWM node in the Berlin BG2Q device tree, using the newly added Berlin PWM driver. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2q.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index

Re: [PATCH v4 2/4] mm, proc: account for shmem swap in /proc/pid/smaps

2015-10-02 Thread Jerome Marchand
On 10/02/2015 03:35 PM, Vlastimil Babka wrote: > Currently, /proc/pid/smaps will always show "Swap: 0 kB" for shmem-backed > mappings, even if the mapped portion does contain pages that were swapped out. > This is because unlike private anonymous mappings, shmem does not change pte > to swap entry,

[PATCH v7 5/5] ARM: berlin: add a PWM node on the BG2CD

2015-10-02 Thread Antoine Tenart
This patch adds a PWM node in the Berlin BG2CD device tree, using the newly added Berlin PWM driver. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2cd.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi i

[PATCH v7 2/5] pwm: add the Berlin pwm controller driver

2015-10-02 Thread Antoine Tenart
Add a PWM controller driver for the Marvell Berlin SoCs. This PWM controller has 4 channels. Signed-off-by: Antoine Tenart Acked-by: Sebastian Hesselbarth --- drivers/pwm/Kconfig | 9 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-berlin.c | 221

[PATCH v7 4/5] ARM: berlin: add a PWM node on the BG2

2015-10-02 Thread Antoine Tenart
This patch adds a PWM node in the Berlin BG2 device tree, using the newly added Berlin PWM driver. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi index ef8

[PATCH v7 0/5] ARM: berlin: PWM support

2015-10-02 Thread Antoine Tenart
Hi all, This series adds a driver for the Marvell Berlin PWM controller, which has 4 channels. This has been tested on a BG2Q DMP. Thanks, Antoine Changes since v6: - Used a prescaler_table again - Removed the spinlock - Used inline function for read/write - Alw

[PATCH] KEYS: use kvfree() in add_key

2015-10-02 Thread Geliang Tang
There is no need to make a flag to tell that this memory is allocated by kmalloc or vmalloc. Just use kvfree to free the memory. Signed-off-by: Geliang Tang --- security/keys/keyctl.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/security/keys/keyctl.c b/security/key

Re: [PATCH v4 3/4] PCI/MSI: Add helper function pci_msi_domain_get_msi_rid().

2015-10-02 Thread Marc Zyngier
On 02/10/15 01:50, David Daney wrote: > From: David Daney > > Add pci_msi_domain_get_msi_rid() to return the MSI requester id (RID). > Initially needed by gic-v3 based systems. It will be used by follow on > patch to drivers/irqchip/irq-gic-v3-its-pci-msi.c > > Initially supports mapping the RID

Re: [PATCH v4 0/3] add GPT timer support for mt8173

2015-10-02 Thread Yingjoe Chen
On Fri, 2015-10-02 at 23:05 +0800, Yingjoe Chen wrote: > This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk > tree[2]. > > Changes compare to previous version[3]: > - Add more MediaTek SoC to mtk-timer binding > - Update commit message to better describe the purpose. > > Chan

[PATCH net-next V2] ARM: net: support BPF_ALU | BPF_MOD instructions in the BPF JIT.

2015-10-02 Thread Nicolas Schichan
For ARMv7 with UDIV instruction support, generate an UDIV instruction followed by an MLS instruction. For other ARM variants, generate code calling a C wrapper similar to the jit_udiv() function used for BPF_ALU | BPF_DIV instructions. Some performance numbers reported by the test_bpf module (the

[PATCH v4 0/3] add GPT timer support for mt8173

2015-10-02 Thread Yingjoe Chen
This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk tree[2]. Changes compare to previous version[3]: - Add more MediaTek SoC to mtk-timer binding - Update commit message to better describe the purpose. Changes compare to v2[4]: - the first two mtk_timer related changes are rem

[PATCH v4 3/3] arm64: dts: mt8173: add timer node

2015-10-02 Thread Yingjoe Chen
From: Daniel Kurtz Add device node to enable GPT timer. Signed-off-by: Daniel Kurtz Signed-off-by: Eddie Huang Signed-off-by: Yingjoe Chen --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arc

[PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER

2015-10-02 Thread Yingjoe Chen
Enable MTK_TIMER for MediaTek plaform, which will be used as tick broadcast device and schedule clock. Signed-off-by: Yingjoe Chen --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 23800a1..81764

[PATCH v4 1/3] dt-bindings: add more MediaTek SoC to mtk-timer binding

2015-10-02 Thread Yingjoe Chen
Add compatible string for mt8127, mt8135 and mt8173 and sort the list. Signed-off-by: Yingjoe Chen --- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-t

[PATCH v2] ARM: debug: add support for Palmchip 16550-like UART

2015-10-02 Thread Mans Rullgard
Some SoCs have a Palmchip UART with a non-standard register layout. This allows the debug console to work with these. Signed-off-by: Mans Rullgard --- Changed in v2: - Updated to reflect actual vendor of this UART --- arch/arm/Kconfig.debug| 8 arch/arm/include/debug/8250.S | 1

Re: [Xen-devel] [PATCH v5 12/22] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-10-02 Thread David Vrabel
On 02/10/15 15:52, Julien Grall wrote: > On 02/10/15 15:31, Julien Grall wrote: >> Hi David, >> >> On 02/10/15 15:09, David Vrabel wrote: >>> On 30/09/15 11:45, Julien Grall wrote: For ARM64 guests, Linux is able to support either 64K or 4K page granularity. Although, the hypercall interf

Re: [PATCH v5 12/22] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-10-02 Thread Boris Ostrovsky
On 10/02/2015 10:52 AM, Julien Grall wrote: On 02/10/15 15:31, Julien Grall wrote: Hi David, On 02/10/15 15:09, David Vrabel wrote: On 30/09/15 11:45, Julien Grall wrote: For ARM64 guests, Linux is able to support either 64K or 4K page granularity. Although, the hypercall interface is alway

[PATCH v5 0/5] Add SMP bringup support for mt65xx socs

2015-10-02 Thread Yingjoe Chen
This series add SMP brinup support for MediaTek SoCs. This is v5 and is based on v4.3-rc1. There are similar but different SMP bringup up methods on MediaTek mt65xx and mt81xx. On MT8135 & MT8127, system boots with a trustzone firmware. Others, like MT6589, doesn't have trustzone, and run kernel d

Re: [PATCH v4 4/4] irqchip/gic-v3-its: Add handling of PCI requester id.

2015-10-02 Thread Marc Zyngier
On 02/10/15 01:50, David Daney wrote: > From: David Daney > > Replace open coded generation PCI/MSI requester id with call to the > new function pci_msi_domain_get_msi_rid() which applies the "msi-map" > to the id value. > > Signed-off-by: David Daney > --- > drivers/irqchip/irq-gic-v3-its-pci

Re: [PATCH v4 2/4] mm, proc: account for shmem swap in /proc/pid/smaps

2015-10-02 Thread Michal Hocko
On Fri 02-10-15 15:35:49, Vlastimil Babka wrote: > Currently, /proc/pid/smaps will always show "Swap: 0 kB" for shmem-backed > mappings, even if the mapped portion does contain pages that were swapped out. > This is because unlike private anonymous mappings, shmem does not change pte > to swap entr

[PATCH v5 1/5] ARM: mediatek: enable gpt6 on boot up to make arch timer working

2015-10-02 Thread Yingjoe Chen
From: Matthias Brugger We enable GTP6 which ungates the arch timer clock. In the future this should be done in the bootloader. Signed-off-by: Matthias Brugger Signed-off-by: Yingjoe Chen --- arch/arm/mach-mediatek/mediatek.c | 27 +++ 1 file changed, 27 insertions(+)

[PATCH v5 2/5] devicetree: bindings: add new SMP enable method Mediatek SoC

2015-10-02 Thread Yingjoe Chen
This commit add new cpu enable method "mediatek,mt65xx-smp" and "mediatek,mt81xx-tz-smp". Acked-by: Rob Herring Signed-off-by: Yingjoe Chen --- Documentation/devicetree/bindings/arm/cpus.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/

[PATCH v5 3/5] ARM: mediatek: add smp bringup code

2015-10-02 Thread Yingjoe Chen
Add support for booting secondary CPUs on mt6589, mt8127 and mt8135. Signed-off-by: Yingjoe Chen --- arch/arm/mach-mediatek/Makefile | 3 + arch/arm/mach-mediatek/platsmp.c | 141 +++ 2 files changed, 144 insertions(+) create mode 100644 arch/arm/mach-medi

[PATCH v5 5/5] ARM: dts: mt8127: enable basic SMP bringup for mt8127

2015-10-02 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8127 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8127.dtsi | 27 ++

[PATCH v5 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-10-02 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8135 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8135.dtsi | 27 ++

Re: [PATCH net-next V2] ARM: net: support BPF_ALU | BPF_MOD instructions in the BPF JIT.

2015-10-02 Thread Alexei Starovoitov
On Fri, Oct 02, 2015 at 05:06:47PM +0200, Nicolas Schichan wrote: > For ARMv7 with UDIV instruction support, generate an UDIV instruction > followed by an MLS instruction. > > For other ARM variants, generate code calling a C wrapper similar to > the jit_udiv() function used for BPF_ALU | BPF_DIV

Re: [RFC PATCH 00/20] Coresight integration with perf

2015-10-02 Thread Mathieu Poirier
On 1 October 2015 at 22:53, Alexander Shishkin wrote: > Mathieu Poirier writes: > >> On 30 September 2015 at 02:52, Alexander Shishkin >> wrote: >>> Mathieu Poirier writes: >>> This patchset aims to integrate configuration and control of the Coresight tracers with the perf sub-system.

Re: [PATCH 3.12 00/84] 3.12.49-stable review

2015-10-02 Thread Shuah Khan
On 10/02/2015 07:25 AM, Jiri Slaby wrote: > This is the start of the stable review cycle for the 3.12.49 release. > There are 84 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be

Re: [PATCH 4.2 00/30] 4.2.3-stable review

2015-10-02 Thread Shuah Khan
On 10/01/2015 03:21 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.2.3 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sho

Re: [PATCH 4.1 00/29] 4.1.10-stable review

2015-10-02 Thread Shuah Khan
On 10/01/2015 03:31 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.1.10 release. > There are 29 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [RFC v2 07/18] kthread: Allow to cancel kthread work

2015-10-02 Thread Petr Mladek
On Mon 2015-09-28 13:03:14, Tejun Heo wrote: > Hello, Petr. > > On Fri, Sep 25, 2015 at 01:26:17PM +0200, Petr Mladek wrote: > > 1) PENDING state plus -EAGAIN/busy loop cycle > > - > > > > IMHO, we want to use the timer because it is an elegant solution

[PATCH] ebpf, events: make it actually more configurable

2015-10-02 Thread Daniel Borkmann
While testing some other BPF issue, I realized that BPF_EVENTS is actually not accessible through menuconfig because of a missing description that needs to be attached to the bool. After the patch the entry shows up in menuconfig and can be enabled/disabled from there. Fixes: e1abf2cc8d5d ("bpf: F

[PATCH 2/2] irqchip/gic-v3-its: Count additional LPIs for the aliased devices

2015-10-02 Thread Marc Zyngier
When configuring the interrupt mapping for a new device, we iterate over all the possible aliases to account for their maximum MSI allocation. This was introduced by e8137f4f5088 ("irqchip: gicv3-its: Iterate over PCI aliases to generate ITS configuration"). Turns out that the code doing that is a

<    1   2   3   4   5   6   7   8   >