Re: [4.4-rc1][Regression] drm/i915: Check live status before reading edid

2016-04-18 Thread Joseph Salisbury
On 03/28/2016 02:39 PM, Joseph Salisbury wrote: > On 03/02/2016 04:58 PM, Joseph Salisbury wrote: >> On 02/29/2016 04:33 AM, Jani Nikula wrote: >>> On Wed, 24 Feb 2016, Joseph Salisbury >>> wrote: Hi Sonika, A kernel bug report was opened against Ubuntu [0]. After a kernel bi

[PATCH] hwmon: (ads7828) Enable internal reference

2016-04-18 Thread Akshay Bhat
On ads7828 the internal reference defaults to off upon power up. When using internal reference, it needs to be turned on and the voltage needs to settle before normal conversion cycle can be started. Hence perform a dummy read in the probe to enable the internal reference allowing the voltage to se

Re: [RFC] iio: st: Add lsm9ds0 support for gyro accel and magny

2016-04-18 Thread Jonathan Cameron
On 18/04/16 11:25, Crestez Dan Leonard wrote: > On 04/18/2016 09:07 AM, Denis Ciocca wrote: >> Hi Leonard and Jonathan, >> >> basically the patch can not work. > Well, it can work as long as you don't initialize both the accel and the > magn at the same time. There is no issue with the gyro driver.

Re: [PATCH] mm: SLAB freelist randomization

2016-04-18 Thread Thomas Garnier
I agree, if we had a generic way to pass entropy across boots on all architecture that would be amazing. I will let the SLAB maintainers to decide on requiring CONFIG_ARCH_RANDOM or documenting it. On Mon, Apr 18, 2016 at 12:36 PM, Laura Abbott wrote: > On 04/18/2016 08:59 AM, Thomas Garnier wrot

Re: [PATCH net-next 0/8] allow bpf attach to tracepoints

2016-04-18 Thread Alexei Starovoitov
On 4/18/16 9:13 AM, Steven Rostedt wrote: On Mon, 4 Apr 2016 21:52:46 -0700 Alexei Starovoitov wrote: Hi Steven, Peter, last time we discussed bpf+tracepoints it was a year ago [1] and the reason we didn't proceed with that approach was that bpf would make arguments arg1, arg2 to trace_xx(arg

[PATCH 3/5] input: twl6040-vibra: fix NULL pointer dereference by removing workqueue

2016-04-18 Thread H. Nikolaus Schaller
commit 21fb9f0d5e91 ("Input: twl6040-vibra - use system workqueue") says that it switches to use the system workqueue but it did neither - remove the workqueue struct variable - replace code to really use the system workqueue Instead it calls queue_work() on uninitialized info->workqueue. The r

[PATCH 0/5] fixes for twl6040-vibra

2016-04-18 Thread H. Nikolaus Schaller
There are some small bugs in the twl6040-vibra driver and differences to how twl4030 vibra works. This patch series addresses them. H. Nikolaus Schaller (5): input: twl6040-vibra: fix DT node memory management input: twl6040-vibra: add handler to unregister input if module is removed

[PATCH 4/5] input: twl6040-vibra: ignore return value of schedule_work

2016-04-18 Thread H. Nikolaus Schaller
returning ret is wrong. And checking for an error as well. User space may call multiple times until the work is really scheduled. twl4030-vibra.c also ignores the return value. Signed-off-by: H. Nikolaus Schaller --- drivers/input/misc/twl6040-vibra.c | 6 +- 1 file changed, 1 insertion(+),

[PATCH 2/5] input: twl6040-vibra: add handler to unregister input if module is removed

2016-04-18 Thread H. Nikolaus Schaller
commit 1f9e1470ab34 ("Input: twl6040-vibra - use devm functions") converted everything to devm but we still need to call input_unregister_device(info->input_dev) Solution: add back twl6040_vibra_remove to call input_unregister_device Signed-off-by: H. Nikolaus Schaller --- drivers/input/misc/t

[PATCH 0/2] Persistent scrollback buffers for all VGA consoles

2016-04-18 Thread Manuel Schölling
Another attempt to add persistent scrollback buffers for all VGA consoles, so the buffer is not flushed when swithing back and forth between consoles. Note that breaks tools like bash's clear_console and thus might have security implications: clear_console relies on this 'anti-feature' of the kern

[PATCH 5/5] input: twl6040-vibra: remove mutex

2016-04-18 Thread H. Nikolaus Schaller
The mutex does not seem to be needed. twl4030-vibra doesn't use one either. Signed-off-by: H. Nikolaus Schaller --- drivers/input/misc/twl6040-vibra.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/input/misc/twl6040-vibra.c b/drivers/input/misc/twl6

[PATCH 1/5] input: twl6040-vibra: fix DT node memory management

2016-04-18 Thread H. Nikolaus Schaller
commit e7ec014a47e4 ("Input: twl6040-vibra - update for device tree support") made the separate vibra DT node to a subnode of the twl6040. It now calls of_find_node_by_name() to locate the "vibra" subnode. This function has a side effect to call of_node_put on() for the twl6040 parent node passed

[PATCH 0/2] Persistent scrollback buffers for all VGA consoles

2016-04-18 Thread Manuel Schölling
Another attempt to add persistent scrollback buffers for all VGA consoles, so the buffer is not flushed when swithing back and forth between consoles. Note that breaks tools like bash's clear_console and thus might have security implications: clear_console relies on this 'anti-feature' of the kern

Re: [PART1 RFC v4 01/11] KVM: x86: Misc LAPIC changes to expose helper functions

2016-04-18 Thread Suravee Suthikulpanit
Radim, On 04/12/2016 03:34 AM, Radim Krčmář wrote: 2016-04-07 03:20-0500, Suravee Suthikulpanit: Exporting LAPIC utility functions and macros for re-use in SVM code. Signed-off-by: Suravee Suthikulpanit --- Adding kvm_lapic_set_reg looks weird when KVM has kvm_apic_get_reg, but the structur

[PATCH 1/2] console: Add persistent scrollback buffers for all VGA consoles

2016-04-18 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. This breaks tools like clear_console that rely on flushing the scrollback hi

[PATCH 2/2] console: Add ioctl for flushing the scrollback buffer

2016-04-18 Thread Manuel Schölling
Tools like clear_console rely on the fact that scrollback history is flushed when switching back and forth between consoles. Persistent scrollback buffers for each console breaks this, so this patch adds a ioctl() callf for flushing the scrollback history. Signed-off-by: Manuel Schölling --- dri

Re: [PATCH RFC 3/3] vfio: add virtio pci quirk

2016-04-18 Thread Alex Williamson
On Mon, 18 Apr 2016 12:58:28 +0300 "Michael S. Tsirkin" wrote: > Modern virtio pci devices can set VIRTIO_F_IOMMU_PLATFORM > to signal they are safe to use with an IOMMU. > > Without this bit, exposing the device to userspace is unsafe, so probe > and fail VFIO initialization unless noiommu is e

Re: [PATCH] Add EDAC peripheral init functions & Ethernet EDAC.

2016-04-18 Thread Borislav Petkov
On Mon, Apr 18, 2016 at 09:27:16AM -0500, Thor Thayer wrote: > We're still getting the single bit correction By that you mean, you get that by enabling ECC on the FIFO block? > which makes the entire system more stable and the ability to see both > single bit errors corrected and the number of un

Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code

2016-04-18 Thread Arnd Bergmann
On Monday 18 April 2016 20:43:36 Pablo Neira Ayuso wrote: > On Mon, Apr 18, 2016 at 08:33:15PM +0200, Arnd Bergmann wrote: > > On Monday 18 April 2016 20:16:59 Pablo Neira Ayuso wrote: > > > On Sat, Apr 16, 2016 at 10:17:43PM +0200, Arnd Bergmann wrote: > > > > A recent patch removed many 'inline'

Re: [PATCH] Add EDAC peripheral init functions & Ethernet EDAC.

2016-04-18 Thread Borislav Petkov
On Mon, Apr 18, 2016 at 10:02:27PM +0200, Borislav Petkov wrote: > > the number of uncorrectable errors is useful from a system point of > > view. I forgot: so altr_edac_a10_ecc_irq() panics on uncorrectable errors. Do we want to do that even for UEs coming from the network...? Seems a bit overb

Re: [PATCH v2 2/4] Documentation: Add documentation for APM X-Gene SoC PMU DTS binding

2016-04-18 Thread Tai Tri Nguyen
Hi Rob, [...] >> +Required properties for MCB subnode: >> +- compatible : Shall be "apm,xgene-pmu-mcb". >> +- reg: First resource shall be the MCB PMU resource. >> +- index : Instance number of the MCB PMU. >> + >> +Required properties for MC s

Re: [PATCH] tty: serial: msm: Support more bauds

2016-04-18 Thread Andy Gross
On Fri, Mar 25, 2016 at 02:35:49PM -0700, Stephen Boyd wrote: > Fixes: 850b37a71bde ("tty: serial: msm: Remove 115.2 Kbps maximum baud rate > limitation") > Cc: "Ivan T. Ivanov" > Cc: Srinivas Kandagatla > Cc: Andy Gross > Cc: Matthew McClintock > Signed-off-by: Stephen Boyd Acked-by: And

[PATCH net-next] net: dsa: kill circular reference with slave priv

2016-04-18 Thread Vivien Didelot
The dsa_slave_priv structure does not need a pointer to its net_device. Kill it. Signed-off-by: Vivien Didelot --- net/dsa/dsa_priv.h | 5 - net/dsa/slave.c| 9 - 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h index 1d1a546

Re: [PATCH] Add EDAC peripheral init functions & Ethernet EDAC.

2016-04-18 Thread Thor Thayer
On 04/18/2016 03:02 PM, Borislav Petkov wrote: On Mon, Apr 18, 2016 at 09:27:16AM -0500, Thor Thayer wrote: We're still getting the single bit correction By that you mean, you get that by enabling ECC on the FIFO block? Yes, you are correct. I'd still get the single bit correction by enabli

Re: [PATCH -tip 2/3] locking/pvqspinlock: Avoid double resetting of stats

2016-04-18 Thread Waiman Long
On 04/18/2016 02:31 AM, Davidlohr Bueso wrote: ... remove the redundant second iteration, this is most likely a copy/past buglet. Signed-off-by: Davidlohr Bueso --- kernel/locking/qspinlock_stat.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/locking/qspinlock_stat.h b/kernel/lo

Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code

2016-04-18 Thread Pablo Neira Ayuso
On Mon, Apr 18, 2016 at 10:04:43PM +0200, Arnd Bergmann wrote: > On Monday 18 April 2016 20:43:36 Pablo Neira Ayuso wrote: > > On Mon, Apr 18, 2016 at 08:33:15PM +0200, Arnd Bergmann wrote: > > > On Monday 18 April 2016 20:16:59 Pablo Neira Ayuso wrote: > > > > On Sat, Apr 16, 2016 at 10:17:43PM +0

Re: [PATCH v2] tty: msm_serial: remove static clk rate setting in probe

2016-04-18 Thread Andy Gross
On Mon, Mar 07, 2016 at 02:46:40AM +, Srinivas Kandagatla wrote: > The issue with setting up a fixed clock rate at probe is that it would > overwrite the console rate set by the bootloader for its console device. > This would result in serial out corruption or missing log when we system > is bo

Re: [PATCH 2/8] writeback: add wbc_to_write_cmd()

2016-04-18 Thread Jens Axboe
On 04/18/2016 11:12 AM, Jan Kara wrote: On Sun 17-04-16 23:24:41, Jens Axboe wrote: Add wbc_to_write_cmd(), which returns the write type to use, based on a struct writeback_control. No functional changes in this patch, but it prepares us for factoring other wbc fields for write type. Signed-off

Re: [PATCH 2/2] console: Add ioctl for flushing the scrollback buffer

2016-04-18 Thread kbuild test robot
Hi Manuel, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.6-rc4 next-20160418] [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/Manuel-Sch-lling/Persistent-scrollback

Greetings!!!

2016-04-18 Thread andreas122
Hi, how are you? My name is J Eric Denials, External Financial Auditor at Lloyds Banking Group plc., London. It is a pleasure to contact you at this time through this medium. I have a cool and legitimate deal to do with you as you're a foreigner, it will be mutually beneficial to both. If you’re

Re: [PATCH] Add EDAC peripheral init functions & Ethernet EDAC.

2016-04-18 Thread Thor Thayer
On 04/18/2016 03:06 PM, Borislav Petkov wrote: On Mon, Apr 18, 2016 at 10:02:27PM +0200, Borislav Petkov wrote: the number of uncorrectable errors is useful from a system point of view. I forgot: so altr_edac_a10_ecc_irq() panics on uncorrectable errors. Do we want to do that even for UEs

Re: [PATCH v3 0/2] Align mmap address for DAX pmd mappings

2016-04-18 Thread Jan Kara
On Fri 15-04-16 22:05:31, Andrew Morton wrote: > On Thu, 14 Apr 2016 10:48:29 -0600 Toshi Kani wrote: > > > When CONFIG_FS_DAX_PMD is set, DAX supports mmap() using pmd page > > size. This feature relies on both mmap virtual address and FS > > block (i.e. physical address) to be aligned by the p

Re: [PATCH net-next 2/8] perf, bpf: allow bpf programs attach to tracepoints

2016-04-18 Thread Steven Rostedt
On Mon, 4 Apr 2016 21:52:48 -0700 Alexei Starovoitov wrote: > introduce BPF_PROG_TYPE_TRACEPOINT program type and allow it to be > attached to tracepoints. > The tracepoint will copy the arguments in the per-cpu buffer and pass > it to the bpf program as its first argument. > The layout of the fi

Re: [PART1 RFC v4 01/11] KVM: x86: Misc LAPIC changes to expose helper functions

2016-04-18 Thread Suravee Suthikulpanit
On 04/19/2016 02:57 AM, Suravee Suthikulpanit wrote: Radim, On 04/12/2016 03:34 AM, Radim Krčmář wrote: 2016-04-07 03:20-0500, Suravee Suthikulpanit: Exporting LAPIC utility functions and macros for re-use in SVM code. Signed-off-by: Suravee Suthikulpanit --- Adding kvm_lapic_set_reg loo

Re: [PATCH 1/2] localmodconfig: Fix parsing of Kconfig "source" statements

2016-04-18 Thread Benjamin Poirier
On 2016/04/10 16:52, Benjamin Poirier wrote: > On 2016/04/08 14:29, Steven Rostedt wrote: > > On Sat, 2 Apr 2016 10:55:21 -0700 > > Benjamin Poirier wrote: > > > > > The parameter of Kconfig "source" statements does not need to be quoted. > > > The current regex causes many kconfig files to be s

Re: [PATCH memory-barriers.txt 6/7] documentation: Add Korean translation

2016-04-18 Thread Paul E. McKenney
On Mon, Apr 18, 2016 at 06:31:26PM +0900, SeongJae Park wrote: > Well, looks like there is neither strong positive opinion nor strong negative > opinion. So, I will post the patch again with the suggested workflow soon. Makes sense to me! Let's see how things look after a few months.

[PATCH v3 2/2] drm/fsl-dcu: use bus_flags for pixel clock polarity

2016-04-18 Thread Stefan Agner
The drivers current default configuration drives the pixel data on rising edge of the pixel clock. However, most display sample data on rising edge... This leads to color shift artefacts visible especially at edges. This patch changes the relevant defines to be useful and actually set the bits, an

[PATCH v3 0/2] drm: introduce bus_flags for pixel clock polarity

2016-04-18 Thread Stefan Agner
Hi, Dropped the first patch in version 3 since that is already applied in v4.6. Also moved all generic changes (including the changes in panel-simple) to the first, generic patch. Instead of using struct drm_display_mode to convey the pixel clock polarity information, this patchset introduces a n

[PATCH v3 1/2] drm: introduce bus_flags in drm_display_info

2016-04-18 Thread Stefan Agner
Introduce bus_flags to specify display bus properties like signal polarities. This is useful for parallel display buses, e.g. to specify the pixel clock or data enable polarity. Suggested-by: Thierry Reding Acked-by: Philipp Zabel Acked-by: Manfred Schlaegl Signed-off-by: Stefan Agner --- dri

Клиентские базы тел +79133913837 Skype: prodawez389 Email: ammanakuw-7...@yopmail.com тел +79133913837

2016-04-18 Thread ammanakuw-7...@yopmail.com
Соберем для Вас по интернет базу данных потенциальных клиентов для Вашего Бизнеса. По базе можно звонить, писать, слать факсы и email, вести любые прямые активные продажи Ваших товаров и услуг Узнайте подробнее по тел +79133913837 (whatsapp,viber,telegram) Skype: prodawez389 Email: ammanakuw-7

Re: [PART1 RFC v4 02/11] KVM: x86: Introducing kvm_x86_ops VM init/uninit hooks

2016-04-18 Thread Suravee Suthikulpanit
Radim, On 04/12/2016 03:49 AM, Radim Krčmář wrote: 2016-04-07 03:20-0500, Suravee Suthikulpanit: Adding function pointers in struct kvm_x86_ops for processor-specific layer to provide hooks for when KVM initialize and un-initialize VM. Signed-off-by: Suravee Suthikulpanit --- diff --git a/arc

Re: [PATCH 13/15] parallel lookups machinery, part 3

2016-04-18 Thread J. Bruce Fields
On Sat, Apr 16, 2016 at 01:55:25AM +0100, Al Viro wrote: > From: Al Viro > > We will need to be able to check if there is an in-lookup > dentry with matching parent/name. Right now it's impossible, > but as soon as start locking directories shared such beasts > will appear. > > Add a secondary

Re: [PATCH net-next 0/8] allow bpf attach to tracepoints

2016-04-18 Thread Steven Rostedt
On Mon, 18 Apr 2016 12:51:43 -0700 Alexei Starovoitov wrote: > yeah, it could be added to ftrace as well, but it won't be as effective > as perf_trace, since the cost of trace_event_buffer_reserve() in > trace_event_raw_event_() handler is significantly higher than > perf_trace_buf_alloc() in p

Re: [PATCH v3 1/2] dax: add dax_get_unmapped_area for pmd mappings

2016-04-18 Thread Jan Kara
On Thu 14-04-16 10:48:30, Toshi Kani wrote: > + > +/** > + * dax_get_unmapped_area - handle get_unmapped_area for a DAX file > + * @filp: The file being mmap'd, if not NULL > + * @addr: The mmap address. If NULL, the kernel assigns the address > + * @len: The mmap size in bytes > + * @pgoff: The pa

Re: [PATCH] ASoC: docs: add clocking examples for DAI formats

2016-04-18 Thread Peter Rosin
On 2016-04-18 17:11, Mark Brown wrote: > On Mon, Apr 18, 2016 at 01:18:47PM +, Peter Rosin wrote: >> Mark Brown wrote: > >>> >>> There aren't any (beyond the usual references to the Wolfson datasheets >>> which I'd suggest should be in here) but that doesn't mean we should >>> ignore this spec

Re: [PATCH V1 Resend 2/3] cpufreq: dt: Add generic platform-device creation support

2016-04-18 Thread Arnd Bergmann
On Thursday 07 April 2016 14:00:36 Viresh Kumar wrote: > On 01-04-16, 09:15, Rob Herring wrote: > > On Fri, Apr 1, 2016 at 5:23 AM, Viresh Kumar > > wrote: > > > > > > > > > And the cpufreq-dt driver can match /cpus node's compatible string against > > > "operating-points-v2" and create a device

Re: [PATCH v2 4/4] drivers: staging: remove BUG_ON

2016-04-18 Thread Laura Abbott
On 04/17/2016 05:35 PM, Tobin C Harding wrote: drivers/staging/android/ion/ion.c calls BUG_ON in places where WARN_ON will suffice. This patch replaces two such occurences. Two other occurences remain. You got the logic flow correct but I'd prefer to keep the BUG_ON. It's catching actual bugs

Re: [fuse-devel] Horrible mmap write performance (kernel writeback issue?)

2016-04-18 Thread Jakob Unterwurzacher
On 12.04.2016 13:09, Tejun Heo wrote: >> >> Probably you want to look into: >> https://lkml.org/lkml/2016/3/10/21 >> >> The patch mentioned above solves the issue for me. > > Heh, I tracked it down to wb_over_bg_thresh() and fell asleep. Yeah, > that is the right fix. Works wonderfully now, than

Re: [PATCH] efi: ARM: avoid warning about phys_addr_t cast

2016-04-18 Thread Matt Fleming
On Mon, 18 Apr, at 10:34:19AM, Arnd Bergmann wrote: > memblock_remove() takes a phys_addr_t, which may be narrower than 64 bits, > causing a harmless warning: > > drivers/firmware/efi/arm-init.c: In function 'reserve_regions': > include/linux/kernel.h:29:20: error: large integer implicitly truncat

Re: [PATCH 2/5] input: twl6040-vibra: add handler to unregister input if module is removed

2016-04-18 Thread Dmitry Torokhov
On Mon, Apr 18, 2016 at 09:55:38PM +0200, H. Nikolaus Schaller wrote: > commit 1f9e1470ab34 ("Input: twl6040-vibra - use devm functions") > > converted everything to devm but we still need to call > input_unregister_device(info->input_dev) No, this is not needed, because devm-managed input device

[PATCH v4 13/14] acpi, numa: Enable ACPI based NUMA on ARM64

2016-04-18 Thread David Daney
From: Hanjun Guo Add function needed for cpu to node mapping, and enable ACPI based NUMA for ARM64 in Kconfig Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/acpi/Kconfig | 2 +- drivers/acpi/numa.c | 35 +++ in

[PATCH v4 00/14] ACPI NUMA support for ARM64

2016-04-18 Thread David Daney
From: David Daney Based on v16 of device-tree NUMA patch set for arm64 [1],this patch set introduce the ACPI based configuration to provide NUMA information. ACPI 5.1 already introduced NUMA support for ARM64, which can get the NUMA domain information from SRAT and SLIT table, so parse those two

[PATCH v4 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-18 Thread David Daney
From: Hanjun Guo Introduce a new file to hold ACPI based NUMA information parsing from SRAT and SLIT. SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory ranges to Proximity Domain mapping. SLIT has the information of inter node distances(relative number for access latency).

[PATCH v4 05/14] acpi, numa: move acpi_numa_slit_init() to drivers/acpi/numa.c

2016-04-18 Thread David Daney
From: Hanjun Guo Identical implementations of acpi_numa_slit_init() are used by both x86 and follow-on arm64 support. Move it to drivers/acpi/numa.c, and mark it as __weak because ia64 has its own architecture specific implementation. No code change. Signed-off-by: Hanjun Guo Signed-off-by: R

[PATCH v4 10/14] acpi, numa: Move acpi_numa_memory_affinity_init() to drivers/acpi/numa.c

2016-04-18 Thread David Daney
From: Hanjun Guo acpi_numa_memory_affinity_init() will be reused by arm64. Move it to drivers/acpi/numa.c to facilitate reuse. No code change. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- arch/x86/mm/srat.c | 56 ---

[PATCH v4 03/14] acpi, numa: remove duplicate NULL check

2016-04-18 Thread David Daney
From: Hanjun Guo The argument "header" for acpi_table_print_srat_entry() is always checked before the function is called, it's duplicate to check it again, remove it. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/acpi/numa.c | 3 --- 1 file ch

[PATCH v4 11/14] acpi, numa, srat: Improve SRAT error detection and add messages.

2016-04-18 Thread David Daney
From: David Daney Loosely based on code from Robert Richter and Hanjun Guo. Improve out of range node detection as well as allow for Larger SRAT entities. Add printing of nice messages. Signed-off-by: David Daney --- drivers/acpi/numa.c | 15 +++ 1 file changed, 11 insertions(+),

[PATCH v4 14/14] arm64, acpi, numa: Default enable ACPI_NUMA with NUMA

2016-04-18 Thread David Daney
From: Robert Richter Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/acpi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 5ce9f66..bacf245 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kco

[PATCH v4 08/14] acpi, numa: move bad_srat() and srat_disabled() to drivers/acpi/numa.c

2016-04-18 Thread David Daney
From: Hanjun Guo bad_srat() and srat_disabled() are shared by x86 and follow-on arm64 patches. Move them to drivers/acpi/numa.c in preparation for arm64 support. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- arch/x86/include/asm/acpi.h | 1 - arch/x

[PATCH v4 07/14] x86, acpi, numa: cleanup acpi_numa_processor_affinity_init()

2016-04-18 Thread David Daney
From: Hanjun Guo Cleanup acpi_numa_processor_affinity_init() in preparation for its move to drivers/acpi/numa.c. It will be reused by arm64, this has no functional change. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- arch/x86/mm/srat.c | 21 +---

[PATCH v4 09/14] acpi, numa: remove unneeded acpi_numa=1

2016-04-18 Thread David Daney
From: Hanjun Guo acpi_numa is default to 0, it's set to -1 when disable acpi numa or when a bad SRAT is parsed, and it's only consumed in srat_disabled() (compare it with 0) to continue parse the SRAT or not, so we don't need to set acpi_numa to 1 when we get a valid SRAT entry. Signed-off-by: H

[PATCH v4 04/14] acpi, numa: Move acpi_numa_arch_fixup() to ia64 only

2016-04-18 Thread David Daney
From: Robert Richter Since acpi_numa_arch_fixup() is only used in arch ia64, move it there to make a generic interface easier. This avoids empty function stubs or some complex kconfig options for x86 and arm64. Signed-off-by: Robert Richter Signed-off-by: David Daney --- arch/ia64/include/asm

[PATCH v4 01/14] acpi, numa: Use pr_fmt() instead of printk

2016-04-18 Thread David Daney
From: Hanjun Guo Just do some cleanups to replace printk with pr_fmt(). Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/acpi/numa.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/acpi/numa.c b/driv

[PATCH v4 02/14] acpi, numa: Replace ACPI_DEBUG_PRINT() with pr_debug()

2016-04-18 Thread David Daney
From: Hanjun Guo ACPI_DEBUG_PRINT is a bit fragile in acpi/numa.c, the first thing is that component ACPI_NUMA(0x8000) is not described in the Documentation/acpi/debug.txt, and even not defined in the struct acpi_dlayer acpi_debug_layers which we can not dynamically enable/disable it with /sy

[PATCH v4 06/14] arm64, numa: rework numa_add_memblk()

2016-04-18 Thread David Daney
From: Hanjun Guo Rework numa_add_memblk() to update the parameter "u64 size" to "u64 end", this will make it consistent with x86 and simplifies the arm64 ACPI NUMA code to be added later. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- arch/arm64/mm/num

Re: [PATCH 5/5] input: twl6040-vibra: remove mutex

2016-04-18 Thread Dmitry Torokhov
On Mon, Apr 18, 2016 at 09:55:41PM +0200, H. Nikolaus Schaller wrote: > The mutex does not seem to be needed. twl6040_vibra_suspend() and vibra_play_work() may run concurrently, no? > twl4030-vibra doesn't > use one either. It probably should. Thanks. > > Signed-off-by: H. Nikolaus Schaller

Re: [PATCH 1/5] input: twl6040-vibra: fix DT node memory management

2016-04-18 Thread Dmitry Torokhov
On Mon, Apr 18, 2016 at 09:55:37PM +0200, H. Nikolaus Schaller wrote: > commit e7ec014a47e4 ("Input: twl6040-vibra - update for device tree support") > > made the separate vibra DT node to a subnode of the twl6040. > > It now calls of_find_node_by_name() to locate the "vibra" subnode. > This func

Re: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework

2016-04-18 Thread Milan Broz
On 04/18/2016 03:36 PM, Mike Snitzer wrote: > On Mon, Apr 18 2016 at 1:31am -0400, > Baolin Wang wrote: > >> Hi Herbert, >> >> On 15 April 2016 at 21:48, Herbert Xu wrote: >>> On Tue, Mar 15, 2016 at 03:47:58PM +0800, Baolin Wang wrote: Now some cipher hardware engines prefer to handle bul

Re: [PATCH v2] bus: brcmstb_gisb: Rework dependencies

2016-04-18 Thread Florian Fainelli
On 16/04/16 13:46, Florian Fainelli wrote: > Do not have the machine Kconfig entry point need to select > BRCMSTB_GISB_ARB, instead, just let it be default ARCH_BRCMSTB which is > a better way to deal with this. While at it, also make it default > BMIPS_GENERIC so the legacy MIPS-based STB platform

Re: [patch v2] mm, hugetlb_cgroup: round limit_in_bytes down to hugepage size

2016-04-18 Thread David Rientjes
On Fri, 15 Apr 2016, Michal Hocko wrote: > > > > +static void hugetlb_cgroup_init(struct hugetlb_cgroup *h_cgroup, > > > > + struct hugetlb_cgroup *parent_h_cgroup) > > > > +{ > > > > + int idx; > > > > + > > > > + for (idx = 0; idx < HUGE_MAX_HSTATE; idx+

Re: [PATCH net-next 0/8] allow bpf attach to tracepoints

2016-04-18 Thread Alexei Starovoitov
On 4/18/16 1:47 PM, Steven Rostedt wrote: On Mon, 18 Apr 2016 12:51:43 -0700 Alexei Starovoitov wrote: yeah, it could be added to ftrace as well, but it won't be as effective as perf_trace, since the cost of trace_event_buffer_reserve() in trace_event_raw_event_() handler is significantly hig

Re: [PATCH 0/2] memory_hotplug: introduce config and command line options to set the default onlining policy

2016-04-18 Thread David Rientjes
On Thu, 7 Apr 2016, Vitaly Kuznetsov wrote: > >> > This patchset continues the work I started with: > >> > > >> > commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6 > >> > Author: Vitaly Kuznetsov > >> > Date: Tue Mar 15 14:56:48 2016 -0700 > >> > > >> > memory-hotplug: add automatic onlinin

Re: [PATCH 1/2] localmodconfig: Fix parsing of Kconfig "source" statements

2016-04-18 Thread Steven Rostedt
On Mon, 18 Apr 2016 13:29:12 -0700 Benjamin Poirier wrote: > On 2016/04/10 16:52, Benjamin Poirier wrote: > > On 2016/04/08 14:29, Steven Rostedt wrote: > > > On Sat, 2 Apr 2016 10:55:21 -0700 > > > Benjamin Poirier wrote: > > > > > > > The parameter of Kconfig "source" statements does not

Re: [PATCH net-next 2/8] perf, bpf: allow bpf programs attach to tracepoints

2016-04-18 Thread Alexei Starovoitov
On 4/18/16 1:29 PM, Steven Rostedt wrote: On Mon, 4 Apr 2016 21:52:48 -0700 Alexei Starovoitov wrote: introduce BPF_PROG_TYPE_TRACEPOINT program type and allow it to be attached to tracepoints. The tracepoint will copy the arguments in the per-cpu buffer and pass it to the bpf program as its f

Re: [PATCH] macsec: fix crypto Kconfig dependency

2016-04-18 Thread Stephen Rothwell
Hi Dave, On Mon, 18 Apr 2016 12:43:16 -0400 (EDT) David Miller wrote: > > From: Herbert Xu > Date: Mon, 18 Apr 2016 18:43:36 +0800 > > > Right, the problem is that nothing within crypto ever selects > > CRYPTO since it's also used as a way of hiding the crypto menu > > options. > > As far a

Re: [PATCH 3/5] input: twl6040-vibra: fix NULL pointer dereference by removing workqueue

2016-04-18 Thread Dmitry Torokhov
On Mon, Apr 18, 2016 at 09:55:39PM +0200, H. Nikolaus Schaller wrote: > commit 21fb9f0d5e91 ("Input: twl6040-vibra - use system workqueue") > > says that it switches to use the system workqueue but it did neither > > - remove the workqueue struct variable > - replace code to really use the system

Re: [PATCH 4/5] input: twl6040-vibra: ignore return value of schedule_work

2016-04-18 Thread Dmitry Torokhov
On Mon, Apr 18, 2016 at 09:55:40PM +0200, H. Nikolaus Schaller wrote: > returning ret is wrong. And checking for an error as well. User space > may call multiple times until the work is really scheduled. > > twl4030-vibra.c also ignores the return value. > > Signed-off-by: H. Nikolaus Schaller

Re: [PATCH 0/2] Persistent scrollback buffers for all VGA consoles

2016-04-18 Thread Jakub Wilk
* Manuel Schölling , 2016-04-18, 21:56: To offer a way for userland tools to flush the buffer my second patch adds a ioctl call for that. In f8df13e0a901fe55631fed66562369b4dba40f8b, the escape sequence \e[3J was added, which erases the whole display including the scroll-back buffer. So the n

[PATCH] net: w5100: don't build spi driver without w5100

2016-04-18 Thread Arnd Bergmann
The w5100-spi driver front-end only makes sense when the w5100 core driver is enabled, not for a configuration that only has w5300: drivers/net/built-in.o: In function `w5100_spi_remove': drivers/net/ethernet/wiznet/w5100-spi.c:277: undefined reference to `w5100_remove' drivers/net/built-in.o: In

[PATCH] rtl8xxxu: hide unused tables

2016-04-18 Thread Arnd Bergmann
The references to some arrays in the rtl8xxxu driver were moved inside of an #ifdef, but the symbols remain outside, resulting in build warnings: rtl8xxxu/rtl8xxxu.c:1506:33: error: 'rtl8188ru_radioa_1t_highpa_table' defined but not used rtl8xxxu/rtl8xxxu.c:1431:33: error: 'rtl8192cu_radioa_1t_in

Re: [PART1 RFC v4 02/11] KVM: x86: Introducing kvm_x86_ops VM init/uninit hooks

2016-04-18 Thread Suravee Suthikulpanit
Paolo, On 04/12/2016 04:55 PM, Paolo Bonzini wrote: On 11/04/2016 22:49, Radim Krčmář wrote: @@ -7781,6 +7784,9 @@ static void kvm_free_vcpus(struct kvm *kvm) kvm_for_each_vcpu(i, vcpu, kvm) kvm_arch_vcpu_free(vcpu); + if (kvm_x86_ops->vm_uninit) +

alloc failure in qla1280 probe -- need to decrease can_queue?

2016-04-18 Thread Laura Abbott
Hi, We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1321033 of qla1280 scsi host failure on 4.4 based kernels that looks to be caused by page alloc failure: [4.804166] scsi host0: QLogic QLA1040 PCI to SCSI Host Adapter Firmware version: 7.65.06, D

Re: [PATCH] net: phy: Ensure the state machine is called when phy is UP

2016-04-18 Thread Alexandre Belloni
On 15/04/2016 at 15:23:39 -0700, Florian Fainelli wrote : > On 15/04/16 15:17, Alexandre Belloni wrote: > > On 16/04/2016 at 00:05:08 +0200, Andrew Lunn wrote : > >>> Trace without my patch: > >>> libphy: MACB_mii_bus: probed > >>> macb f802.ethernet eth0: Cadence GEM rev 0x00020120 at 0xf80200

Re: [PATCH net-next 2/8] perf, bpf: allow bpf programs attach to tracepoints

2016-04-18 Thread Steven Rostedt
On Mon, 18 Apr 2016 14:43:07 -0700 Alexei Starovoitov wrote: > I was worried about this too, but single 'if' and two calls > (as in commit 98b5c2c65c295) is a better way, since it's faster, cleaner > and doesn't need to refactor the whole perf_trace_buf_submit() to pass > extra event_call argume

[PATCH] tools/acpi: fix inverted logic when closing fd

2016-04-18 Thread Colin King
From: Colin Ian King The current close on fd only occurs when fd is -ve, it should actually be closing the file if it a valid fd. Fix the inverted logic. Signed-off-by: Colin Ian King --- tools/power/acpi/tools/acpidbg/acpidbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] drivers: led: is31fl319x: 6/9-channel light effect led driver

2016-04-18 Thread kbuild test robot
Hi Nikolaus, [auto build test ERROR on j.anaszewski-leds/for-next] [also build test ERROR on v4.6-rc4 next-20160418] [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/H-Nikolaus-Schaller/drivers

Re: [PATCH] net: phy: Ensure the state machine is called when phy is UP

2016-04-18 Thread Florian Fainelli
On 18/04/16 15:14, Alexandre Belloni wrote: > On 15/04/2016 at 15:23:39 -0700, Florian Fainelli wrote : >> On 15/04/16 15:17, Alexandre Belloni wrote: >>> On 16/04/2016 at 00:05:08 +0200, Andrew Lunn wrote : > Trace without my patch: > libphy: MACB_mii_bus: probed > macb f802.ethern

[PATCH net-next] net: dsa: remove tag_protocol from dsa_switch

2016-04-18 Thread Vivien Didelot
Having the tag protocol in dsa_switch_driver for setup time and in dsa_switch_tree for runtime is enough. Remove dsa_switch's one. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 5 - net/dsa/dsa.c | 5 ++--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/include/ne

Re: [PATCH] rtc: ds1685: actually spin forever in poweroff path, part 2

2016-04-18 Thread Alexandre Belloni
On 15/04/2016 at 09:21:10 -0500, Josh Poimboeuf wrote : > objtool reports the following warning: > > drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_poweroff() falls > through to next function ds1685_rtc_work_queue() > > Similar to commit 361c6ed6b153 ("rtc: ds1685: actually spin foreve

Re: [PATCH V1] rtc: da9053: fix access ordering error during RTC interrupt at system power on

2016-04-18 Thread Alexandre Belloni
On 14/04/2016 at 12:04:54 +0100, Steve Twiss wrote : > From: Steve Twiss > > This fix alters the ordering of the IRQ and device registrations in the RTC > driver probe function. This change will apply to the RTC driver that supports > both DA9052 and DA9053 PMICs. > > A problem could occur with

Chevrolet Auto Mobile Award 2016‏

2016-04-18 Thread Chevrolet Company Uk
Good news to you from the Chevrolet Company Uk.Your email-I.D was selected in the Chevrolet Auto mobile award 2016.The sum of $570,000,00USD has been awarded to you as the beneficiary. Send your details for claim: chevroletcompna...@outlook.com Name: Add: Mobile Number: Country: Reply on: chevr

Re: [PATCH] net: phy: Ensure the state machine is called when phy is UP

2016-04-18 Thread Alexandre Belloni
On 18/04/2016 at 15:17:58 -0700, Florian Fainelli wrote : > Yes, seems like it, how about adding this: > > diff --git a/drivers/net/ethernet/cadence/macb.c > b/drivers/net/ethernet/cadence/macb.c > index 98b99149ce0b..21096dfb0e83 100644 > --- a/drivers/net/ethernet/cadence/macb.c > +++ b/drivers/

Re: [PATCH V4 4/6] slim: qcom: Add Qualcomm Slimbus controller driver

2016-04-18 Thread Sagar Dharia
On 4/18/2016 3:19 AM, Mark Brown wrote: On Fri, Apr 15, 2016 at 10:17:36AM -0600, Sagar Dharia wrote: Please leave blank lines between paragraphs, it makes things much easier to read than a wall of uninterrupted text. + ret = devm_request_irq(&pdev->dev, dev->irq, msm_slim_interrupt, +

Re: [PATCHv7 00/29] THP-enabled tmpfs/shmem using compound pages

2016-04-18 Thread Shi, Yang
Hi Kirill, Finally, I got some time to look into and try yours and Hugh's patches, got two problems. 1. A quick boot up test on my ARM64 machine with your v7 tree shows some unexpected error: systemd-journald[285]: Failed to save stream data /run/systemd/journal/streams/8:16863: No space l

Re: [PATCH] IMA: add INTEGRITY_ASYMMETRIC_KEYS dependency

2016-04-18 Thread Mimi Zohar
Hi Arnd, On Sat, 2016-04-16 at 22:33 +0200, Arnd Bergmann wrote: > The newly added CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY > option only makes sense in combination with INTEGRITY_ASYMMETRIC_KEYS, > otherwise we get a build error: > > warning: (IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILT

Re: [PATCH] fs: add the FIGETFROZEN ioctl call

2016-04-18 Thread Dave Chinner
On Mon, Apr 18, 2016 at 11:20:22AM -0400, Eric Sandeen wrote: > > > On 4/14/16 10:17 PM, Dave Chinner wrote: > > On Thu, Apr 14, 2016 at 09:57:07AM +0200, Florian Margaine wrote: > >> This lets userland get the filesystem freezing status, aka whether the > >> filesystem is frozen or not. This is

[PATCH] tpm_crb: fix mapping of the buffers

2016-04-18 Thread Jarkko Sakkinen
On my Lenovo x250 the following situation occurs: [18697.813871] tpm_crb MSFT0101:00: can't request region for resource [mem 0xacdff080-0xacdf] The mapping of the control area interleaves the mapping of the command buffer. The control area is mapped over page, which is not right. It should ma

[PATCH] perf jit: memset variable st using the correct size

2016-04-18 Thread Colin King
From: Colin Ian King The current code is memsetting the struct stat variable st with the size of stat (which turns out to be 1 byte) rather than the size of variable sz. Signed-off-by: Colin Ian King --- tools/perf/util/jitdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] mm/memory-failure: fix race with compound page split/merge

2016-04-18 Thread Naoya Horiguchi
# CCed Andrew, On Mon, Apr 18, 2016 at 02:43:45PM +0300, Konstantin Khlebnikov wrote: > Get_hwpoison_page() must recheck relation between head and tail pages. > > Signed-off-by: Konstantin Khlebnikov Looks good to me. Without this recheck, the race causes kernel to pin an irrelevant page, and f

Re: [PATCH] Force cppc_cpufreq to report values in KHz to fix user space reporting

2016-04-18 Thread Al Stone
On 04/18/2016 04:28 AM, Viresh Kumar wrote: > Cc'ing Ashwin. > Boy, do I feel silly for forgetting that. Thanks, Viresh. -- ciao, al --- Al Stone Software Engineer Red Hat, Inc. a...@redhat.com ---

<    3   4   5   6   7   8   9   10   >