Re: [PATCH v5 4/5] cramfs: add mmap support

2017-10-06 Thread Christoph Hellwig
> + /* Don't map the last page if it contains some other data */ > + if (unlikely(pgoff + pages == max_pages)) { > + unsigned int partial = offset_in_page(inode->i_size); > + if (partial) { > + char *data = sbi->linear_virt_addr + offset; > +

Re: [PATCH v4 03/10] kexec_file: factor out arch_kexec_kernel_*() from x86, powerpc

2017-10-06 Thread AKASHI Takahiro
On Thu, Oct 05, 2017 at 11:21:38AM +0100, Julien Thierry wrote: > Hi Takahiro, > > On 02/10/17 07:14, AKASHI Takahiro wrote: > >arch_kexec_kernel_*() and arch_kimage_file_post_load_cleanup can now be > >duplicated among some architectures, so let's factor them out. > > > >Signed-off-by: AKASHI Tak

Re: [PATCH v7 2/2] tracing: Add support for preempt and irq enable/disable events

2017-10-06 Thread Peter Zijlstra
On Thu, Oct 05, 2017 at 04:28:10PM -0700, Joel Fernandes wrote: > > lockdep implements the trace_hardirq_*() in terms of *_caller(). Would > > that make sense here? > > In lockdep code, when trace_hardirqs_off is called, > trace_hardirqs_off_caller would pass CALLER_ADDR0 as > trace_hardirqs_off.

Re: [PATCH v4 08/10] arm64: kexec_file: set up for crash dump adding elf core header

2017-10-06 Thread AKASHI Takahiro
On Thu, Oct 05, 2017 at 03:15:52PM +0100, Julien Thierry wrote: > > > On 02/10/17 07:14, AKASHI Takahiro wrote: > >load_crashdump_segments() creates and loads a memory segment of elf core > >header for crash dump. > > > >"linux,usable-memory-range" and "linux,elfcorehdr" will add to the 2nd > >ke

Re: [PATCH v2 09/16] driver core: add iommu device fault reporting data

2017-10-06 Thread Christoph Hellwig
On Thu, Oct 05, 2017 at 04:03:37PM -0700, Jacob Pan wrote: > DMA faults can be detected by IOMMU at device level. Adding a pointer > to struct device allows IOMMU subsystem to report relevant faults > back to the device driver for further handling. > For direct assigned device (or user space driver

Re: [PATCH] ARM: dts: stm32: add Timers driver for stm32f746 MCU

2017-10-06 Thread Benjamin Gaignard
2017-10-05 18:06 GMT+02:00 Alexandre Torgue : > Hi Benjamin, > > On 10/04/2017 11:27 AM, Benjamin Gaignard wrote: >> >> Add Timers and it sub-nodes into DT for stm32f746 family. >> >> Signed-off-by: Benjamin Gaignard >> --- >> arch/arm/boot/dts/stm32f746.dtsi | 270 >> +++

[PATCH v2] ARM: dts: stm32: add Timers driver for stm32f746 MCU

2017-10-06 Thread Benjamin Gaignard
Add Timers and it sub-nodes into DT for stm32f746 family. Signed-off-by: Benjamin Gaignard --- version 2: - without ltdc node arch/arm/boot/dts/stm32f746.dtsi | 260 +++ 1 file changed, 260 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch

[PATCH] infiniband: add MMU dependency for user_mem

2017-10-06 Thread Arnd Bergmann
The infiniband subsystem causes a link failure when the umem driver is built on MMU-less systems: mm/mmu_notifier.o: In function `do_mmu_notifier_register': mmu_notifier.c:(.text+0x32): undefined reference to `mm_take_all_locks' drivers/infiniband/core/umem.o: In function `ib_umem_get': umem.c:(.t

[PATCH] cpufreq: powernv: Return the actual CPU frequency in /proc/cpuinfo

2017-10-06 Thread Shriya
Make /proc/cpuinfo read the frequency of the CPU it is running at instead of reading the cached value of the last requested frequency. In conditions like WOF/throttle CPU can be running at a different frequency than the requested frequency. Signed-off-by: Shriya --- arch/powerpc/platforms/powern

Re: [PATCH v7 2/2] tracing: Add support for preempt and irq enable/disable events

2017-10-06 Thread Joel Fernandes
Hi Peter, On Fri, Oct 6, 2017 at 12:07 AM, Peter Zijlstra wrote: > On Thu, Oct 05, 2017 at 04:28:10PM -0700, Joel Fernandes wrote: >> > lockdep implements the trace_hardirq_*() in terms of *_caller(). Would >> > that make sense here? >> >> In lockdep code, when trace_hardirqs_off is called, >> tr

Re: Questions about bluetooth on N900

2017-10-06 Thread Pavel Machek
Hi! > > > > There is some interest. I'd like to have working bluetooth, and people > > > from postmarketos > > > > would probably like something, too. Unfortunately my experience is > > > same as yours -- current > > > > mainline does not work well on N900. > > > > > > I might try debugging

Re: [Xen-devel] [PATCH 00/13] x86/paravirt: Make pv ops code generation more closely match reality

2017-10-06 Thread Vitaly Kuznetsov
Josh Poimboeuf writes: > - For the most common runtime cases (everything except Xen and vSMP), > vmlinux disassembly now matches what the actual runtime code looks > like. This improves debuggability and kernel developer sanity (a > precious resource). > > ... > > - It's hopefully a first

Re: Draft manpage explaining kernel lockdown

2017-10-06 Thread joeyli
Hi David, On Thu, Oct 05, 2017 at 12:00:24PM +0100, David Howells wrote: > Hi Ard, Michael, > > Attached is a draft for a manual page (kernel_lockdown.7) that I intend to > point at from messages emitted when the kernel prohibits something because the > kernel is in 'lockdown' mode, typically tri

Re: [Xen-devel] KVM PV

2017-10-06 Thread Wanpeng Li
2017-10-03 3:11 GMT+08:00 Nadav Amit : > Paolo Bonzini wrote: > >> On 02/10/2017 12:36, George Dunlap wrote: > Although I'm not business man, I don't think the top cloud provider[s] > would allow nested virtualization, however mature nested virtualization > is. Even xen-pv is unable to

Re: [PATCH] epoll: account epitem and eppoll_entry to kmemcg

2017-10-06 Thread Michal Hocko
On Thu 05-10-17 10:21:18, Michal Hocko wrote: > On Wed 04-10-17 12:33:14, Shakeel Butt wrote: > > > > > > I am not objecting to the patch I would just like to understand the > > > runaway case. ep_insert seems to limit the maximum number of watches to > > > max_user_watches which should be ~4% of l

Re: [PATCH] HID: usbhid: Convert timers to use timer_setup()

2017-10-06 Thread Benjamin Tissoires
On Oct 04 2017 or thereabouts, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. Adds pointer back to hid_device for > multitouch. > >

Re: [PATCH] kvm, mm: account kvm related kmem slabs to kmemcg

2017-10-06 Thread Michal Hocko
On Fri 06-10-17 09:58:30, Anshuman Khandual wrote: > On 10/06/2017 06:37 AM, Shakeel Butt wrote: > > The kvm slabs can consume a significant amount of system memory > > and indeed in our production environment we have observed that > > a lot of machines are spending significant amount of memory tha

Re: [PATCH v1] i2c:i2c-stm32f7: fix setup structure

2017-10-06 Thread Pierre Yves MORDRET
On 10/05/2017 01:14 PM, Wolfram Sang wrote: > On Thu, Sep 21, 2017 at 03:30:09PM +0200, Pierre-Yves MORDRET wrote: >> I2C drive setup structure is not properly allocated. >> Make it static instead of pointer to store driver data. >> >> Signed-off-by: Pierre-Yves MORDRET > > Ouch! How did it wor

Re: [PATCH] fs, mm: account filp and names caches to kmemcg

2017-10-06 Thread Michal Hocko
On Thu 05-10-17 15:21:44, Shakeel Butt wrote: > The allocations from filp and names kmem caches can be directly > triggered by user space applications. A buggy application can > consume a significant amount of unaccounted system memory. Though > we have not noticed such buggy applications in our pr

Re: [PATCH v5 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-06 Thread Sakari Ailus
On Thu, Oct 05, 2017 at 03:39:29PM -0300, Mauro Carvalho Chehab wrote: > Em Thu, 5 Oct 2017 11:21:07 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > My apologies for the late reply. > > > > On Tue, Aug 29, 2017 at 10:07:50AM -0300, Mauro Carvalho Chehab wrote: > > > Em Tue, 29 Aug 2017 1

[PATCH] Bugfix perf script -F ip,brstack (and brstackoff)

2017-10-06 Thread Mark Santaniello
Prior to commit 55b9b50811ca ("perf script: Support -F brstack,dso and brstacksym,dso"), we were printing a space before the brstack data. It seems that this space was important. Without it, parsing is difficult. Very sorry for the mistake. Notice here how the "ip" and "brstack" run together: $

[PATCH v2] arm64: dts: mediatek: Add cpuidle support for MT2712

2017-10-06 Thread James Liao
Add CPU idle state nodes to enable C1/C2 idle states. Signed-off-by: James Liao --- changes since v1: - Rebase to 4.14-rc1. arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch

Re: [PATCH V9 13/15] mmc: block: Add CQE and blk-mq support

2017-10-06 Thread Adrian Hunter
On 02/10/17 11:32, Ulf Hansson wrote: > On 22 September 2017 at 14:37, Adrian Hunter wrote: >> Add CQE support to the block driver, including: >> - optionally using DCMD for flush requests >> - "manually" issuing discard requests >> - issuing read / write requests to the CQE >> - s

Re: [PATCH review for 4.4 12/47] clk: wm831x: fix usleep_range with bad range

2017-10-06 Thread Nicholas Mc Guire
On Sun, Sep 24, 2017 at 12:18:12AM +, Levin, Alexander (Sasha Levin) wrote: > On Fri, Sep 22, 2017 at 09:46:28AM +0100, Charles Keepax wrote: > >On Wed, Sep 20, 2017 at 04:45:02AM +, Levin, Alexander (Sasha Levin) > >wrote: > >> From: Nicholas Mc Guire > >> > >> [ Upstream commit ed784c53

Re: [PATCH v3] HID: hid-multitouch: support fine-grain orientation reporting

2017-10-06 Thread Benjamin Tissoires
Hi, On Oct 05 2017 or thereabouts, Jiri Kosina wrote: > > [ adding Benjamin to CC ] > > On Thu, 28 Sep 2017, Wei-Ning Huang wrote: > > > The current hid-multitouch driver only allow the report of two > > orientations, vertical and horizontal. We use the Azimuth orientation > > usage 0x3F under

Re: [PATCH v5 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-06 Thread Sakari Ailus
Hi Mauro, On Thu, Oct 05, 2017 at 09:26:51AM -0300, Mauro Carvalho Chehab wrote: > > > > > + > > > > > + See :ref:`media_controller`. > > > > > + > > > > > +MC-centric > > > > > + V4L2 hardware that requires a Media controller. > > > > > + > > > > > + See :ref:`v4l2_hardware_contro

Re: [PATCH 1/2] sched/rt: Add a helper to test for a RT task

2017-10-06 Thread Peter Zijlstra
On Wed, Oct 04, 2017 at 05:49:00PM +0200, Sebastian Andrzej Siewior wrote: > This helper returns true if a task has elevated priority which is true > for RT tasks (SCHED_RR and SCHED_FIFO) and also for SCHED_DEADLINE. > A task which runs at RT priority due to PI-boosting is not considered as > one

Re: [PATCH v3 0/3] Basical device tree parts for Allwinner R40 SoC

2017-10-06 Thread Maxime Ripard
Hi, On Fri, Oct 06, 2017 at 06:42:30AM +, Icenowy Zheng wrote: > This patchset adds basical device tree parts for the Allwinner R40 SoC > and two boards feature this SoC -- Banana Pi M2 Ultra and Berry (The > BPi M2 Berry board uses V40 SoC, which is just a renamed R40). Applied all three, th

Re: [PATCH v2] block/laptop_mode: Convert timers to use timer_setup()

2017-10-06 Thread Christoph Hellwig
> -static void blk_rq_timed_out_timer(unsigned long data) > +static void blk_rq_timed_out_timer(struct timer_list *t) > { > - struct request_queue *q = (struct request_queue *)data; > + struct request_queue *q = from_timer(q, t, timeout); > > kblockd_schedule_work(&q->timeout_work)

Re: [PATCH v2 09/16] driver core: add iommu device fault reporting data

2017-10-06 Thread Greg Kroah-Hartman
On Fri, Oct 06, 2017 at 12:11:45AM -0700, Christoph Hellwig wrote: > On Thu, Oct 05, 2017 at 04:03:37PM -0700, Jacob Pan wrote: > > DMA faults can be detected by IOMMU at device level. Adding a pointer > > to struct device allows IOMMU subsystem to report relevant faults > > back to the device driv

Re: [PATCH] pinctrl: cherryview: fix issues caused by dynamic gpio irqs mapping

2017-10-06 Thread Mika Westerberg
On Wed, Oct 04, 2017 at 09:42:49AM +0300, Mika Westerberg wrote: > On Tue, Oct 03, 2017 at 12:00:49PM -0500, Grygorii Strashko wrote: > > New GPIO IRQs are allocated and mapped dynamically by default when > > GPIO IRQ infrastructure is used by cherryview-pinctrl driver. > > This causes issues on so

[PATCH] pinctrl: meson-gx: add TEST_N i2s pinmux

2017-10-06 Thread Jerome Brunet
Add TEST_N pinmux for channel 6 and 7 of the i2s output Signed-off-by: Jerome Brunet --- Hi Linus, FYI, This change depends on clean-up series you've just merged. Cheers, Jerome drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 5 + drivers/pinctrl/meson/pinctrl-meson-gxl.c | 6 +- 2 fil

Re: [PATCH tip/core/rcu 1/3] membarrier: Provide register expedited private command

2017-10-06 Thread Peter Zijlstra
> AFAIU the scheduler rq->lock is held while preemption is disabled. > synchronize_sched() is used here to ensure that all pre-existing > preempt-off critical sections have completed. > > So saying that we use synchronize_sched() to synchronize with rq->lock > would be stretching the truth a bit.

Re: [PATCH 1/3] pinctrl: sunxi: Introduce the strict flag

2017-10-06 Thread Chen-Yu Tsai
On Fri, Oct 6, 2017 at 4:54 AM, Maxime Ripard wrote: > Our pinctrl device should have had strict set all along. However, it wasn't > the case, and most of our old device trees also have a pinctrl group in > addition to the GPIOs properties, which mean that we can't really turn it > on now. > > All

Re: [PATCH 2/3] pinctrl: sunxi: Disable strict mode for old pinctrl drivers

2017-10-06 Thread Chen-Yu Tsai
On Fri, Oct 6, 2017 at 4:54 AM, Maxime Ripard wrote: > Old pinctrl drivers will need to disable strict mode for various reasons, > among which: > - Some DT will still have a pinctrl group for each GPIO used, which will > be rejected by pin_request. While we could remove those nodes, we still

Re: [PATCH 3/3] pinctrl: sunxi: Enforce the strict mode by default

2017-10-06 Thread Chen-Yu Tsai
On Fri, Oct 6, 2017 at 4:54 AM, Maxime Ripard wrote: > The strict mode should always have been enabled on our driver, and leaving > it unchecked just makes it harder to find a migration path as time passes. > > Let's enable it by default now so that hopefully the new SoCs should be > safe. > > Sig

Re: [PATCH] drm/i915: Convert timers to use timer_setup()

2017-10-06 Thread Jani Nikula
On Thu, 05 Oct 2017, Kees Cook wrote: > On Thu, Oct 5, 2017 at 6:45 AM, Joonas Lahtinen > wrote: >> On Wed, 2017-10-04 at 17:54 -0700, Kees Cook wrote: >>> In preparation for unconditionally passing the struct timer_list pointer to >>> all timer callbacks, switch to using the new timer_setup() an

Re: [PATCH v2 09/16] driver core: add iommu device fault reporting data

2017-10-06 Thread Joerg Roedel
On Fri, Oct 06, 2017 at 12:11:45AM -0700, Christoph Hellwig wrote: > This is the 3rd iommu field, in addition to 8 dma-specific fields > that we carry around for each struct device. Agreed, consolidating the iommu-fields in 'struct device' into a single 'struct iommu_data' is on my todo-list. Jac

Re: [PATCH 0/6] Switch arm64 over to qrwlock

2017-10-06 Thread Will Deacon
Hi Jeremy, On Thu, Oct 05, 2017 at 05:12:44PM -0500, Jeremy Linton wrote: > On 10/05/2017 07:54 AM, Will Deacon wrote: > >This patch series reworks bits of the qrwlock code that it can be used > >to replace the asm rwlocks currently implemented for arm64. The structure > >of the series is: > > > >

Re: [PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics P610

2017-10-06 Thread Takashi Iwai
On Fri, 06 Oct 2017 06:27:59 +0200, Kai-Heng Feng wrote: > > Hi, > > On Fri, Oct 6, 2017 at 2:22 AM, Takashi Iwai wrote: > > On Thu, 05 Oct 2017 20:04:06 +0200, > > Kai-Heng Feng wrote: > >> > >> Like other Plantronics devices, P610 does not support sample > >> rate reading. Apply sample rate qu

Re: __ubsan_handle_type_mismatch converted to __ubsan_handle_type_mismatch_v1

2017-10-06 Thread Andrey Ryabinin
On 10/06/2017 05:29 AM, Sodagudi Prasad wrote: > Hi All, > > Based on below links __ubsan_handle_type_mismatch has been renamed to  > __ubsan_handle_type_mismatch_v1. > > https://github.com/llvm-mirror/compiler-rt/commit/56faee71af1888ba12ab076b3d1f9bbe223493df#diff-21369cc6f3917b27df3ced8de89

Re: [PATCH 05/20] ARM: dts: sun4i: Change pinctrl nodes to avoid warning

2017-10-06 Thread Maxime Ripard
Hi, On Thu, Oct 05, 2017 at 03:29:56PM +, Chen-Yu Tsai wrote: > > @@ -531,83 +531,83 @@ > > bias-pull-up; > > }; > > > > - ps20_pins_a: ps20@0 { > > - pins = "PI20", "PI21"; > > +

Re: [PATCH 07/20] ARM: dts: sun4i: Remove skeleton and memory to avoid warnings

2017-10-06 Thread Maxime Ripard
On Thu, Oct 05, 2017 at 03:43:53PM +, Chen-Yu Tsai wrote: > On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard > wrote: > > Using skeleton.dtsi will create a memory node that will generate a warning > > in DTC. However, that node will be created by the bootloader, so we can > > just remove it entir

Re: [PATCHv2 2/2] mm: Consolidate page table accounting

2017-10-06 Thread Michal Hocko
[CC linux-api because this is a user visible change] On Thu 05-10-17 13:14:42, Kirill A. Shutemov wrote: > Currently, we account page tables separately for each page table level, > but that's redundant -- we only make use of total memory allocated to > page tables for oom_badness calculation. We a

Re: [PATCHv2 1/2] mm: Introduce wrappers to access mm->nr_ptes

2017-10-06 Thread Michal Hocko
On Thu 05-10-17 13:14:41, Kirill A. Shutemov wrote: > Let's add wrappers for ->nr_ptes with the same interface as for nr_pmd > and nr_pud. > > It's preparation for consolidation of page-table counters in mm_struct. You are also making the accounting dependent on MMU which is OK because no nommu a

Re: [PATCH 1/2] sched/rt: Add a helper to test for a RT task

2017-10-06 Thread Sebastian Andrzej Siewior
On 2017-10-06 10:19:37 [+0200], Peter Zijlstra wrote: > > --- a/include/linux/sched/rt.h > > +++ b/include/linux/sched/rt.h > > @@ -17,6 +17,17 @@ static inline int rt_task(struct task_struct *p) > > return rt_prio(p->prio); > > } > > > > +static inline bool task_is_elevated(struct task_stru

[PATCH 4.9 001/104] drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Kristian H. Kristensen" [ Upstream commit af913418261d6d3e7a29f06cf35f04610ead667c ] We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code() macro to work correctly. Signed-of

[PATCH 4.9 000/104] 4.9.54-stable review

2017-10-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.54 release. There are 104 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 Sun Oct 8 08:37:55 UTC 2017. Anything receiv

[PATCH 4.9 016/104] ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Niestroj [ Upstream commit ca244a83ecc7f0a9242ee2116e622cb6d7ec2a90 ] On chiliSOM TPS65217 nWAKEUP pin is connected to AM335x internal RTC EXT_WAKEUP input. In RTC-only state TPS65217 i

[PATCH 4.9 024/104] iio: adc: imx25-gcq: Fix module autoload

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas [ Upstream commit 8f0d7daf53972da0004f7a5a4d938c85333db300 ] If the driver is built as a module, autoload won't work because the module alias information is not filled

[PATCH 4.9 015/104] scsi: be2iscsi: Add checks to validate CID alloc/free

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jitendra Bhivare [ Upstream commit 413f365657a8b9669bd0ba3628e9fde9ce63604e ] Set CID slot to 0x to indicate empty. Check if connection already exists in conn_table before binding. Check i

[PATCH 4.9 023/104] hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck [ Upstream commit 87cdfa9d60f4f40e6d71b04b10b36d9df3c89282 ] Writes into limit attributes can overflow due to multplications and additions with unbound input values. Writing into

[PATCH 4.9 002/104] drm: bridge: add DT bindings for TI ths8135

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski [ Upstream commit 2e644be30fcc08c736f66b60f4898d274d4873ab ] THS8135 is a configurable video DAC. Add DT bindings for this chip. Signed-off-by: Bartosz Golaszewski Review

[PATCH 4.9 037/104] arm: dts: mt2701: Add subsystem clock controller device nodes

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: James Liao [ Upstream commit f235c7e7a75325f28a33559a71f25a0eca6112db ] Add MT2701 subsystem clock controllers, inlcude mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys. Signed-off-by: James

[PATCH 4.9 003/104] GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 14d37564fa3dc4e5d4c6828afcd26ac14e6796c5 ] This patch fixes a place where function gfs2_glock_iter_next can reference an invalid error pointer. Signed-off-by:

[PATCH 4.9 041/104] sfc: get PIO buffer size from the NIC

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Edward Cree [ Upstream commit c634700f7eec3c0da46e299cd0a0ae8b594f9b55 ] The 8000 series SFC NICs have 4K PIO buffers, rather than the 2K of the 7000 series. Rather than having a hard-coded

[PATCH 4.9 046/104] ath10k: prevent sta pointer rcu violation

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kazior [ Upstream commit 0a744d927406389e00687560d9ce3c5ab0e58db9 ] Station pointers are RCU protected so driver must be extra careful if it tries to store them internally for later use

[PATCH 4.9 048/104] iommu/arm-smmu: Set privileged attribute to default instead of unprivileged

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sricharan R [ Upstream commit e19898077cfb642fe151ba22981e795c74d9e114 ] Currently the driver sets all the device transactions privileges to UNPRIVILEGED, but there are cases where the iommu m

[PATCH 4.9 052/104] drm: mali-dp: Fix destination size handling when rotating

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian Starkey [ Upstream commit edabb3c4cd2d035bc93a3d67b25a304ea6217301 ] The destination rectangle provided by userspace in the CRTC_X/Y/W/H properties is already expressed as the dimensions

[PATCH 4.9 044/104] ASoC: dapm: handle probe deferrals

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij [ Upstream commit 37e1df8c95e2c8a57c77eafc097648f6e40a60ff ] This starts to handle probe deferrals on regulators and clocks on the ASoC DAPM. I came to this patch after audio st

[PATCH 4.9 060/104] team: fix memory leaks

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pan Bian [ Upstream commit 72ec0bc64b9a5d8e0efcb717abfc757746b101b7 ] In functions team_nl_send_port_list_get() and team_nl_send_options_get(), pointer skb keeps the return value of nlmsg_new(

[PATCH 4.9 058/104] net: core: Prevent from dereferencing null pointer when releasing SKB

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Myungho Jung [ Upstream commit 9899886d5e8ec5b343b1efe44f185a0e68dc6454 ] Added NULL check to make __dev_kfree_skb_irq consistent with kfree family of functions. Link: https://bugzilla.kernel

[PATCH 4.9 033/104] serial: 8250_port: Remove dangerous pr_debug()

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin [ Upstream commit 699a11ba7ec869b006623182881f2f1f5b4aea53 ] With CONFIG_DYNAMIC_DEBUG if dyndbg enables debug output in 8250_port.c deadlock happens inevitably on UART IRQ hand

[PATCH 4.9 078/104] nvme-rdma: handle cpu unplug when re-establishing the controller

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg [ Upstream commit c248c64387fac5a6b31b343d9acb78f478e8619c ] If a cpu unplug event has occured, we need to take the minimum of the provided nr_io_queues and the number of online

[PATCH 4.9 082/104] ibmvnic: Free tx/rx scrq pointer array when releasing sub-crqs

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Fontenot [ Upstream commit 9501df3cd9204f5859f649182431616a31ee88a1 ] The pointer array for the tx/rx sub crqs should be free'ed when releasing the tx/rx sub crqs. Signed-off-by: Natha

[PATCH 4.9 031/104] serial: 8250: moxa: Store num_ports in brd

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Matwey V. Kornilov" [ Upstream commit 9c4b60fe5313c125b1bf68ef04b0010512c27f2d ] When struct moxa8250_board is allocated, then num_ports should be initialized in order to use it later in moxa

[PATCH 4.9 065/104] mmc: sdio: fix alignment issue in struct sdio_func

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 5ef1ecf060f28ecef313b5723f1fd39bf5a35f56 ] Certain 64-bit systems (e.g. Amlogic Meson GX) require buffers to be used for DMA to be 8-byte-aligned. struct sdio

[PATCH 4.9 076/104] [media] exynos-gsc: Do not swap cb/cr for semi planar formats

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thibault Saunier [ Upstream commit d7f3e33df4fbdc9855fb151f4a328ec46447e3ba ] In the case of semi planar formats cb and cr are in the same plane in memory, meaning that will be set to 'cb' wha

[PATCH 4.9 066/104] bridge: netlink: register netdevice before executing changelink

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit 5b8d5429daa05bebef6ffd3297df3b502cc6f184 ] Peter reported a kernel oops when executing the following command: $ ip link add name test type bridge vlan_default_p

[PATCH 4.9 068/104] Btrfs: fix potential use-after-free for cloned bio

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Liu Bo [ Upstream commit a967efb30b3afa3d858edd6a17f544f9e9e46eea ] KASAN reports that there is a use-after-free case of bio in btrfs_map_bio. If we need to submit IOs to several disks at a t

[PATCH 4.9 089/104] md/raid10: submit bio directly to replacement disk

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li [ Upstream commit 6d399783e9d4e9bd44931501948059d24ad96ff8 ] Commit 57c67df(md/raid10: submit IO from originating thread instead of md thread) submits bio directly for normal disks

[PATCH 4.9 092/104] xfs: remove kmem_zalloc_greedy

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" [ Upstream commit 08b005f1333154ae5b404ca28766e0ffb9f1c150 ] The sole remaining caller of kmem_zalloc_greedy is bulkstat, which uses it to grab 1-4 pages for staging of inobt

[PATCH 4.9 086/104] arm64: kasan: avoid bad virt_to_pfn()

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland [ Upstream commit b0de0ccc8b9edd8846828e0ecdc35deacdf186b0 ] Booting a v4.11-rc1 kernel with DEBUG_VIRTUAL and KASAN enabled produces the following splat (trimmed for brevity): [

[PATCH 4.9 095/104] ARM: dts: BCM5301X: Fix memory start address

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jon Mason [ Upstream commit 88d1fa70c21d7b431386cfe70cdc514d98b0c9c4 ] Memory starts at 0x8000, not 0. 0 "works" due to mirrior of the first 128M of RAM to that address. Anything greater

[PATCH 4.9 099/104] ASoC: rt5514: fix gcc-7 warning

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 03ba791df98d15d07ea74075122af71e35c7611c upstream. gcc-7 warns that there is a duplicate 'const' specifier in some variables that are declared using the SOC_ENUM_SINGLE_DEC

[PATCH 4.9 069/104] sata_via: Enable hotplug only on VT6421

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ondrej Zary [ Upstream commit 3cf864520e877505158f09075794a08abab11bbe ] Commit 57e5568fda27 ("sata_via: Implement hotplug for VT6421") adds hotplug IRQ handler for VT6421 but enables hotplug

[PATCH 4.9 071/104] kasan: do not sanitize kexec purgatory

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith [ Upstream commit 13a6798e4a03096b11bf402a063786a7be55d426 ] Fixes this: kexec: Undefined symbol: __asan_load8_noabort kexec-bzImage64: Loading purgatory failed Link: http

[PATCH 4.9 064/104] qed: Fix possible system hang in the dcbnl-getdcbx() path.

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "sudarsana.kall...@cavium.com" [ Upstream commit 62289ba27558553871fd047baadaaeda886c6a63 ] qed_dcbnl_get_dcbx() API uses kmalloc in GFT_KERNEL mode. The API gets invoked in the interrupt cont

[PATCH 4.9 096/104] tools/power turbostat: bugfix: GFXMHz column not changing

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Len Brown [ Upstream commit 22048c5485503749754b3b5daf9d99ef89fcacdc ] turbostat displays a GFXMHz column, which comes from reading /sys/class/graphics/fb0/device/drm/card0/gt_cur_freq_mhz Bu

[PATCH 4.4 01/50] drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "Kristian H. Kristensen" [ Upstream commit af913418261d6d3e7a29f06cf35f04610ead667c ] We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code() macro to work correctly. Signed-of

[PATCH 4.4 11/50] hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck [ Upstream commit 87cdfa9d60f4f40e6d71b04b10b36d9df3c89282 ] Writes into limit attributes can overflow due to multplications and additions with unbound input values. Writing into

[PATCH 4.4 13/50] iio: adc: hx711: Add DT binding for avia,hx711

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Klinger [ Upstream commit ff1293f67734da68e23fecb6ecdae7112b8c43f9 ] Add DT bindings for avia,hx711 Add vendor avia to vendor list Signed-off-by: Andreas Klinger Acked-by: Rob Herrin

[PATCH 4.4 24/50] ASoC: dapm: handle probe deferrals

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij [ Upstream commit 37e1df8c95e2c8a57c77eafc097648f6e40a60ff ] This starts to handle probe deferrals on regulators and clocks on the ASoC DAPM. I came to this patch after audio st

[PATCH 4.4 06/50] MIPS: Ensure bss section ends on a long-aligned address

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton [ Upstream commit 3f00f4d8f083bc61005d0a1ef592b149f5c88bbd ] When clearing the .bss section in kernel_entry we do so using LONG_S instructions, and branch whilst the current write

[PATCH 4.4 03/50] GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 14d37564fa3dc4e5d4c6828afcd26ac14e6796c5 ] This patch fixes a place where function gfs2_glock_iter_next can reference an invalid error pointer. Signed-off-by:

[PATCH 4.4 25/50] audit: log 32-bit socketcalls

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs [ Upstream commit 62bc306e2083436675e33b5bdeb6a77907d35971 ] 32-bit socketcalls were not being logged by audit on x86_64 systems. Log them. This is basically a duplicate of

[PATCH 4.4 16/50] IB/ipoib: Fix deadlock over vlan_mutex

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud [ Upstream commit 1c3098cdb05207e740715857df7b0998e372f527 ] This patch fixes Deadlock while executing ipoib_vlan_delete. The function takes the vlan_rwsem semaphore and calls unr

[PATCH 4.4 18/50] IB/ipoib: Replace list_del of the neigh->list with list_del_init

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud [ Upstream commit c586071d1dc8227a7182179b8e50ee92cc43f6d2 ] In order to resolve a situation where a few process delete the same list element in sequence and cause panic, list_del

[PATCH 4.4 47/50] IB/qib: fix false-postive maybe-uninitialized warning

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit f6aafac184a3e46e919769dd4faa8bf0dc436534 upstream. aarch64-linux-gcc-7 complains about code it doesn't fully understand: drivers/infiniband/hw/qib/qib_iba7322.c: In functi

[PATCH 4.4 00/50] 4.4.91-stable review

2017-10-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.91 release. There are 50 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 Sun Oct 8 08:36:32 UTC 2017. Anything receive

[PATCH 4.4 08/50] igb: re-assign hw address pointer on reset after PCI error

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G Piccoli [ Upstream commit 69b97cf6dbce7403845a28bbc75d57f5be7b12ac ] Whenever the igb driver detects the result of a read operation returns a value composed only by F's (like 0xFFF

[PATCH 4.4 50/50] [media] ttpci: address stringop overflow warning

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 69d3973af1acd4c0989ec8218c05f12d303cd7cf upstream. gcc-7.0.1 warns about old code in ttpci: In file included from drivers/media/pci/ttpci/av7110.c:63:0: In function 'irdeb

[PATCH 4.4 35/50] netfilter: invoke synchronize_rcu after set the _hook_ to NULL

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Liping Zhang [ Upstream commit 3b7dabf029478bb80507a6c4500ca94132a2bc0b ] Otherwise, another CPU may access the invalid pointer. For example: CPU0CPU1 - r

[PATCH 4.4 40/50] iommu/io-pgtable-arm: Check for leaf entry before dereferencing it

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oleksandr Tyshchenko [ Upstream commit ed46e66cc1b3d684042f92dfa2ab15ee917b4cac ] Do a check for already installed leaf entry at the current level before dereferencing it in order to avoid wal

[PATCH 4.4 46/50] drivers: firmware: psci: drop duplicate const from psci_of_match

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang commit 1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e upstream. This is to fix below sparse warning: drivers/firmware/psci.c:mmm:nn: warning: duplicate const Signed-off-by: Jisheng Zha

[PATCH 4.4 43/50] i2c: meson: fix wrong variable usage in meson_i2c_put_data

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 3b0277f198ac928f323c42e180680d2f79aa980d ] Most likely a copy & paste error. Signed-off-by: Heiner Kallweit Acked-by: Jerome Brunet Signed-off-by: Wolfram

[PATCH 4.4 37/50] [media] exynos-gsc: Do not swap cb/cr for semi planar formats

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thibault Saunier [ Upstream commit d7f3e33df4fbdc9855fb151f4a328ec46447e3ba ] In the case of semi planar formats cb and cr are in the same plane in memory, meaning that will be set to 'cb' wha

[PATCH 4.4 39/50] parisc: perf: Fix potential NULL pointer dereference

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit 74e3f6e63da6c8e8246fba1689e040bc926b4a1a ] Fix potential NULL pointer dereference and clean up coding style errors (code indent, trailing whitespaces). Signed-o

[PATCH 4.4 33/50] mmc: sdio: fix alignment issue in struct sdio_func

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 5ef1ecf060f28ecef313b5723f1fd39bf5a35f56 ] Certain 64-bit systems (e.g. Amlogic Meson GX) require buffers to be used for DMA to be 8-byte-aligned. struct sdio

[PATCH 4.4 29/50] net: core: Prevent from dereferencing null pointer when releasing SKB

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Myungho Jung [ Upstream commit 9899886d5e8ec5b343b1efe44f185a0e68dc6454 ] Added NULL check to make __dev_kfree_skb_irq consistent with kfree family of functions. Link: https://bugzilla.kernel

  1   2   3   4   5   6   7   8   9   10   >