Re: [PATCH 1/7] bio-integrity: Do not allocate integrity context for bio w/o data

2017-04-04 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH 3/7] bio-integrity: bio_trim should truncate integrity vector accordingly

2017-04-04 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH 2/7] bio-integrity: save original iterator for verify stage

2017-04-04 Thread Christoph Hellwig
This is a pretty big increase in the bio_integrity_payload size, but I guess we can't get around it.. Reviewed-by: Christoph Hellwig

Re: [PATCH 4/7] bio-integrity: fix interface for bio_integrity_trim

2017-04-04 Thread Christoph Hellwig
On Mon, Apr 03, 2017 at 11:23:29AM +0400, Dmitry Monakhov wrote: > bio_integrity_trim inherent it's interface from bio_trim and accept > offset and size, but this API is error prone because data offset > must always be insync with bio's data offset. That is why we have > integrity update hook in bi

Re: [PATCH 5/7] bio-integrity: add bio_integrity_setup helper

2017-04-04 Thread Christoph Hellwig
On Mon, Apr 03, 2017 at 11:23:30AM +0400, Dmitry Monakhov wrote: > Currently all integrity prep hooks are open-coded, and if prepare fails > we ignore it's code and fail bio with EIO. Let's return real error to > upper layer, so later caller may react accordingly. For example retry in > case of ENO

Re: [PATCH 6/7] T10: Move opencoded contants to common header

2017-04-04 Thread Christoph Hellwig
> - if ((src->ref_tag == 0x) || > - (src->app_tag == 0x)) { > + if ((src->ref_tag == T10_REF_ESCAPE) || > + (src->app_tag == T10_APP_ESCAPE)) { Please remove the inne

Re: [PATCH] loop: Add PF_LESS_THROTTLE to block/loop device thread.

2017-04-04 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig But if you actually care about performance in any way I'd suggest to use the loop device in direct I/O mode..

Re: AMD IOMMU causing filesystem corruption

2017-04-04 Thread Samuel Sieb
On 04/03/2017 08:37 PM, Samuel Sieb wrote: On 04/03/2017 02:39 PM, Joerg Roedel wrote: You have a system based on the AMD Stoney platform, on which the PCI-ATS feature of the GPU is broken, as we recently found out. Can you please test whether the attached patch fixes the issue on your machine?

Re: [PATCH 8/8] statx: Include a mask for stx_attributes in struct statx

2017-04-04 Thread Christoph Hellwig
On Fri, Mar 31, 2017 at 06:32:17PM +0100, David Howells wrote: > Include a mask in struct stat to indicate which bits of stx_attributes the > filesystem actually supports. What's the use case for this?

Re: [patch RT 1/4] rtmutex: Make lock_killable work

2017-04-04 Thread Peter Zijlstra
On Mon, Apr 03, 2017 at 11:21:26AM -0400, Steven Rostedt wrote: > On Sat, 01 Apr 2017 12:50:59 +0200 > Thomas Gleixner wrote: > > > Locking an rt mutex killable does not work because signal handling is > > restricted to TASK_INTERRUPTIBLE. > > > > Use signal_pending_state() unconditionaly. > >

Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors?

2017-04-04 Thread Minas Harutyunyan
Hi, On 4/4/2017 7:04 AM, John Stultz wrote: > On Mon, Apr 3, 2017 at 5:54 AM, Minas Harutyunyan > wrote: >> On 4/3/2017 9:23 AM, John Youn wrote: >>> On 03/31/2017 04:04 PM, John Stultz wrote: On Thu, Mar 2, 2017 at 12:00 PM, John Stultz wrote: > Hey John, > We've noticed th

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-04 Thread Michal Hocko
[Let's add Gary who as introduced this code c04fc586c1a48] On Mon 03-04-17 15:42:13, Reza Arbab wrote: > On Mon, Apr 03, 2017 at 10:23:38PM +0200, Michal Hocko wrote: > >On Mon 03-04-17 14:58:30, Reza Arbab wrote: > >>However, I am seeing a regression. When adding memory to a memoryless > >>node,

Re: [PATCH] CIFS: Fix build failure with smb2

2017-04-04 Thread Steve French
merged into cifs-2.6.git thx On Thu, Mar 30, 2017 at 6:47 AM, Aurélien Aptel wrote: > Tobias Regnery writes: >> Explicit include the right header to fix this issue. > > uuid.h indeed declares generate_random_uuid(). Looks good to me. > > Reviewed-by: Aurelien Aptel > > -- > Aurélien Aptel / SU

Re: [PATCH v2 1/2] dt-bindings: Document the STM32 QSPI bindings

2017-04-04 Thread Ludovic BARRE
Hi Rob thanks for review my comments below br Ludo On 04/03/2017 06:57 PM, Rob Herring wrote: On Fri, Mar 31, 2017 at 07:02:03PM +0200, Ludovic Barre wrote: From: Ludovic Barre This patch adds documentation of device tree bindings for the STM32 QSPI controller. Signed-off-by: Ludovic Barre

Re: [PATCH 3/6] mm: remove return value from init_currently_empty_zone

2017-04-04 Thread Michal Hocko
On Mon 03-04-17 16:22:32, Reza Arbab wrote: > On Thu, Mar 30, 2017 at 01:54:51PM +0200, Michal Hocko wrote: > >init_currently_empty_zone doesn't have any error to return yet it is > >still an int and callers try to be defensive and try to handle potential > >error. Remove this nonsense and simplify

Re: AMD IOMMU causing filesystem corruption

2017-04-04 Thread Joerg Roedel
On Tue, Apr 04, 2017 at 12:11:31AM -0700, Samuel Sieb wrote: > Unfortunately, that turned out to be a bit premature. After > compiling a kernel on it remotely over ssh (not interacting with the > logged in desktop), a reboot failed with endless completion-wait > loop timeout messages and after a f

Re: [BUG nohz]: wrong user and system time accounting

2017-04-04 Thread Mike Galbraith
On Mon, 2017-04-03 at 16:40 +0200, Frederic Weisbecker wrote: > On Thu, Mar 30, 2017 at 03:35:22PM +0200, Mike Galbraith wrote: > Nohz_full is already bad for powersavings anyway. CPU 0 always ticks :-) OTOH, if a nohz_full set is doing what it was born to do, CPU0 tick spikes won't be noticeable

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-04 Thread Michal Hocko
On Tue 04-04-17 09:23:29, Michal Hocko wrote: > [Let's add Gary who as introduced this code c04fc586c1a48] OK, so Gary's email doesn't exist anymore. Does anybody can comment on this? I suspect this code is just-in-case... Mel? > On Mon 03-04-17 15:42:13, Reza Arbab wrote: [...] > > Almost there

[PATCH 1/3] perf jevents: Add support to use core pmu name other than cpu

2017-04-04 Thread Ganapatrao Kulkarni
jevents assumes core event devices are listed as cpu in sysfs, however some architecture like arm64 have custom names. Adding provision in json files to define CPU name and required changes in jevents.c to parse. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/pmu-events/jevents.c| 15 +++

[PATCH 0/3] Add support for ThunderX2 pmu events using json files

2017-04-04 Thread Ganapatrao Kulkarni
Extending json/jevent framework for parsing arm64 event files. Adding jevents for ThunderX2 implementation defined PMU events. Ganapatrao Kulkarni (3): perf jevents: Add support to use core pmu name other than cpu perf tools arm64: implement function get_cpuid_str perf tool, arm64, thunderx2

Re: [PATCH v3 2/2] iio: stm32 trigger: Add counter enable modes

2017-04-04 Thread Benjamin Gaignard
2017-04-03 21:58 GMT+02:00 Jonathan Cameron : > On 03/04/17 11:17, Benjamin Gaignard wrote: >> 2017-04-02 13:12 GMT+02:00 Jonathan Cameron : >>> On 27/03/17 10:43, Benjamin Gaignard wrote: Device counting could be controlled by the level or the edges of a trigger. in_count0_enable_mo

[PATCH 2/3] perf tools arm64: implement function get_cpuid_str

2017-04-04 Thread Ganapatrao Kulkarni
function get_cpuid_str returns midr_el1 value from first online cpu available. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/arch/arm64/util/Build| 1 + tools/perf/arch/arm64/util/header.c | 51 + 2 files changed, 52 insertions(+) create mode 100644

[PATCH 3/3] perf tool, arm64, thunderx2: Add implementation defined events for ThunderX2

2017-04-04 Thread Ganapatrao Kulkarni
This is not a full event list, but a short list of useful events. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/pmu-events/arch/arm64/mapfile.csv | 2 + .../arm64/thunderx2/implementation-defined.json| 72 ++ 2 files changed, 74 insertions(+) create mode 10064

Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors?

2017-04-04 Thread Felipe Balbi
Hi, Minas Harutyunyan writes: >> We've noticed that when using usb ethernet adapters on HiKey, we >> occasionally see errors like: >> >> dwc2 f72c.usb: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, >> but reason is unknown >> dwc2 f72c.usb: hcint 0x0002,

Re: [RFC PATCH] binder: Don't require the binder lock when killed in binder_thread_read()

2017-04-04 Thread Michal Hocko
On Mon 03-04-17 11:09:32, Doug Anderson wrote: [...] > Maybe +Michal Hocko would have some opinions of which OOM Reaper > patches would be good for picking into linux stable? I am lacking context here but please note that the OOM reaper patches alone are not sufficient to make the OOM handling loc

Re: [PATCH v3 3/3] usb: dwc3: Add dual-role support

2017-04-04 Thread Roger Quadros
se drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Roger-Quadros/usb-dwc3-dual-role-support/20170404-022401 > base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next > config: i386-randconfig-x010-201714 (

Re: [PATCH 2/2] usb: misc: refactor code

2017-04-04 Thread Felipe Balbi
Hi, "Gustavo A. R. Silva" writes: > Code refactoring to make the flow easier to follow. > > Cc: Alan Stern > Cc: Greg Kroah-Hartman > Signed-off-by: Gustavo A. R. Silva > --- > drivers/usb/misc/usbtest.c | 67 > +- > 1 file changed, 30 insertions(

[PATCH v4 3/3] usb: dwc3: Add dual-role support

2017-04-04 Thread Roger Quadros
If dr_mode is "otg" then support dual role mode of operation. Currently this mode is only supported when an extcon handle is present in the dwc3 device tree node. This is needed to get the ID status events of the port. We're using a workqueue to manage the dual-role state transitions as the extcon

Re: [PATCH v3 1/3] usb: udc: allow adding and removing the same gadget device

2017-04-04 Thread Felipe Balbi
Hi, Alan Stern writes: > On Mon, 3 Apr 2017, Roger Quadros wrote: > >> allow usb_del_gadget_udc() and usb add_gadget_udc() to be called >> repeatedly on the same gadget->dev structure. >> >> We need to clear the gadget->dev structure so that kobject_init() >> doesn't complain about already init

Re: [PATCH v2] i2c/muxes/i2c-mux-ltc4306: LTC4306 and LTC4305 I2C multiplexer/switch

2017-04-04 Thread Michael Hennerich
On 31.03.2017 17:29, Peter Rosin wrote: Hi! Sorry for my incremental reviewing... There's a question for the gpio people below that I would like to have some confirmation on. Thanks! Hi Peter, Please find comments in-line. On 2017-03-29 12:15, michael.henner...@analog.com wrote: From: M

[PATCH v4 0/2] iio: stm32 trigger: Add quadrature device and counter

2017-04-04 Thread Benjamin Gaignard
A first encoder IIO driver (104-quad-8) with a count channel already exist. STM32 driver have the same type of feature but with different counting modes. Some parts, like counting direction (up/down) could be generalized so move the corresponding documentation from driver file to sysfs-bus-iio. ve

[PATCH v4 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-04-04 Thread Benjamin Gaignard
One of the features of STM32 trigger hardware block is a quadrature encoder that can counts up/down depending of the levels and edges of the selected external pins. This patch allow to read/write the counter, get it direction, set/get quadrature modes and get scale factor. When counting up preset

[PATCH v4 2/2] iio: stm32 trigger: Add counter enable modes

2017-04-04 Thread Benjamin Gaignard
Device counting could be controlled by the level or the edges of a trigger. in_count0_enable_mode attibute allow to set the control mode. Signed-off-by: Benjamin Gaignard --- version 4: - reword triggered description .../ABI/testing/sysfs-bus-iio-timer-stm32 | 25 drivers/iio/

Re: [PATCH] PCI: dwc: fix crash seen due to missing ops

2017-04-04 Thread Niklas Cassel
On 04/04/2017 01:15 AM, Bjorn Helgaas wrote: > On Tue, Mar 21, 2017 at 03:43:54PM +0100, Niklas Cassel wrote: >> From: Niklas Cassel >> >> Fix the following crash, seen in dwc/pcie-artpec6. >> >> Unable to handle kernel NULL pointer dereference at virtual address >> 0004 >> pgd = c0204000

Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver configure its bit clock and frame clock

2017-04-04 Thread Daniel Baluta
On Mon, Apr 3, 2017 at 4:54 PM, Charles Keepax wrote: > On Mon, Apr 03, 2017 at 04:39:40PM +0300, Daniel Baluta wrote: >> On Mon, Apr 3, 2017 at 4:34 PM, Charles Keepax >> wrote: >> > On Mon, Apr 03, 2017 at 04:16:23PM +0300, Daniel Baluta wrote: >> > Does this problem still remain after the re

Re: [PATCH] selftests: add a generic testsuite for ethernet device

2017-04-04 Thread Corentin Labbe
On Mon, Apr 03, 2017 at 03:27:41PM +0200, Andrew Lunn wrote: > > By ifnum, you mean by the order that "ip link" gives ? > > I've not checked if it remains in order as interfaces are hot > plugged/unplugged. But i guess you are running tests direct after > boot, and unplugs/replugs are unlikely? >

linux-next: Tree for Apr 4

2017-04-04 Thread Stephen Rothwell
Hi all, Changes since 20170403: New tree: sunxi-drm The net-next tree gained a conflict against the net tree. The keys tree gained a build failure so I used the version from next-20170403. The vhost tree still had its build failure, so I used the version from next-20170329. The mfd tree gaine

[PATCH] ARC: Fix build for missing ATOMIC_INIT definition

2017-04-04 Thread Noam Camus
From: Noam Camus Make ATOMIC_INIT available for all ARC platforms (including plat-eznps) Signed-off-by: Noam Camus --- arch/arc/include/asm/atomic.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arc/include/asm/atomic.h b/arch/arc/include/asm/atomic.h index b6

[PATCH] MAINTAINERS: meson-drm: remove useless git repository

2017-04-04 Thread Neil Armstrong
Meson DRM is switching to drm-misc, so remove the freedesktop drm/meson-drm git repository from MAINTAINERS entry. Acked-by: Daniel Vetter Signed-off-by: Neil Armstrong --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index d0d9ed8..8d3eb6e 100644 ---

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-04-04 Thread Stas Sergeev
04.04.2017 05:05, Ricardo Neri пишет: On Sat, 2017-04-01 at 16:08 +0300, Stas Sergeev wrote: 30.03.2017 08:14, Ricardo Neri пишет: You know the wine's requirements now - they are very small. And dosemu doesn't need anything at all but smsw. And even smsw is very rare. But emulation is still ne

Re: [PATCH] MAINTAINERS: meson-drm: remove useless git repository

2017-04-04 Thread Neil Armstrong
On 04/04/2017 10:01 AM, Neil Armstrong wrote: > Meson DRM is switching to drm-misc, so remove the freedesktop drm/meson-drm > git repository from MAINTAINERS entry. > > Acked-by: Daniel Vetter > Signed-off-by: Neil Armstrong > --- > MAINTAINERS | 1 - > 1 file changed, 1 deletion(-) > > diff -

Re: [PATCH v2 09/13] ARM64: dts: meson-gx: Add support for HDMI output

2017-04-04 Thread Neil Armstrong
On 03/21/2017 04:25 PM, Neil Armstrong wrote: > Add HDMI output and connector nodes. > > Signed-off-by: Neil Armstrong > --- > .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 39 > ++ > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 32 ++ > .../bo

Re: [RFC PATCH] blk: reset 'bi_next' when bio is done inside request

2017-04-04 Thread Michael Wang
Hi, Neil On 04/03/2017 11:25 PM, NeilBrown wrote: > On Mon, Apr 03 2017, Michael Wang wrote: > >> blk_attempt_plug_merge() try to merge bio into request and chain them >> by 'bi_next', while after the bio is done inside request, we forgot to >> reset the 'bi_next'. >> >> This lead into BUG while

Re: imx-drm: vblank wait timed out

2017-04-04 Thread Philipp Zabel
Hi Christian, On Mon, 2017-04-03 at 17:16 +0200, Christian Gmeiner wrote: > 2017-03-31 14:57 GMT+02:00 Philipp Zabel : > > Hi Christian, > > > > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote: > >> Hi > >> > >> I get this from time to time on a 4.9.17 kernel: > >> > >> [3.353387] -

[GIT PULL] arch/nios2 fix for v4.11

2017-04-04 Thread Ley Foon Tan
Hi Linus There is one arch/nios2 fix for v4.11. Please consider pulling. Regards Ley Foon The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf:   Linux 4.11-rc5 (2017-04-02 17:23:54 -0700) are available in the git repository at:   git://git.kernel.org/pub/scm/linux/ke

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

2017-04-04 Thread Lee Jones
On Tue, 04 Apr 2017, Stephen Rothwell wrote: > Hi Lee, > > After merging the mfd tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > /home/sfr/next/next/drivers/mfd/intel_soc_pmic_bxtwc.c:25:31: fatal error: > asm/intel_pmc_ipc.h: No such file or directory > > Caused

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

2017-04-04 Thread Lee Jones
On Tue, 04 Apr 2017, Lee Jones wrote: > On Tue, 04 Apr 2017, Stephen Rothwell wrote: > > > Hi Lee, > > > > After merging the mfd tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > /home/sfr/next/next/drivers/mfd/intel_soc_pmic_bxtwc.c:25:31: fatal error: > > as

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-04 Thread Michal Hocko
On Tue 04-04-17 09:34:12, Michal Hocko wrote: > On Tue 04-04-17 09:23:29, Michal Hocko wrote: > > [Let's add Gary who as introduced this code c04fc586c1a48] > > OK, so Gary's email doesn't exist anymore. Does anybody can comment on > this? I suspect this code is just-in-case... Mel? > > > On Mon

Re: [GIT PULL] mfd: exynos-lpass: Pinctrl dependency

2017-04-04 Thread Krzysztof Kozlowski
On Mon, Apr 3, 2017 at 12:18 PM, Lee Jones wrote: > On Tue, 28 Mar 2017, Krzysztof Kozlowski wrote: > >> >> Hi Lee, >> >> >> This is dependency for mfd/exynos-lpass driver changes from Marek Szyprowski. >> That's a material for v4.12 and I will be pushing this later to Linus >> Walleij. > > This

question about concurrent regmap i2c usage

2017-04-04 Thread Michael Hennerich
Hi Mark, During the discussion here: https://lkml.org/lkml/2017/4/4/76 A question came up, regarding whether it's recommended to mix regmap_i2c and plain i2c_smbus or direct adapter transfers. In this specific case for the i2c MUX portion we need to avoid double locks, and therefore use un-l

Re: [PATCH v3 5/7] mfd: Add Device Tree bindings document for TI tps6105x chip

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Javier Martinez Canillas wrote: > Hello Lee, > > On 04/03/2017 07:15 AM, Lee Jones wrote: > > [snip] > > >> + > >> +The TP61050/TPS61052 is a high-power "white LED driver". This boost > >> converter > >> +is also used for other things than white LEDs, and also contains a G

Re: [RFC][PATCHv2 7/8] printk: add printk emergency_mode parameter

2017-04-04 Thread Sergey Senozhatsky
On (04/03/17 17:29), Petr Mladek wrote: [..] > > +module_param_cb(emergency_mode, > > + &printk_kthread_disabled_ops, > > + &printk_kthread_disabled, > > + 0644); > > +MODULE_PARM_DESC(emergency_mode, > > + "don't offload message printing to printk kthread");

Re: [PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC

2017-04-04 Thread Lee Jones
On Tue, 21 Mar 2017, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a touchscreen > controller and a thermal sensor. The first four channels can be used > either for the ADC or the touchscreen and the fifth channel is used for > the thermal sensor. We currently hav

[tip:x86/mm] x86/asm: Remove __VIRTUAL_MASK_SHIFT==47 assert

2017-04-04 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 361b4b58ec4cf123e12a773909c6454dbd5e6dbc Gitweb: http://git.kernel.org/tip/361b4b58ec4cf123e12a773909c6454dbd5e6dbc Author: Kirill A. Shutemov AuthorDate: Thu, 30 Mar 2017 11:07:26 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Apr 2017 08:22:33 +0200 x86/asm: Remove __VIRT

[tip:x86/mm] x86/paravirt: Add 5-level support to the paravirt code

2017-04-04 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 335437fbf7d3a630d775f06c9ee37d60919561d8 Gitweb: http://git.kernel.org/tip/335437fbf7d3a630d775f06c9ee37d60919561d8 Author: Kirill A. Shutemov AuthorDate: Thu, 30 Mar 2017 11:07:28 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Apr 2017 08:22:34 +0200 x86/paravirt: Add 5-le

[tip:x86/mm] x86/mm: Define virtual memory map for 5-level paging

2017-04-04 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 4c7c44837be77e2689c577abef155c4b5d873c82 Gitweb: http://git.kernel.org/tip/4c7c44837be77e2689c577abef155c4b5d873c82 Author: Kirill A. Shutemov AuthorDate: Thu, 30 Mar 2017 11:07:27 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Apr 2017 08:22:33 +0200 x86/mm: Define virtual

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Enric Balletbo i Serra wrote: > > > On 03/04/17 16:30, Lee Jones wrote: > > On Mon, 03 Apr 2017, Lee Jones wrote: > > > >> On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > >> > >>> From: Vic Yang > >>> > >>> For SPI, we can get up to 32 additional bytes for response pr

[tip:x86/mm] x86/boot: Detect 5-level paging support

2017-04-04 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 3677d4c6a2010e4f5a0ca8b617b595fe4cc7ba6b Gitweb: http://git.kernel.org/tip/3677d4c6a2010e4f5a0ca8b617b595fe4cc7ba6b Author: Kirill A. Shutemov AuthorDate: Thu, 30 Mar 2017 11:07:25 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Apr 2017 08:22:33 +0200 x86/boot: Detect 5-lev

[tip:x86/mm] x86/espfix: Add support for 5-level paging

2017-04-04 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 1d33b219563fb9f7384c8c609c767cb6bfd44b8e Gitweb: http://git.kernel.org/tip/1d33b219563fb9f7384c8c609c767cb6bfd44b8e Author: Kirill A. Shutemov AuthorDate: Thu, 30 Mar 2017 11:07:31 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Apr 2017 08:22:34 +0200 x86/espfix: Add suppor

Re: [PATCH 7/7] mfd: cros_ec: add RTC as mfd subdevice

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Enric Balletbo i Serra wrote: > > > On 03/04/17 16:25, Lee Jones wrote: > > On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > > > >> From: Stephen Barber > >> > >> If the EC supports RTC host commands, expose an RTC device. > >> > >> Signed-off-by: Stephen Barber > >>

[tip:x86/mm] x86/kasan: Extend KASAN to support 5-level paging

2017-04-04 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 5480bb61cfba5de23df59793527c3a37c0d2e247 Gitweb: http://git.kernel.org/tip/5480bb61cfba5de23df59793527c3a37c0d2e247 Author: Kirill A. Shutemov AuthorDate: Thu, 30 Mar 2017 11:07:30 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Apr 2017 08:22:34 +0200 x86/kasan: Extend KASA

[tip:x86/mm] x86/mm: Add basic defines/helpers for CONFIG_X86_5LEVEL=y

2017-04-04 Thread tip-bot for Kirill A. Shutemov
Commit-ID: b8504058a06bd19286c8b59539eebfda69d1ecb5 Gitweb: http://git.kernel.org/tip/b8504058a06bd19286c8b59539eebfda69d1ecb5 Author: Kirill A. Shutemov AuthorDate: Thu, 30 Mar 2017 11:07:29 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Apr 2017 08:22:34 +0200 x86/mm: Add basic defi

Re: [PATCH V7 4/7] mfd: da9061: MFD core support

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Steve Twiss wrote: > On 03 April 2017 15:31, Lee Jones wrote: > > > Subject: Re: [PATCH V7 4/7] mfd: da9061: MFD core support > > > > On Mon, 03 Apr 2017, Steve Twiss wrote: > > > On 03 April 2017 15:12, Lee Jones wrote: > > > > > > > > @@ -475,7 +855,25 @@ static int da9062

Re: [PATCH V7 4/7] mfd: da9061: MFD core support

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Steve Twiss wrote: > From: Steve Twiss > > MFD support for DA9061 is provided as part of the DA9062 device driver. > > The registers header file adds two new chip variant IDs defined in DA9061 > and DA9062 hardware. The core header file adds new software enumerations > for

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-04 Thread Lee Jones
On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > From: Vic Yang > > For SPI, we can get up to 32 additional bytes for response preamble. > The current overhead (2 bytes) may cause problems when we try to receive > a big response. Update it to 32 bytes. > > Without this fix we could see a ke

Re: [PATCH RT 1/1] remoteproc: Prevent schedule while atomic

2017-04-04 Thread Lionel DEBIEVE
Hi, Looking at the thread discussion, except architecture discussion around the IRQF_ONESHOT, I think it could go to upstream too. I'll re-upload patch for upstream. Thanks for reviewing. BR, Lionel On 03/30/2017 09:54 AM, Lee Jones wrote: > On Wed, 29 Mar 2017, Sebastian Andrzej Siewior wr

Re: [PATCH v2 08/13] ARM64: dts: meson-gx: Add shared CMA dma memory pool

2017-04-04 Thread Neil Armstrong
On 03/21/2017 04:25 PM, Neil Armstrong wrote: > The HDMI modes needs more CMA memory to be reserved at boot-time. > > Signed-off-by: Neil Armstrong > --- > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meso

Re: [kbuild-all] [PATCH v3 1/3] mfd: intel_soc_pmic: Fix a mess with compilation units

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Andy Shevchenko wrote: > On Mon, 2017-04-03 at 15:33 +0100, Lee Jones wrote: > > On Mon, 03 Apr 2017, Andy Shevchenko wrote: > > > > > On Mon, Apr 3, 2017 at 2:06 PM, Fengguang Wu wrote: > > > > On Mon, Apr 03, 2017 at 12:26:54PM +0300, Andy Shevchenko wrote: > > > > > On Mo

Re: [PATCH 2/3] dt-bindings: arm: amlogic: Add SoC information bindings

2017-04-04 Thread Neil Armstrong
On 04/03/2017 06:34 PM, Rob Herring wrote: > On Fri, Mar 31, 2017 at 04:10:30PM +0200, Neil Armstrong wrote: >> On 03/31/2017 03:44 PM, Arnd Bergmann wrote: >>> On Fri, Mar 31, 2017 at 10:47 AM, Neil Armstrong >>> wrote: Add bindings for the SoC information register of the Amlogic SoCs.

Re: [PATCH v2 01/13] drm/meson: Use crtc_state for hdisplay and fix atomic flush/enable sync for vsync commit

2017-04-04 Thread Daniel Vetter
On Tue, Mar 21, 2017 at 04:25:38PM +0100, Neil Armstrong wrote: > Clean the crtc_enable by using the proper crtc_state instead of the state > of the primary plane state data. > > Also fix the dependency to commit the plane changes even if enable is called > after the flush. Would have done this a

Re: [PATCH 1/3] extcon: intel-cht-wc: Make error messages consistent

2017-04-04 Thread Hans de Goede
Hi, On 04-04-17 08:19, Chanwoo Choi wrote: Hi, The intel-cht-wc.c[1] was merged on only extcon-next branch. I think that this patch better to be squashed with patch[1]. [1] commit 6786e42f31637 ("extcon: intel-cht-wc: Add Intel Cherry Trail Whiskey Cove PMIC extcon driver") How about it? Th

Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver configure its bit clock and frame clock

2017-04-04 Thread Charles Keepax
On Tue, Apr 04, 2017 at 10:55:00AM +0300, Daniel Baluta wrote: > > > On Mon, Apr 3, 2017 at 4:54 PM, Charles Keepax > wrote: > > On Mon, Apr 03, 2017 at 04:39:40PM +0300, Daniel Baluta wrote: > >> On Mon, Apr 3, 2017 at 4:34 PM, Charles Keepax > >> wrote: > > Is the problem here that the PLL pa

Re: [PATCH v2 07/13] drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY

2017-04-04 Thread Daniel Vetter
On Tue, Mar 21, 2017 at 04:25:44PM +0100, Neil Armstrong wrote: > The Amlogic Meson GXBB/GXL/GXM SoCs embeds a Synopsys DesignWare HDMI TX > Controller with a custom Bridge + PHY around the Controller. > > This driver makes uses of all the custom PHY plat data callbacks and enables > the compatibl

Re: + fix-print-order-in-show_free_areas.patch added to -mm tree

2017-04-04 Thread Michal Hocko
JFTR. Joe, has already noticed this http://lkml.kernel.org/r/2aaf6f1701ee78582743d91359018689d5826e82.1489628459.git@perches.com and I have requested to split out the fix from the rest of the whitespace noise http://lkml.kernel.org/r/20170316105733.gc30...@dhcp22.suse.cz but Joe hasn't really f

Re: [PATCH v2 03/13] drm/meson: Add support for components

2017-04-04 Thread Daniel Vetter
On Tue, Mar 21, 2017 at 04:25:40PM +0100, Neil Armstrong wrote: > This patch adds support for optional components connected through the > Device Tree endpoints scheme. > > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_drv.c | 113 > +- > 1

Re: [PATCH v2 12/13] drm/meson: Add RST to bring together kerneldoc

2017-04-04 Thread Daniel Vetter
On Tue, Mar 21, 2017 at 04:25:49PM +0100, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong \o/ for kerneldoc! This is awesome, but I guess it's time to extract a drivers.rst sub-file within Doc/gpu and put all the various driver docs in there? Would be great if you could do the follow-up fo

Re: [PATCH v2 13/13] MAINTAINERS: update files for Amlogic DRM Driver

2017-04-04 Thread Daniel Vetter
On Tue, Mar 21, 2017 at 04:25:50PM +0100, Neil Armstrong wrote: > This patch adds the dw-hdmi bindings and RST kerneldoc to maintained files. > > Signed-off-by: Neil Armstrong > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index e88154

Re: [RFC][PATCHv2 2/8] printk: introduce printing kernel thread

2017-04-04 Thread Petr Mladek
On Wed 2017-03-29 18:25:05, Sergey Senozhatsky wrote: > This patch introduces a dedicated printing kernel thread - printk_kthread. > The main purpose of this kthread is to offload printing to a non-atomic > and always scheduleable context, which eliminates 4) and makes 1)-3) less > critical. printk

[PATCH] tty: fix comment typo s/repsonsible/responsible/

2017-04-04 Thread Thadeu Lima de Souza Cascardo
Signed-off-by: Thadeu Lima de Souza Cascardo --- drivers/tty/tty_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index e6d1a65..309d250 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -3370,7 +3370,7 @@ EXPORT_SY

[PATCH v2] x86/boot: Support uncompressed kernel

2017-04-04 Thread Chao Peng
Compressed kernel has its own drawback: decompressing takes time. Even though the time is short enough to ignore for most cases but for cases when time is critical decompressing time still matters. The patch adds a 'CONFIG_KERNEL_RAW' configure choice so the built binary can have no decompressing

Re: [PATCH 1/3] mfd: cpcap: Fix interrupt to use level interrupt

2017-04-04 Thread Charles Keepax
On Mon, Apr 03, 2017 at 08:15:54PM -0700, Tony Lindgren wrote: > I made a mistake assuming the device tree configuration for interrupt > triggering was somehow passed to the SPI device but it's not. > > In the Motorola Linux kernel tree CPCAP PMIC is configured as a rising > edge triggered interru

Re: [PATCH v2 00/13] drm/meson: Initial support for HDMI Output

2017-04-04 Thread Daniel Vetter
On Tue, Mar 21, 2017 at 04:25:37PM +0100, Neil Armstrong wrote: > The Amlogic GX SoCs implements a Synopsys DesignWare HDMI TX Controller > in combination with a very custom PHY. > > This patchset depends on Laurent Pinchart patchset merged in drm-misc-next > and my v4 patchset at [1] to permit PH

[PATCH] reset: add exported __reset_control_get, return NULL if optional

2017-04-04 Thread Philipp Zabel
Rename the internal __reset_control_get/put functions to __reset_control_get/put_internal and add an exported __reset_control_get equivalent to __of_reset_control_get that takes a struct device parameter. This avoids the confusing call to __of_reset_control_get in the non-DT case and fixes the devm

Re: [PATCH v2 03/13] drm/meson: Add support for components

2017-04-04 Thread Neil Armstrong
On 04/04/2017 10:59 AM, Daniel Vetter wrote: > On Tue, Mar 21, 2017 at 04:25:40PM +0100, Neil Armstrong wrote: >> This patch adds support for optional components connected through the >> Device Tree endpoints scheme. >> >> Signed-off-by: Neil Armstrong >> --- >> drivers/gpu/drm/meson/meson_drv.c

Re: [PATCH v2 03/13] drm/meson: Add support for components

2017-04-04 Thread Daniel Vetter
On Tue, Apr 04, 2017 at 11:08:26AM +0200, Neil Armstrong wrote: > On 04/04/2017 10:59 AM, Daniel Vetter wrote: > > On Tue, Mar 21, 2017 at 04:25:40PM +0100, Neil Armstrong wrote: > >> +static int meson_drv_probe(struct platform_device *pdev) > >> +{ > >> + struct component_match *match = NULL; > >

Re: [PATCH v6 2/6] media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller

2017-04-04 Thread Laurent Pinchart
Hi Neil, Thank you for the patch. On Monday 03 Apr 2017 16:42:34 Neil Armstrong wrote: > In order to describe the RGB and YUV bus formats used to feed the > Synopsys DesignWare HDMI TX Controller, add missing formats to the > list of Bus Formats. > > Documentation for these formats is added in a

Re: [PATCH v2 07/13] drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY

2017-04-04 Thread Neil Armstrong
On 04/04/2017 10:57 AM, Daniel Vetter wrote: > On Tue, Mar 21, 2017 at 04:25:44PM +0100, Neil Armstrong wrote: >> The Amlogic Meson GXBB/GXL/GXM SoCs embeds a Synopsys DesignWare HDMI TX >> Controller with a custom Bridge + PHY around the Controller. >> >> This driver makes uses of all the custom P

[PATCH] drivers/staging/lustre: Coding-guideline: Missing a blank line after declarations

2017-04-04 Thread Pushkar Jambhlekar
Adding a blank line after declaration Signed-off-by: Pushkar Jambhlekar --- drivers/staging/lustre/lustre/llite/dcache.c | 1 + drivers/staging/lustre/lustre/llite/namei.c | 1 + drivers/staging/lustre/lustre/llite/symlink.c| 1 + drivers/staging/lustre/lustre/llite/vvp_io.c | 1

Re: [PATCH v2 12/13] drm/meson: Add RST to bring together kerneldoc

2017-04-04 Thread Neil Armstrong
On 04/04/2017 11:00 AM, Daniel Vetter wrote: > On Tue, Mar 21, 2017 at 04:25:49PM +0100, Neil Armstrong wrote: >> Signed-off-by: Neil Armstrong > > \o/ for kerneldoc! > > This is awesome, but I guess it's time to extract a drivers.rst sub-file > within Doc/gpu and put all the various driver docs

Re: [PATCH v6 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-04-04 Thread Laurent Pinchart
Hi Neil, Thank you for the patch. On Monday 03 Apr 2017 16:42:35 Neil Armstrong wrote: > Add documentation for added Bus Formats to describe RGB and YUV formats used > as input to the Synopsys DesignWare HDMI TX Controller. > > Acked-by: Hans Verkuil > Reviewed-by: Archit Taneja > Acked-by: Ma

Re: [PATCH v2 13/13] MAINTAINERS: update files for Amlogic DRM Driver

2017-04-04 Thread Neil Armstrong
On 04/04/2017 11:01 AM, Daniel Vetter wrote: > On Tue, Mar 21, 2017 at 04:25:50PM +0100, Neil Armstrong wrote: >> This patch adds the dw-hdmi bindings and RST kerneldoc to maintained files. >> >> Signed-off-by: Neil Armstrong >> --- >> MAINTAINERS | 2 ++ >> 1 file changed, 2 insertions(+) >> >>

Re: [PATCH v2 00/13] drm/meson: Initial support for HDMI Output

2017-04-04 Thread Neil Armstrong
On 04/04/2017 11:04 AM, Daniel Vetter wrote: > On Tue, Mar 21, 2017 at 04:25:37PM +0100, Neil Armstrong wrote: >> The Amlogic GX SoCs implements a Synopsys DesignWare HDMI TX Controller >> in combination with a very custom PHY. >> >> This patchset depends on Laurent Pinchart patchset merged in drm-

[PATCH ALT4 V2 2/2] audit: filter PATH records keyed on filesystem magic

2017-04-04 Thread Richard Guy Briggs
Tracefs or debugfs were causing hundreds to thousands of PATH records to be associated with the init_module and finit_module SYSCALL records on a few modules when the following rule was in place for startup: -a always,exit -F arch=x86_64 -S init_module -F key=mod-load Provide a method to i

[PATCH ALT4 V2 1/2] audit: show fstype:pathname for entries with anonymous parents

2017-04-04 Thread Richard Guy Briggs
Tracefs or debugfs were causing hundreds to thousands of null PATH records to be associated with the init_module and finit_module SYSCALL records on a few modules when the following rule was in place for startup: -a always,exit -F arch=x86_64 -S init_module -F key=mod-load This happens bec

Re: [PATCH v2] i2c/muxes/i2c-mux-ltc4306: LTC4306 and LTC4305 I2C multiplexer/switch

2017-04-04 Thread Peter Rosin
*snip* *snip* >>> +static int ltc4306_gpio_get(struct gpio_chip *chip, unsigned int offset) >>> +{ >>> + struct ltc4306 *data = gpiochip_get_data(chip); >>> + int ret = 0; >>> + >>> + if (gpiochip_line_is_open_drain(chip, offset) || >>> + (data->regs[LTC_REG_MODE] & BIT(7 - offset))) {

Re: [PATCH v8 2/2] media: Add a driver for the ov5645 camera sensor.

2017-04-04 Thread Sakari Ailus
Hi Todor, On Mon, Apr 03, 2017 at 05:02:52PM +0300, Todor Tomov wrote: ... > +power_down: > + ov5645_s_power(&ov5645->sd, false); > +free_entity: > + media_entity_cleanup(&ov5645->sd.entity); > +free_ctrl: > + v4l2_ctrl_handler_free(&ov5645->ctrls); > + mutex_destroy(&ov5645->power

[PATCH] drivers/staging: lustre: Avoiding multiple line dereference

2017-04-04 Thread Pushkar Jambhlekar
Making references in single line Signed-off-by: Pushkar Jambhlekar --- drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 3 +-- drivers/staging/lustre/lustre/llite/llite_lib.c | 6 ++ drivers/staging/lustre/lustre/mgc/mgc_request.c | 3 +-- drivers/staging/lustre/lustre/ptlrpc/import.c

Re: Ftrace: Static function graph not work

2017-04-04 Thread Zong Li
2017-03-31 21:42 GMT+08:00 Steven Rostedt : > On Thu, Mar 23, 2017 at 11:28:03AM +0800, Zong Li wrote: >> Hi all, >> >> I test the static function graph for ARM, x86 and x86_64 architecture >> on linux-3.10 and linux-4.9, and I find it works correctly only for >> x86_64 on linux-4.9. > > I'm curiou

Re: [PATCH v8 1/2] media: i2c/ov5645: add the device tree binding document

2017-04-04 Thread Sakari Ailus
Hi Todor, On Mon, Apr 03, 2017 at 05:02:28PM +0300, Todor Tomov wrote: > Add the document for ov5645 device tree binding. > > Signed-off-by: Todor Tomov > Reviewed-by: Laurent Pinchart > --- > .../devicetree/bindings/media/i2c/ov5645.txt | 54 > ++ > 1 file changed,

[PATCH] net: thunderx: Switch to pci_alloc_irq_vectors

2017-04-04 Thread dev . srinivasulu
From: Thanneeru Srinivasulu Remove deprecated pci_enable_msix API in favour of it's successor pci_alloc_irq_vectors. Signed-off-by: Thanneeru Srinivasulu Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h|2 - drivers/net/ethernet/cavium/thunder/nic_main.c

  1   2   3   4   5   6   7   8   9   10   >