RE: [PATCH] sched: loadavg 0.00, 0.01, 0.05 on idle

2016-01-21 Thread Doug Smythies
On 2016.01.21 07:29 Peter Zijlstra wrote: > On Thu, Jan 21, 2016 at 10:23:25AM +0100, Vik Heyndrickx wrote: >> Systems show a minimal load average of 0.00, 0.01, 0.05 even when they have >> no load at all. >> --- >> Subject: sched: Fix non-zero idle loadavg >> From: Vik Heyndrickx >> Date: Thu,

Re: [kernel-hardening] 2015 kernel CVEs

2016-01-21 Thread Ben Hutchings
On Wed, 2016-01-20 at 10:04 -0800, Greg KH wrote: > On Wed, Jan 20, 2016 at 05:05:39PM +, Ben Hutchings wrote: > > On Tue, 2016-01-19 at 09:54 -0800, Greg KH wrote: > > > On Tue, Jan 19, 2016 at 04:32:08PM +, Ben Hutchings wrote: > > > > As for USB descriptors, I'm somewhat more hopeful

Re: [PATCH] net/irda: bfin_sir: remove duplicate defines

2016-01-21 Thread David Miller
From: Sudip Mukherjee Date: Thu, 21 Jan 2016 10:42:31 +0530 > The defconfig build of blackfin is failing with the error: > > arch/blackfin/include/asm/bfin_serial.h:269:0: warning: "port_membase" > redefined > drivers/net/irda/bfin_sir.h:85:0: note: this is the location of the previous >

Re: question about samsung/sxgbe/sxgbe_xpcs.c

2016-01-21 Thread David Miller
From: Jεan Sacren Date: Wed, 20 Jan 2016 22:10:56 -0700 > From: David Miller > Date: Tue, 19 Jan 2016 14:36:28 -0500 >> >> From: Julia Lawall >> Date: Tue, 19 Jan 2016 19:54:20 +0100 (CET) > > [...] > >> > I just wondered. I was looking at dependencies between networking files. >> > This

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread joerg Reisenweber
On Thu 21 January 2016 09:41:46 Tony Lindgren wrote: > Then for supporting the USB host mode.. We should add regulator support > to the USB PHY driver so if the ID pin is grounded, the PHY driver enables > the VBUS regulator. That too seems to need some coordination between the >

Re: [PATCH] x86/intel/quark: Remove lock bit around kernel IMR

2016-01-21 Thread Andy Shevchenko
On Thu, Jan 21, 2016 at 4:05 PM, Bryan O'Donoghue wrote: > Currently when setting up an IMR around the kernel .text area we lock that > IMR, preventing further modification. While superficially this appears to > be the right thing to do, in fact this doesn't account for a legitimate > change in

4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on

2016-01-21 Thread Pavel Machek
Hi! In 4.4, n900 battery charging works. If indicator is turned off, it stays off, and if I select 1.8A charge, it sticks. (There may be problems after system suspend and resume. But normal operation seems to be pretty reliable). In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery

Re: [PATCH V3 13/21] pci, acpi: Provide generic way to assign bus domain number.

2016-01-21 Thread Tomasz Nowicki
On 21.01.2016 19:22, Lorenzo Pieralisi wrote: Hi Tomasz, On Wed, Jan 13, 2016 at 02:20:59PM +0100, Tomasz Nowicki wrote: [...] @@ -4796,14 +4797,34 @@ void pci_bus_assign_domain_nr(struct pci_bus *bus, struct device *parent) * API and update the use_dt_domains value to keep track

[PATCH] arm64: dts: apq8016-sbc: Add aliases to spi device.

2016-01-21 Thread Srinivas Kandagatla
This patch adds aliases to spi device so that it can get proper bus number rather than a random number. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

Re: [PATCH v12 10/20] dax: Replace XIP documentation with DAX documentation

2016-01-21 Thread Jared Hulbert
HI! I've been out of the community for a while, but I'm trying to step back in here and catch up with some of my old areas of specialty. Couple questions, sorry to drag up such old conversations. The DAX documentation that made it into kernel 4.0 has the following line "The DAX code does not

Re: [PATCH] spi: qup: provide proper bus numbers

2016-01-21 Thread Mark Brown
On Thu, Jan 21, 2016 at 06:33:47PM +, Srinivas Kandagatla wrote: > This driver reuses pdev->id for spi bus numbers resulting in random > or very large bus numbering when used with device trees. pdev->id > is not the correct choice when using device trees. So add code to What makes you say

[RFC PATCH 0/5] x86/cpufeature: Cleanups and improvements

2016-01-21 Thread Borislav Petkov
From: Borislav Petkov So here's the first version of what we talked about. I've ran randbuilds on it for a night because of patch 1 with all the header reorg and we all know how that can be painful. So this version passes all randbuild configs I had generated. In talking about patch 1, it is a

[PATCH 5/5] x86/alternatives: Discard dynamic check after init

2016-01-21 Thread Borislav Petkov
From: Brian Gerst Move the code to do the dynamic check to the altinstr_aux section so that it is discarded after alternatives have run and a static branch has been chosen. Boris: change it to do TESTB, as hpa suggests. Signed-off-by: Brian Gerst Cc: Andrew Morton Cc: Andy Lutomirski Cc:

[PATCH 2/5] x86/cpufeature: Remove static_cpu_has()

2016-01-21 Thread Borislav Petkov
From: Borislav Petkov Well, this one doesn't work properly before alternatives have run. And it was supposed to provide an optimized JMP because the assumption was that the offset it is jumping to is within a signed byte and thus a two-byte JMP. So I did an x86_64 allyesconfig build and dumped

[PATCH 1/5] x86/cpufeature: Carve out X86_FEATURE_*

2016-01-21 Thread Borislav Petkov
From: Borislav Petkov Move them to a separate header and have the following dependency: x86/cpufeatures.h <- x86/processor.h <- x86/cpufeature.h This makes it easier to use the header in asm code and not include the whole cpufeature.h and add guards for asm. Signed-off-by: Borislav Petkov

[PATCH 4/5] x86/alternatives: Add an auxilary section

2016-01-21 Thread Borislav Petkov
From: Borislav Petkov Add .altinstr_aux for additional instructions which will be used before and/or during patching. All stuff which needs more sophisticated patching should go there. See next patch. Signed-off-by: Borislav Petkov --- arch/x86/kernel/vmlinux.lds.S | 9 + 1 file

[PATCH 3/5] x86/cpufeature: Get rid of the non-asm goto variant

2016-01-21 Thread Borislav Petkov
From: Borislav Petkov I can simply quote hpa from the mail: "Get rid of the non-asm goto variant and just fall back to dynamic if asm goto is unavailable. It doesn't make any sense, really, if it is supposed to be safe, and by now the asm goto-capable gcc is in more wide use. (Originally the

[PATCH] MAINTAINERS: add qcom i2c and spi drivers to list

2016-01-21 Thread Srinivas Kandagatla
This patch adds i2c-qup and spi-qup drivers in to the qualcomm maintainer list, so that get maintainers scripts can get correct people to send patch to. Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v4 4/4] pci: Blacklist vpd access for buggy devices

2016-01-21 Thread Babu Moger
Reading or Writing of PCI VPD data causes system panic. We saw this problem by running "lspci -vvv" in the beginning. However this can be easily reproduced by running cat /sys/bus/devices/XX../vpd As even a simple read on any VPD data triggers a system lockup on certain cards this patch

[PATCH] spi: qup: provide proper bus numbers

2016-01-21 Thread Srinivas Kandagatla
This driver reuses pdev->id for spi bus numbers resulting in random or very large bus numbering when used with device trees. pdev->id is not the correct choice when using device trees. So add code to get bus numbers via device tree aliases and if it fails then generate a unique bus number.

Re: [GIT PULL] RCU changes for v4.5

2016-01-21 Thread Geert Uytterhoeven
On Thu, Jan 21, 2016 at 5:01 PM, Paul E. McKenney wrote: > On Thu, Jan 21, 2016 at 01:00:21PM +0100, Geert Uytterhoeven wrote: >> On Mon, Jan 11, 2016 at 1:35 PM, Ingo Molnar wrote: >> > Please pull the latest core-rcu-for-linus git tree from: >> >> > One thing I should note is that these pieces

[PATCH v2] drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION

2016-01-21 Thread John Keeping
If DRM_FBDEV_EMULATION is not selected in the config then we can save a bit of space by not including the framebuffer code. Signed-off-by: John Keeping --- On Thu, 21 Jan 2016 17:52:51 +0100, Daniel Vetter wrote: > On Thu, Jan 21, 2016 at 01:53:46PM +, John Keeping wrote: > > If

Re: [PATCH V3 13/21] pci, acpi: Provide generic way to assign bus domain number.

2016-01-21 Thread Lorenzo Pieralisi
Hi Tomasz, On Wed, Jan 13, 2016 at 02:20:59PM +0100, Tomasz Nowicki wrote: [...] > @@ -4796,14 +4797,34 @@ void pci_bus_assign_domain_nr(struct pci_bus *bus, > struct device *parent) >* API and update the use_dt_domains value to keep track of method we >* are using to assign

[PATCH REBASE 4.5 18/31] media: au0828 change to use Managed Media Controller API

2016-01-21 Thread Shuah Khan
Change au0828 to use Managed Media Controller API to coordinate creating/deleting media device on parent usb device it shares with the snd-usb-audio driver. With this change, au0828 uses media_device_get_devres() to allocate a new media device devres or return an existing one, if it finds one.

[PATCH REBASE 4.5 22/31] media: dvb-core create tuner to demod pad link in disabled state

2016-01-21 Thread Shuah Khan
Create tuner to demod pad link in disabled state to help avoid disable step when tuner resource is requested by video or audio. Signed-off-by: Shuah Khan --- drivers/media/dvb-core/dvbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-core/dvbdev.c

[PATCHv8 3/4] ARM: socfpga: enable L2 cache ECC on startup

2016-01-21 Thread tthayer
From: Dinh Nguyen This patch enables the ECC for L2 cache on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer Signed-off-by: Dinh Nguyen --- v8: Address community suggestions for strings. Fix string

[PATCH REBASE 4.5 26/31] sound/usb: Update ALSA driver to use Managed Media Controller API

2016-01-21 Thread Shuah Khan
Change ALSA driver to use Managed Media Managed Controller API to share tuner with DVB and V4L2 drivers that control AU0828 media device. Media device is created based on a newly added field value in the struct snd_usb_audio_quirk. Using this approach, the media controller API usage can be added

[PATCH REBASE 4.5 16/31] media: au0828 video remove au0828_enable_analog_tuner()

2016-01-21 Thread Shuah Khan
au0828_enable_analog_tuner() is no longer needed with v4l2-core and au0828-video invoking enable_source and disable_source handlers. In addition, it is unnecessary to check for tuner availability in queue_setup() as v4l2-core handles the tuner availability checks. Signed-off-by: Shuah Khan ---

[PATCH REBASE 4.5 00/31] Sharing media resources across ALSA and au0828 drivers

2016-01-21 Thread Shuah Khan
Please note that I am sending just the 4 patches that changed during series rebase to Linux 4.5. The rebase was pain free. media_device_init() type change required changes to patches 18 and 26. I re-tested the series and everything looks good. [PATCH 16/31] media: au0828 video remove

[PATCHv8 2/4] ARM: dts: Add Altera L2 Cache and OCRAM EDAC entries

2016-01-21 Thread tthayer
From: Thor Thayer Adding the device tree entries and bindings needed to support the Altera L2 cache and On-Chip RAM EDAC. This patch relies upon an earlier patch to declare and setup On-chip RAM properly. http://www.spinics.net/lists/devicetree/msg51117.html Signed-off-by: Thor Thayer

Re: [PATCH v4] fuse: Add support for passthrough read/write

2016-01-21 Thread Nikhilesh Reddy
I think it is common style to add a change log between patch set versions in the patch description. And please slow down a bit. Collect a few review comments and then do another version of your patch. :-) Thanks, //richard Thanks Richard and Bernd. Will make sure to wait and add change log.

Re: [PATCH v3 1/3] ASoC: pcm179x: Split into core and SPI parts

2016-01-21 Thread Johan Hovold
On Thu, Jan 21, 2016 at 05:27:58PM +0100, Michael Trimarchi wrote: > Hi > > On Thu, Jan 21, 2016 at 4:36 PM, Johan Hovold wrote: > > On Thu, Jan 21, 2016 at 04:26:56PM +0100, Jacob Siverskog wrote: > >> The pcm179x family supports both SPI and I2C for configuration. This > >> patch splits the

Re: [PATCH v2] soc: mediatek: SCPSYS: use builtin_platform_driver

2016-01-21 Thread Matthias Brugger
On 30/12/15 09:30, Matthias Brugger wrote: SCPSYS can't be built as module. Use builtin_platform_driver instead. For this probe must not be __init and the data accessed can't be __initconst. Remove this macros. To make the impact as small as possible, fold scp_domain_data into scp_domain via a

Re: tty: deadlock between n_tracerouter_receivebuf and flush_to_ldisc

2016-01-21 Thread Peter Hurley
On 01/21/2016 02:20 AM, Peter Zijlstra wrote: > On Thu, Jan 21, 2016 at 11:06:45AM +0100, Dmitry Vyukov wrote: >> On Wed, Jan 20, 2016 at 5:08 PM, Peter Hurley >> wrote: >>> On 01/20/2016 05:02 AM, Peter Zijlstra wrote: On Wed, Dec 30, 2015 at 11:44:01AM +0100, Dmitry Vyukov wrote: > ->

[PATCH v2 4/5] dax: fix PMD handling for fsync/msync

2016-01-21 Thread Ross Zwisler
Fix the way that DAX PMD radix tree entries are handled. With this patch we now check to see if a PMD entry exists in the radix tree on write, even if we are just trying to insert a PTE. If it exists, we dirty that instead of inserting our own PTE entry. Fix a bug in the PMD path in

[PATCH v2 5/5] dax: fix clearing of holes in __dax_pmd_fault()

2016-01-21 Thread Ross Zwisler
When the user reads from a DAX hole via a mmap we service page faults using zero-filled page cache pages. These zero pages are also placed into the address_space radix tree. When we get our first write for that space, we can allocate a PMD page worth of DAX storage to replace that hole. When

[PATCH v2 2/5] dax: clear TOWRITE flag after flush is complete

2016-01-21 Thread Ross Zwisler
Previously in dax_writeback_one() we cleared the PAGECACHE_TAG_TOWRITE flag before we had actually flushed the tagged radix tree entry to media. This is incorrect because of the following race: Thread 1Thread 2

[PATCH v2 3/5] dax: improve documentation for fsync/msync

2016-01-21 Thread Ross Zwisler
Several of the subtleties and assumptions of the DAX fsync/msync implementation are not immediately obvious, so document them with comments. Signed-off-by: Ross Zwisler Reported-by: Jan Kara --- fs/dax.c | 30 ++ 1 file changed, 30 insertions(+) diff --git

[PATCH v2 0/5] DAX fsync/msync fixes

2016-01-21 Thread Ross Zwisler
Changes from v1: - Fixed a macro collision for "PMD_INDEX" reported by 0-day for the "tile" architecture: config: tile-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross

[PATCH v2 1/5] dax: never rely on bh.b_dev being set by get_block()

2016-01-21 Thread Ross Zwisler
Previously in DAX we assumed that calls to get_block() would set bh.b_bdev, and we would then use that value even in error cases for debugging. This caused a NULL pointer dereference in __dax_dbg() which was fixed by a previous commit, but that commit only changed the one place where we were

kernel 4.4.0 OOPS: "x86/mm: Found insecure W+X mapping at address ..."

2016-01-21 Thread suse . dev
I'm booting kernel 4.4.x + xen 4.6 -- recently upgraded from kernel 4.3.x, uname -rm 4.4.0-3.g0567b9b-default x86_64 kernel pkgs are from opensuse repos @ http://download.opensuse.org/repositories/Kernel:/stable/standard Post-upgrade, I'm seeing the following

Re: tty: deadlock between n_tracerouter_receivebuf and flush_to_ldisc

2016-01-21 Thread Peter Hurley
On 01/21/2016 02:06 AM, Dmitry Vyukov wrote: > On Wed, Jan 20, 2016 at 5:08 PM, Peter Hurley > wrote: >> On 01/20/2016 05:02 AM, Peter Zijlstra wrote: >>> On Wed, Dec 30, 2015 at 11:44:01AM +0100, Dmitry Vyukov wrote: -> #3 (>lock){+.+...}: [] lock_acquire+0x19f/0x3c0

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread Tony Lindgren
* joerg Reisenweber [160121 02:30]: > On Thu 21 January 2016 09:40:07 Pali Rohár wrote: > > On Tuesday 19 January 2016 12:33:15 Tony Lindgren wrote: > > > Hi, > > > > > > * Pali Rohár [160109 07:16]: > > > > Hello, > > > > > > > > when I boot 4.4.0-rc7+ kernel compiled with g_nokia into zImage

Re: [PATCH] staging: android: ion: Set the length of the DMA sg entries in buffer

2016-01-21 Thread Laura Abbott
On 01/21/2016 03:57 AM, Jon Medhurst (Tixy) wrote: From: Liviu Dudau ion_buffer_create() will allocate a buffer and then create a DMA mapping for it, but it forgot to set the length of the page entries. Signed-off-by: Liviu Dudau Signed-off-by: Jon Medhurst ---

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2016-01-21 Thread Christoph Lameter
On Thu, 21 Jan 2016, Michal Hocko wrote: > It goes like this: > CPU0: CPU1 > vmstat_update > cpumask_test_and_set_cpu (0->1) > [...] > vmstat_shepherd > >

Re: net/sctp: use-after-free in __sctp_connect

2016-01-21 Thread Marcelo Ricardo Leitner
On Thu, Jan 21, 2016 at 03:18:18PM -0200, Marcelo Ricardo Leitner wrote: > On Tue, Jan 19, 2016 at 09:38:54AM -0500, Vlad Yasevich wrote: > > On 01/15/2016 02:01 PM, Marcelo Ricardo Leitner wrote: > > > On Wed, Jan 13, 2016 at 10:52:31AM +0100, Dmitry Vyukov wrote: > > >> Hello, > > >> > > >> The

Re: [PATCH 0/2] Add Mediatek MT2701 SMP support

2016-01-21 Thread Matthias Brugger
On 07/01/16 13:09, Louis Yu wrote: This patchset is based on 4.4-rc8 and [1], and contains smp support for Mediatek MT2701. MT2701 contains 4 CA7 cores. This patchset adds related SMP support for Mediatek MT2701. [1] https://patchwork.kernel.org/patch/7248471/ Louis Yu (2): ARM:

[PATCH] [v8]Input: evdev: fix bug of dropping valid packet after syn_dropped event

2016-01-21 Thread Aniroop Mathur
If last event dropped in the old queue was EVi_SYN/SYN_REPORT, then lets generate EV_SYN/SYN_REPORT immediately after queing EV_SYN/SYN_DROPPED so that clients would not ignore next valid full packet events. Signed-off-by: Aniroop Mathur --- drivers/input/evdev.c | 46

[PATCHv8 4/4] ARM: socfpga: Enable OCRAM ECC on startup

2016-01-21 Thread tthayer
From: Dinh Nguyen This patch enables the ECC for On-Chip RAM on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer Signed-off-by: Dinh Nguyen --- v8: Address community comments on strings. Fix match

[PATCHv8 1/4] EDAC, altera: Add Altera L2 Cache and OCRAM EDAC Support

2016-01-21 Thread tthayer
From: Thor Thayer Adding L2 Cache and On-Chip RAM EDAC support for the Altera SoCs using the EDAC device model. The SDRAM controller is using the Memory Controller model. Each type of ECC is individually configurable. Signed-off-by: Thor Thayer Signed-off-by: Dinh Nguyen --- v8: Remove MASK

Re: [GIT PULL] RCU changes for v4.5

2016-01-21 Thread Paul E. McKenney
On Thu, Jan 21, 2016 at 01:00:21PM +0100, Geert Uytterhoeven wrote: > On Mon, Jan 11, 2016 at 1:35 PM, Ingo Molnar wrote: > > Please pull the latest core-rcu-for-linus git tree from: > > > One thing I should note is that these pieces of documentation are fairly > > large > > files: > > > >

Re: [PATCH v15 5/6] fpga: fpga-area and fpga-bus: device tree control for FPGA

2016-01-21 Thread atull
On Thu, 21 Jan 2016, Moritz Fischer wrote: > Hi Alan, > > minor nits inline: > > On Wed, Jan 20, 2016 at 8:24 PM, wrote: > > > v15: Add altr,fpga-bus implementation > > Change compatible string "fpga-area" -> "altr,fpga-area" > > Doesn't look that way down there. Or am I reading the

Re: [TROLL PATCH] spi: add option to create spidev nodes for unclaimed chip selects

2016-01-21 Thread Måns Rullgård
Geert Uytterhoeven writes: > On Thu, Jan 21, 2016 at 5:36 PM, Mans Rullgard wrote: >> This adds an option to create spidev nodes for any chip selects not >> bound to a driver via DT/ACPI. It probably doesn't play nicely with >> modules. > > And with pinmux, FWIW ;-) In my particular case, I

Re: [PATCH v15 1/6] fpga: add bindings document for fpga area and fpga bus

2016-01-21 Thread atull
On Thu, 21 Jan 2016, Moritz Fischer wrote: > Hi Alan, > > I tried getting a simple example to work with overlays, however so far > I failed getting > the child nodes to probe drivers, maybe you have an idea? The fpga > image is loaded just fine. > > in dts: > >fpga_bus@0 { >

Re: [PATCH v3 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2016-01-21 Thread rkrc...@redhat.com
2016-01-21 05:33+, Wu, Feng: >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Yang Zhang >> On 2016/1/20 9:42, Feng Wu wrote: >> > + /* >> > + * We may find a hardware disabled LAPIC here, if >> that >>

[PATCH v3] kallsyms: add support for relative offsets in kallsyms address table

2016-01-21 Thread Ard Biesheuvel
Similar to how relative extables are implemented, it is possible to emit the kallsyms table in such a way that it contains offsets relative to some anchor point in the kernel image rather than absolute addresses. The benefit is that such table entries are no longer subject to dynamic relocation

Re: net/sctp: use-after-free in __sctp_connect

2016-01-21 Thread Marcelo Ricardo Leitner
On Tue, Jan 19, 2016 at 09:38:54AM -0500, Vlad Yasevich wrote: > On 01/15/2016 02:01 PM, Marcelo Ricardo Leitner wrote: > > On Wed, Jan 13, 2016 at 10:52:31AM +0100, Dmitry Vyukov wrote: > >> Hello, > >> > >> The following program causes use-after-free in __sctp_connect: > >> > > ... > >> INFO:

Re: [PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

2016-01-21 Thread Tony Lindgren
* Pali Rohár [160121 01:48]: > On Saturday 26 December 2015 00:32:25 Pali Rohár wrote: > > Driver for omap3 with documentation is there since v4.4-rc1. ... > PING! Who can take this patch? Sounds like /me, but after -rc1 when any possible regressions are out of the way :) Regards, Tony

Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues

2016-01-21 Thread Kalle Valo
Helmut Schaa writes: > On Thu, Jan 21, 2016 at 5:56 PM, Helmut Schaa > wrote: >> On Sat, Oct 17, 2015 at 10:04 PM, Paul McQuade wrote: >>> Removed empty spaces before/after parenthesis >>> >>> Signed-off-by: Paul McQuade >> >> Just noticed these did not get applied by Kalle yet. > > Kalle,

Re: [TROLL PATCH] spi: add option to create spidev nodes for unclaimed chip selects

2016-01-21 Thread Geert Uytterhoeven
On Thu, Jan 21, 2016 at 5:36 PM, Mans Rullgard wrote: > This adds an option to create spidev nodes for any chip selects not > bound to a driver via DT/ACPI. It probably doesn't play nicely with > modules. And with pinmux, FWIW ;-) Gr{oetje,eeting}s, Geert -- Geert

Re: [PATCH RFC] pci: Blacklist vpd access for buggy devices

2016-01-21 Thread Babu Moger
On 1/21/2016 9:47 AM, jordan_hargr...@dell.com wrote: >> From: Babu Moger [babu.mo...@oracle.com] >> Sent: Tuesday, January 19, 2016 2:39 PM >> To: Hargrave, Jordan; bhelg...@google.com >> Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >> alexander.du...@gmail.com; h...@suse.de;

Re: [PATCH 3/3] net: wireless: rt2x00: Space Required

2016-01-21 Thread Helmut Schaa
On Sat, Oct 17, 2015 at 11:11 PM, Paul McQuade wrote: > Space needed before open parenthesis > > Signed-off-by: Paul McQuade Looks valid to me. Acked-by: Helmut Schaa > --- > drivers/net/wireless/rt2x00/rt2x00debug.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [BUG REPORT] ktime_get_ts64 causes Hard Lockup

2016-01-21 Thread Jeff Merkey
Hi Thomas, I figured out where the top-posting is coming from -- gmail web client does it automatically. Switching email clients. I will still use gmail for smtp forwarding but their busted piece of crap web email client automatically top posts when you use the "reply" window and it's gone. I

Re: use-after-free in perf_trace_btrfs__work

2016-01-21 Thread Chris Mason
On Thu, Jan 14, 2016 at 10:07:31PM -0500, Dave Jones wrote: > I just hit a bunch of instances of this spew.. > This is on Linus' tree from a few hours ago > > == > BUG: KASAN: use-after-free in perf_trace_btrfs__work+0x1b1/0x2a0

[PATCH] ACPI / tables: Add acpi_force_32bit_fadt_addr option to force 32 bit FADT addresses

2016-01-21 Thread Colin King
From: Colin Ian King BugLink: https://bugs.launchpad.net/bugs/1529381 Some HP laptops seem to have invalid 64 bit FADT X_PM* addresses which are causing various boot issues. In these cases, it would be useful to force ACPI to use the valid legacy 32 bit equivalent PM addresses. Add a

Re: [PATCH 1/2] scsi: Do not attach VPD to devices that don't support it

2016-01-21 Thread Alexander Duyck
On Wed, Jan 20, 2016 at 11:37 PM, Hannes Reinecke wrote: > On 01/21/2016 07:35 AM, Alexander Duyck wrote: >> The patch "scsi: rescan VPD attributes" introduced a regression in which >> devices that don't support VPD were being scanned for VPD attributes >> anyway. This could cause issues for

Re: [PATCH 1/3] net: wireless: rt2x00: Space issue

2016-01-21 Thread Helmut Schaa
On Sat, Oct 17, 2015 at 11:06 PM, Paul McQuade wrote: > Removed empty spaces before/after parenthesis > > Signed-off-by: Paul McQuade Looks valid to me as well. Acked-by: Helmut Schaa > --- > drivers/net/wireless/rt2x00/rt2x00.h | 24 > 1 file changed, 12

Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues

2016-01-21 Thread Helmut Schaa
On Thu, Jan 21, 2016 at 5:56 PM, Helmut Schaa wrote: > On Sat, Oct 17, 2015 at 10:04 PM, Paul McQuade wrote: >> Removed empty spaces before/after parenthesis >> >> Signed-off-by: Paul McQuade > > Just noticed these did not get applied by Kalle yet. Kalle, can you fix up the path (ralink/rt2x00

Re: [PATCH] drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION

2016-01-21 Thread Daniel Vetter
On Thu, Jan 21, 2016 at 01:53:46PM +, John Keeping wrote: > If DRM_FBDEV_EMULATION is not selected in the config then we should not > setup a framebuffer console. It should just magically work, and this patch here just removes a bit more dead code in the rockchip driver itself that's not

Re: [PATCH v2 5/5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-21 Thread Borislav Petkov
On Thu, Jan 21, 2016 at 04:10:40PM +0100, Peter Zijlstra wrote: > > > > + cpumask_clear(pmu->mask); > > > > + cpumask_clear(pmu->tmp_mask); > > > > > > > > for (i = 0; i < cores_per_cu; i++) > > > > + cpumask_set_cpu(i, pmu->mask); > > > > > > > > +

Re: [BUG REPORT] ktime_get_ts64 causes Hard Lockup

2016-01-21 Thread Jeff Merkey
I am switching email clients from gmail. This stupid email client of theirs constantly top posts and sends multiple emails replies when you try to send a reply. I apologize yet again for the top posting. It's gmail doing it. Unless I delete the entire previous message it will always top post.

Re: [PATCH 2/3] net: wireless: rt2x00: Pointer issue

2016-01-21 Thread Helmut Schaa
On Sat, Oct 17, 2015 at 11:06 PM, Paul McQuade wrote: > Code Style: pointer is declared wrong > > Signed-off-by: Paul McQuade Thanks for fixing this code style issue. Acked-by: Helmut Schaa > --- > drivers/net/wireless/rt2x00/rt2x00.h | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2016-01-21 Thread Michal Hocko
On Thu 21-01-16 09:45:12, Christoph Lameter wrote: > On Thu, 21 Jan 2016, Michal Hocko wrote: [...] > > The vmstat update might be still waiting for its timer, idle mode started > > and kick vmstat_update which might cpumask_test_and_set_cpu. Once the > > idle terminates and the originally

Re: [BUG REPORT] ktime_get_ts64 causes Hard Lockup

2016-01-21 Thread Jeff Merkey
One other item worth mentioning is the effect of this bug on the user space daemons. Since this bug is in all kernels from 3.6-v4.4, folks will see the following behavior of systemd when this bug fires off and the value wraps: id 0a0c809bcdc0812145d9c35456e46335650601b7 reason:

Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues

2016-01-21 Thread Helmut Schaa
On Sat, Oct 17, 2015 at 10:04 PM, Paul McQuade wrote: > Removed empty spaces before/after parenthesis > > Signed-off-by: Paul McQuade Just noticed these did not get applied by Kalle yet. Looks good to me. Acked-by: Helmut Schaa > --- > drivers/net/wireless/rt2x00/rt61pci.h | 20

Re: [RESEND PATCH 0/2] Remove the mistakes detected by the check tools.

2016-01-21 Thread Mathieu Poirier
On 19 January 2016 at 23:39, Eric Long wrote: > Both of the two patches optimize the code and remove the mistakes and > warnings detected by the check tools. > > Eric Long (2): > coresight: tmc/etm4x: Remove the mistakes detected by sparse tool > coresight: Remove the mistakes detected by

Re: [PATCH] ARM: dts: n900: Include adp1653 device

2016-01-21 Thread Russell King - ARM Linux
On Thu, Jan 21, 2016 at 08:38:57AM -0800, Tony Lindgren wrote: > * Pavel Machek [160121 02:19]: > > On Thu 2016-01-21 09:29:10, Russell King - ARM Linux wrote: > > > The merge window is open, which is when development code that was merged > > > in good time prior to the merge window is sent

Re: [PATCH] 8250: uniphier: allow modular build with 8250 console

2016-01-21 Thread Masahiro Yamada
Hi Rob. 2016-01-21 23:09 GMT+09:00 Rob Herring : > On Thu, Jan 21, 2016 at 6:21 AM, Arnd Bergmann wrote: >> On Thursday 21 January 2016 20:39:03 Masahiro Yamada wrote: >>> 2016-01-14 7:33 GMT+09:00 Arnd Bergmann : >>> > The recently added uniphier 8250 port driver supports early console >>> >

[PATCH RESEND 1/2] fs/pstore: Use memcpy_toio instead of memcpy

2016-01-21 Thread Enric Balletbo i Serra
From: Furquan Shaikh persistent_ram_update uses vmap / iomap based on whether the buffer is in memory region or reserved region. However, both map it as non-cacheable memory. For armv8 specifically, non-cacheable mapping requests use a memory type that has to be accessed aligned to the request

[PATCH RESEND 0/2] fs/pstore: Use memcpy_from/toio() instead of memcpy.

2016-01-21 Thread Enric Balletbo i Serra
Dear all, These patches were needed in order to make ramoops work in my armv8 board. They originally come from chrome os kernel, so I kept the original authors. I found that weren't in mainline so I thought that will be really interesting send them. Best regards, Enric Andrew Bresticker (1):

Re: [PATCH v15 0/6] altera fpga area and fpga bus

2016-01-21 Thread atull
On Thu, 21 Jan 2016, Moritz Fischer wrote: > Hi Alan, > > On Wed, Jan 20, 2016 at 8:24 PM, wrote: > > From: Alan Tull > > > > For v15, I'm not using the FPGA Manager as the bus. I'm adding a FPGA Bus; > > the FPGA Manager and bridges go below it. > > > > I've gotten enough feedback that my

[PATCH RESEND 2/2] fs/pstore: Use memcpy_fromio() to save old ramoops buffer

2016-01-21 Thread Enric Balletbo i Serra
From: Andrew Bresticker The ramoops buffer may be mapped as either I/O memory or uncached memory. On ARM64, this results in a device-type (strongly-ordered) mapping. Since unnaligned accesses to device-type memory will generate an alignment fault (regardless of whether or not strict alignment

Re: [PATCH] ARM: dts: n900: Include adp1653 device

2016-01-21 Thread Tony Lindgren
* Pavel Machek [160121 02:19]: > On Thu 2016-01-21 09:29:10, Russell King - ARM Linux wrote: > > The merge window is open, which is when development code that was merged > > in good time prior to the merge window is sent upstream to Linus. Linux > > maintainers may choose not to merge new code

Re: [Resend PATCH V5 1/1] NTB: Add support for AMD PCI-Express Non-Transparent Bridge

2016-01-21 Thread Jon Mason
On Thu, Jan 21, 2016 at 2:24 AM, Yu, Xiangliang wrote: >> From: Xiangliang Yu >> >> > Signed-off-by: Xiangliang Yu >> >> Yes. >> >> > Reviewed-by: Jon Mason >> >> Maybe, but that's for Jon to decide. If he accepts it, he will add >> signed-off-by, >> but again, that's for Jon to decide. > >

[TROLL PATCH] spi: add option to create spidev nodes for unclaimed chip selects

2016-01-21 Thread Mans Rullgard
This adds an option to create spidev nodes for any chip selects not bound to a driver via DT/ACPI. It probably doesn't play nicely with modules. Signed-off-by: Mans Rullgard --- drivers/spi/Kconfig | 4 drivers/spi/spi.c | 29 + 2 files changed, 33

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread rkrc...@redhat.com
2016-01-21 13:44+0800, Yang Zhang: > On 2016/1/21 13:41, Wu, Feng wrote: >>>From: Yang Zhang [mailto:yang.zhang...@gmail.com] >>>We may have different understanding on PI mode. My understanding is if >>>we set the IRTE to PI format, than the subsequent interrupt will be >>>handled in PI mode.

[PATCH v2] of: drop symbols declared by _OF_DECLARE() from modules

2016-01-21 Thread Masahiro Yamada
The users of this macro (OF_EARLYCON_DECLARE, CLK_OF_DECLARE, IRQCHIP_DECLARE, etc.) are only parsed in the early boot stage. Such symbols contained in modules are never used. This commit fixes the link error introduced by commit b8d20e06eaad ("serial: 8250_uniphier: add earlycon support"); the

Re: [PATCH v15 2/6] add sysfs document for fpga bridge class

2016-01-21 Thread atull
On Wed, 20 Jan 2016, at...@opensource.altera.com wrote: > From: Alan Tull > > Add documentation for new FPGA bridge class's sysfs interface. > > Signed-off-by: Alan Tull I've received two emails that there was no patch in this email. The copy I received has 11 lines of changes, adding one

Re: [PATCH v3] NVMe: init nvme queue before enabling irq

2016-01-21 Thread Johannes Thumshirn
On Thu, Jan 21, 2016 at 06:40:45AM -0500, Wenbo Wang wrote: > From: Wenbo Wang > > [v3] Do request irq in nvme_init_queue() to handle request irq failures > > There is one problem with the original patch. Since init queue happens > before request irq, online_queue might be left increased if

Re: [PATCH v3 21/21] arm64: efi: invoke EFI_RNG_PROTOCOL to supply KASLR randomness

2016-01-21 Thread Matt Fleming
On Mon, 11 Jan, at 02:19:15PM, Ard Biesheuvel wrote: > Since arm64 does not use a decompressor that supplies an execution > environment where it is feasible to some extent to provide a source of > randomness, the arm64 KASLR kernel depends on the bootloader to supply > some random bits in register

Re: [PATCH v2 1/2] regulator: Add coupled regulator

2016-01-21 Thread Mark Brown
On Thu, Jan 21, 2016 at 04:46:49PM +0100, Maxime Ripard wrote: > I guess a separate driver would make it easier to deal with cases like > the one you suggested (shutting down when the load is going to be > lower). I don't see how we could have a good DT representation of that > if we're going to

Re: [PATCH 1/2] regulator: ltc3589: make IRQ optional

2016-01-21 Thread Mark Brown
On Thu, Jan 21, 2016 at 12:33:11PM +0100, Lothar Waßmann wrote: > > On Thu, Jan 21, 2016 at 11:26:11AM +0100, Lothar Waßmann wrote: > > > > On Thu, Jan 21, 2016 at 08:05:24AM +0100, Lothar Waßmann wrote: > > > > > > On Wed, Jan 20, 2016 at 01:29:51PM +0100, Lothar Waßmann wrote: > > > > > > >

Re: [PATCH v3 1/3] ASoC: pcm179x: Split into core and SPI parts

2016-01-21 Thread Michael Trimarchi
Hi On Thu, Jan 21, 2016 at 4:36 PM, Johan Hovold wrote: > On Thu, Jan 21, 2016 at 04:26:56PM +0100, Jacob Siverskog wrote: >> The pcm179x family supports both SPI and I2C for configuration. This >> patch splits the driver into core and SPI parts, in preparation for >> I2C support. >> >>

[PATCH v3] ARM: edma: fix residue race for cyclic

2016-01-21 Thread John Ogness
multiple exit conditions for busy wait loop v2-v3 changes . rebased for next-20160121 . reduced max loops from 1 to 1000 . loop countdown instead of count . change debug print function and message . fine-tune comments drivers/dma/edma.c | 40 +++- 1 file

[GIT PULL] PCI changes for v4.5

2016-01-21 Thread Bjorn Helgaas
Hi Linus, Here are the PCI changes I intend for v4.5. With respect to your current head (30f05309bde4), there's one trivial conflict in include/linux/pci_ids.h (PCI_VENDOR_ID_NETRONOME added both via David Miller and me). Bjorn The following changes since commit

Re: [PATCH v3 20/21] efi: stub: use high allocation for converted command line

2016-01-21 Thread Matt Fleming
On Mon, 11 Jan, at 02:19:14PM, Ard Biesheuvel wrote: > Before we can move the command line processing before the allocation > of the kernel, which is required for detecting the 'nokaslr' option > which controls that allocation, move the converted command line higher > up in memory, to prevent it

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2016-01-21 Thread Thierry Reding
On Mon, Dec 28, 2015 at 04:35:46PM +0100, Arnd Bergmann wrote: > On Monday 28 December 2015 10:20:56 Thierry Reding wrote: > > > > > HTC apparently uses a separate RAM area to pass the reboot reason, > > > > > and they have a driver to store that, which is separate from the > > > > > driver that

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-21 Thread Radim Krčmář
2016-01-20 09:42+0800, Feng Wu: > When the interrupt is not single destination any more, we need > to change back IRTE to remapped mode explicitly. > > Signed-off-by: Feng Wu > --- > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > @@ -10764,8 +10764,17 @@ static int

Re: [PATCH v3 19/21] efi: stub: add implementation of efi_random_alloc()

2016-01-21 Thread Matt Fleming
On Mon, 11 Jan, at 02:19:13PM, Ard Biesheuvel wrote: > This implements efi_random_alloc(), which allocates a chunk of memory of > a certain size at a certain alignment, and uses the random_seed argument > it receives to randomize the offset of the allocation. s/offset/address/ ? I see what

Re: [PATCH v4 6/6] drm/dsi: Get DSI host by DT device node

2016-01-21 Thread Thierry Reding
On Thu, Dec 10, 2015 at 06:11:40PM +0530, Archit Taneja wrote: > mipi_dsi_devices are inherently aware of their host because they > share a parent-child hierarchy in the device tree. > > non-dsi drivers that create dsi device don't have this data. In order to > get this information, they require

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