Re: CMA region absolutely for a particular device?

2016-06-08 Thread Shawn Guo
On Tue, Jun 7, 2016 at 11:55 PM, Laura Abbott wrote: > You could try backporting the ZONE_CMA patches > http://article.gmane.org/gmane.linux.kernel.mm/152016 . The primary problem > there was CMA utilization but there was some discussion about migration > success as well

Re: [PATCH 02/10] x86, asm: use bool for bitops and other assembly outputs

2016-06-08 Thread H. Peter Anvin
On 06/08/16 02:01, Ingo Molnar wrote: > > That's a divergence with an underlying reason - but not harmonizing the > return > code is an unforced error AFAICS and can be fixed. > Perhaps. It is also no real question that "bool" is the right return type for a single bit. Changing that in all

Re: [PATCH 02/10] x86, asm: use bool for bitops and other assembly outputs

2016-06-08 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 06/08/16 02:01, Ingo Molnar wrote: > > > > That's a divergence with an underlying reason - but not harmonizing the > > return > > code is an unforced error AFAICS and can be fixed. > > > > Perhaps. It is also no real question that "bool" is the

Re: [PATCH V8 0/9] Support for ARM64 ACPI based PCI host controller

2016-06-08 Thread Dongdong Liu
在 2016/5/30 23:14, Tomasz Nowicki 写道: From the functionality point of view this series may be split into the following logic parts: 1. Export ECAM API and add parent device to pci_config_window 2. Add IO resources handling to PCI core code 3. Support for generic domain assignment based on ACPI

Applied "spi: Add DMA support for spi_flash_read()" to the spi tree

2016-06-08 Thread Mark Brown
The patch spi: Add DMA support for spi_flash_read() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

[PATCH v3 19/20] pwm: sti: Take the opportunity to conduct a little house keeping

2016-06-08 Thread Lee Jones
This includes fixing some Coding Style issues and re-ordering/ simplifying a little code. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/drivers/pwm/pwm-sti.c

Re: [PATCH 0/9] [v2] System Calls for Memory Protection Keys

2016-06-08 Thread Michael Kerrisk (man-pages)
On 06/07/2016 10:47 PM, Dave Hansen wrote: > Are there any concerns with merging these into the x86 tree so > that they go upstream for 4.8? I believe we still don't have up-to-date man pages, right? Best from my POV to send them out in parallel with the implementation. Cheers, Michael --

[PATCH v3 18/20] pwm: sti: It's now valid for number of PWM channels to be zero

2016-06-08 Thread Lee Jones
Setting up the STI PWM IP as capture only, with zero PWM-out devices is a perfectly valued configuration. It is no longer okay to assume that there must be at least 1 PWM-out devices. In this patch we make the default number of PWM-out devices zero and only configure channels explicitly

Re: [PATCH v2 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-06-08 Thread Marc Zyngier
On 08/06/16 09:05, Shawn Lin wrote: > This patch adds a binding that describes the Rockchip PCIe controller > found on Rockchip SoCs PCIe interface. > > Signed-off-by: Shawn Lin > > --- > > Changes in v2: > - fix lots clk/reset stuff suggested by Heiko > - remove

Re: [PATCH] scripts/gdb: Add automatic path expansion when loading modules

2016-06-08 Thread Jan Kiszka
On 2016-06-07 23:26, Nikolay Borisov wrote: > Python doesn't do automatic expansion of paths. In case one passes > path of the from ~/foo/bar the gdb scripts won't automatically expand > that and as a result the symbols files won't be loaded. Fix this > by explicitly expanding all paths which

Re: [PATCH v2 11/20] drm: sti: Rely on the default ->best_encoder() behavior

2016-06-08 Thread Vincent ABRIOU
Hi Boris, Thanks for the patch. Acked-by: Vincent Abriou Vincent On 06/07/2016 01:48 PM, Boris Brezillon wrote: > All outputs have a 1:1 relationship between connectors and encoders > and the driver is relying on the atomic helpers: we can drop the custom >

Re: [PATCH 02/10] x86, asm: use bool for bitops and other assembly outputs

2016-06-08 Thread Peter Zijlstra
On Wed, Jun 08, 2016 at 02:31:31AM -0700, H. Peter Anvin wrote: > On 06/08/16 02:20, Ingo Molnar wrote: > > > > Yeah, absolutely. I hate 'bool' with a vengence but if 'int' generates > > worse code > > with modern compilers then I'm not going to argue for worse code. Would a > > 'char' > >

[PATCH v3 09/20] pwm: sti: Rename channel => device

2016-06-08 Thread Lee Jones
This is to bring the terminology used in the STi PWM driver more into line with the PWM subsystem. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git

[PATCH v3 06/20] ARM: dts: STiH416: Define PWM Capture clock

2016-06-08 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 28d84c71..c93e78d2 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++

Re: [PATCH 02/10] x86, asm: use bool for bitops and other assembly outputs

2016-06-08 Thread H. Peter Anvin
On 06/08/16 02:20, Ingo Molnar wrote: > > Also, unless I'm missing something it's not really 'hard' or dangerous per se > to > do that change for every architecture, just incredibly boring! ;-) > > I'm not sure how much it matters though, given other asymmetries in the > bitops API >

Re: [PATCH 1/2] gpiolib: Fix NULL pointer deference

2016-06-08 Thread Grygorii Strashko
On 06/08/2016 11:39 AM, Linus Walleij wrote: On Fri, Jun 3, 2016 at 7:10 PM, Ricardo Ribalda Delgado wrote: Under some circumstances, a gpiochip might be half cleaned from the gpio_device list. This patch makes sure that the chip pointer is still valid, before

[tip:x86/microcode] Documentation/microcode: Document some aspects for more clarity

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 9f3cc2a0772d7744d1d7195d39ac4794af622fe6 Gitweb: http://git.kernel.org/tip/9f3cc2a0772d7744d1d7195d39ac4794af622fe6 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:50 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:20

[tip:x86/microcode] x86/microcode/AMD: Make amd_ucode_patch[] static

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: a13004a2449c56a83d5816e81d850ea92b6837c2 Gitweb: http://git.kernel.org/tip/a13004a2449c56a83d5816e81d850ea92b6837c2 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:49 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:20

[tip:x86/microcode] x86/microcode/intel: Unexport save_mc_for_early()

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 0c5fa827f1130d05858f158022c21e9e7e5cff92 Gitweb: http://git.kernel.org/tip/0c5fa827f1130d05858f158022c21e9e7e5cff92 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:48 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:20

Applied "spi: Add DMA support for spi_flash_read()" to the spi tree

2016-06-08 Thread Mark Brown
The patch spi: Add DMA support for spi_flash_read() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH 1/1] Staging: comedi: s626: fix comment issue

2016-06-08 Thread Ian Abbott
On 08/06/16 10:48, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a WARNING: 'Block comments use a trailing */ on a separate line'found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.h

Re: [PATCH v3 2/2] ARM: at91/dt: sama5d2: Use new compatible for ohci node

2016-06-08 Thread Nicolas Ferre
Le 08/06/2016 06:15, Wenyou Yang a écrit : > Use compatible "atmel,sama5d2-ohci" to be capable of suspending > ports while sleep to save the power consumption. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: None > Changes in v2: > - Use the new compatible for

Re: [RFC PATCH v1 10/18] x86/efi: Access EFI related tables in the clear

2016-06-08 Thread Matt Fleming
(Sorry for the delay) On Thu, 26 May, at 08:45:58AM, Tom Lendacky wrote: > > The patch in question is patch 6/18 where PAGE_KERNEL is changed to > include the _PAGE_ENC attribute (the encryption mask). This now > makes FIXMAP_PAGE_NORMAL contain the encryption mask while > FIXMAP_PAGE_IO does

[PATCH] cpumask: fix code comment

2016-06-08 Thread Geliang Tang
Fix code comment for cpumask_parse(). Signed-off-by: Geliang Tang --- include/linux/cpumask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index e828cf6..da7fbf1 100644 --- a/include/linux/cpumask.h

[PATCH 2/3] perf unwind: Fix wrongly used regs for x86_32 unwind

2016-06-08 Thread He Kuang
By default, "unwind-libunwind-local.c" gets SP/IP register number according to the host platform, for remote unwind, we should use register number for target platform. Fix this by define LIBUNWIND_ARCH_REG_SP/IP in the wrapper file of x86_32 platform. Signed-off-by: He Kuang

Re: [PATCH v1 02/10] Staging: comedi: fix bare use of unsigned issue in ni_65xx.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This is a patch to the ni_65xx.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

[PATCH 0/3] Fixes on remote unwind

2016-06-08 Thread He Kuang
The remote unwind can supported scenario where we collect on a x86_64 machine and want to do analysis on a ARM64 or x86-32 machine. Though this is not tested, after Arnaldo questioned the above issue, I tested and found a bug. In util/unwind-libunwind-local.c, PERF_REG_SP/IP is used, but those

[PATCH 3/3] perf unwind: Fix wrongly used regs for aarch64 unwind

2016-06-08 Thread He Kuang
By default, "unwind-libunwind-local.c" gets SP/IP register number according to the host platform, for remote unwind, we should use register number for target platform. Fix this by define LIBUNWIND_ARCH_REG_SP/IP in the wrapper file of aarch64 platform. Signed-off-by: He Kuang

Re: [PATCH v1 01/10] Staging: comedi: Use unsigned int instead of unsigned issue in pcmuio.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This is a patch to the pcmuio.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

[PATCH 2/3] iommu/exynos: Remove excessive, useless debug

2016-06-08 Thread Marek Szyprowski
Remove excessive, useless debug about skipping TLB invalidation, which is a normal situation when more aggressive power management is enabled. Signed-off-by: Marek Szyprowski --- drivers/iommu/exynos-iommu.c | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [PATCH] KVM: s390: fix build failure

2016-06-08 Thread Paolo Bonzini
- Original Message - > From: "Stephen Rothwell" > To: "Heiko Carstens" > Cc: "Christian Borntraeger" , "Sudip Mukherjee" > , "Cornelia Huck" > , "Paolo

[PATCH 0/3] Exynos IOMMU: proper runtime pm support

2016-06-08 Thread Marek Szyprowski
Hello, This patch series finally implements proper runtime pm support in Exynos IOMMU driver. This has been achieved by adding runtime pm notifiers, which lets SYSMMU controller to follow it's master device (the device which actually performs DMA transaction) runtime pm. The main idea behind this

Re: [PATCH v14.1 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-06-08 Thread Yakir Yang
Marc, Javier On 06/08/2016 03:44 PM, Marc Zyngier wrote: On Wed, 8 Jun 2016 09:28:32 +0800 Yakir Yang wrote: Hi Javier, On 06/08/2016 01:06 AM, Javier Martinez Canillas wrote: Hello Yakir, On 03/17/2016 05:47 PM, Heiko Stübner wrote: Split the dp core driver from

Re: [RFC PATCH 0/4] Integration of function trace with System Trace IP blocks

2016-06-08 Thread Chunyan Zhang
Hi Alex, Thanks for your comments on every patch of this serial. On Tue, Jun 7, 2016 at 6:50 PM, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> This patchset is an RFC aimed at generating ideas on the best way to >> use STM

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread joerg Reisenweber
On Wed 08 June 2016 13:02:00 Felipe Balbi wrote: > Hi, > > Tony Lindgren writes: > > Yeah I don't know, AFAIK we don't have a generic way to > > force MUSB to change mode without ID pin. If you have figured > #define MUSB_TEST_FORCE_HOST 0x80 > > Can someone confirm on MUSB's

[PATCH v9 01/14] usb: hcd: Initialize hcd->flags to 0

2016-06-08 Thread Roger Quadros
When using the OTG/drd library we can call hcd_add/remove consecutively without calling usb_put_hcd/usb_create_hcd in between so hcd->flags can be stale. If the HC dies due to whatever reason then without this patch we get the below error on next hcd_add. [ 91.494257] xhci-hcd xhci-hcd.0.auto:

Re: [PATCH v10 2/2] gpio: mmio: add MyBook Live GPIO support

2016-06-08 Thread Linus Walleij
On Fri, May 13, 2016 at 11:07 PM, Christian Lamparter wrote: > This patch adds support for the Western Digital's > MyBook Live memory-mapped GPIO controllers. > > The GPIOs will be supported by the generic driver > for memory-mapped GPIO controllers. > > Signed-off-by:

Re: [PATCH] gpio: lpc18xx: convert GPIO_LPC18XX from bool to tristate

2016-06-08 Thread Linus Walleij
On Sun, Jun 5, 2016 at 8:23 PM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > config GPIO_LPC18XX >bool "NXP LPC18XX/43XX GPIO support" > > ...meaning that it currently is not being built as a module by anyone. >

[PATCH v3 10/20] pwm: sysfs: Add PWM Capture support

2016-06-08 Thread Lee Jones
Allow a user to read PWM Capture results from /sysfs. To start a capture and read the result, simply read the file: $ cat $PWMCHIP/capture The output format is ":". Signed-off-by: Lee Jones --- drivers/pwm/sysfs.c | 17 + 1 file changed, 17

[PATCH v3 11/20] pwm: sti: Reorganise register names in preparation for new functionality

2016-06-08 Thread Lee Jones
Exciting functionality is on the way to this device. But before we can add it, we need to do some basic housekeeping so the additions can be added cleanly. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 76 +++ 1 file

[PATCH v3 14/20] pwm: sti: Supply PWM Capture clock handling

2016-06-08 Thread Lee Jones
ST's PWM IP is supplied by 2 different clocks. One for PWM Output and the other for Capture. This patch provides clock handling for the latter. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH perf/core v10 20/23] perf probe: Support @BUILDID or @FILE suffix for SDT events

2016-06-08 Thread Masami Hiramatsu
Support @BUILDID or @FILE suffix for SDT events. This allows perf to add probes on SDTs/pre-cached events on given FILE or the file which has given BUILDID (also, this complements BUILDID.) For example, both gcc and libstdc++ has same SDTs as below. If you would like to add a probe on

[PATCH perf/core v10 23/23] perf-test: Add a test case for SDT event

2016-06-08 Thread Masami Hiramatsu
Add a basic test case for SDT event support. This test scans an SDT event in perftools and check whether the SDT event is correctly stored into the buildid cache. --- tools/perf/tests/Build |1 tools/perf/tests/builtin-test.c |4 + tools/perf/tests/sdt.c | 114

[PATCH perf/core v10 22/23] perf build: Add sdt feature detection

2016-06-08 Thread Masami Hiramatsu
Will be used to define SDT events in perf test code. --- tools/perf/Makefile.perf |3 +++ tools/perf/config/Makefile | 10 ++ tools/perf/tests/make |3 ++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/tools/build/Makefile.feature

[PATCH perf/core v10 18/23] perf probe: Allow wildcard for cached events

2016-06-08 Thread Masami Hiramatsu
Allo glob wildcard for reusing cached/SDT events. E.g. # perf probe -x /usr/lib64/libc-2.20.so -a %sdt_libc:\* This example adds probes for all SDT in libc. Note that the SDTs must have been scanned by perf buildid-cache. Signed-off-by: Masami Hiramatsu --- Changes in

[PATCH 3/3] iommu/exynos: Add proper runtime pm support

2016-06-08 Thread Marek Szyprowski
This patch uses recently introduced runtime pm notifiers to track the runtime pm state of the master's device. This way each SYSMMU controller knows when its master's device is active and can save/restore its state instead of being enabled all the time. This way SYSMMU controllers no longer

[PATCH 1/3] PM / Runtime: Add notifiers for device runtime PM events

2016-06-08 Thread Marek Szyprowski
From: Krzysztof Kozlowski Allow drivers registering for certain runtime PM events of other devices. Some drivers in power domain are more or less coupled. When one driver is suspending (thus leading to power domain being also turned off) the other might have to perform

[PATCH v2] mmc: core: Only change mode if mmc_select_bus_width() is successful.

2016-06-08 Thread Peter Griffin
mmc_select_bus_width() returns bus width (4 or 8) on success or zero if unsupported. So only change mode if setting the bus width is successful. Fixes f741494 mmc: fix mmc mode selection for HS-DDR and higher Fixes: 287980e (remove lots of IS_ERR_VALUE abuses) Signed-off-by: Peter Griffin

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-08 Thread Matthias Brugger
On 08/06/16 07:40, Horng-Shyang Liao wrote: Hi Matthias, On Tue, 2016-06-07 at 18:59 +0200, Matthias Brugger wrote: On 03/06/16 15:11, Matthias Brugger wrote: [...] + +smp_mb(); /* modify jump before enable thread */ +} + +cmdq_thread_writel(thread,

[PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Prasun Maiti
Since add more warnings for inconsistent ops in cfg80211, the wireless core warns if a driver implements a cfg80211 callback but doesn't implements the inverse operation. The ath6kl driver implements a cfg80211 .get_antenna operation handler but doesn't have the inverse .set_antenna callback. So,

[PATCH v4] ASoC: rockchip: Add machine driver for RK3399 GRU Boards

2016-06-08 Thread Xing Zheng
Because we need to support the multiple codecs (MAX98357A/RT5514/DA7219) on the RK3399 GRU boards, this patch can help us to support these codecs. Signed-off-by: Xing Zheng --- Changes in v4: - the compatible name needs to be based on a single reference design, and

Re: [PATCH 2/2] mfd: twl-core: Refactoring for add_numbered_child()

2016-06-08 Thread Lee Jones
On Mon, 16 May 2016, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 May 2016 19:50:55 +0200 > > Adjust jump targets according to the Linux coding style convention. > Another check for the variable "status" can be omitted then at the end. > >

Re: [PATCH] of: fix autoloading due to broken modalias with no 'compatible'

2016-06-08 Thread Michael Ellerman
On Mon, 2016-06-06 at 18:48 +0200, Wolfram Sang wrote: > Because of an improper dereference, a stray 'C' character was output to > the modalias when no 'compatible' was specified. This is the case for > some old PowerMac drivers which only set the 'name' property. Fix it to > let them match again.

Re: [PATCH perf/core v10 00/23] perf-probe --cache and SDT support

2016-06-08 Thread Masami Hiramatsu
On Wed, 8 Jun 2016 18:29:00 +0900 Masami Hiramatsu wrote: > Hi, > > Here is the 10th version of the patchset for probe-cache and > initial SDT support. > > This version fixes a bug and split big patches into small subsets > according to Namhyung's comment. > Also I've

Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full dynticks CPU time accounting

2016-06-08 Thread Wanpeng Li
2016-06-08 18:14 GMT+08:00 Paolo Bonzini : > > > On 08/06/2016 05:05, Wanpeng Li wrote: >> From: Wanpeng Li >> >> This patch adds guest steal-time support to full dynticks CPU >> time accounting. After the following commit: >> >> ff9a9b4c4334 ("sched,

Re: [PATCH] x86/efi: Auto enable EFI memmap on SGI UV systems

2016-06-08 Thread Ingo Molnar
* Joseph Thelen wrote: > static int __init setup_add_efi_memmap(char *arg) > { > + static bool arg_as_bool; Why hidden inside local variables as static? > + int ret = strtobool(arg, _as_bool); > + > + /* check for a non-existent arg, to maintain backward

Re: [PATCH 09/16] sched/fair: Let asymmetric cpu configurations balance at wake-up

2016-06-08 Thread Morten Rasmussen
On Thu, Jun 02, 2016 at 04:21:05PM +0200, Peter Zijlstra wrote: > On Mon, May 23, 2016 at 11:58:51AM +0100, Morten Rasmussen wrote: > > Currently, SD_WAKE_AFFINE always takes priority over wakeup balancing if > > SD_BALANCE_WAKE is set on the sched_domains. For asymmetric > > configurations

Re: [PATCH v9 03/14] usb: hcd.h: Add OTG to HCD interface

2016-06-08 Thread Sergei Shtylyov
Hello. On 6/8/2016 12:03 PM, Roger Quadros wrote: The OTG core will use struct otg_hcd_ops to interface with the HCD controller. Host controller driver (HCD) controller? Maybe just HC? :-) The main purpose of this interface is to avoid directly calling HCD APIs from the OTG core as they

Re: [PATCH v9 12/14] usb: hcd: Adapt to OTG core

2016-06-08 Thread Sergei Shtylyov
On 6/8/2016 12:03 PM, Roger Quadros wrote: Introduce usb_otg_add/remove_hcd() for use by host controllers that are part of OTG/dual-role port. Non Device tree platforms can use the otg_dev argument to specify the OTG controller device. If otg_dev is NULL then the device tree node's

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-08 Thread Zhangjian (Bamvor)
Hi, Peter On 2016/6/8 15:33, H. Peter Anvin wrote: On June 7, 2016 7:14:41 PM PDT, "Zhangjian (Bamvor)" wrote: Hi, On 2016/6/8 9:33, Weidong Wang wrote: Test 32 progress and 64 progress on the 64bit system with this progress: int main(int argc, char **argv) {

[PATCH v2 5/6] dt-bindings: add Sharp LQ123P1JX31 panel binding

2016-06-08 Thread Yakir Yang
The Sharp LQ123P1JX31 is an 12.3" 2400x1600 TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- Changes in v2: - Add dt-bindings of Sharp LQ123P1JX31 panel in v2 .../devicetree/bindings/display/panel/sharp,lq123p1jx31.txt| 7 +++ 1 file

[PATCH v2 6/6] drm/panel: simple: Add support for Sharp LQ123P1JX31 2400x1600 panel

2016-06-08 Thread Yakir Yang
The Sharp LQ123P1JX31 is an 12.3", 2400x1600 TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- Changes in v2: - Add detail timing of Sharp LQ123P1JX31 panel in v2 drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file

Re: [PATCH 1/8] blk-mq: add blk_mq_alloc_request_hctx

2016-06-08 Thread Christoph Hellwig
On Tue, Jun 07, 2016 at 10:49:22PM -0600, Jens Axboe wrote: > Why are we duplicating this code here? If NOWAIT isn't set, then we'll > always return a request. bt_get() will run the queue for us, if it needs > to. blk_mq_alloc_request() does this too, and I'm guessing that code was > just copied.

[PATCH v2 4/6] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel

2016-06-08 Thread Yakir Yang
The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- Changes in v2: None drivers/gpu/drm/panel/panel-simple.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH v2 2/6] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel

2016-06-08 Thread Yakir Yang
The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- Changes in v2: None drivers/gpu/drm/panel/panel-simple.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH v2 3/6] dt-bindings: add Samsung LSN122DL01-C01 panel binding

2016-06-08 Thread Yakir Yang
The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v2: - Add Rob's acked for dt-bindings of Samsung LSN122DL01 panel

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread Sergei Shtylyov
On 6/8/2016 1:02 PM, Felipe Balbi wrote: * Pali Rohár [160607 05:53]: Tony, what do you think about that patch? Tony, PING Yeah I don't know, AFAIK we don't have a generic way to force MUSB to change mode without ID pin. If you have figured something generic for

Re: [PATCH] arm64: mm: only initialize swiotlb when necessary

2016-06-08 Thread Catalin Marinas
On Wed, Jun 08, 2016 at 03:53:46PM +0800, Jisheng Zhang wrote: > static int __init arm64_dma_init(void) > { > + if (swiotlb_force || max_pfn > (arm64_dma_phys_limit >> PAGE_SHIFT)) > + swiotlb = 1; > + > return atomic_pool_init(); > } So any platform with RAM larger than

Re: [RFC PATCH 1/4] STM Ftrace: Adding generic buffer interface driver

2016-06-08 Thread Alexander Shishkin
Chunyan Zhang writes: > On Tue, Jun 7, 2016 at 6:25 PM, Alexander Shishkin > wrote: >> Chunyan Zhang writes: >> >>> This patch adds a driver that models itself as an stm_source and >>> who's sole purpose is

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread joerg Reisenweber
On Wed 08 June 2016 15:04:02 Sergei Shtylyov wrote: > On 6/8/2016 1:02 PM, Felipe Balbi wrote: > >> * Pali Rohár [160607 05:53]: > Tony, what do you think about that patch? > >>> > >>> Tony, PING > >> > >> Yeah I don't know, AFAIK we don't have a generic way to > >>

Re: [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

2016-06-08 Thread Ashwin Chaugule
+ Prashanth (Can you please have a look as well?) On 31 May 2016 at 15:35, Hoan Tran wrote: > Hi Ashwin, Hi, Sorry about the delay. I'm in the middle of switching jobs and locations, so its been a bit crazy lately. I dont have any major concerns with this code, although there

Re: [PATCH] staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c

2016-06-08 Thread Parth Sane
No mate, that aint just cutting it. I tried putting it, maybe i’m doing something wrong? Regards, Parth > On 08-Jun-2016, at 5:46 PM, Luis de Bethencourt > wrote: > > On 08/06/16 12:58, Parth Sane wrote: >> I’m trying to fix line 224 but its simply not happening. Can you

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-08 Thread Horng-Shyang Liao
Hi Matthias, On Wed, 2016-06-08 at 12:45 +0200, Matthias Brugger wrote: > > On 08/06/16 07:40, Horng-Shyang Liao wrote: > > Hi Matthias, > > > > On Tue, 2016-06-07 at 18:59 +0200, Matthias Brugger wrote: > >> > >> On 03/06/16 15:11, Matthias Brugger wrote: > >>> > >>> > >> [...] > >> >

Re: [PATCH 06/10] mm: remove unnecessary use-once cache bias from LRU balancing

2016-06-08 Thread Michal Hocko
On Mon 06-06-16 15:48:32, Johannes Weiner wrote: > When the splitlru patches divided page cache and swap-backed pages > into separate LRU lists, the pressure balance between the lists was > biased to account for the fact that streaming IO can cause memory > pressure with a flood of pages that are

Re: [PATCH v7 3/7] perf config: Add global variable 'config_set'

2016-06-08 Thread Taeung Song
My answer was too long.. To be short, many sub-commands use perf_config() so wherever new perf_config() is called, the config set that already contains all configs from config files should be shared. And when a sub-command is done, we need to free the config set at run_builtin() as below. So,

[RFC][PATCH v8 0/5] perf config: Reimplement perf_config() using perf_config_set__inter()

2016-06-08 Thread Taeung Song
Hello, :) This patchset is to reimplement perf_config() for efficient config management. Everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system config '$(sysconfdir)/perfconfig') But we need to use 'struct perf_config_set

Re: [RFC][PATCH 2/5] driver core: Functional dependencies tracking support

2016-06-08 Thread Mark Brown
On Thu, Jan 14, 2016 at 02:54:17AM +0100, Rafael J. Wysocki wrote: > + * A side effect of the link creation is re-ordering of dpm_list and the > + * devices_kset list by moving the consumer device and all devices depending > + * on it to the ends of those lists. How does this work in the

Re: linux-4.6/drivers/crypto/ux500/hash/hash_core.c: 2 * possible bad size ?

2016-06-08 Thread Linus Walleij
On Wed, May 18, 2016 at 9:46 AM, Herbert Xu wrote: > On Mon, May 16, 2016 at 07:13:12PM +0100, David Binderman wrote: >> Hello there, >> >> 1. >> >> linux-4.6/drivers/crypto/ux500/hash/hash_core.c:784]: (warning) Division by >> result of sizeof(). memmove() expects a

Re: [PATCH 1/2] x86/entry: Avoid interrupt flag save and restore

2016-06-08 Thread Ingo Molnar
* Paolo Bonzini wrote: > > > On 08/06/2016 14:16, Ingo Molnar wrote: > > > The guest ones are not quite as consistent. I can fix that later, > > > there's no reason also to have guest context tracking split between > > > include/linux/context_tracking.h and

[PATCH perf/core v10 22/23] perf build: Add sdt feature detection

2016-06-08 Thread Masami Hiramatsu
Will be used to define SDT events in perf test code. Signed-off-by: Masami Hiramatsu --- tools/perf/Makefile.perf |3 +++ tools/perf/config/Makefile | 10 ++ tools/perf/tests/make |3 ++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 07/20] drm: mediatek: Rely on the default ->best_encoder() behavior

2016-06-08 Thread Matthias Brugger
On 07/06/16 13:48, Boris Brezillon wrote: We have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementation and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris

[PATCH perf/core v10 23/23] perf-test: Add a test case for SDT event

2016-06-08 Thread Masami Hiramatsu
Add a basic test case for SDT event support. This test scans an SDT event in perftools and check whether the SDT event is correctly stored into the buildid cache. Signed-off-by: Masami Hiramatsu --- tools/perf/tests/Build |1 tools/perf/tests/builtin-test.c |

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread Matthias Brugger
On 08/06/16 09:21, weiqing kong wrote: On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: On 30/05/16 10:41, Weiqing Kong wrote: Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register,

Re: [PATCH 2/2] mm: oom: deduplicate victim selection code for memcg and global oom

2016-06-08 Thread Tetsuo Handa
Tetsuo Handa wrote: > Michal Hocko wrote: > > The victim selection code can be reduced because it is basically > > shared between the two, only the iterator differs. But I guess that > > can be eliminated by a simple helper. > > Thank you for CC: me. I like this clean up. > > > --- > >

[PATCH] treewide: update my email address

2016-06-08 Thread Felix Fietkau
My n...@openwrt.org address is no longer valid and bounces Signed-off-by: Felix Fietkau --- MAINTAINERS | 2 +- arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts| 2 +- arch/mips/ar7/clock.c

Re: [PATCH] pinctrl: tegra: Fix build dependency

2016-06-08 Thread Linus Walleij
On Sat, Jun 4, 2016 at 8:35 AM, Axel Lin wrote: > I got below build error: > ERROR: "tegra_xusb_padctl_legacy_probe" [drivers/phy/tegra/phy-tegra-xusb.ko] > undefined! > with below build configuration: > CONFIG_ARCH_TEGRA=y > CONFIG_PINCTRL_TEGRA_XUSB=y >

Re: [PATCH 1/8] blk-mq: add blk_mq_alloc_request_hctx

2016-06-08 Thread Christoph Hellwig
What we really nee to do is to always set the NOWAIT flag (we have a reserved tag for connect anyway), and thus never trigger the code deep down in bt_get that might switch to a different hctx. Below is the version that I've tested together with the NVMe change to use the NOWAIT flag: --- >From

Re: [RESEND PATCH v9 00/22] Add HiSilicon RoCE driver

2016-06-08 Thread Doug Ledford
On 6/8/2016 2:44 AM, Lijun Ou wrote: > The HiSilicon Network Substem is a long term evolution IP which is > supposed to be used in HiSilicon ICT SoCs. HNS (HiSilicon Network > Sybsystem) also has a hardware support of performing RDMA with > RoCEE. > The driver for HiSilicon RoCEE(RoCE Engine) is a

[RESEND PATCH V3] MAINTAINERS: Add Dialog PMIC search terms for missing documentation and header files

2016-06-08 Thread Steve Twiss
From: Steve Twiss Dialog Semiconductor support would like to follow files by adding to the existing MAINTAINERS search terms. The update will allow us to follow files for PMIC documentation bindings and header files. The full list is: DT bindings -

RE RE

2016-06-08 Thread Mr.Campbell Neiman
This message is the last notification about U USD14.5 million bearing our Name as Beneficiary, all effort to reach you have not be successful, Please if you Receive this message kindly respond back stating your Desire to make the claim, Reconfirm your full name and age Mr. Campbell

Re: 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-06-08 Thread Christian König
Am 08.06.2016 um 13:36 schrieb Borislav Petkov: On Tue, Jun 07, 2016 at 05:51:52PM -0400, Jerome Glisse wrote: Ok i don't have too much time to dig into r600 i assume that r700 breaks the same way so could you verify that attached patch fix the issue for you. Note that video decoding is likely

Re: [PATCH v9 03/14] usb: hcd.h: Add OTG to HCD interface

2016-06-08 Thread Sergei Shtylyov
On 6/8/2016 3:04 PM, Roger Quadros wrote: The OTG core will use struct otg_hcd_ops to interface with the HCD controller. Host controller driver (HCD) controller? Maybe just HC? :-) OK. OTOH, my googling has shown that HCD may stand for both HC driver and HC device... The host

Re: [PATCH] arm64: mm: only initialize swiotlb when necessary

2016-06-08 Thread Catalin Marinas
On Wed, Jun 08, 2016 at 03:53:46PM +0800, Jisheng Zhang wrote: > --- a/arch/arm64/mm/dma-mapping.c > +++ b/arch/arm64/mm/dma-mapping.c > @@ -19,6 +19,7 @@ > > #include > #include > +#include > #include > #include > #include Why is this include needed? -- Catalin

Re: [PATCH 8/8] dmaengine: Remove site specific OOM error messages on kzalloc

2016-06-08 Thread Linus Walleij
On Tue, Jun 7, 2016 at 7:38 PM, Peter Griffin wrote: > If kzalloc() fails it will issue it's own error message including > a dump_stack(). So remove the site specific error messages. > > Signed-off-by: Peter Griffin Acked-by: Linus Walleij

Re: [PATCH 0/2] *** r8723au: Replace semaphore lock with mutex ***

2016-06-08 Thread Jes Sorensen
Binoy Jayan writes: > Hi, > > These are a set of patches which removes semaphores from: > > drivers/staging/rtl8723au > > These are part of a bigger effort to eliminate all semaphores > from the linux kernel. > > They build correctly (individually and as a whole). > NB: I

Re: [PATCH] spi: rockchip: Signal unfinished DMA transfers

2016-06-08 Thread Heiko Stübner
Am Mittwoch, 8. Juni 2016, 09:32:51 schrieb Tomeu Vizoso: > When using DMA, the transfer_one callback should return 1 because the > transfer hasn't finished yet. > > A previous commit changed the function to return 0 when the DMA channels > were correctly prepared. > > This manifested in Veyron

Re: [PATCH 1/2] x86/entry: Avoid interrupt flag save and restore

2016-06-08 Thread Paolo Bonzini
On 08/06/2016 14:16, Ingo Molnar wrote: > > The guest ones are not quite as consistent. I can fix that later, > > there's no reason also to have guest context tracking split between > > include/linux/context_tracking.h and include/linux/kvm_host.h. > > Could we please first do the cleanups

Re: [PATCH v3] powerpc: spinlock: Fix spin_unlock_wait()

2016-06-08 Thread Peter Zijlstra
On Wed, Jun 08, 2016 at 09:20:45PM +1000, Michael Ellerman wrote: > On Mon, 2016-06-06 at 16:46 +0200, Peter Zijlstra wrote: > > On Mon, Jun 06, 2016 at 10:17:25PM +1000, Michael Ellerman wrote: > > > On Mon, 2016-06-06 at 13:56 +0200, Peter Zijlstra wrote: > > > > On Mon, Jun 06, 2016 at

Re: [PATCH] x86/efi: remove unused variable efi

2016-06-08 Thread Matt Fleming
On Mon, 06 Jun, at 03:32:11PM, Colin Ian King wrote: > From: Colin Ian King > > Remove unused variable efi, it is never used. Fixes clang build > warning: > > arch/x86/boot/compressed/eboot.c:803:2: warning: Value stored to > 'efi' is never read > > Signed-off-by:

Re: [PATCH v9 08/14] usb: otg: add OTG/dual-role core

2016-06-08 Thread Peter Chen
On Wed, Jun 08, 2016 at 01:12:10PM +0300, Roger Quadros wrote: > Hi, > > On 08/06/16 12:53, Peter Chen wrote: > > On Wed, Jun 08, 2016 at 12:03:40PM +0300, Roger Quadros wrote: > >> +int usb_otg_unregister(struct device *dev) > >> +{ > >> + struct usb_otg *otg; > >> + > >> +

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