Re: [PATCH 1/2] x86/efi: Correct a tiny mistake in code comment

2017-03-08 Thread Bhupesh Sharma
Hi Dave, On Wed, Mar 8, 2017 at 1:48 PM, Dave Young wrote: > On 03/08/17 at 03:47pm, Baoquan He wrote: >> EFI allocate runtime services regions down from EFI_VA_START, -4G. >> It should be top-down handling. >> >> Signed-off-by: Baoquan He >> --- >> arch/x86/platform/efi/efi_64.c | 2 +- >> 1

Re: [PATCH v2] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

2017-03-08 Thread Gregory CLEMENT
Hi Ralph, On mar., mars 07 2017, Ralph Sennhauser wrote: > On Tue, 07 Mar 2017 18:27:21 +0100 > Gregory CLEMENT wrote: >> >> It is now in mvebu/dt and in the same time I fixed the title to: >> "ARM: dts: armada-385: add support for the Linksys WRT1900ACS >> (Shelby)" >> >> Gregory >> > >

Re: [PATCH 1/2] x86/efi: Correct a tiny mistake in code comment

2017-03-08 Thread Baoquan He
Forgot cc to Boris, add him. On 03/08/17 at 04:18pm, Dave Young wrote: > On 03/08/17 at 03:47pm, Baoquan He wrote: > > EFI allocate runtime services regions down from EFI_VA_START, -4G. > > It should be top-down handling. > > > > Signed-off-by: Baoquan He > > --- > >

[PATCH 2/2] perf probe: Remove stale func add_perf_probe_events

2017-03-08 Thread Ravi Bangoria
I don't see any user of this function. This function was being copied to tools/perf/builtin-probe.c by commit b02137cc6550 ("perf probe: Move print logic into cmd_probe()"). Since then it has became stale. Signed-off-by: Ravi Bangoria --- tools/perf/util/probe-event.c | 18 -- 1

Re: [PATCH] mm: Do not use double negation for testing page flags

2017-03-08 Thread Vlastimil Babka
On 03/08/2017 06:25 AM, Minchan Kim wrote: > Hi Anshuman, > > On Tue, Mar 07, 2017 at 09:31:18PM +0530, Anshuman Khandual wrote: >> On 03/07/2017 12:06 PM, Minchan Kim wrote: >>> With the discussion[1], I found it seems there are every PageFlags >>> functions return bool at this moment so we

Re: [PATCH] iio: multiplexer: fix unsigned check with less than zero

2017-03-08 Thread Colin Ian King
On 08/03/17 08:59, Peter Rosin wrote: > On 2017-03-07 16:06, Colin King wrote: >> From: Colin Ian King >> >> Comparing a size_t with less than zero is always false as size_t >> is unsigned. The intent of the comparison was to check if the size >> was -1 (that is, undefined), so use that instead.

Re: [PATCH 1/2] x86/efi: Correct a tiny mistake in code comment

2017-03-08 Thread Baoquan He
On 03/08/17 at 09:54am, Borislav Petkov wrote: > On Wed, Mar 08, 2017 at 04:45:13PM +0800, Baoquan He wrote: > > -4G and -68G just a trick which makes people understand easily, still we > > think kernel text mapping region is in higher addr area then vmalloc. I > > personnally think. > > Just

[PATCH 1/4] qxl: drop mode_info.modes & related code.

2017-03-08 Thread Gerd Hoffmann
very old qxl hardware revisions (predating qxl ksm support by a few years) supported a fixed list of video modes only. The list is still provided by the virtual hardware, for backward compatibility reasons. The qxl kms driver never ever looks at it, except for dumping it to the kernel log at

[PATCH 2/4] qxl: limit monitor config read retries

2017-03-08 Thread Gerd Hoffmann
When reading the monitor config fails, don't retry forever. If it fails ten times in a row just give up to avoid the driver hangs. Also add a small delay after each attempt, so the host has a chance to complete a partial update. Signed-off-by: Gerd Hoffmann ---

[PATCH v4 0/7] mmc: bcm2835: Add new driver for the sdhost controller

2017-03-08 Thread Gerd Hoffmann
Hi, Next version if the bcm2835 sdhost patch series. New in v4: * squashed in more cleanups by Stefan. * removed the long cleanup patch list from commit message (patch 2). * rebased to (and tested with) 4.11-rc1. * minor fixes pointed out in review. New in v3: * squashed in cleanups

[PATCH v4 3/7] mmc: bcm2835: add sdhost controller to devicetree

2017-03-08 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Eric Anholt --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 6 ++ arch/arm/boot/dts/bcm283x.dtsi | 10 ++ 2 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi index

Re: [PATCH v2] dmaengine: rcar-dmac: enable descriptor mode on 40bit

2017-03-08 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Wednesday 08 Mar 2017 00:42:54 Kuninori Morimoto wrote: > From: Kuninori Morimoto > > SYS-DMAC can use 40bit address transfer, and it supports Descriptor > Mode too. Current SYS-DMAC driver disables Descriptor Mode if it was > 40bit address today.

Re: [PATCH 1/2] x86/efi: Correct a tiny mistake in code comment

2017-03-08 Thread Baoquan He
On 03/08/17 at 02:30pm, Bhupesh Sharma wrote: > Hi Dave, > > On Wed, Mar 8, 2017 at 1:48 PM, Dave Young wrote: > > On 03/08/17 at 03:47pm, Baoquan He wrote: > >> EFI allocate runtime services regions down from EFI_VA_START, -4G. > >> It should be top-down handling. > >> > >> Signed-off-by:

[PATCH v4 7/7] arm64: dts: bcm2837: add and

2017-03-08 Thread Gerd Hoffmann
For the raspberry pi 3 we'll need both sdhci (handles sdio wifi) and sdhost (handles sdcard). Signed-off-by: Gerd Hoffmann Acked-by: Eric Anholt --- arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 17 + 1 file changed, 17 insertions(+) diff --git

Re: [PATCH v2 1/2] sched/loadavg: Avoid loadavg spikes caused by delayed NO_HZ accounting

2017-03-08 Thread Wanpeng Li
2017-02-17 20:07 GMT+08:00 Matt Fleming : > If we crossed a sample window while in NO_HZ we will add LOAD_FREQ to > the pending sample window time on exit, setting the next update not > one window into the future, but two. > > This situation on exiting NO_HZ is described by: > >

[PATCH v4 2/7] mmc: bcm2835: Add new driver for the sdhost controller.

2017-03-08 Thread Gerd Hoffmann
From: Eric Anholt The 2835 has two SD controllers: The Arasan sdhci controller (supported by the iproc driver) and a custom sdhost controller. This patch adds a driver for the latter. The sdhci controller supports both sdcard and sdio. The sdhost controller supports the sdcard only, but has

[PATCH v4 1/7] dt-bindings: Add binding for brcm,bcm2835-sdhost.

2017-03-08 Thread Gerd Hoffmann
From: Eric Anholt This is the other SD controller on the platform, which can be swapped to the role of SD card host using pin muxing. Signed-off-by: Eric Anholt Signed-off-by: Gerd Hoffmann Acked-by: Rob Herring --- .../bindings/mmc/brcm,bcm2835-sdhost.txt | 23

[PATCH v4 6/7] arm: dts: bcm283x: switch from to

2017-03-08 Thread Gerd Hoffmann
sdcard access with the sdhost controller is faster. Read access (dd with 64k blocks on rpi2): CONFIG_MMC_SDHCI_IPROC: 11-12 MB/s CONFIG_MMC_BCM2835: 19-20 MB/s Differences on write access are pretty much in the noise. Signed-off-by: Gerd Hoffmann Acked-by: Eric Anholt ---

[PATCH v4 4/7] arm: set CONFIG_MMC_BCM2835=y in bcm2835_defconfig and multi_v7_defconfig

2017-03-08 Thread Gerd Hoffmann
We need to enable this controller so that we can switch the SD card's pinmux over to it by default, which will improve storage performance. Read access (dd with 64k blocks on rpi2): CONFIG_MMC_SDHCI_IPROC: 11-12 MB/s CONFIG_MMC_BCM2835: 19-20 MB/s Differences on write access are pretty

[PATCH 3/4] qxl: read monitors config at boot

2017-03-08 Thread Gerd Hoffmann
Try to read the client monitors config at driver load time, even without explicit notification. So in case that info was filled before the driver loaded and we've missed the notifications because of that the settings will still be used. With that place we now have to take care to properly handle

[PATCH v4 5/7] arm64: set CONFIG_MMC_BCM2835=y in defconfig

2017-03-08 Thread Gerd Hoffmann
We need to enable this controller so that we can switch the SD card's pinmux over to it by default, which will improve storage performance. Read access (dd with 64k blocks on rpi2): CONFIG_MMC_SDHCI_IPROC: 11-12 MB/s CONFIG_MMC_BCM2835: 19-20 MB/s Differences on write access are pretty

[PATCH 4/4] qxl: fix qxl_conn_get_modes

2017-03-08 Thread Gerd Hoffmann
Call qxl_add_monitors_config_modes() unconditionally. Do all sanity checks in that function. Fix sanity checks. monitors_config is the current monitor configuration, whereas client_monitors_config is the configuration requested by the spice client. So when filling the mode list, based on the

[RFC PATCH] sched/wait: Add dependency for now

2017-03-08 Thread Ingo Molnar
* Ingo Molnar wrote: > In any case, it's clear that this stuff is in no way v4.11 material, so as a > bridging fix I propose we add a sched/signal.h include to wait.h (or just > move > signal_pending() temporarily), until it's all resolved for real for v4.12. I.e. I propose the patch below

[PATCH 0/1] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread john . hubbard
From: John Hubbard Hi, Say, I'm 99% sure that this was just an oversight, so I'm sticking my neck out here and floating a patch to Put Things Back. I'm hoping that there is not some firm reason to GPL-protect the basic kref_get and kref_put routines, because when designing some recent new

Re: About boot time Tux logo with -EPROBE_DEFER

2017-03-08 Thread Geert Uytterhoeven
Hi Morimoto-san, On Tue, Mar 7, 2017 at 2:24 AM, Kuninori Morimoto wrote: > I want to ask you about boot time Tux logo. > > For some reasons, current our video driver returns -EPROBE_DEFER when > probe timing, but logo init function doesn't care it. > Thus, our kernel can't have logo when boot

[PATCH] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread john . hubbard
From: John Hubbard Originally, kref_get and kref_put were available as standard routines that even non-GPL device drivers could use. However, as an unintended side effect of the recent kref_*() upgrade[1], these calls are now effectively GPL, because they get routed to the new refcount_inc() and

Re: [PATCH] reset: sunxi: fix for 64-bit compilation

2017-03-08 Thread Andre Przywara
Hi, On 08/03/17 04:28, Chen-Yu Tsai wrote: > On Mon, Mar 6, 2017 at 9:35 AM, Andre Przywara wrote: >> The Allwinner reset controller has 32-bit registers, so translating >> the reset cell number into a register and bit offset should not use >> any architecture dependent data size. Otherwise this

Re: [PATCH v4 0/7] mmc: bcm2835: Add new driver for the sdhost controller

2017-03-08 Thread Gerd Hoffmann
On Mi, 2017-03-08 at 10:19 +0100, Gerd Hoffmann wrote: > Hi, > > Next version if the bcm2835 sdhost patch series. Oops, had some stale qxl patch files laying around which got sent with this series by mistake. Just ignore these, and sorry for the spam. cheers, Gerd

Re: [PATCH] iio: multiplexer: fix unsigned check with less than zero

2017-03-08 Thread Peter Rosin
On 2017-03-07 16:06, Colin King wrote: > From: Colin Ian King > > Comparing a size_t with less than zero is always false as size_t > is unsigned. The intent of the comparison was to check if the size > was -1 (that is, undefined), so use that instead. > > Detected by CoverityScan, CID#1415278

Re: [PATCH 1/2] x86/efi: Correct a tiny mistake in code comment

2017-03-08 Thread Borislav Petkov
On Wed, Mar 08, 2017 at 05:09:55PM +0800, Baoquan He wrote: > Yes, it looks better. I can repost with this change. Thanks. No it doesn't: #define EFI_VA_START ( -4 * (_AC(1, UL) << 30)) #define EFI_VA_END (-68 * (_AC(1, UL) << 30)) That's -4G (the shift by 30) and -68G, respectively.

RE: [PATCH 10/29] drivers, md: convert stripe_head.count from atomic_t to refcount_t

2017-03-08 Thread Reshetova, Elena
> On Mon, Mar 06, 2017 at 04:20:57PM +0200, Elena Reshetova wrote: > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to avoid accidental > > refcounter overflows that might lead to use-after-free > >

Re: [PATCH V3 0/4] megachips-stdpxxxx-ge-b850v3-fw

2017-03-08 Thread Peter Senna Tschudin
On Mon, Mar 06, 2017 at 03:27:16PM +0530, Archit Taneja wrote: Hi Archit, > Hi, > > On 3/3/2017 9:27 PM, Peter Senna Tschudin wrote: > > The video processing pipeline on the second output on the GE B850v3: > > > > Host -> LVDS|--(STDP4028)--|DP -> DP|--(STDP2690)--|DP++ -> Video output > > >

Re: [GIT pull] CPU hotplug updates for 4.9

2017-03-08 Thread Thomas Gleixner
Bart, On Tue, 7 Mar 2017, Bart Van Assche wrote: > On Tue, 2017-03-07 at 10:30 +0100, Thomas Gleixner wrote: > > That's odd. There was no change related to the hotplug stuff post 4.10 > > neither in the core nor in that particular driver. > > > > I have no immediate clue what to look for aside

Re: [PATCH] crypto: s5p-sss - Fix completing crypto request in IRQ handler

2017-03-08 Thread Herbert Xu
On Sun, Mar 05, 2017 at 07:14:07PM +0200, Krzysztof Kozlowski wrote: > In a regular interrupt handler driver was finishing the crypt/decrypt > request by calling complete on crypto request. This is disallowed since > converting to skcipher in commit b286d8b1a690 ("crypto: skcipher - Add >

Re: next build: 208 builds: 21 failed, 187 passed, 53 errors, 406 warnings (next-20170308)

2017-03-08 Thread Ingo Molnar
* Arnd Bergmann wrote: > > bmips_be_defconfig (mips) — FAIL, 1 error, 1 warning, 0 section mismatches > > > > Errors: > > arch/mips/kernel/smp-bmips.c:183:38: error: implicit declaration of function > > 'task_stack_page' [-Werror=implicit-function-declaration] > > A new regression from the end

Re: [PATCH 2/2] perf probe: Remove stale func add_perf_probe_events

2017-03-08 Thread Masami Hiramatsu
On Wed, 8 Mar 2017 12:29:08 +0530 Ravi Bangoria wrote: > I don't see any user of this function. This function was being copied > to tools/perf/builtin-probe.c by commit b02137cc6550 ("perf probe: Move > print logic into cmd_probe()"). Since then it has became stale. Hmm, I have intended to

Re: [PATCH 1/1] x86/cqm: Cqm requirements

2017-03-08 Thread Thomas Gleixner
Stephane, On Tue, 7 Mar 2017, Stephane Eranian wrote: > On Tue, Mar 7, 2017 at 12:04 PM, Luck, Tony wrote: > >> That's all nice and good, but I still have no coherent explanation why > >> measuring across allocation domains makes sense. > > > > Is this in reaction to this one? > > > >>> 5)

[PATCH, RESEND] staging: octeon: remove unused variable

2017-03-08 Thread Arnd Bergmann
A cleanup patch left one local variable without a reference: drivers/staging/octeon/ethernet-rx.c:339:28: warning: unused variable 'priv' [-Wunused-variable] This removes the declaration too. Fixes: 66812da3a689 ("staging: octeon: Use net_device_stats from struct net_device") Signed-off-by:

RE: [PATCH 08/29] drivers, md: convert mddev.active from atomic_t to refcount_t

2017-03-08 Thread Reshetova, Elena
> On Mon, Mar 06, 2017 at 04:20:55PM +0200, Elena Reshetova wrote: > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to avoid accidental > > refcounter overflows that might lead to use-after-free > >

[PATCH v4 0/7] arm: dts: imx6q-icore: Add LVDS display nodes

2017-03-08 Thread Jagan Teki
From: root This series adds support for lvds display, touchscreen nodes on dts for Engicam i.CoreM6 Quad boards along with selecting few touchscreen driver configs to imx_v6_v7_defconfig so-that select by default. Jagan Teki (7): arm: dts: imx6qdl-icore: Add backlight support for lvds arm:

[PATCH 2/2] reset: simple: read back to make sure changes are applied

2017-03-08 Thread Philipp Zabel
Read back the register after setting or clearing a reset bit to make sure that the changes are applied to the reset controller hardware. Theoretically, this avoids the write to stay stuck in a store buffer during the delay of an assert-delay-deassert sequence, and makes sure that the reset really

Re: [RFC PATCH 3/4] xfs: map KM_MAYFAIL to __GFP_RETRY_MAYFAIL

2017-03-08 Thread Michal Hocko
On Tue 07-03-17 09:05:19, Darrick J. Wong wrote: > On Tue, Mar 07, 2017 at 04:48:42PM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > KM_MAYFAIL didn't have any suitable GFP_FOO counterpart until recently > > so it relied on the default page allocator behavior for the given set > > of

Re: [PATCH v7 06/07] iommu/ipmmu-vmsa: ARM and ARM64 archdata access

2017-03-08 Thread Geert Uytterhoeven
Hi Magnus, On Tue, Mar 7, 2017 at 4:17 AM, Magnus Damm wrote: > From: Magnus Damm > > Not all architectures have an iommu member in their archdata, so > use #ifdefs support build with COMPILE_TEST on any architecture. to support > Signed-off-by: Magnus Damm > Reviewed-by: Joerg Roedel

[PATCH 1/2] reset: add reset-simple to unify socfpga, stm32, and sunxi

2017-03-08 Thread Philipp Zabel
Reset operations for simple reset controllers with reset lines that can be controlled by toggling bits in (mostly) contiguous register ranges using read-modify-write cycles under a spinlock. So far this covers the socfpga, stm32, and sunxi drivers. Signed-off-by: Philipp Zabel ---

Re: [PATCH v11 2/9] mmc: cavium: Add core MMC driver for Cavium SOCs

2017-03-08 Thread Ulf Hansson
[...] >> > Voltage is limited to 3.3v and shared for all slots. >> >> What voltage? The I/O voltage or the voltage for the card? >> >> VMMC or VMMCQ? > > From my understanding both, VMMC and VMMCQ are fixed at 3.3v. Okay, then make sure to explicitly state that here. [...] >> > + if

Re: [PATCH] mm: Do not use double negation for testing page flags

2017-03-08 Thread Michal Hocko
On Wed 08-03-17 08:51:23, Vlastimil Babka wrote: > On 03/08/2017 06:25 AM, Minchan Kim wrote: [...] > > Although we can add a little description > > somewhere in page-flags.h, I believe changing to boolean is more > > clear/not-error-prone so Chen's work is enough worth, I think. > > Agree,

Re: [PATCH] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread John Hubbard
On 03/08/2017 01:50 AM, Greg Kroah-Hartman wrote: On Wed, Mar 08, 2017 at 01:25:49AM -0800, john.hubb...@gmail.com wrote: From: John Hubbard Originally, kref_get and kref_put were available as standard routines that even non-GPL device drivers could use. As I stated in my response to the

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-03-08 Thread Michal Hocko
On Tue 07-03-17 14:52:36, Rik van Riel wrote: > On Tue, 2017-03-07 at 14:30 +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > Tetsuo Handa has reported [1][2] that direct reclaimers might get > > stuck > > in too_many_isolated loop basically for ever because the last few > > pages > > on

[PATCH] livepatch: make klp_mutex proper part of API

2017-03-08 Thread Jiri Kosina
From: Jiri Kosina klp_mutex is shared between core.c and transition.c, and as such would rather be properly located in livepatch.h so that we don't have to play 'extern' games from .c sources. This also silences sparse warning (wrongly) suggesting that klp_mutex should be defined static.

Re: [PATCH] mux-core: make it explicitly non-modular

2017-03-08 Thread Peter Rosin
On 2017-03-07 23:41, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mux/Kconfig:menuconfig MULTIPLEXER > drivers/mux/Kconfig:bool "Multiplexer subsystem" > > ...meaning that it currently is not being built as a module by anyone. > > Lets

Re: [linux-sunxi] [PATCH 5/15] clk: sunxi-ng: sun5i: Export video PLLs

2017-03-08 Thread Maxime Ripard
Hi Julian, On Tue, Mar 07, 2017 at 09:21:19PM +1100, Julian Calaby wrote: > Hi Maxime, > > On Tue, Mar 7, 2017 at 7:56 PM, Maxime Ripard > wrote: > > The video PLLs are used directly by the HDMI controller. Export them so > > that we can use them in our DT node. > > > > Signed-off-by: Maxime

Re: [bdi_unregister] 165a5e22fa INFO: task swapper:1 blocked for more than 120 seconds.

2017-03-08 Thread Jan Kara
On Tue 07-03-17 17:26:56, Jan Kara wrote: > On Tue 07-03-17 08:10:29, James Bottomley wrote: > > On Tue, 2017-03-07 at 15:41 +0100, Jan Kara wrote: > > > On Mon 06-03-17 09:25:42, James Bottomley wrote: > > > > On Mon, 2017-03-06 at 17:13 +0100, Jan Kara wrote: > > > > > On Mon 06-03-17 07:44:55,

Re: [PATCH v7 04/07] iommu/ipmmu-vmsa: Break out domain allocation code

2017-03-08 Thread Geert Uytterhoeven
On Tue, Mar 7, 2017 at 4:17 AM, Magnus Damm wrote: > From: Magnus Damm > > Break out the domain allocation code into a separate function. > This is preparation for future code sharing. > > Signed-off-by: Magnus Damm > Reviewed-by: Joerg Roedel Reviewed-by: Geert Uytterhoeven

Re: [PATCH 1/4] s390: get rid of superfluous __GFP_REPEAT

2017-03-08 Thread Heiko Carstens
On Tue, Mar 07, 2017 at 04:48:40PM +0100, Michal Hocko wrote: > From: Michal Hocko > > __GFP_REPEAT has a rather weak semantic but since it has been introduced > around 2.6.12 it has been ignored for low order allocations. > > page_table_alloc then uses the flag for a single page allocation.

Re: [PATCH 1/2] x86/efi: Correct a tiny mistake in code comment

2017-03-08 Thread Baoquan He
On 03/08/17 at 02:30pm, Bhupesh Sharma wrote: > Hi Dave, > > On Wed, Mar 8, 2017 at 1:48 PM, Dave Young wrote: > > On 03/08/17 at 03:47pm, Baoquan He wrote: > >> - * We allocate runtime services regions bottom-up, starting from -4G, i.e. > >> + * We allocate runtime services regions top-down,

[PATCH -v2] sched/wait: Add dependency for now

2017-03-08 Thread Ingo Molnar
* Ingo Molnar wrote: > I'll do more testing over the day to see how well this approach works. Not > yet > signed off by me. I'll post updated versions over the day if there's any > changes. > > This removes the time pressure to untangle the wait.h mess for v4.11. I've completed a full

Re: [PATCH 0/1] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread Greg Kroah-Hartman
On Wed, Mar 08, 2017 at 01:25:48AM -0800, john.hubb...@gmail.com wrote: > From: John Hubbard > > Hi, > > Say, I'm 99% sure that this was just an oversight, so > I'm sticking my neck out here and floating a patch to > Put Things Back. I'm hoping that there is not some > firm reason to

Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type

2017-03-08 Thread Greg KH
On Wed, Mar 08, 2017 at 05:38:12PM +0800, Cheah Kok Cheong wrote: > Dear Greg, > Thanks for taking the time to review. > > On Tue, Mar 07, 2017 at 08:01:38PM +0100, Greg KH wrote: > > On Sun, Mar 05, 2017 at 03:22:32AM +0800, Cheah Kok Cheong wrote: > > > Change to unsigned to allow removal of

Re: [PATCH V3 4/4] dts/imx6q-b850v3: Use megachips-stdpxxxx-ge-b850v3-fw bridges (LVDS-DP++)

2017-03-08 Thread Peter Senna Tschudin
On Fri, Mar 03, 2017 at 04:57:10PM +0100, Peter Senna Tschudin wrote: Hi Shawn Guo, Now that the driver and binding are in, can you pick this up? Thank you! > Configures the megachips-stdp-ge-b850v3-fw bridges on the GE > B850v3 dts file. > > Cc: Laurent Pinchart > Cc: Martyn Welch >

Re: [PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on

2017-03-08 Thread Geert Uytterhoeven
Hi Jon, On Tue, Mar 7, 2017 at 9:27 PM, Jon Hunter wrote: > On 06/03/17 15:53, Geert Uytterhoeven wrote: >> On Mon, Mar 6, 2017 at 3:28 PM, Peter De Schrijver >> wrote: >>> On Mon, Mar 06, 2017 at 09:58:29AM +, Jon Hunter wrote: On 06/03/17 08:38, Peter De Schrijver wrote: > On

Re: [PATCH] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread Greg Kroah-Hartman
On Wed, Mar 08, 2017 at 01:25:49AM -0800, john.hubb...@gmail.com wrote: > From: John Hubbard > > Originally, kref_get and kref_put were available as > standard routines that even non-GPL device drivers > could use. As I stated in my response to the 0/1 of this patch, this sentence is not true,

[PATCH 1/2] perf probe: Fix concat_probe_trace_events

2017-03-08 Thread Ravi Bangoria
'*ntevs' contains number of elements present in 'tevs' array. If there are no elements in array, 'tevs2' can be directly assigned to 'tevs' without allocating more space. So the condition should be '*ntevs == 0' not 'ntevs == 0'. Fixes: 42bba263eb58 ("perf probe: Allow wildcard for cached

Re: [PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor numbers for board device files"

2017-03-08 Thread Cheah Kok Cheong
Dear Dan, Thanks for reviewing this patch. On Wed, Mar 08, 2017 at 08:54:47AM +0300, Dan Carpenter wrote: > On Sun, Mar 05, 2017 at 03:22:33AM +0800, Cheah Kok Cheong wrote: > > If comedi module is loaded with the following max allowed parameter > > [comedi_num_legacy_minors=48], subsequent

Re: [PATCH] virtio-pci: Remove affinity hint before freeing the interrupt

2017-03-08 Thread Jason Wang
On 2017年03月08日 16:09, Marc Zyngier wrote: virtio-pci registers a per-vq affinity hint when using MSIX, but fails to remove it when freeing the interrupt, resulting in this type of splat: [ 31.111202] WARNING: CPU: 0 PID: 2823 at kernel/irq/manage.c:1503 __free_irq+0x2c4/0x2c8 [

Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type

2017-03-08 Thread Cheah Kok Cheong
On Wed, Mar 08, 2017 at 10:45:26AM +0100, Greg KH wrote: > On Wed, Mar 08, 2017 at 05:38:12PM +0800, Cheah Kok Cheong wrote: > > Dear Greg, > > Thanks for taking the time to review. > > > > On Tue, Mar 07, 2017 at 08:01:38PM +0100, Greg KH wrote: > > > On Sun, Mar 05, 2017 at 03:22:32AM +0800,

Re: [PATCH 0/1] refcount: restore kref_get and kref_put to non-GPL status

2017-03-08 Thread Greg Kroah-Hartman
On Wed, Mar 08, 2017 at 01:59:33AM -0800, John Hubbard wrote: > > > On 03/08/2017 01:48 AM, Greg Kroah-Hartman wrote: > > On Wed, Mar 08, 2017 at 01:25:48AM -0800, john.hubb...@gmail.com wrote: > > > From: John Hubbard > > > > > > Hi, > > > > > > Say, I'm 99% sure that this was just an

Re: [Outreachy kernel] [PATCH 1/3] staging: rtl8192u: Replace "is is" with "is"

2017-03-08 Thread Ian Abbott
On 04/03/17 16:18, Julia Lawall wrote: On Sat, 4 Mar 2017, simran singhal wrote: This patch replace "is is " with "is". The replacement couldn't be automated because sometimes the first "is" was meant to be another word. Signed-off-by: simran singhal ---

Re: [PATCH 08/29] drivers, md: convert mddev.active from atomic_t to refcount_t

2017-03-08 Thread gre...@linuxfoundation.org
On Wed, Mar 08, 2017 at 09:42:09AM +, Reshetova, Elena wrote: > > On Mon, Mar 06, 2017 at 04:20:55PM +0200, Elena Reshetova wrote: > > > refcount_t type and corresponding API should be > > > used instead of atomic_t when the variable is used as > > > a reference counter. This allows to avoid

[PATCH] video/logo: tidyup fb_logo_late_init initcall timing

2017-03-08 Thread Kuninori Morimoto
From: Takeshi Kihara Some video driver might returns -EPROBE_DEFER when probe timing, but logo init function doesn't care it. Thus, such kernel can't have logo when boot time. This patch solves this issue by exchanging current late_initcall to late_initcall_sync Signed-off-by: Takeshi Kihara

Re: linux-next: build failure after merge of the sunxi tree

2017-03-08 Thread Daniel Vetter
On Wed, Mar 08, 2017 at 10:26:54AM +0200, Jani Nikula wrote: > On Tue, 07 Mar 2017, Maxime Ripard wrote: > > I just rebased my tree on top of the latest drm-misc tag > > (drm-misc-next-2017-03-06). It should compile, and not have merge > > conflicts anymore. > > Conflicts happen. Rebasing should

Re: counting file descriptors with a cgroup controller

2017-03-08 Thread Krzysztof Opasiak
On 03/08/2017 03:59 AM, Parav Pandit wrote: Hi, On Tue, Mar 7, 2017 at 2:48 PM, Tejun Heo wrote: Hello, On Tue, Mar 07, 2017 at 09:06:49PM +0100, Krzysztof Opasiak wrote: Personally, I don't want to use rlimit for this as it ends up returning error code from for example open() when we

Re: [PATCH v3 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-08 Thread Neil Armstrong
Hi Jose, On 03/07/2017 06:12 PM, Jose Abreu wrote: > Hi Neil, > > > On 07-03-2017 16:42, Neil Armstrong wrote: >> From: Laurent Pinchart >> >> In preparation for adding PHY operations to handle RX SENSE and HPD, >> group all the PHY interrupt setup code in a single location and extract >> it

Re: [PATCH 1/2] x86/efi: Correct a tiny mistake in code comment

2017-03-08 Thread Baoquan He
On 03/08/17 at 10:35am, Borislav Petkov wrote: > On Wed, Mar 08, 2017 at 05:09:55PM +0800, Baoquan He wrote: > > Yes, it looks better. I can repost with this change. Thanks. > > No it doesn't: All right, I will just update the code comment. Just back ported kaslr to our OS product, people

Re: [PATCH v5 01/15] stacktrace/x86: add function for detecting reliable stack traces

2017-03-08 Thread Balbir Singh
On Tue, 2017-03-07 at 10:12 -0600, Josh Poimboeuf wrote: > On Tue, Mar 07, 2017 at 05:50:55PM +1100, Balbir Singh wrote: > > On Mon, 2017-02-13 at 19:42 -0600, Josh Poimboeuf wrote: > > > For live patching and possibly other use cases, a stack trace is only > > > useful if it can be assured that

[PATCH] staging: android: ashmem: lseek failed due to no FMODE_LSEEK.

2017-03-08 Thread zhangshuxiaomi
From: zhangshuxiao vfs_llseek will check whether the file mode has FMODE_LSEEK, no return failure. But ashmem can be lseek, so add FMODE_LSEEK to ashmem file. Signed-off-by: zhangshuxiao --- drivers/staging/android/ashmem.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] mm, vmalloc: use __GFP_HIGHMEM implicitly

2017-03-08 Thread Vlastimil Babka
On 03/07/2017 03:10 PM, Michal Hocko wrote: > From: Michal Hocko > > __vmalloc* allows users to provide gfp flags for the underlying > allocation. This API is quite popular > $ git grep "=[[:space:]]__vmalloc\|return[[:space:]]*__vmalloc" | wc -l > 77 > > the only problem is that many people

Re: [PATCH v5 5/5] perf: powerpc: choose local entry point with kretprobes

2017-03-08 Thread Masami Hiramatsu
On Wed, 8 Mar 2017 13:56:10 +0530 "Naveen N. Rao" wrote: > perf now uses an offset from _text/_stext for kretprobes if the kernel > supports it, rather than the actual function name. As such, let's choose > the LEP for powerpc ABIv2 so as to ensure the probe gets hit. Do it only > if the kernel

Re: staging/atomsip: undefined Kconfig symbols

2017-03-08 Thread Alan Cox
On Wed, 2017-03-08 at 09:39 +0100, Valentin Rothberg wrote: > > Hi Alan, > > > > your commit a49d25364dfb ("staging/atomisp: Add support for the > > Intel IPU v2") has shown up in linux-next.  I run daily checks on > > linux-next with scripts/checkkconfigsymbols.py, which complained > > about the

Re: [PATCH] storvsc: workaround for virtual DVD SCSI version

2017-03-08 Thread Hannes Reinecke
On 03/07/2017 06:15 PM, Stephen Hemminger wrote: > Hyper-V host emulation of SCSI for virtual DVD device reports SCSI > version 0 (UNKNOWN) but is still capable of supporting REPORTLUN. > > Without this patch, a GEN2 Linux guest on Hyper-V will not boot 4.11 > successfully with virtual DVD ROM

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

2017-03-08 Thread Jiri Kosina
On Mon, 13 Feb 2017, Josh Poimboeuf wrote: > Here's v5 of the consistency model I have ammended the patches with all the received ACKs and applied to 'for-4.12/klp-hybrid-consistency-model' branch of livepatching.git. Thanks, -- Jiri Kosina SUSE Labs

Re: [PATCH 1/2] reset: add reset-simple to unify socfpga, stm32, and sunxi

2017-03-08 Thread Andre Przywara
Hi, On 08/03/17 09:54, Philipp Zabel wrote: > Reset operations for simple reset controllers with reset lines that can > be controlled by toggling bits in (mostly) contiguous register ranges > using read-modify-write cycles under a spinlock. So far this covers the > socfpga, stm32, and sunxi

v4.11-rc1 boot time regression

2017-03-08 Thread Andy Shevchenko
+Cc: Felipe and missed LKML On Tue, Mar 7, 2017 at 9:02 PM, Andy Shevchenko wrote: > Hi! > > Frankly don't know whom to blame (maybe even me). That's why a list in > To is kinda (semi-) random. > > I have two branches on my Github: > > https://github.com/andy-shev/linux/tree/eds-v4.10 >

Re: [PATCH 1/2] x86/platform: Add a low priority low frequency NMI call chain

2017-03-08 Thread Ingo Molnar
* Mike Travis wrote: > > > On 3/6/2017 11:42 PM, Ingo Molnar wrote: > > > > * Mike Travis wrote: > > > >> Add a new NMI call chain that is called last after all other NMI handlers > >> have been checked and did not "handle" the NMI. This mimics the current > >> NMI_UNKNOWN call chain

Re: Applied "spi: davinci: enable DMA when channels are defined in DT" to the spi tree

2017-03-08 Thread Frode Isaksen
Hello Mark, To avoid data corruption issues with UBIFS volume over SPI NOR, DMA should not be used for vmalloc'ed buffers. The 5'th patch in my series fixes that: 0003-spi-davinci-use-rx-buffer-as-dummy-tx-buffer.patch 0004-spi-davinci-do-not-use-DMA-if-transfer-length-is-les.patch

Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type

2017-03-08 Thread Cheah Kok Cheong
Dear Greg, Thanks for taking the time to review. On Tue, Mar 07, 2017 at 08:01:38PM +0100, Greg KH wrote: > On Sun, Mar 05, 2017 at 03:22:32AM +0800, Cheah Kok Cheong wrote: > > Change to unsigned to allow removal of negative value check in > > init section. > > Why? > User can input a -ve

Re: [PATCH] mm, vmalloc: use __GFP_HIGHMEM implicitly

2017-03-08 Thread Michal Hocko
On Wed 08-03-17 08:33:58, Vlastimil Babka wrote: > On 03/07/2017 03:10 PM, Michal Hocko wrote: [...] > > index dece26f119d4..a804a4107fbc 100644 > > --- a/drivers/block/drbd/drbd_bitmap.c > > +++ b/drivers/block/drbd/drbd_bitmap.c > > @@ -409,7 +409,7 @@ static struct page

Re: [PATCH] mm, vmalloc: use __GFP_HIGHMEM implicitly

2017-03-08 Thread Michal Hocko
On Tue 07-03-17 15:08:45, Andrew Morton wrote: > On Tue, 7 Mar 2017 15:10:20 +0100 Michal Hocko wrote: > > > __vmalloc* allows users to provide gfp flags for the underlying > > allocation. This API is quite popular > > $ git grep "=[[:space:]]__vmalloc\|return[[:space:]]*__vmalloc" | wc -l > >

Re: [RESEND PATCH 1/6] trace/kprobes: fix check for kretprobe offset within function entry

2017-03-08 Thread Naveen N. Rao
On 2017/03/07 03:47PM, Steven Rostedt wrote: > > Please start a new thread. When sending patches as replies to other > patch threads, especially this deep into the thread, they will most > likely get ignored. Sorry, got carried off. I will re-post in a new series. - Naveen

Re: [PATCH 3/3] cpufreq: schedutil: remove redundant code from sugov_next_freq_shared()

2017-03-08 Thread Rafael J. Wysocki
On Wed, Mar 8, 2017 at 5:18 AM, Viresh Kumar wrote: > On 07-03-17, 14:19, Rafael J. Wysocki wrote: >> On Tue, Mar 7, 2017 at 11:31 AM, Viresh Kumar >> wrote: >> > Why do you think so? I thought all CPU in the policy can have the RT/DL >> > flag set >> > and the probability of all of them is

Re: [PATCH v1 3/3] staging: comedi: Replace "is is" with "is"

2017-03-08 Thread Ian Abbott
On 04/03/17 17:41, simran singhal wrote: This patch replace "is is " with "is". The replacement couldn't be automated because sometimes the first "is" was meant to be another word. Signed-off-by: simran singhal Acked-by: Julia Lawall --- drivers/staging/comedi/drivers/ni_usb6501.c | 2 +- 1

Re: [PATCH] reset: sunxi: fix for 64-bit compilation

2017-03-08 Thread Philipp Zabel
On Wed, 2017-03-08 at 09:26 +, Andre Przywara wrote: > Hi, > > On 08/03/17 04:28, Chen-Yu Tsai wrote: > > On Mon, Mar 6, 2017 at 9:35 AM, Andre Przywara > > wrote: > >> The Allwinner reset controller has 32-bit registers, so translating > >> the reset cell number into a register and bit

[PATCH v3 4/7] PCI: dwc: all: Modify dbi accessors to take dbi_base as argument

2017-03-08 Thread Kishon Vijay Abraham I
dwc has 2 dbi address space labeled dbics and dbics2. The existing helper to access dbi address space can access only dbics. However dbics2 has to be accessed for programming the BAR registers in the case of EP mode. This is in preparation for adding EP mode support to dwc driver. Cc: Jingoo Han

[PATCH v3 2/7] PCI: dwc: dra7xx: Populate cpu_addr_fixup ops

2017-03-08 Thread Kishon Vijay Abraham I
Populate cpu_addr_fixup ops to extract the least 28 bits of the corresponding cpu address. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/pci-dra7xx.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/pci/dwc/pci-dra7xx.c

Re: [PATCH 2/2] iproute2: add support for invisible qdisc dumping

2017-03-08 Thread Jiri Kosina
On Mon, 27 Feb 2017, Phil Sutter wrote: > > Support the new TCA_DUMP_INVISIBLE netlink attribute that allows asking > > kernel to perform 'full qdisc dump', as for historical reasons some of the > > default qdiscs are being hidden by the kernel. > > > > The command syntax is being extended by

Re: [PATCH 0/3] ASoC: add dio2125 amplifier support

2017-03-08 Thread Mark Brown
On Tue, Mar 07, 2017 at 05:26:17PM +0100, Jerome Brunet wrote: > Hi Mark, Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussion is

[PATCH v3 3/7] PCI: dwc: artpec6: Populate cpu_addr_fixup ops

2017-03-08 Thread Kishon Vijay Abraham I
Populate cpu_addr_fixup ops to extract the least 28 bits of the corresponding cpu address. Cc: Niklas Cassel Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/pcie-artpec6.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH v3 5/7] PCI: dwc: all: Modify dbi accessors to access data of 4/2/1 bytes

2017-03-08 Thread Kishon Vijay Abraham I
Previously dbi accessors can be used to access data of size 4 bytes. But there might be situations (like accessing MSI_MESSAGE_CONTROL in order to set/get the number of required MSI interrupts in EP mode) where dbi accessors must be used to access data of size 2. This is in preparation for adding

[PATCH v3 7/7] PCI: dwc: dra7xx: Push request_irq call to the bottom of probe

2017-03-08 Thread Kishon Vijay Abraham I
From: Keerthy Currently devm_request_irq is being called before base, pci fields of dra7xx_pcie structure are populated. It is called even before pm_runtime_enable and pm_runtime_get_sync are called. This will lead to exceptions if in case an interrupt is triggered before the all of the above

[PATCH v3 6/7] PCI: dwc: designware: Move _unroll configurations to a separate function

2017-03-08 Thread Kishon Vijay Abraham I
No functional change. Rename dw_pcie_writel_unroll/dw_pcie_readl_unroll to dw_pcie_writel_ob_unroll/dw_pcie_readl_ob_unroll respectively as these functions are used to perform only outbound configurations. Also move these _unroll configurations to a separate function. Signed-off-by: Kishon Vijay

[PATCH v3 00/09] iommu/ipmmu-vmsa: r8a7795 support V3

2017-03-08 Thread Magnus Damm
iommu/ipmmu-vmsa: r8a7795 support V3 [PATCH v3 01/09] iommu/ipmmu-vmsa: Introduce features, break out alias [PATCH v3 02/09] iommu/ipmmu-vmsa: Add optional root device feature [PATCH v3 03/09] iommu/ipmmu-vmsa: Enable multi context support [PATCH v3 04/09] iommu/ipmmu-vmsa: Make use of

<    5   6   7   8   9   10   11   12   13   14   >