[PATCH net 3/6] net: hns: fixed portid bug in sending manage pkt

2016-03-03 Thread Daode Huang
In V2 chip, when sending mamagement packets, the driver should config the port id to BD descs. Signed-off-by: Daode Huang Signed-off-by: Lisheng --- drivers/net/ethernet/hisilicon/hns/hnae.h | 3 +++ drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 1 + drivers/net/ethernet/hisilicon

[PATCH net 4/6] net: hns: adds uc match for debug port

2016-03-03 Thread Daode Huang
This patch adds uc match for debug port by: 1)Enables uc match of debug port when initializing gmac 2)Enables uc match of mac address register2 Signed-off-by: Daode Huang Signed-off-by: lipeng --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 18 +- drivers/net/ethernet/h

[PATCH net 5/6] net: hns: fixed service-ges setting MAC-addr bug

2016-03-03 Thread Daode Huang
From: Lisheng Service gmacs can not set mac add, this patch will fix the bug. Signed-off-by: Daode Huang Signed-off-by: Lisheng --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/

[PATCH net 2/6] net: hns: fixes the hw interrupt bug in using napi

2016-03-03 Thread Daode Huang
In V1 chip, common_poll should check and clean fbd pkts, because it can not pend irq to clean them if there is no new pkt comes in. But V2 chip hw fixes this bug, and will pend irq itself to do this. So, for V2 chip, we set ring_data->fini_process to NULL. Signed-off-by: Daode Huang Signed-off-by

Re: [PATCH 1/4 v2] drm: Add support of ARC PGU display controller

2016-03-03 Thread kbuild test robot
Hi Alexey, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.5-rc6 next-20160303] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Alexey-Brodkin/drm-Add-support-of-ARC-PGU

Re: [PATCH 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-03 Thread kbuild test robot
Hi Lu, [auto build test WARNING on usb/usb-testing] [also build test WARNING on v4.5-rc6 next-20160303] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Lu-Baolu/usb-add-support-for-Intel-dual

Re: [PATCH 3/4] leds: Add driver for the ISSI IS31FL32xx family of LED controllers

2016-03-03 Thread David Rivshin (Allworx)
On Thu, 03 Mar 2016 15:51:32 +0100 Jacek Anaszewski wrote: > Hi David, > > Thanks for the update. Two remarks in the code. > > On 03/03/2016 04:01 AM, David Rivshin (Allworx) wrote: > > From: David Rivshin > > > > The IS31FL32xx family of LED controllers are I2C devices with multiple > > const

Re: [PATCH] tmpfs: shmem_fallocate must return ERESTARTSYS

2016-03-03 Thread Mike Kravetz
On 03/03/2016 04:30 PM, Maxim Patlasov wrote: > shmem_fallocate() is restartable, so it can return ERESTARTSYS if > signal_pending(). Although fallocate(2) manpage permits EINTR, > the more places use ERESTARTSYS the better. > > Signed-off-by: Maxim Patlasov > --- > mm/shmem.c |8 +--- >

[PATCH] tmpfs: shmem_fallocate must return ERESTARTSYS

2016-03-03 Thread Maxim Patlasov
shmem_fallocate() is restartable, so it can return ERESTARTSYS if signal_pending(). Although fallocate(2) manpage permits EINTR, the more places use ERESTARTSYS the better. Signed-off-by: Maxim Patlasov --- mm/shmem.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH v13 3/6] of, numa: Add NUMA of binding implementation.

2016-03-03 Thread Rob Herring
On Thu, Mar 3, 2016 at 11:33 AM, David Daney wrote: > On 03/02/2016 07:34 PM, Rob Herring wrote: >> >> On Wed, Mar 2, 2016 at 4:55 PM, David Daney wrote: >>> >>> From: David Daney >>> >>> Add device tree parsing for NUMA topology using device >>> "numa-node-id" property in distance-map and cpu n

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-03 Thread Theodore Ts'o
On Fri, Mar 04, 2016 at 10:10:50AM +1100, Dave Chinner wrote: > You can tempt all you want, but it does not change the basic fact > that it is dangerous and compromises system security. As such, it > does not belong in upstream kernels. Especially in this day and age > where ensuring the fundamenta

Re: soft lockup when passing vvar address to write(2)

2016-03-03 Thread Andy Lutomirski
On Thu, Mar 3, 2016 at 2:58 PM, Rasmus Villemoes wrote: > Looking up the vvar mapping and dumping its contents sometimes results > in a soft lockup. On 4.5-rc6+ (master from earlier today) it seems to be > a little harder to trigger than on the 4.2something Ubuntu kernel I > first saw it on, but i

Re: [PATCH v14 2/6] Documentation, dt, numa: dt bindings for NUMA.

2016-03-03 Thread Rob Herring
On Thu, Mar 3, 2016 at 5:55 PM, David Daney wrote: > From: Ganapatrao Kulkarni > > Add DT bindings for numa mapping of memory, CPUs and IOs. > > Reviewed-by: Robert Richter > Signed-off-by: Ganapatrao Kulkarni > Signed-off-by: David Daney Acked-by: Rob Herring

Re: [PATCH v14 3/6] of, numa: Add NUMA of binding implementation.

2016-03-03 Thread Rob Herring
On Thu, Mar 3, 2016 at 5:55 PM, David Daney wrote: > From: David Daney > > Add device tree parsing for NUMA topology using device > "numa-node-id" property in distance-map and cpu nodes. > > This is a complete rewrite of a previous patch by: >Ganapatrao Kulkarni > > Signed-off-by: David Daney

Re: [PATCH] of: add 'const' for of_property_*_string*() parameter '*np'

2016-03-03 Thread Rob Herring
On Thu, Mar 3, 2016 at 4:16 PM, David Rivshin (Allworx) wrote: > On Thu, 3 Mar 2016 07:52:51 -0600 > Rob Herring wrote: > >> On Wed, Mar 2, 2016 at 3:35 PM, David Rivshin (Allworx) >> wrote: >> > From: David Rivshin >> > >> > The of_property_{read,count,match}_string* family of functions never

Re: [PATCH] Bluetooth: btusb: Add a new AR3012 ID 13d3:3472

2016-03-03 Thread Marcel Holtmann
Hi Dmitry, > T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=13d3 ProdID=3472 Rev=00.01 > C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > I: If#= 1 A

[PATCH] media: add prefixes to interface types

2016-03-03 Thread Shuah Khan
Add missing prefixes for DVB, V4L, and ALSA interface types. Signed-off-by: Shuah Khan --- drivers/media/media-entity.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c index bcd7464

[GIT PULL] KEYS: Miscellaneous bits for security/next

2016-03-03 Thread David Howells
next-20160303 for you to fetch changes up to 4e8ae72a75aae285ec5b93518b9680da198afd0d: X.509: Make algo identifiers text instead of enum (2016-03-03 21:49:27 +) Keyrings changes for

[RFC][PATCH] selftests/seccomp: add MIPS self-test support

2016-03-03 Thread Kees Cook
This adds self-test support on MIPS. (On at least Bionic, the siginfo headers require pid_t and clock_t to be defined first, so this meant moving the sys/types.h include to before siginfo.h.) Signed-off-by: Kees Cook --- I don't have hardware at the moment to test this. Can someone check this? It

[PATCH 7/7] perf, tools, stat: Check for frontend stalled for metrics

2016-03-03 Thread Andi Kleen
From: Andi Kleen Add an extra check for frontend stalled in the metrics. This avoids an extra column for the --metric-only case when the CPU does not support frontend stalled. v2: Add separate init function Acked-by: Jiri Olsa Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 1 +

[PATCH 4/7] perf, tools, stat: Document CSV format in manpage

2016-03-03 Thread Andi Kleen
From: Andi Kleen With all the recently added fields in the perf stat CSV output we should finally document them in the man page. Do this here. v2: Fix fields in documentation (Jiri) v3: fix order of fields again (Jiri) v4: Change order again. v5: Document more fields (Jiri) v6: Move time stamp f

[PATCH 3/7] perf, tools, stat: Support metrics in --per-core/socket mode

2016-03-03 Thread Andi Kleen
From: Andi Kleen Enable metrics printing in --per-core / --per-socket mode. We need to save the shadow metrics in a unique place. Always use the first CPU in the aggregation. Then use the same CPU to retrieve the shadow value later. Example output: % perf stat --per-core -a ./BC1s Performance

[PATCH 1/7] perf, tools, stat: Check existence of frontend/backed stalled cycles

2016-03-03 Thread Andi Kleen
From: Andi Kleen Only put the frontend/backend stalled cycles into the default perf stat events when the CPU actually supports them. This avoids empty columns with --metric-only on newer Intel CPUs. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 22 -- 1 file ch

[PATCH 2/7] perf, tools, stat: Implement CSV metrics output

2016-03-03 Thread Andi Kleen
From: Andi Kleen Now support CSV output for metrics. With the new output callbacks this is relatively straight forward by creating new callbacks. This allows to easily plot metrics from CSV files. The new line callback needs to know the number of fields to skip them correctly Example output be

[PATCH 6/7] perf, tools, stat: Add --metric-only support for -A

2016-03-03 Thread Andi Kleen
From: Andi Kleen Add metric only support for -A too. This requires a new print function that prints the metrics in the right order. v2: Fix manpage v3: Simplify nrcpus computation Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-stat.txt | 2 +- tools/perf/builtin-stat.c

perf, tools: Refactor and support interval and CSV metrics

2016-03-03 Thread Andi Kleen
Fixed even more last feedback. [v5: Fix mainly bisect problems. No regressions introduced by one patch and fixed again later. Some minor fixes in addition] [v6: Fix running/noise printing patch.] [v7: Reorder and merge two patches to avoid a bisect hole where unsupported was printed as 0] [v8: Min

[PATCH 5/7] perf, tools, stat: Implement --metric-only mode

2016-03-03 Thread Andi Kleen
From: Andi Kleen Add a new mode to only print metrics. Sometimes we don't care about the raw values, just want the computed metrics. This allows more compact printing, so with -I each sample is only a single line. This also allows easier plotting and processing with other tools. The main target

[PATCH v14 1/6] efi: ARM/arm64: ignore DT memory nodes instead of removing them

2016-03-03 Thread David Daney
From: Ard Biesheuvel There are two problems with the UEFI stub DT memory node removal routine: - it deletes nodes as it traverses the tree, which happens to work but is not supported, as deletion invalidates the node iterator; - deleting memory nodes entirely may discard annotations in the form

Re: [PATCH 4/8] Documentation: devicetree: Document Tronsmart vendor prefix

2016-03-03 Thread Rob Herring
On Tue, Mar 01, 2016 at 12:44:21AM +0100, Andreas Färber wrote: > Choose the obvious prefix, "tronsmart". > > Cc: Matthias Brugger > Signed-off-by: Andreas Färber > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

[PATCH v14 3/6] of, numa: Add NUMA of binding implementation.

2016-03-03 Thread David Daney
From: David Daney Add device tree parsing for NUMA topology using device "numa-node-id" property in distance-map and cpu nodes. This is a complete rewrite of a previous patch by: Ganapatrao Kulkarni Signed-off-by: David Daney --- drivers/of/Kconfig | 3 + drivers/of/Makefile | 1 +

[PATCH v14 0/6] arm64, numa: Add numa support for arm64 platforms

2016-03-03 Thread David Daney
From: David Daney v14: - Revised patch to unflatten the device tree earlier. - Cleanups and added EXPORT_SYMBOL to of_numa.c as suggested by Rob Harring v13: - Added patch to unflatten the device tree earlier. - Rewrote of_numa.c to work on unflattened

[PATCH v14 5/6] arm64, numa: Add NUMA support for arm64 platforms.

2016-03-03 Thread David Daney
From: Ganapatrao Kulkarni Attempt to get the memory and CPU NUMA node via of_numa. If that fails, default the dummy NUMA node and map all memory and CPUs to node 0. Tested-by: Shannon Zhao Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni Signed-off-by: David Daney --- arch/ar

[PATCH v14 2/6] Documentation, dt, numa: dt bindings for NUMA.

2016-03-03 Thread David Daney
From: Ganapatrao Kulkarni Add DT bindings for numa mapping of memory, CPUs and IOs. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni Signed-off-by: David Daney --- Documentation/devicetree/bindings/numa.txt | 272 + 1 file changed, 272 insertions(+)

[PATCH v14 6/6] arm64, mm, numa: Add NUMA balancing support for arm64.

2016-03-03 Thread David Daney
From: Ganapatrao Kulkarni Enable NUMA balancing for arm64 platforms. Add pte, pmd protnone helpers for use by automatic NUMA balancing. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni Signed-off-by: David Daney --- arch/arm64/Kconfig | 1 + arch/arm64/include/as

[PATCH v14 4/6] arm64: Move unflatten_device_tree() call earlier.

2016-03-03 Thread David Daney
From: David Daney In order to extract NUMA information from the device tree, we need to have the tree in its unflattened form. Split paging_init() into two pieces. The first piece maps memory so that unflatten_device_tree(), can allocate memory. The second piece containing the bootmem_init() c

Re: [PATCH 2/8] perf tools: Introduce perf_hpp__setup_hists_formats()

2016-03-03 Thread Namhyung Kim
On Thu, Mar 03, 2016 at 02:40:33PM +0100, Jiri Olsa wrote: > On Thu, Mar 03, 2016 at 01:12:02AM +0900, Namhyung Kim wrote: > > The perf_hpp__setup_hists_formats() is to build hists-specific output > > formats (and sort keys). Currently it's only used in order to build the > > output format in a hi

Re: [PATCH 2/8] perf tools: Introduce perf_hpp__setup_hists_formats()

2016-03-03 Thread Namhyung Kim
Hi Jiri, On Thu, Mar 03, 2016 at 02:40:22PM +0100, Jiri Olsa wrote: > On Thu, Mar 03, 2016 at 01:12:02AM +0900, Namhyung Kim wrote: > > SNIP > > > +struct perf_hpp_fmt *perf_hpp_fmt__copy(struct perf_hpp_fmt *fmt); > > + > > int hist_entry__filter(struct hist_entry *he, int type, const void *ar

Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI)

2016-03-03 Thread Khalid Aziz
On 03/03/2016 03:26 PM, Julian Calaby wrote: Hi Khalid, On Fri, Mar 4, 2016 at 4:42 AM, Khalid Aziz wrote: On 03/02/2016 06:33 PM, Julian Calaby wrote: Hi Khalid, A couple of other comments: On Thu, Mar 3, 2016 at 5:54 AM, Khalid Aziz wrote: Enable Application Data Integrity (ADI) supp

Re: [PATCH 3/3] radix-tree: support locking of individual exception entries.

2016-03-03 Thread NeilBrown
On Fri, Mar 04 2016, Jan Kara wrote: > Hi Neil, > > On Sun 28-02-16 16:09:29, NeilBrown wrote: >> The least significant bit of an exception entry is used as a lock flag. >> A caller can: >> - create a locked entry by simply adding an entry with this flag set >> - lock an existing entry with radi

Re: [RFC] Re: [PATCHSET 0/8] perf tools: Support multiple keys in a single hierarchy level (v1)

2016-03-03 Thread Namhyung Kim
Hi Arnaldo, On Thu, Mar 03, 2016 at 10:08:15AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 03, 2016 at 08:16:36AM +0900, Namhyung Kim escreveu: > > On Wed, Mar 02, 2016 at 01:25:07PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Mar 03, 2016 at 01:12:00AM +0900, Namhyung Kim escrev

Re: ext2/3 using ext4 module mkdir IO error on pmem DAX mount

2016-03-03 Thread Theodore Ts'o
On Thu, Mar 03, 2016 at 10:49:51PM +0530, lokesh jaliminche wrote: > Hi, >I have tested it locally I am also getting same error but not > consistently. I have put some debug logs for debugging, as per the logs > it seems that block_group is not getting initialized properly. I am > not sure weat

Re: [RFC][PATCH 0/7] System Calls for Memory Protection Keys

2016-03-03 Thread Dave Hansen
On 03/03/2016 12:05 AM, Michael Kerrisk (man-pages) wrote: >> > I have manpages written for some of these syscalls, and I will >> > submit a full set of manpages once we've reached some consensus >> > on what the interfaces should be. > Please don't do things in this order. Providing man pages up f

[drm:radeon_dp_link_train] *ERROR* clock recovery failed -bisected

2016-03-03 Thread Ken Moffat
On Thu, Mar 03, 2016 at 02:38:11AM +, Ken Moffat wrote: > One of my machines is an A10 Kaveri desktop, with a good old VGA > connection to the monitor. I've only just started trying to boot > any 4.5 kernel on it, but with 4.5.0-rc6 and now linus's tree from a > few hours ago (4.5.0-rc6-00018-

[PATCH] leds: Add Chrome OS keyboard backlight LEDs driver

2016-03-03 Thread Dmitry Torokhov
From: Simon Que This is a driver for ACPI-based keyboard backlight LEDs found on Chromebooks. The driver locates \\_SB.KBLT ACPI device and exports backlight as "chromeos::kbd_backlight" LED class device in sysfs. Signed-off-by: Simon Que Signed-off-by: Duncan Laurie Signed-off-by: Dmitry Toro

Re: [PATCH v10 09/12] arch/x86: enable task isolation functionality

2016-03-03 Thread Andy Lutomirski
On Thu, Mar 3, 2016 at 11:52 AM, Chris Metcalf wrote: > On 03/02/2016 07:36 PM, Andy Lutomirski wrote: >> >> On Mar 2, 2016 12:10 PM, "Chris Metcalf" wrote: >>> >>> In prepare_exit_to_usermode(), call task_isolation_ready() >>> when we are checking the thread-info flags, and after we've handled >

Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW

2016-03-03 Thread Stephane Eranian
On Thu, Mar 3, 2016 at 1:43 PM, Andi Kleen wrote: > > > + /* > > + * There are cases where, even though, the PEBS ovfl bit is > > set in > > + * GLOBAL_OVF_STATUS, the PEBS events may also have their > > overflow bits > > + * set for their count

Re: [PATCH -trivial] devicetree: bindings: ARM: Use "uV" for micro-volt

2016-03-03 Thread Rob Herring
On Mon, Feb 15, 2016 at 01:44:42PM +0100, Geert Uytterhoeven wrote: > The binding documentation uses both "uVolt" and "uV" for micro-volt. > Improve consistency by settling on "uV". > > Signed-off-by: Geert Uytterhoeven Applied, thanks. Rob > --- > Documentation/devicetree/bindings/arm/cpus.t

Linux 4.4.4

2016-03-03 Thread Greg KH
I'm announcing the release of the 4.4.4 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.14.63

2016-03-03 Thread Greg KH
I'm announcing the release of the 3.14.63 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.10.99

2016-03-03 Thread Greg KH
diff --git a/Makefile b/Makefile index dadd1edc6f84..f1e6491fd7d8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 98 +SUBLEVEL = 99 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index a8d022

Re: Linux 3.14.63

2016-03-03 Thread Greg KH
diff --git a/Makefile b/Makefile index b738f644c71e..0843ef4cc0a4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 14 -SUBLEVEL = 62 +SUBLEVEL = 63 EXTRAVERSION = NAME = Remembering Coco diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index e550b1

Linux 3.10.99

2016-03-03 Thread Greg KH
I'm announcing the release of the 3.10.99 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

[PATCH 1/4] mm: Convert pr_warning to pr_warn

2016-03-03 Thread Joe Perches
There are a mixture of pr_warning and pr_warn uses in mm. Use pr_warn consistently. Miscellanea: o Coalesce formats o Realign arguments Signed-off-by: Joe Perches --- mm/hugetlb.c | 9 - mm/kmemleak.c | 14 +++--- mm/percpu.c | 15 +++ 3 files changed, 18 insert

[PATCH 3/4] mm: Convert printk(KERN_ to pr_

2016-03-03 Thread Joe Perches
Most of the mm subsystem uses pr_ so make it consistent. Miscellanea: o Realign arguments o Add missing newline to format o kmemleak-test.c has a "kmemleak: " prefix added to the "Kmemleak testing" logging message via pr_fmt Signed-off-by: Joe Perches --- mm/backing-dev.c| 4 ++-- mm/bo

[PATCH 2/4] mm: Coalesce split strings

2016-03-03 Thread Joe Perches
Kernel style prefers a single string over split strings when the string is 'user-visible'. Miscellanea: o Add a missing newline o Realign arguments Signed-off-by: Joe Perches --- mm/dmapool.c| 10 -- mm/huge_memory.c| 3 +-- mm/kasan/report.c | 6 ++ mm/kmemcheck.c

[PATCH 4/4] mm: percpu: Use pr_fmt to prefix output

2016-03-03 Thread Joe Perches
Use the normal mechanism to make the logging output consistently "percpu: " instead of a mix of "PERCPU: " and "percpu: " Signed-off-by: Joe Perches --- mm/percpu-km.c | 4 ++-- mm/percpu.c| 20 +++- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/mm/percpu-

[PATCH 0/4] mm: Make the logging a bit more consistent

2016-03-03 Thread Joe Perches
Joe Perches (4): mm: Convert pr_warning to pr_warn mm: Coalesce split strings mm: Convert printk(KERN_ to pr_ mm: percpu: Use pr_fmt to prefix output mm/backing-dev.c| 4 +-- mm/bootmem.c| 7 ++--- mm/dmapool.c| 18 +--- mm/huge_memory.c| 3 +- mm/hugetl

Re: Kernel docs: muddying the waters a bit

2016-03-03 Thread Keith Packard
Mauro Carvalho Chehab writes: > On my tests, Sphinix seemed too limited to format tables. Asciidoc > produced an output that worked better. Yes, asciidoc has much more flexibility in table formatting, including the ability to control text layout within cells and full control over borders. Howev

Re: [PATCH v2 4/4] ACPI: Change NFIT driver to insert new resource

2016-03-03 Thread Toshi Kani
On Thu, 2016-03-03 at 14:49 -0800, Dan Williams wrote: > On Wed, Mar 2, 2016 at 2:50 PM, Toshi Kani wrote:  : > > diff --git a/drivers/acpi/nfit.c b/drivers/acpi/nfit.c > > index fb53db1..d97b53f 100644 > > --- a/drivers/acpi/nfit.c > > +++ b/drivers/acpi/nfit.c > > @@ -1571,6 +1571,30 @@ static i

Re: [PATCH V14 8/9] vfio, platform: add support for ACPI while detecting the reset driver

2016-03-03 Thread Eric Auger
Hi Sinan, On 03/02/2016 07:34 PM, Sinan Kaya wrote: > On 2/26/2016 12:15 PM, Eric Auger wrote: >>> -module_init(reset ## _module_init);\ +#define module_vfio_reset_handler(compat, acpihid, reset) \ +MODULE_ALIAS("vfio-reset:" compat);

Re: [PATCH 4.4 000/342] 4.4.4-stable review

2016-03-03 Thread Greg Kroah-Hartman
On Thu, Mar 03, 2016 at 12:10:38PM -0800, Kevin Hilman wrote: > kernelci.org bot writes: > > > stable-queue boot: 412 boots: 2 failed, 400 passed with 10 offline > > (v4.4.3-342-g9612a7fdd94b) > > > > Full Boot Summary: > > https://kernelci.org/boot/all/job/stable-queue/kernel/v4.4.3-342-g9612a

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-03 Thread Dave Chinner
On Thu, Mar 03, 2016 at 05:39:52PM -0500, Theodore Ts'o wrote: > On Thu, Mar 03, 2016 at 01:54:54PM -0500, Martin K. Petersen wrote: > > > "Christoph" == Christoph Hellwig writes: > > > > Christoph> - FALLOC_FL_PUNCH_HOLE assures zeroes are returned, but > > Christoph> space is deallocated a

Re: [RFC PATCH 0/9] iio: Fix ABBA deadlock in inv-mpu6050

2016-03-03 Thread Peter Rosin
From: Peter Rosin Hi Daniel, Daniel Baluta wrote: >On Mon, Feb 22, 2016 at 1:17 AM, Wolfram Sang wrote: >> On Thu, Feb 18, 2016 at 05:53:05PM +0200, Daniel Baluta wrote: >>> Sending this as an RFC because I don't know if style fixes are appropriate >>> for this driver and also not sure if deadlo

RE: [PATCH 4/4] MSR: msr Batch processing feature

2016-03-03 Thread Mcfadden, Marty Jay
> From: One Thousand Gnomes [mailto:gno...@lxorguk.ukuu.org.uk] > Sent: Thursday, March 03, 2016 9:21 AM > > That strikes me as a very bad idea btw. If your opener was privileged and > leaks > the handle via exec or anything else to another process that process inherits > the > powers which mean

Re: [PATCH] mm/hugetlb: use EOPNOTSUPP in hugetlb sysctl handlers

2016-03-03 Thread Naoya Horiguchi
On Thu, Mar 03, 2016 at 11:02:51AM +0100, Jan Stancek wrote: > Replace ENOTSUPP with EOPNOTSUPP. If hugepages are not supported, > this value is propagated to userspace. EOPNOTSUPP is part of uapi > and is widely supported by libc libraries. > > Cc: Andrew Morton > Cc: Naoya Horiguchi > Cc: Mike

Re: [PATCH 2/2] objtool: Support CROSS_COMPILE

2016-03-03 Thread Stephen Rothwell
Hi Ingo, On Thu, 3 Mar 2016 16:10:21 +0100 Ingo Molnar wrote: > > I'll add Josh's fixes to -tip ASAP as well, so hopefully soon you can drop > all > linux-next specific patches related to this and it will all work Just Fine > (tm). Thanks for that. I have now dropped these patches. > Sorry

soft lockup when passing vvar address to write(2)

2016-03-03 Thread Rasmus Villemoes
Looking up the vvar mapping and dumping its contents sometimes results in a soft lockup. On 4.5-rc6+ (master from earlier today) it seems to be a little harder to trigger than on the 4.2something Ubuntu kernel I first saw it on, but in both cases it's easy to reproduce (10s of iterations at most) b

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-03 Thread Dave Chinner
On Thu, Mar 03, 2016 at 01:54:54PM -0500, Martin K. Petersen wrote: > > "Christoph" == Christoph Hellwig writes: > > Christoph> - FALLOC_FL_PUNCH_HOLE assures zeroes are returned, but > Christoph> space is deallocated as much as possible - > Christoph> FALLOC_FL_ZERO_RANGE assures zeroes are

Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-03 Thread Michal Marek
Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): > +# Filter out exported kernel symbol names advertised as warning pragmas > +# by the preprocessor and write them to $(1). We must consider continuation > +# lines as well: they start with a blank, or the preceeding line ends with > +# a ':'. Anything

Re: [PATCH v2 3/4] resource: Add device-managed insert/remove_resource()

2016-03-03 Thread Toshi Kani
On Thu, 2016-03-03 at 14:45 -0800, Dan Williams wrote: > On Wed, Mar 2, 2016 at 2:50 PM, Toshi Kani wrote:  : > > > > diff --git a/kernel/resource.c b/kernel/resource.c > > index effb6ee..b1a3394 100644 > > --- a/kernel/resource.c > > +++ b/kernel/resource.c > > @@ -1449,6 +1449,75 @@ void __devm

Re: [PATCH] of: add 'const' for of_property_*_string*() parameter '*np'

2016-03-03 Thread Rob Herring
On Thu, Mar 03, 2016 at 07:52:51AM -0600, Rob Herring wrote: > On Wed, Mar 2, 2016 at 3:35 PM, David Rivshin (Allworx) > wrote: > > From: David Rivshin > > > > The of_property_{read,count,match}_string* family of functions never > > modify the struct device_node pointer that is passed in, so ther

Re: [PATCH] of/unittest: fix infinite loop in of_unittest_destroy_tracked_overlays()

2016-03-03 Thread Rob Herring
On Wed, Mar 02, 2016 at 08:24:49PM +0900, Sergey Senozhatsky wrote: > of_overlay_destroy() can return `-ENODEV' error code once it > failed to find the requested overlay in `ov_idr'. However, > of_unittest_destroy_tracked_overlays() does not handle this > error code correctly and continues to call

Re: [PATCH] of: alloc anywhere from memblock if range not specified

2016-03-03 Thread Rob Herring
On Mon, Feb 22, 2016 at 07:15:44PM +0530, Vinayak Menon wrote: > early_init_dt_alloc_reserved_memory_arch passes end as 0 to > __memblock_alloc_base, when limits are not specified. But > __memblock_alloc_base takes end value of 0 as MEMBLOCK_ALLOC_ACCESSIBLE > and limits the end to memblock.current

Re: [PATCH v3 03/22] [media] Docbook: media-types.xml: Add Audio Function Entities

2016-03-03 Thread Shuah Khan
On 02/28/2016 07:46 PM, Laurent Pinchart wrote: > Hi Shuah, > > Thank you for the patch. > > On Thursday 11 February 2016 16:41:19 Shuah Khan wrote: >> Add Audio Function Entities >> >> Signed-off-by: Shuah Khan >> --- >> Documentation/DocBook/media/v4l/media-types.xml | 12 >> 1 f

Re: [PATCH V5 01/15] ACPI: MCFG: Move mmcfg_list management to drivers/acpi

2016-03-03 Thread Bjorn Helgaas
Hi Tomasz, Jayachandran, et al, On Tue, Feb 16, 2016 at 02:53:31PM +0100, Tomasz Nowicki wrote: > From: Jayachandran C > > Move pci_mmcfg_list handling to a drivers/acpi/pci_mcfg.c. This is > to share the API and code with ARM64 later. The corresponding > declarations are moved from asm/pci_x86.

Re: [Nouveau] RFC: [PATCH] x86/kmmio: fix mmiotrace for hugepages

2016-03-03 Thread Pierre Moreau
The secondary hit exception thrown while MMIOtracing NVIDIA's driver is gone with this patch. Tested-by: Pierre Moreau On 02:03 AM - Mar 03 2016, Karol Herbst wrote: > Because Linux might use bigger pages than the 4K pages to handle those mmio > ioremaps, the kmmio code shouldn't rely on the pad

Re: [PATCH v2 4/4] ACPI: Change NFIT driver to insert new resource

2016-03-03 Thread Dan Williams
On Wed, Mar 2, 2016 at 2:50 PM, Toshi Kani wrote: > ACPI 6.0 defines persistent memory (PMEM) ranges in multiple > firmware interfaces, e820, EFI, and ACPI NFIT table. This EFI > change, however, leads to hit a bug in the grub bootloader, which > treats EFI_PERSISTENT_MEMORY type as regular memor

Re: linux-next: unsigned commits in tpmdd tree

2016-03-03 Thread Stephen Rothwell
Hi Jarkko, On Thu, 3 Mar 2016 12:14:13 +0200 Jarkko Sakkinen wrote: > > They are now rebased. Thanks. -- Cheers, Stephen Rothwell

Re: [PATCH v3] pstore-ram: add Device Tree bindings

2016-03-03 Thread Olof Johansson
Hi, On Thu, Jan 7, 2016 at 3:40 PM, Greg Hackmann wrote: > ramoops is one of the remaining places where ARM vendors still rely on > board-specific shims. Device Tree lets us replace those shims with > generic code. > > These bindings mirror the ramoops module parameters, with two small > differe

Re: [PATCH v2 3/4] resource: Add device-managed insert/remove_resource()

2016-03-03 Thread Dan Williams
On Wed, Mar 2, 2016 at 2:50 PM, Toshi Kani wrote: > insert_resource() and remove_resouce() are called by producers > of resources, such as FW modules and bus drivers. These modules > may be implemented as loadable modules. > > Add device-managed implementaions of insert_resource() and > remove_re

Re: allocate an official device major number for virtio device?

2016-03-03 Thread Greg Kroah-Hartman
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Thu, Mar 03, 2016 at 0

[PATCH] staging/android: change IOCTLs opcode after ABI change

2016-03-03 Thread Gustavo Padovan
From: Gustavo Padovan Burn the old opcode to avoid any potential old userspace running the old API to get weird errors. Changing the opcodes will make them fail right away. This is just a precaution, there no upstream users of these interfaces yet and the only user is Android, but we don't expec

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-03 Thread Theodore Ts'o
On Thu, Mar 03, 2016 at 01:54:54PM -0500, Martin K. Petersen wrote: > > "Christoph" == Christoph Hellwig writes: > > Christoph> - FALLOC_FL_PUNCH_HOLE assures zeroes are returned, but > Christoph> space is deallocated as much as possible - > Christoph> FALLOC_FL_ZERO_RANGE assures zeroes are

Re: allocate an official device major number for virtio device?

2016-03-03 Thread Richard Weinberger
On Thu, Mar 3, 2016 at 11:12 PM, Jeff Sharkey wrote: > Adding a bit more context, in Android when we receive a uevent about a > new disk we use a separate userspace utility (sgdisk) to inspect the > partitions it contains, and we construct our own mknod() for the > partitions that we're interested

Re: [PATCH 2/5] ARM: bcm2835: Replace alt0/i2s_alt[02] with standard groups.

2016-03-03 Thread Stephen Warren
On 03/03/2016 03:28 PM, Eric Anholt wrote: Stephen Warren writes: On 02/26/2016 11:19 AM, Eric Anholt wrote: Since all of these pins were documented, we can use their names to explain what's going on. diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-a-

[PATCH] Bluetooth: btusb: Add a new AR3012 ID 13d3:3472

2016-03-03 Thread Dmitry Tunin
T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3472 Rev=00.01 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlc

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-03 Thread Greg KH
On Thu, Mar 03, 2016 at 05:22:22PM -0500, David Miller wrote: > From: Arnd Bergmann > Date: Wed, 2 Mar 2016 20:06:46 +0100 > > > The icn, act2000 and pcbit drivers are all for very old hardware, > > and it is highly unlikely that anyone is actually still using them > > on modern kernels, if at a

[PATCH v4 09/18] [media] m88ds3103: convert to use an explicit i2c mux core

2016-03-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/m88ds3103.c | 18 +- drivers/media/

Re: [PATCH 2/5] ARM: bcm2835: Replace alt0/i2s_alt[02] with standard groups.

2016-03-03 Thread Eric Anholt
Stephen Warren writes: > On 02/26/2016 11:19 AM, Eric Anholt wrote: >> Since all of these pins were documented, we can use their names to >> explain what's going on. > >> diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts >> b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts > >> &gpio { >> +pi

[PATCH v4 14/18] of/unittest: convert to use an explicit i2c mux core

2016-03-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/of/unittest.c | 40 +++- 1 file changed,

Re: [PATCH 1/5] ARM: bcm2835: Define standard pinctrl groups in the gpio node.

2016-03-03 Thread Stephen Warren
On 03/03/2016 03:23 PM, Eric Anholt wrote: Stephen Warren writes: On 02/26/2016 11:19 AM, Eric Anholt wrote: The BCM2835-ARM-Peripherals.pdf documentation specifies what the function selects do for the pins, and there are a bunch of obvious groupings to be made. With these created, we'll be

[PATCH v4 17/18] i2c: muxes always lock the parent adapter

2016-03-03 Thread Peter Rosin
From: Peter Rosin Instead of checking for i2c parent adapters for every lock/unlock, simply override the locking for muxes to always lock/unlock the parent adapter directly. Signed-off-by: Peter Rosin --- drivers/i2c/i2c-core.c | 21 +++-- drivers/i2c/i2c-mux.c | 27 ++

Re: [PATCH 8/8] net: e1000e: Adds hardware supported cross timestamp on e1000e nic

2016-03-03 Thread John Stultz
On Thu, Mar 3, 2016 at 2:27 PM, Jeff Kirsher wrote: > Since you are making changes to patch 6's title, then you should fix > this patch title as well, it should be: > > [PATCH 8/8] e1000e: Adds hardware supported... Ack -john

[PATCH v4 16/18] i2c: allow adapter drivers to override the adapter locking

2016-03-03 Thread Peter Rosin
From: Peter Rosin Add i2c_lock_bus() and i2c_unlock_bus(), which call the new lock_bus and unlock_bus ops in the adapter. These funcs/ops take an additional flags argument that indicates for what purpose the adapter is locked. There are two flags, I2C_LOCK_ADAPTER and I2C_LOCK_SEGMENT, but they

[PATCH v4 10/18] [media] rtl2830: convert to use an explicit i2c mux core

2016-03-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/rtl2830.c | 17 + drivers/media/dvb

[PATCH v4 13/18] [media] cx231xx: convert to use an explicit i2c mux core

2016-03-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/media/usb/cx231xx/cx231xx-core.c | 6 ++-- drivers/media/usb/cx231xx/cx231x

[PATCH v4 18/18] i2c-mux: relax locking of the top i2c adapter during i2c controlled muxing

2016-03-03 Thread Peter Rosin
From: Peter Rosin With a i2c topology like the following GPIO ---| -- BAT1 | v / I2C -+--+ MUX | \ EEPROM -- BAT2 there is a locking problem with the GPIO c

[PATCH v4 15/18] i2c-mux: drop old unused i2c-mux api

2016-03-03 Thread Peter Rosin
From: Peter Rosin All i2c mux users are using an explicit i2c mux core, drop support for implicit i2c mux cores. Signed-off-by: Peter Rosin --- drivers/i2c/i2c-mux.c | 59 - include/linux/i2c-mux.h | 15 - 2 files changed, 74 deleti

[PATCH v4 12/18] [media] si2168: convert to use an explicit i2c mux core

2016-03-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/si2168.c | 22 -- dri

[PATCH v4 07/18] i2c: i2c-mux-reg: convert to use an explicit i2c mux core

2016-03-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-reg.c | 63 -

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