Re: 4.5 shmem lockdep/out-of-bound/list corruption disaster

2016-03-28 Thread Hugh Dickins
On Mon, 28 Mar 2016, Dave Jones wrote: > I hit this a few days ago. I'm not 100% what kernel it was running, > but I'm pretty sure it was a post 4.5 kernel from this merge window. Thanks for the report. All consistent with shmem_fallocate() somehow getting through its wake_up_all() without remo

[GIT PULL 0/1] perf/urgent fix

2016-03-28 Thread Arnaldo Carvalho de Melo
/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-20160328 for you to fetch changes up to 379649cfeafef29b77d29860741f4d1c5870b65f: perf tools: Fix build break on powerpc (2016-03-28 17:46:20 -0300) perf/urgent fix: - Fix

[PATCH 1/1] perf tools: Fix build break on powerpc

2016-03-28 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu Commit 531d2410635c ("perf tools: Do not include stringify.h from the kernel sources") seems to have accidentially removed the inclusion of "util/header.h" from "arch/powerpc/util/header.c". "util/header.h" provides the prototype for get_cpuid() and is needed to build p

Re: [PATCH v2 3/6] Documentation: DT: vdma: update binding doc for AXI DMA

2016-03-28 Thread Rob Herring
On Sun, Mar 27, 2016 at 11:36:05PM +0530, Kedareswara rao Appana wrote: > This patch updates the device-tree binding doc for > adding support for AXI DMA. > > Signed-off-by: Kedareswara rao Appana > --- > Changes for v2: > ---> Modified commit message as suggested by Vinod. > ---> Moved the patch

Re: [PATCH v2 5/6] Documentation: DT: vdma: update binding doc for AXI CDMA

2016-03-28 Thread Rob Herring
On Mon, Mar 28, 2016 at 05:27:01AM +, Appana Durga Kedareswara Rao wrote: > Hi Soren, > > > -Original Message- > > From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] > > Sent: Monday, March 28, 2016 12:58 AM > > To: Appana Durga Kedareswara Rao > > Cc: robh...@kernel.org; pawel.

Re: [PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)

2016-03-28 Thread Brian Norris
On Mon, Mar 28, 2016 at 12:52:51AM +0200, Matthias Schiffer wrote: > On 03/26/2016 07:57 PM, Matthias Schiffer wrote: > > On 12/15/2015 07:48 PM, Brian Norris wrote: > >> Spansion and Winbond have occasionally used the same manufacturer ID, > >> and they don't support the same features. Particularl

Re: [PATCH v7] rtc: rewrite DS1302 using SPI

2016-03-28 Thread Alexandre Belloni
On 23/02/2016 at 13:54:57 +0300, Sergei Ianovich wrote : > DS1302 is half-duplex SPI device. The driver respects this fact now. > > Pin configurations should be implemented using SPI subsystem. > > Signed-off-by: Sergei Ianovich > CC: Alexandre Belloni > CC: Rob Herring > >v6..v7 >* c

Re: [PATCH 1/3] perf config: Remove duplicated the code calling set_buildid_dir

2016-03-28 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 28, 2016 at 09:52:42PM +0200, Jiri Olsa escreveu: > On Mon, Mar 28, 2016 at 02:22:18AM +0900, Taeung Song wrote: > > Cc: Jiri Olsa > > Cc: Namhyung Kim > > Signed-off-by: Taeung Song > > for the patchset: > > Acked-by: Jiri Olsa Thanks, applied.

Re: [PATCH] perf: perl scripts now get a backtrace, like the python scripts

2016-03-28 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 25, 2016 at 11:31:54AM -0700, Dima Kogan escreveu: > Hi. > > Currently the python perf scripts get a backtrace, while the perl ones do not. > This patch adds that to the perl scripts as well. Can you send as a single message, with your Signed-off-by, and with an example of this in use

Re: [PATCH v3 1/4] perf config: Introduce perf_config_set class

2016-03-28 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 24, 2016 at 03:46:00PM +0900, Taeung Song escreveu: > Hi, Namhyung > > On 03/24/2016 03:07 PM, Namhyung Kim wrote: > >Hi Taeung, > > > >On Thu, Mar 24, 2016 at 05:16:30AM +0900, Taeung Song wrote: > >>This infrastructure code was designed for > >>upcoming features of perf-config. > >>

Re: [PATCH 1/3] power: charger-manager: Replace deprecatd API of extcon

2016-03-28 Thread Rob Herring
On Mon, Mar 28, 2016 at 08:25:40AM +0900, Chanwoo Choi wrote: > This patch removes the deprecated notifier API of extcon framework and then > use > the new extcon API[2] with the unique id[1] to indicate the each external > connector. Alter deprecated API as following: > - extcon_register_interest

Re: [PATCH V2] ARM: dts: AM572x-IDK Initial Support

2016-03-28 Thread Rob Herring
On Mon, Mar 28, 2016 at 11:35:09AM -0500, Nishanth Menon wrote: > From: Schuyler Patton > > The AM572x-IDK board is a board based on TI's AM5728 SOC > which has a dual core 1.5GHz A15 processor. This board is a > development platform for the Industrial market with: > - 2GB of DDR3L > - Dual 1Gbps

Re: [RFC PATCH 2/4] media: Add Media Device Allocator API documentation

2016-03-28 Thread Shuah Khan
On 03/28/2016 12:28 PM, Mauro Carvalho Chehab wrote: > Em Fri, 25 Mar 2016 22:38:43 -0600 > Shuah Khan escreveu: > >> Add Media Device Allocator API documentation. > > Please merge this with the previous patch. Yes. I will merge them. -- Shuah > >> >> Signed-off-by: Shuah Khan >> --- >> inc

[PATCH v2 0/5] LSM: LoadPin for kernel file loading restrictions

2016-03-28 Thread Kees Cook
This provides the mini-LSM "loadpin" that intercepts the now consolidated kernel_file_read LSM hook so that a system can keep all loads coming from a single trusted filesystem. This is what Chrome OS uses to pin kernel module and firmware loading to the read-only crypto-verified dm-verity partition

[PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions

2016-03-28 Thread Kees Cook
This LSM enforces that kernel-loaded files (modules, firmware, etc) must all come from the same filesystem, with the expectation that such a filesystem is backed by a read-only device such as dm-verity or CDROM. This allows systems that have a verified and/or unchangeable filesystem to enforce modu

[PATCH v2 2/5] string_helpers: add kstrdup_quotable_cmdline

2016-03-28 Thread Kees Cook
Provide an escaped (but readable: no inter-argument NULLs) commandline safe for logging. Signed-off-by: Kees Cook --- include/linux/string_helpers.h | 1 + lib/string_helpers.c | 35 +++ 2 files changed, 36 insertions(+) diff --git a/include/linux/stri

[PATCH v2 4/5] Yama: consolidate error reporting

2016-03-28 Thread Kees Cook
Use a common error reporting function for Yama violation reports, and give more detail into the process command lines. Signed-off-by: Kees Cook --- security/yama/yama_lsm.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/security/yama/yama_ls

[PATCH v2 3/5] string_helpers: add kstrdup_quotable_file

2016-03-28 Thread Kees Cook
Allocate a NULL-terminated file path with special characters escaped, safe for logging. Signed-off-by: Kees Cook --- include/linux/string_helpers.h | 3 +++ lib/string_helpers.c | 30 ++ 2 files changed, 33 insertions(+) diff --git a/include/linux/string_h

Re: [PATCH 02/11] mm/slab: remove BAD_ALIEN_MAGIC again

2016-03-28 Thread Andrew Morton
On Mon, 28 Mar 2016 14:26:52 +0900 js1...@gmail.com wrote: > From: Joonsoo Kim > > Initial attemp to remove BAD_ALIEN_MAGIC is once reverted by > 'commit edcad2509550 ("Revert "slab: remove BAD_ALIEN_MAGIC"")' > because it causes a problem on m68k which has many node > but !CONFIG_NUMA. Whaaa?

Changes in sleep mode, on x86 PC

2016-03-28 Thread Pavel Machek
Hi! Few releases ago, I could wake up PC from S3 sleep by hitting any key. That ceased to work some time before, keyboard would just light a NUM lock LED when I hit a key (4.5). Now PC seems to be sleeping (in S3) with NUM lock LED on (4.6-rc0). Any idea what is going on there? Does it happen for

[PATCH v2 1/5] string_helpers: add kstrdup_quotable

2016-03-28 Thread Kees Cook
Handle allocating and escaping a string safe for logging. Signed-off-by: Kees Cook --- include/linux/string_helpers.h | 2 ++ lib/string_helpers.c | 28 2 files changed, 30 insertions(+) diff --git a/include/linux/string_helpers.h b/include/linux/string_h

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Fabio Estevam
On Mon, Mar 28, 2016 at 5:42 PM, Tim Harvey wrote: > Fabio, > > ok - I'll respond there as I agree with the patch but not the wording > of the commit (It's Gateworks 'Ventana' using IMX6 not Laguna and we > do define the polarity properly as active-low in Ventana dt's). It is > the fact that the

[PATCH] dmaengine: pxa: handle bus errors

2016-03-28 Thread Robert Jarzmik
In the current state, upon bus error the driver will spin endlessly, relaunching the last tx, which will fail again and again : - a bus error happens - pxad_chan_handler() is called - as PXA_DCSR_STOPSTATE is true, the last non-terminated transaction is lauched, which is the one triggering th

Re: usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure

2016-03-28 Thread Pavel Machek
Hi! > >> >> I managed to boot N900 with working USB gadget (builtin g_ether) > >> >> in boardfile mode, can ping it from PC and transfer data. I don't > >> >> see any issue (except of musb name issue in twl phy driver, I've > >> >> already sent a fix for that: https://lkml.org/lkml/2016/3/24/670 )

Re: [RFC PATCH 1/4] media: Add Media Device Allocator API

2016-03-28 Thread Shuah Khan
On 03/28/2016 12:28 PM, Mauro Carvalho Chehab wrote: > Hi Shuah, > > I reviewed the entire patch series, but I'm adding the comments only here, > as the other patches are coherent with this one. That is fine. > > Em Fri, 25 Mar 2016 22:38:42 -0600 > Shuah Khan escreveu: > >> Add Media Device

Re: [RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-28 Thread Emil Velikov
On 28 March 2016 at 19:44, Heiko Stübner wrote: > Am Montag, 28. März 2016, 13:21:02 schrieb Emil Velikov: >> On 22 March 2016 at 00:42, Heiko Stuebner wrote: >> > Hi Yakir, >> > >> > Am Montag, 21. März 2016, 20:17:46 schrieb Yakir Yang: >> >> On 03/21/2016 07:29 PM, Heiko Stübner wrote: >> >> >

Re: [RFC PATCH 3/4] media: Add refcount to keep track of media device registrations

2016-03-28 Thread Shuah Khan
On 03/28/2016 12:28 PM, Mauro Carvalho Chehab wrote: > Em Fri, 25 Mar 2016 22:38:44 -0600 > Shuah Khan escreveu: > >> Add refcount to keep track of media device registrations to avoid release >> of media device when one of the drivers does unregister when media device >> belongs to more than one

Re: [PATCH] platform/x86: panasonic-laptop: set pcc after null device check to avoid null pointer dereference

2016-03-28 Thread Harald Welte
On Mon, Mar 28, 2016 at 05:26:12PM +0100, Colin King wrote: > Signed-off-by: Colin Ian King Acked-by: Harald Welte -- - Harald Weltehttp://laforge.gnumonks.org/ "Privacy in residential applications is a des

Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions

2016-03-28 Thread Andrew Morton
On Mon, 28 Mar 2016 14:14:22 -0700 Kees Cook wrote: > This LSM enforces that kernel-loaded files (modules, firmware, etc) > must all come from the same filesystem, with the expectation that > such a filesystem is backed by a read-only device such as dm-verity > or CDROM. This allows systems that

Re: [RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-28 Thread Heiko Stübner
Am Montag, 28. März 2016, 22:35:36 schrieb Emil Velikov: > On 28 March 2016 at 19:44, Heiko Stübner wrote: > > Am Montag, 28. März 2016, 13:21:02 schrieb Emil Velikov: > >> On 22 March 2016 at 00:42, Heiko Stuebner wrote: > >> > Hi Yakir, > >> > > >> > Am Montag, 21. März 2016, 20:17:46 schrieb

Re: [PATCH 07/17] watchdog: qcom: add option for standalone watchdog not in timer block

2016-03-28 Thread Guenter Roeck
On Mon, Mar 28, 2016 at 03:40:58PM -0500, Matthew McClintock wrote: > On Mar 28, 2016, at 1:13 PM, Guenter Roeck wrote: > > > >>> bit 0 is the enable bit, and bit 1 enables interrupts. At address 0x08 (eg > >>> LPASS_QDSP6SS_WDOG_UNMASKED_INT_EN), bit 0 enables interrupts and bit 1 is > >>> undef

[PATCH] bpf: doc: "neg" opcode has no operands

2016-03-28 Thread Kees Cook
From: Dave Anderson Fixes a copy-paste-o in the BPF opcode table: "neg" takes no arguments and thus has no addressing modes. Signed-off-by: Dave Anderson Signed-off-by: Kees Cook --- Documentation/networking/filter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docume

Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions

2016-03-28 Thread Kees Cook
On Mon, Mar 28, 2016 at 2:38 PM, Andrew Morton wrote: > On Mon, 28 Mar 2016 14:14:22 -0700 Kees Cook wrote: > >> This LSM enforces that kernel-loaded files (modules, firmware, etc) >> must all come from the same filesystem, with the expectation that >> such a filesystem is backed by a read-only d

Re: Build regressions/improvements in v4.6-rc1

2016-03-28 Thread Dave Chinner
On Sun, Mar 27, 2016 at 02:43:24PM +0200, Geert Uytterhoeven wrote: > On Sun, Mar 27, 2016 at 2:39 PM, Geert Uytterhoeven > wrote: > > Below is the list of build error/warning regressions/improvements in > > v4.6-rc1[1] compared to v4.5[2]. > > > > Summarized: > > - build errors: +9/-6 > > > [1

[PATCH][RESEND] parport: parport_pc: PCI SIO access should also depend on SIO option

2016-03-28 Thread Maciej S. Szmigiero
CONFIG_PARPORT_PC_SUPERIO toggles Super IO chip support in parport_pc code, however only code accessing SIO chip via ISA (or LPC) bus was conditional on it. This patch makes SIO chip accesses via PCI bus also dependent on this config option. It should be noted that Super IO support in parport_pc

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Tim Harvey
On Mon, Mar 28, 2016 at 2:30 PM, Fabio Estevam wrote: > On Mon, Mar 28, 2016 at 5:42 PM, Tim Harvey wrote: > >> Fabio, >> >> ok - I'll respond there as I agree with the patch but not the wording >> of the commit (It's Gateworks 'Ventana' using IMX6 not Laguna and we >> do define the polarity prop

Re: [RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-28 Thread Emil Velikov
On 28 March 2016 at 22:46, Heiko Stübner wrote: > Am Montag, 28. März 2016, 22:35:36 schrieb Emil Velikov: >> On 28 March 2016 at 19:44, Heiko Stübner wrote: >> > Am Montag, 28. März 2016, 13:21:02 schrieb Emil Velikov: >> >> On 22 March 2016 at 00:42, Heiko Stuebner wrote: >> >> > Hi Yakir, >>

Re: [PATCH v17 2/6] ARM: socfpga: add bindings document for fpga bridge drivers

2016-03-28 Thread Rob Herring
On Tue, Mar 15, 2016 at 05:04:53PM -0500, atull wrote: > On Sat, 5 Mar 2016, Rob Herring wrote: > > > > +Example: > > > + hps_fpgabridge0: fpgabridge@ff40 { > > > > No underscores. > > > > fpga-bridge@... > > Hi Rob, > > The dtc is not letting me compile if I use a hyphen in the label. > I

Re: [PATCH] rtc: at91sam9: remove duplicate assignment of variable mr

2016-03-28 Thread Alexandre Belloni
On 28/03/2016 at 12:24:00 +0100, Colin King wrote : > From: Colin Ian King > > mr is written twice with the same value, remove one of the > redundant assignments to mr. > > Signed-off-by: Colin Ian King > --- > drivers/rtc/rtc-at91sam9.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Fabio Estevam
On Mon, Mar 28, 2016 at 7:06 PM, Tim Harvey wrote: >> On imx6qdl-sabresd.dtsi the PCI reset gpio polarity is set to high, >> which is not correct, so the Wifi card could be detected even with >> 5c5fb40de8f. So two errors in sequence and PCI still works on this >> board :-) > > ouch - two wrongs

Re: [RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-28 Thread Heiko Stübner
Am Montag, 28. März 2016, 23:07:59 schrieb Emil Velikov: > On 28 March 2016 at 22:46, Heiko Stübner wrote: > > Am Montag, 28. März 2016, 22:35:36 schrieb Emil Velikov: > >> On 28 March 2016 at 19:44, Heiko Stübner wrote: > >> > Am Montag, 28. März 2016, 13:21:02 schrieb Emil Velikov: > >> >> On 2

What happens when program downloading gets stopped

2016-03-28 Thread David Niklas
Hello, Assuming that the unnamed program uses standard sockets what happens to the connection when I press ^Z thus sending the program to the background? Thanks, David - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the

Re: [rtc-linux] [PATCH v2] rtc: s3c: Document in binding that only s3c6410 needs a src clk

2016-03-28 Thread Alexandre Belloni
On 15/02/2016 at 11:11:06 -0300, Javier Martinez Canillas wrote : > The S3C binding doc says that the RTC and RTC source clocks are required > but the S3C driver supports different HW IP and only the s3c6410 needs a > source clock. > > Fix the binding explaining that the source clock is only neede

Re: [PATCH 07/17] watchdog: qcom: add option for standalone watchdog not in timer block

2016-03-28 Thread Matthew McClintock
On Mar 28, 2016, at 4:56 PM, Guenter Roeck wrote: > >> So taken from the timer offset 0x0208A000 I just have a generic counter >> register CPU0_APCS_GPT0_CNT at 0x8 >> >> What doc are you looking at? >> > "Qualcomm Snapdragon 600 Processor APQ8064 Hardware Register Description" > > It is avai

Re: [PATCH 09/17] watchdog: qcom: add kpss-standalone to device tree binding

2016-03-28 Thread Matthew McClintock
On Mar 28, 2016, at 1:15 PM, Guenter Roeck wrote: > >>> What SoC(s) is this in. Use SoC specific compatible strings please. >> >> So ipq4019 wins the race because we are the first to try to enable watchdog >> for this block? >> >> qcom,kpss-ipq4019 ? >> > It is a dedicated watchdog block, isn

Re: [PATCH 1/1] perf tools: Fix build break on powerpc

2016-03-28 Thread Stephen Rothwell
Hi Arnaldo, On Mon, 28 Mar 2016 17:52:34 -0300 Arnaldo Carvalho de Melo wrote: > > From: Sukadev Bhattiprolu > > Commit 531d2410635c ("perf tools: Do not include stringify.h from the > kernel sources") seems to have accidentially removed the inclusion of > "util/header.h" from "arch/powerpc/ut

[ANNOUNCE] Git v2.8.0

2016-03-28 Thread Junio C Hamano
The latest feature release Git v2.8.0 is now available at the usual places. It is comprised of 532 non-merge commits since v2.7.0, contributed by 74 people, 22 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories a

Re: Build regressions/improvements in v4.6-rc1

2016-03-28 Thread Darrick J. Wong
On Tue, Mar 29, 2016 at 08:59:23AM +1100, Dave Chinner wrote: > On Sun, Mar 27, 2016 at 02:43:24PM +0200, Geert Uytterhoeven wrote: > > On Sun, Mar 27, 2016 at 2:39 PM, Geert Uytterhoeven > > wrote: > > > Below is the list of build error/warning regressions/improvements in > > > v4.6-rc1[1] compar

[RFC][PATCH] mm/slub: Skip CPU slab activation when debugging

2016-03-28 Thread Laura Abbott
The per-cpu slab is designed to be the primary path for allocation in SLUB since it assumed allocations will go through the fast path if possible. When debugging is enabled, the fast path is disabled and per-cpu allocations are not used. The current debugging code path still activates the cpu slab

Re: [PATCH v2] mm/vmap: Add a notifier for when we run out of vmap address space

2016-03-28 Thread Andrew Morton
On Thu, 17 Mar 2016 13:41:56 + Chris Wilson wrote: > On Thu, Mar 17, 2016 at 01:34:59PM +, Chris Wilson wrote: > > vmaps are temporary kernel mappings that may be of long duration. > > Reusing a vmap on an object is preferrable for a driver as the cost of > > setting up the vmap can othe

Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions

2016-03-28 Thread Joe Perches
On Mon, 2016-03-28 at 14:14 -0700, Kees Cook wrote: > This LSM enforces that kernel-loaded files (modules, firmware, etc) > must all come from the same filesystem, with the expectation that > such a filesystem is backed by a read-only device such as dm-verity > or CDROM. This allows systems that ha

Re: [PATCH v2 1/5] string_helpers: add kstrdup_quotable

2016-03-28 Thread Joe Perches
On Mon, 2016-03-28 at 14:14 -0700, Kees Cook wrote: > Handle allocating and escaping a string safe for logging. [] > diff --git a/include/linux/string_helpers.h b/include/linux/string_helpers.h [] > @@ -68,4 +68,6 @@ static inline int string_escape_str_any_np(const char *src, > char *dst, >  

Re: [PATCH] nfds: Fix NFSD_MDS_PR_KEY on 32-bit by adding ULL postfix

2016-03-28 Thread J. Bruce Fields
On Fri, Mar 25, 2016 at 07:04:22PM +0100, Christoph Hellwig wrote: > Looks fine, thanks! > > Reviewed-by: Christoph Hellwig Thanks, applying for 4.6.--b.

[PATCH] staging: skein: Convert local rotl_64 to kernel's rol64

2016-03-28 Thread Joe Perches
Remove the local inline and use the generic kernel rol64 instead. Miscellanea: o Added a newline between a multiple line macro for consistency with the other multiple line macros Signed-off-by: Joe Perches --- drivers/staging/skein/skein_base.h | 5 - drivers/staging/skein/skein_block.

Patch for CVE-2016-0774 missing from stable 3.4 and 3.10 kernels

2016-03-28 Thread Jeffrey Vander Stoep
https://lkml.org/lkml/2016/2/23/812 "pipe: Fix buffer offset after partially failed read" is missing from the stable 3.4.y and 3.10.y kernels. It has been included in 3.2.y and 3.14.y. I am able to cause a kernel panic without this patch. Regards, Jeff Vander Stoep

Re: [PATCH] i40iw: pass hw_stats by reference rather than by value

2016-03-28 Thread Chien Tin Tung
On Mon, Mar 28, 2016 at 12:14:46PM +0100, Colin King wrote: > From: Colin Ian King > > passing hw_stats by value requires a 280 byte copy so instead > pass it by reference is much more efficient. > > Signed-off-by: Colin Ian King Thank you for the patch Colin. Acked-by: Chien Tin Tung

Re: [PATCH 1/3] perf config: Remove duplicated the code calling set_buildid_dir

2016-03-28 Thread Taeung Song
Hi, jirka and Arnaldo On 03/29/2016 05:59 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Mar 28, 2016 at 09:52:42PM +0200, Jiri Olsa escreveu: On Mon, Mar 28, 2016 at 02:22:18AM +0900, Taeung Song wrote: Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Taeung Song for the patchset: Acked-by: J

Re: [PATCH 5/6] powerpc/livepatch: Add livepatch stack to struct thread_info

2016-03-28 Thread Balbir Singh
On 24/03/16 22:04, Michael Ellerman wrote: > In order to support live patching we need to maintain an alternate > stack of TOC & LR values. We use the base of the stack for this, and > store the "live patch stack pointer" in struct thread_info. > > Unlike the other fields of thread_info, we can n

[PATCH v3] ARM64: ACPI: Update documentation for latest specification version

2016-03-28 Thread Al Stone
The ACPI 6.1 specification was recently released at the end of January 2016, but the arm64 kernel documentation for the use of ACPI was written for the 5.1 version of the spec. There were significant additions to the spec that had not yet been mentioned -- for example, the 6.0 mechanisms added to

Re: A problem about loading module

2016-03-28 Thread Rusty Russell
"zhaogongyi.jxjian" writes: > My question is when my module_init defined as: > void __init__ func_init(*) > then the ret will be alterable,it depends on specifically running env,that's > what we want? Hi, This will not work reliably. You must define your init as int __init

Re: [PATCH v3 1/4] perf config: Introduce perf_config_set class

2016-03-28 Thread Taeung Song
On 03/29/2016 06:06 AM, Arnaldo Carvalho de Melo wrote: Em Thu, Mar 24, 2016 at 03:46:00PM +0900, Taeung Song escreveu: Hi, Namhyung On 03/24/2016 03:07 PM, Namhyung Kim wrote: Hi Taeung, On Thu, Mar 24, 2016 at 05:16:30AM +0900, Taeung Song wrote: This infrastructure code was designed for

RE: [RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-28 Thread Peter Chen
> > On 2016-03-25 00:40, Peter Chen wrote: > > On Tue, Mar 15, 2016 at 02:08:26PM +0530, Sanchayan Maity wrote: > >> Hello Peter, > >> > >> The existing usage of extcon in Chipidea driver relies on OTG > >> registers. In case of SoC with dual role device but not a true OTG > >> controller, this

Re: [PATCH 3/4] perf core: Prepare writing into ring buffer from end

2016-03-28 Thread Alexei Starovoitov
On Mon, Mar 28, 2016 at 06:41:31AM +, Wang Nan wrote: > Convert perf_output_begin to __perf_output_begin and make the later > function able to write records from the end of the ring buffer. > Following commits will utilize the 'backward' flag. > > This is the core patch to support writing ring

[PATCH] media: au0828 fix au0828_v4l2_device_register() to not unlock and free

2016-03-28 Thread Shuah Khan
au0828_v4l2_device_register() unlocks au0828_dev->lock and frees au0828 dev in error legs before return. au0828_usb_probe() does the same when au0828_v4l2_device_register() returns error. Fix au0828_v4l2_device_register() to not to unlock and free in its error legs. Signed-off-by: Shuah Khan ---

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-28 Thread Paul E. McKenney
On Mon, Mar 28, 2016 at 06:08:41AM -0700, Paul E. McKenney wrote: > On Mon, Mar 28, 2016 at 08:25:47AM +0200, Peter Zijlstra wrote: > > On Sun, Mar 27, 2016 at 02:06:41PM -0700, Paul E. McKenney wrote: [ . . . ] > > > OK, so I should instrument migration_call() if I get the repro rate up? > > >

Re: [PATCH 1/4] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-28 Thread Alexei Starovoitov
On Mon, Mar 28, 2016 at 06:41:29AM +, Wang Nan wrote: > Add new ioctl() to pause/resume ring-buffer output. > > In some situations we want to read from ring buffer only when we > ensure nothing can write to the ring buffer during reading. Without > this patch we have to turn off all events att

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-28 Thread Paul E. McKenney
On Mon, Mar 28, 2016 at 05:25:18PM -0700, Paul E. McKenney wrote: > On Mon, Mar 28, 2016 at 06:08:41AM -0700, Paul E. McKenney wrote: > > On Mon, Mar 28, 2016 at 08:25:47AM +0200, Peter Zijlstra wrote: > > > On Sun, Mar 27, 2016 at 02:06:41PM -0700, Paul E. McKenney wrote: > > [ . . . ] > > > > >

Re: [PATCH 4/4] perf core: Add backward attribute to perf event

2016-03-28 Thread Alexei Starovoitov
On Mon, Mar 28, 2016 at 06:41:32AM +, Wang Nan wrote: > This patch introduces 'write_backward' bit to perf_event_attr, which > controls the direction of a ring buffer. After set, the corresponding > ring buffer is written from end to beginning. This feature is design to > support reading from o

[PATCH v3] x86, pmem: use memcpy_mcsafe() for memcpy_from_pmem()

2016-03-28 Thread Dan Williams
Update the definition of memcpy_from_pmem() to return 0 or a negative error code. Implement x86/arch_memcpy_from_pmem() with memcpy_mcsafe(). Cc: Borislav Petkov Cc: Ingo Molnar Cc: Tony Luck Cc: Thomas Gleixner Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Andrew Morton Cc: Linus Torvalds R

Re: [PATCH v3] x86, pmem: use memcpy_mcsafe() for memcpy_from_pmem()

2016-03-28 Thread Dan Williams
On Mon, Mar 28, 2016 at 5:28 PM, Dan Williams wrote: > Update the definition of memcpy_from_pmem() to return 0 or a negative > error code. Implement x86/arch_memcpy_from_pmem() with memcpy_mcsafe(). > > Cc: Borislav Petkov > Cc: Ingo Molnar > Cc: Tony Luck > Cc: Thomas Gleixner > Cc: Andy Lut

Re: [PATCH] bpf: doc: "neg" opcode has no operands

2016-03-28 Thread Alexei Starovoitov
On Mon, Mar 28, 2016 at 02:56:47PM -0700, Kees Cook wrote: > From: Dave Anderson > > Fixes a copy-paste-o in the BPF opcode table: "neg" takes no arguments > and thus has no addressing modes. > > Signed-off-by: Dave Anderson > Signed-off-by: Kees Cook Acked-by: Alexei Starovoitov

[PATCH v4 1/4] perf config: Introduce perf_config_set class

2016-03-28 Thread Taeung Song
This infrastructure code was designed for upcoming features of perf-config. That collect config key-value pairs from user and system config files (i.e. user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig) to manage perf's configs. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeun

[PATCH v4 0/4] Infrastructure code for perf-config

2016-03-28 Thread Taeung Song
Hi, We can use the config files (i.e user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig) to configure perf tools. perf-config help user manage the config files, not manually look into or edit them. Introduce new infrastructure code for config management features of perf-config subco

[PATCH v4 2/4] perf config: Let show_config() work with perf_config_set

2016-03-28 Thread Taeung Song
Current show_config() has a problem when user or system config files have same config variables i.e. # cat ~/.perfconfig [top] children = false when $(sysconfdir) is /usr/local/etc # cat /usr/local/etc/perfconfig [top] children = true Before:

[PATCH v4 3/4] perf config: Prepare all default configs

2016-03-28 Thread Taeung Song
To precisely manage configs, prepare all default perf's configs that contain default section name, variable name, value and correct type, not string type. In the near future, this will be used when checking type of config variable or showing all configs with default values, etc. Acked-by: Namhyun

[PATCH v4 4/4] perf config: Initialize perf_config_set with all default configs

2016-03-28 Thread Taeung Song
To avoid duplicated config variables and use perf_config_set classifying between standard perf config variables and unknown or new config variables other than them, initialize perf_config_set with all default configs. And this will be needed when showing all configs with default value or checking

RE: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-28 Thread Peter Chen
> > On 28 March 2016 at 15:13, Peter Chen wrote: > > On Mon, Mar 28, 2016 at 02:51:40PM +0800, Baolin Wang wrote: > >> On 25 March 2016 at 15:09, Peter Chen wrote: > >> > On Thu, Mar 24, 2016 at 08:35:53PM +0800, Baolin Wang wrote: > >> >> Currently the Linux kernel does not provide any standa

Re: [PATCH 01/11] mm/slab: hold a slab_mutex when calling __kmem_cache_shrink()

2016-03-28 Thread Christoph Lameter
On Mon, 28 Mar 2016, js1...@gmail.com wrote: > Major kmem_cache metadata in slab subsystem is synchronized with > the slab_mutex. In SLAB, if some of them is changed, node's shared > array cache would be freed and re-populated. If __kmem_cache_shrink() > is called at the same time, it will call dr

Re: [PATCH 02/11] mm/slab: remove BAD_ALIEN_MAGIC again

2016-03-28 Thread Christoph Lameter
On Mon, 28 Mar 2016, Andrew Morton wrote: > On Mon, 28 Mar 2016 14:26:52 +0900 js1...@gmail.com wrote: > > > From: Joonsoo Kim > > > > Initial attemp to remove BAD_ALIEN_MAGIC is once reverted by > > 'commit edcad2509550 ("Revert "slab: remove BAD_ALIEN_MAGIC"")' > > because it causes a problem o

Re: [PATCH 03/11] mm/slab: drain the free slab as much as possible

2016-03-28 Thread Christoph Lameter
Acked-by: Christoph Lameter

linux-next: Tree for Mar 29

2016-03-28 Thread Stephen Rothwell
Hi all, Changes since 20160327: My fixes tree contains: perf tools: Fix build break on powerpc The nvdimm tree still had its build failure so I used the version from next-20160324. Non-merge commits (relative to Linus' tree): 1007 836 files changed, 20574 insertions(+), 14730 deletions(-)

Re: [PATCH 04/11] mm/slab: factor out kmem_cache_node initialization code

2016-03-28 Thread Christoph Lameter
On Mon, 28 Mar 2016, js1...@gmail.com wrote: > From: Joonsoo Kim > - spin_lock_irq(&n->list_lock); > - n->free_limit = > - (1 + nr_cpus_node(node)) * > - cachep->batchcount + cachep->num; > - spin_unlock_irq(&n->list_lock

Re: [PATCH 05/11] mm/slab: clean-up kmem_cache_node setup

2016-03-28 Thread Christoph Lameter
On Mon, 28 Mar 2016, js1...@gmail.com wrote: > * This initializes kmem_cache_node or resizes various caches for all nodes. > */ > -static int alloc_kmem_cache_node(struct kmem_cache *cachep, gfp_t gfp) > +static int setup_kmem_cache_node_node(struct kmem_cache *cachep, gfp_t gfp) ... _node_no

Re: [PATCH 06/11] mm/slab: don't keep free slabs if free_objects exceeds free_limit

2016-03-28 Thread Christoph Lameter
On Mon, 28 Mar 2016, js1...@gmail.com wrote: > From: Joonsoo Kim > > Currently, determination to free a slab is done whenever free object is > put into the slab. This has a problem that free slabs are not freed > even if we have free slabs and have more free_objects than free_limit There needs t

Re: [PATCH 07/11] mm/slab: racy access/modify the slab color

2016-03-28 Thread Christoph Lameter
On Mon, 28 Mar 2016, js1...@gmail.com wrote: > From: Joonsoo Kim > > Slab color isn't needed to be changed strictly. Because locking > for changing slab color could cause more lock contention so this patch > implements racy access/modify the slab color. This is a preparation step > to implement l

Re: [RFC PATCH] cgroup namespaces: add a 'nsroot=' mountinfo field

2016-03-28 Thread Serge E. Hallyn
Quoting Serge E. Hallyn (se...@hallyn.com): > One practical problem I've found with cgroup namespaces is that there > is no way to disambiguate between a cgroupfs mount which was done in > a cgroup namespace, and a bind mount of a cgroupfs directory. So > whether I do > > unshare --cgroup -- bash

Re: [PATCH 1/4] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-28 Thread Wangnan (F)
On 2016/3/29 8:27, Alexei Starovoitov wrote: On Mon, Mar 28, 2016 at 06:41:29AM +, Wang Nan wrote: Add new ioctl() to pause/resume ring-buffer output. In some situations we want to read from ring buffer only when we ensure nothing can write to the ring buffer during reading. Without this

[RFC PATCH 2/2] x86/hugetlb: Attempt PUD_SIZE mapping alignment if PMD sharing enabled

2016-03-28 Thread Mike Kravetz
When creating a hugetlb mapping, attempt PUD_SIZE alignment if the following conditions are met: - Address passed to mmap or shmat is NULL - The mapping is flaged as shared - The mapping is at least PUD_SIZE in length If a PUD_SIZE aligned mapping can not be created, then fall back to a huge page s

[RFC PATCH 0/2] hugetlb: If PMD sharing is possible, align to PUD_SIZE

2016-03-28 Thread Mike Kravetz
PMD sharing for hugetlb mappings has been present for quite some time. However, specific conditions must be met for mappings to be shared. One of those conditions is that the mapping must include all pages that can be mapped by a PUD. To help facilitate this, the mapping should be PUD_SIZE al

[RFC PATCH 1/2] mm/hugetlbfs: Attempt PUD_SIZE mapping alignment if PMD sharing enabled

2016-03-28 Thread Mike Kravetz
When creating a hugetlb mapping, attempt PUD_SIZE alignment if the following conditions are met: - Address passed to mmap or shmat is NULL - The mapping is flaged as shared - The mapping is at least PUD_SIZE in length If a PUD_SIZE aligned mapping can not be created, then fall back to a huge page s

Re: [LKP] [lkp] [futex] 65d8fc777f: +25.6% will-it-scale.per_process_ops

2016-03-28 Thread Huang, Ying
Darren Hart writes: > On Mon, Mar 21, 2016 at 04:42:47PM +0800, Huang, Ying wrote: >> Thomas Gleixner writes: >> >> > On Mon, 21 Mar 2016, Huang, Ying wrote: >> >> > FYI, we noticed 25.6% performance improvement due to commit >> >> > >> >> >65d8fc777f6d "futex: Remove requirement for lock_

Re: [PATCH] mmc: dw_mmc-rockchip: fix failing to mount partition with "discard"

2016-03-28 Thread Jaehoon Chung
Hi Shawn, Sorry for applying late. Applied on my repository. Best Regards, Jaehoon Chung On 03/01/2016 04:12 PM, Shawn Lin wrote: > Without MMC_CAP_ERASE support, we fail to mount partition > with "discard" option since mmc_queue_setup_discard is limited > for checking mmc_can_erase. Without doi

Re: [PATCH] mmc: dw_mmc-rockchip: remove dw_mci_rockchip_pmops

2016-03-28 Thread Jaehoon Chung
Hi Shawn, Sorry for applying late. Applied on my repository. Best Regards, Jaehoon Chung On 02/12/2016 08:42 PM, Shawn Lin wrote: > On 2016/2/4 14:15, Jaehoon Chung wrote: >> Hi, Shawn. >> >> On 02/03/2016 12:26 PM, Shawn Lin wrote: >>> dw_mci_rockchip_pmops just copy-paste what dw_mci_pltfm_pmo

Re: [PATCH v6 0/3] Add more clock compatible features and support the RK3399 clock

2016-03-28 Thread Xing Zheng
On 2016年03月28日 20:59, Heiko Stübner wrote: Am Montag, 28. März 2016, 17:51:34 schrieb Xing Zheng: The patch series add support more mux parameters and multiple clock providers for the rockchip features of the clock framework, and support the clock controller for the RK3399. applied all 3 fo

Re: [PATCH 1/2] mmc: dw_mmc: fix warning reported by kernel-doc

2016-03-28 Thread Jaehoon Chung
Hi Shawn, Sorry for applying late. Applied on my repository. Best Regards, Jaehoon Chung On 03/09/2016 11:33 AM, Shawn Lin wrote: > Try to fix the warning reported by: > scripts/kernel-doc -man -v include/linux/mmc/dw_mmc.h > /dev/null > > warning: No description found for parameter 'irq_lock'

Re: [PATCH 2/2] mmc: dw_mmc: avoid using dmaengine_terminate_all

2016-03-28 Thread Jaehoon Chung
Hi Shawn, Sorry for applying late. Applied on my repository. Best Regards, Jaehoon Chung On 03/09/2016 11:34 AM, Shawn Lin wrote: > dmaengine_terminate_all is deprecated and should be > replaced by more explicit synchronous and asynchronous > terminate functions. This change is based on the > co

[lkp] [driver core] de6c63b04a: BUG: unable to handle kernel NULL pointer dereference at 0000000000000068

2016-03-28 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Ming-Lei/driver-core-fix-race-between-creating-querying-glue-dir-and-its-cleanup/20160328-163037 commit de6c63b04a9744c00e46986e44e73f391215b58e ("driver core: fix race between creating/querying glue dir and its cl

Re: [PATCH v2 1/5] phy: Rename phy-brcmstb-sata driver to phy-brcm-sata driver

2016-03-28 Thread Florian Fainelli
Le 27/03/2016 21:48, Anup Patel a écrit : > Currently, we have a common SATA3 PHY driver for all Broadcom > STB SoCs. This driver can be extended and re-used for Broadcom > iProc SoCs having same SATA3 PHY. > > This patch renames existing Broadcom STB SATA3 PHY driver to > common Broadcom SATA3 PH

Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-28 Thread Krzysztof Kozlowski
On 29.03.2016 00:15, Javier Martinez Canillas wrote: > Tobias mentioned on IRC that the exynos4-is driver conflicts with the > Exynos DRM driver since both exynos_drm_fimc and exynos-fimc-is use > the FIMC block. > > So I think we should just discard $SUBJECT and instead add a Kconfig > check to n

Re: [PATCH v2 3/5] dt-bindings: phy: bindings document for common Broadcom SATA3 PHY driver

2016-03-28 Thread Florian Fainelli
Le 27/03/2016 21:48, Anup Patel a écrit : > Required properties: > - compatible: should be one or more of > "brcm,bcm7425-sata-phy" > "brcm,bcm7445-sata-phy" > + "brcm,iproc-ns2-sata-phy" > "brcm,phy-sata3" > - address-cells: should be 1 > - size-cells: should be 0 > -- re

<    1   2   3   4   5   6   >