Re: [PATCH] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-03-11 Thread Pi-Cheng Chen
On Tue, Mar 10, 2015 at 3:55 PM, Sascha Hauer wrote: > On Tue, Mar 10, 2015 at 09:53:19AM +0800, Pi-Cheng Chen wrote: >> On 5 March 2015 at 15:42, Sascha Hauer wrote: >> > >> > My suggestion is to take another approach. Implement clk_set_rate for >> > these muxes and in the set_rate hook: >> > >>

Re: [PATCH RFC v2 1/6] fs: vfs ioctls for managing project id

2015-03-11 Thread Andreas Dilger
How do your patches relate to the project quota patches from Li Xi? Cheers, Andreas > On Mar 10, 2015, at 13:22, Konstantin Khlebnikov > wrote: > > This patch adds generic vfs interface for project id and > related super-block methods. > > Two new ioctls: > int ioctl(fd, FS_IOC_GETPROJECT, un

Re: [PATCH 3/3] mtrr, mm, x86: Enhance MTRR checks for KVA huge page mapping

2015-03-11 Thread Ingo Molnar
* Toshi Kani wrote: > This patch adds an additional argument, *uniform, to s/*uniform/'uniform' > mtrr_type_lookup(), which returns 1 when a given range is > either fully covered by a single MTRR entry or not covered > at all. s/or not covered/or is not covered > pud_set_huge() and pmd_set_h

Re: [V4.0.0-rc3] Xhci Regression: ERROR Transfer event TRB DMA ptr not part of current TD

2015-03-11 Thread Lu, Baolu
On 03/11/2015 02:49 AM, Alan Stern wrote: On Tue, 10 Mar 2015, Mathias Nyman wrote: Mathias: Your patch description says this: The endpoint might already processesed some TRBs on the endpiont ring before we soft reset the endpoint. Make sure we set the dequeue pointer to where we were befe

Re: [PATCH RFC v2 1/6] fs: vfs ioctls for managing project id

2015-03-11 Thread Konstantin Khlebnikov
On Wed, Mar 11, 2015 at 10:00 AM, Andreas Dilger wrote: > How do your patches relate to the project quota patches from Li Xi? In v1 patchset was some modified patches from him, in v2 nothing left from that code. Probably couple hunks left in headers, for example the same magic number is used for

Re: [PATCH 4/6] staging: sm750fb: correct incompatible pointer type

2015-03-11 Thread Sudip Mukherjee
On Tue, Mar 10, 2015 at 09:17:54PM +0100, Greg Kroah-Hartman wrote: > On Tue, Mar 10, 2015 at 09:11:00PM +0100, Greg Kroah-Hartman wrote: > > On Tue, Mar 10, 2015 at 10:46:55PM +0530, Sudip Mukherjee wrote: > > > we were getting build warnings about assignment of incompatible > > > > That's a nic

Re: [PATCH] staging: rtl8192e: rtllib_wx: code style improvements

2015-03-11 Thread Mateusz Kulikowski
On 11.03.2015 00:01, Joe Perches wrote: > On Tue, 2015-03-10 at 23:53 +0100, Mateusz Kulikowski wrote: >> - Replaced printk() with netdev_*() > > trivia: > >> diff --git a/drivers/staging/rtl8192e/rtllib_wx.c >> b/drivers/staging/rtl8192e/rtllib_wx.c > [] >> @@ -423,11 +421,8 @@ int rtllib_wx_se

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-11 Thread Boris Brezillon
Rafael, Alexandre, On Wed, 11 Mar 2015 02:03:08 +0100 "Rafael J. Wysocki" wrote: > On Tuesday, March 10, 2015 11:33:05 PM Alexandre Belloni wrote: > > On 10/03/2015 at 23:31:52 +0100, Rafael J. Wysocki wrote : > > > On Tuesday, March 10, 2015 10:33:17 PM Alexandre Belloni wrote: > > > > Hi, > >

Re: [PATCH 4/6] staging: sm750fb: correct incompatible pointer type

2015-03-11 Thread Greg Kroah-Hartman
On Wed, Mar 11, 2015 at 12:58:42PM +0530, Sudip Mukherjee wrote: > On Tue, Mar 10, 2015 at 09:17:54PM +0100, Greg Kroah-Hartman wrote: > > On Tue, Mar 10, 2015 at 09:11:00PM +0100, Greg Kroah-Hartman wrote: > > > On Tue, Mar 10, 2015 at 10:46:55PM +0530, Sudip Mukherjee wrote: > > > > we were getti

[PATCH v2] staging: rtl8192e: rtllib_wx: code style improvements

2015-03-11 Thread Mateusz Kulikowski
Code reformatting based on checkpatch.pl: - Replaced min() with min_t() - Replaced printk() with netdev_*() - Merged broken string Signed-off-by: Mateusz Kulikowski --- Notes: v2 changes - removed double messages (via netdev_info and RTLLIB_DEBUG_WX) drivers/staging/rtl8192e/rtllib_wx.c |

Re: nios2: is the ptrace ABI correct?

2015-03-11 Thread Ley Foon Tan
On Tue, Mar 10, 2015 at 2:17 PM, Chung-Lin Tang wrote: > On 2015/3/10 10:54 AM, Ley Foon Tan wrote: >> On Tue, Mar 10, 2015 at 1:05 AM, Ezequiel Garcia >> wrote: >>> >>> >>> On 03/09/2015 02:02 PM, Chung-Lin Tang wrote: On 2015/3/10 12:54 AM, Chung-Lin Tang wrote: > It appears that some

Re: [PATCH v6 00/22] power_supply: Allow safe usage of power supply

2015-03-11 Thread Krzysztof Kozlowski
On wto, 2015-03-10 at 09:27 +0100, Krzysztof Kozlowski wrote: > Hi, > > > The patchset fixes invalid memory accesses in certain race scenarios by > moving ownership of struct power_supply to the core. All drivers are > modified. > > > TLDR for driver and subsystem maintainers >

Re: [PATCH v2] x86: Bypass legacy PIC and PIT in ACPI hardware reduced mode

2015-03-11 Thread Li, Aubrey
On 2015/3/11 14:23, Ingo Molnar wrote: > > * Li, Aubrey wrote: > >> On a platform in ACPI Hardware-reduced mode, the legacy PIC and PIT >> may not be initialized even though they may be present in silicon. >> Touching these legacy components causes unexpected result on system. > > s/causes unex

Re: [PATCH v6 00/22] power_supply: Allow safe usage of power supply

2015-03-11 Thread Krzysztof Kozlowski
On wto, 2015-03-10 at 09:27 +0100, Krzysztof Kozlowski wrote: > Hi, > > > The patchset fixes invalid memory accesses in certain race scenarios by > moving ownership of struct power_supply to the core. All drivers are > modified. > > > TLDR for driver and subsystem maintainers >

Re: [PATCH v2] staging: rtl8192e: rtllib_wx: code style improvements

2015-03-11 Thread Greg KH
On Wed, Mar 11, 2015 at 08:46:00AM +0100, Mateusz Kulikowski wrote: > Code reformatting based on checkpatch.pl: > - Replaced min() with min_t() > - Replaced printk() with netdev_*() > - Merged broken string That's three different things, which means this should be at least 3 different patches. Pl

Re: [PATCH 6/6] staging: sm750fb: correct integer comparison

2015-03-11 Thread Dan Carpenter
On Tue, Mar 10, 2015 at 10:46:57PM +0530, Sudip Mukherjee wrote: > fixed the build warning about comparison of pointer and integer. > end of string was being compared to NULL. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/sm750fb/sm750.c | 2 +- > 1 file changed, 1 insertion(+), 1 d

Re: [PATCH 01/60] mtd: core: tone down suggestion that dev.parent should be set

2015-03-11 Thread Frans Klaver
On Tue, Mar 10, 2015 at 6:39 PM, Brian Norris wrote: > On Tue, Mar 10, 2015 at 08:47:46AM +0100, Frans Klaver wrote: >> On Tue, Mar 10, 2015 at 12:14 AM, Brian Norris >> wrote: >> > On Tue, Mar 03, 2015 at 10:39:45PM +0100, Frans Klaver wrote: >> >> add_mtd_device() has a comment suggesting that

Re: [PATCH] soc: tegra: match wait_for_completion_timeout return type

2015-03-11 Thread Thierry Reding
On Mon, Mar 09, 2015 at 03:12:26AM -0400, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int. An > appropriately named unsigned long is added and the assignment fixed up. > > Signed-off-by: Nicholas Mc Guire > --- > > This was only compile tested for t

[PATCH v3]x86: Bypass legacy PIC and PIT in ACPI hardware reduced mode

2015-03-11 Thread Li, Aubrey
On a platform in ACPI Hardware-reduced mode, the legacy PIC and PIT may not be initialized even though they may be present in silicon. Touching these legacy components causes unexpected results on the system. On the Bay Trail-T(ASUS-T100) platform, touching these legacy components blocks platform

Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-03-11 Thread Jiri Slaby
On 03/10/2015, 11:41 PM, One Thousand Gnomes wrote: > On Mon, 09 Mar 2015 11:01:12 +0100 > Jiri Slaby wrote: > >> On 03/06/2015, 02:16 PM, Raymond Jennings wrote: >>> On Fri, 2015-02-27 at 18:40 +0100, Jiri Slaby wrote: So check the absolute difference of times and if it large than "8 s

[PATCH] virtio: Remove virtio device during shutdown

2015-03-11 Thread Fam Zheng
Currently shutdown is nop for virtio devices, but the core code could remove things behind us such as MSI-X handler etc. For example in the case of virtio-scsi-pci, the device may still try to send interupts, which will be on IRQ lines seeing MSI-X disabled. Those interrupts will be unhandled, and

Re: PROBLEM: lenovo yoga 11e touchscreen (baytrail SoC) does not work on 4.0.0 rc2

2015-03-11 Thread Mika Westerberg
On Tue, Mar 10, 2015 at 12:52:44PM -0400, Matthew Hiles wrote: > uname -a > Linux pontifex 4.0.0-1-ARCH #2 SMP PREEMPT Tue Mar 10 11:54:37 EDT 2015 > x86_64 GNU/Linux > > dmesg|grep hid > [3.850715] hidraw: raw HID events driver (C) Jiri Kosina > [8.873837] i2c_hid i2c-ITE8386:00: failed

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-11 Thread Archit Taneja
On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:

Re: ARCH_EXYNOS5433 missing in Kconfig

2015-03-11 Thread Valentin Rothberg
On Wed, Mar 11, 2015 at 2:10 AM, Chanwoo Choi wrote: > Hi Valentin, > > I sent the Exynos5433 clock patch and then separately I'm sending the > Exynos5433 devicetree patch-set[1]. > [1] [PATCH v6 0/9] arm64: Add the support for new Exynos5433 SoC > - https://lkml.org/lkml/2015/3/9/1036 > > But, ac

Auto re-negotiation has to triggered when the phy is up while configuring

2015-03-11 Thread niyas mydeen
Working on a PowerPC based custom board with linux3.10 gianfar ethernet driver, Come across a suitaion where the driver seems to be not going for an auto negotion when phy is up. If the link is up when configuring the PHY, autoneg should always be re- negotiated, since uboot might have a different

[PATCH v2 4/5] Documentation: rename of_selftest.txt to of_unittest.txt

2015-03-11 Thread Wang Long
Since the test of the devicetree's OF api use unittest as its name. so we should rename of_selftest.txt to of_unittest.txt. Signed-off-by: Wang Long --- Documentation/devicetree/{of_selftest.txt => of_unittest.txt} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Documentation/device

[PATCH v2 0/5] Update the OF unittest and some small fix

2015-03-11 Thread Wang Long
This series patches do some small fixes in drivers/of/unittest.c, and update the Documenttion. At last, replace selftest with unittest in the c, dtsi and binding files. * v2 <- v1: - According to Gaurav's advice. make the rename file patch correctly. Wang Long (5): of

[PATCH v2 1/5] of/unittest: remove the duplicate of_changeset_init

2015-03-11 Thread Wang Long
Remove the duplicate of_changeset_init. In of_selftest_changeset testcase, the "struct of_changeset chgset" is initialized twice, but only once is enough. so, drop the first initializtion code. Signed-off-by: Wang Long --- drivers/of/unittest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/

[PATCH v2 3/5] Documentation: update the of_selftest.txt

2015-03-11 Thread Wang Long
Since the directory "drivers/of/testcase-data" is renamed to "drivers/of/unittest-data". so we should update the path in the of_selftest.txt. When the kernel is built with OF_UNITTEST enabled, the output dtb is testcases.dtb instead of testcase.dtb, also update it (s/testcase/testcases/). Signed-

[PATCH v2 2/5] of/unittest: Fix the wrong expected value in of_selftest_property_string

2015-03-11 Thread Wang Long
This patch fix the wrong expected value of of_property_match_string in of_selftest_property_string. Signed-off-by: Wang Long --- drivers/of/unittest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 199fb23..00ddce7 1006

[PATCH v2 5/5] of/unittest: replace 'selftest' with 'unittest'

2015-03-11 Thread Wang Long
This patch just replace the string 'selftest' with 'unittest' in OF unittest and data and binding file. I have tested it successfully on ARM. Signed-off-by: Wang Long --- Documentation/devicetree/bindings/unittest.txt | 44 +- drivers/of/unittest-data/tests-overlay.dtsi| 108 ++-- drivers/

Re: [PATCH] Revert "MIPS: mm: tlbex: Use cpu_has_mips_r2_exec_hazard for the EHB instruction"

2015-03-11 Thread Markos Chandras
On 02/23/2015 10:52 PM, David Daney wrote: > From: David Daney > > This reverts commit 77f3ee59ee7cfe19e0ee48d9a990c7967fbfcbed. > > There are two problems: > > 1) It breaks OCTEON, which will now crash in early boot with: > > Kernel panic - not syncing: No TLB refill handler yet (CPU type:

Re: [PATCH v2 1/2] x86_64,signal: Fix SS handling for signals delivered to 64-bit programs

2015-03-11 Thread Borislav Petkov
On Tue, Mar 10, 2015 at 07:03:24AM -0700, Andy Lutomirski wrote: > The comment in the signal code says that apps can save/restore other > segments on their own. It's true that apps can *save* SS on their > own, but there's no way for apps to restore it: SYSCALL effectively > resets SS to __USER_DS

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-11 Thread Boris Brezillon
On Sun, 08 Mar 2015 02:11:45 +0100 "Rafael J. Wysocki" wrote: > On Saturday, March 07, 2015 12:06:45 PM Alexandre Belloni wrote: > > On 07/03/2015 at 11:39:39 +0100, Pavel Machek wrote : > > > > The Atmel watchdog can't be stopped once it's started. This is actually > > > > very useful so we can

Re: FW: [PATCH v2] mtd:spi-nor: Add Altera EPCQ Driver

2015-03-11 Thread Viet Nga Dao
Hi Rafal, On Tue, Mar 10, 2015 at 4:09 PM, Viet Nga Dao wrote: > + > +/* Altera EPCQ/EPCS Flashes */ > +{ "epcq16" , EPCQ_INFO(2, 0x15, 0x1, 32, 0x100) }, > +{ "epcq32" , EPCQ_INFO(2, 0x16, 0x1, 64, 0x100) }, > +{ "epcq64" , EPCQ_INFO(2, 0x17, 0x

[LKP] [x86] fbca3588d32: BUG: unable to handle kernel NULL pointer dereference at 00000080

2015-03-11 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/entry commit fbca3588d325bf1803ce0eecb35b27705f95ef7c ("x86: Switch all C consumers of kernel_stack to this_cpu_sp0") +--+++ |

Re: [PATCH 1/2] gpio / ACPI: Avoid unnecessary checks in __gpiod_get_index()

2015-03-11 Thread Mika Westerberg
On Tue, Mar 10, 2015 at 11:08:57PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If dev is NULL in __gpiod_get_index() and both ACPI and OF are > enabled, it will be checked twice before the code decides to give > up with DT/ACPI lookup, so avoid that. > > Also use the observatio

Re: [PATCH 2/2] gpio / ACPI: Use local variable instead of ACPI_HANDLE()

2015-03-11 Thread Mika Westerberg
On Tue, Mar 10, 2015 at 11:10:01PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In acpi_gpiochip_request_interrupts() the handle local > variable already contains the value that we want to pass > to acpi_walk_resources(), so it is better to use that > variable instead of evaluati

Re: [PATCH 2/3] dgnc: remove DGNC_VERIFY_BOARD macro

2015-03-11 Thread Dan Carpenter
On Tue, Mar 10, 2015 at 09:29:19PM +0200, Giedrius Statkevičius wrote: > static ssize_t dgnc_vpd_show(struct device *p, struct device_attribute > *attr, char *buf) > { > - struct dgnc_board *bd; > - int count = 0; > - int i = 0; > - > - DGNC_VERIFY_BOARD(p, bd); > + int count

Re: [PATCH] perf build: Fix libbabeltrace detection

2015-03-11 Thread Jiri Olsa
On Tue, Mar 10, 2015 at 01:04:26PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > endef > > feature_set = $(eval $(feature_set_code)) > @@ -880,3 +880,9 @@ $(call detected_var,LIBDIR) > $(call detected_var,GTK_CFLAGS) > $(call detected_var,PERL_EMBED_CCOPTS) > $(call detected_var,PYTHON_EMB

Re: [PATCH v2] pwm: imx-pwm: add explicit compatible strings and required clock properties

2015-03-11 Thread Thierry Reding
On Mon, Mar 09, 2015 at 09:24:21AM -0400, Matt Porter wrote: > The imx-pwm binding contains language indicating compatible > strings to be used that is not valid for all supported parts > e.g. Should be "fsl,-pwm". Fix this by enumerating the > valid compatible strings that represent the two versio

Re: [PATCH] crypto: AES-NI: fix memory usage in GCM decryption

2015-03-11 Thread Stephan Mueller
Am Dienstag, 10. März 2015, 20:45:43 schrieb Herbert Xu: Hi Herbert, > On Sun, Mar 08, 2015 at 07:49:58PM +0100, Stephan Mueller wrote: > > The RFC4106 GCM decryption operation tries to overwrite cryptlen memory > > in req->dst. As the destination buffer for decryption only needs to hold > > the

Re: linux-next: Tree for Mar 10 (netdev/switchdev)

2015-03-11 Thread Jiri Pirko
Wed, Mar 11, 2015 at 12:26:35AM CET, rdun...@infradead.org wrote: >On 03/09/15 22:59, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20150306: >> > > >on x86_64: > >net/built-in.o: In function `netdev_switch_fib_ipv4_abort': >(.text+0xf7811): undefined reference to `fib_flush_external' >

Re: [GIT PULL v2] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-03-11 Thread Philipp Zabel
Hi Rob, Am Dienstag, den 10.03.2015, 14:05 -0500 schrieb Rob Herring: > I've only been copied on this latest pull request and a version from > March of last year which Grant nak'ed. This series did not go to > devicetree list either. I'll take a look at the series. My bad, I should have copied y

Re: [PATCH 5/8] ARM: tegra: clock: Provide y2038-safe tegra_read_persistent_clock() replacement

2015-03-11 Thread Thierry Reding
On Wed, Mar 11, 2015 at 11:24:34AM +0800, Xunlei Pang wrote: > From: Xunlei Pang > > As part of addressing "y2038 problem" for in-kernel uses, this > patch adds the y2038-safe tegra_read_persistent_clock64() using > timespec64. > > Because we rely on some subsequent changes to convert arm multia

Re: [PATCH 6/8] ARM: time: Provide read_boot_clock64() and read_persistent_clock64()

2015-03-11 Thread Thierry Reding
On Wed, Mar 11, 2015 at 11:24:35AM +0800, Xunlei Pang wrote: > From: Xunlei Pang > > As part of addressing "y2038 problem" for in-kernel uses, this > patch converts read_boot_clock() to read_boot_clock64() and > read_persistent_clock() to read_persistent_clock64() using > timespec64 by converting

Re: [PATCH v5 25/29] powerpc/powernv/ioda: Define and implement DMA table/window management callbacks

2015-03-11 Thread Alexey Kardashevskiy
On 03/10/2015 01:07 AM, Alexey Kardashevskiy wrote: This extends iommu_table_group_ops by a set of callbacks to support dynamic DMA windows management. query() returns IOMMU capabilities such as default DMA window address and supported number of DMA windows and TCE table levels. create_table()

Re: [PATCH 1/6] staging: sm750fb: Use memset_io instead of memset

2015-03-11 Thread Dan Carpenter
On Wed, Mar 11, 2015 at 01:28:40AM +, Lorenzo Stoakes wrote: > This patch uses memset_io instead of memset when using memset on __iomem > qualified pointers. This fixes the following sparse warnings:- > > drivers/staging/sm750fb/sm750.c:489:17: warning: incorrect type in argument 1 > (differe

Re: [PATCH v5 12/12] ARM: dts: sun6i: hummingbird: Enable the onboard WiFi module

2015-03-11 Thread Maxime Ripard
On Wed, Mar 11, 2015 at 11:11:49AM +0800, Chen-Yu Tsai wrote: > On Wed, Mar 11, 2015 at 5:32 AM, Maxime Ripard > wrote: > > On Tue, Mar 10, 2015 at 07:59:24PM +0800, Chen-Yu Tsai wrote: > >> The Hummingbird A31 has an AMPAK AP6210 WiFi+Bluetooth module. The > >> WiFi part is a BCM43362 IC connecte

Re: [PATCH 6/6] staging: sm750fb: correct integer comparison

2015-03-11 Thread Sudip Mukherjee
On Wed, Mar 11, 2015 at 10:57:43AM +0300, Dan Carpenter wrote: > On Tue, Mar 10, 2015 at 10:46:57PM +0530, Sudip Mukherjee wrote: > > > > -while((opt = strsep(&src,":")) != NULL && *opt != NULL){ > > +while((opt = strsep(&src,":")) != NULL && *opt != 0){ > > Use '\0' for the NUL

Re: [PATCH 4/6] staging: sm750fb: Expose hw712_fillrect externally

2015-03-11 Thread Dan Carpenter
On Wed, Mar 11, 2015 at 01:28:43AM +, Lorenzo Stoakes wrote: > This patch adds a reference to hw712_fillrect which is not used elsewhere in > the driver, > but appears to be an alternative to the hw_fillrect method. This patch fixes > the following sparse warning:- > > drivers/staging/sm750f

Re: [V4.0.0-rc3] Xhci Regression: ERROR Transfer event TRB DMA ptr not part of current TD

2015-03-11 Thread Mathias Nyman
On 10.03.2015 20:49, Alan Stern wrote: > On Tue, 10 Mar 2015, Mathias Nyman wrote: > >>> Mathias: >>> >>> Your patch description says this: >>> The endpoint might already processesed some TRBs on the endpiont ring before we soft reset the endpoint. Make sure we set the dequeue point

[PATCH 12/15] perf build: Make features checks directory configurable

2015-03-11 Thread Jiri Olsa
Putting feature checks directory into $feature_dir, so it's easy to configure when we move it to bools/build later. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf

[PATCH 04/15] perf build: Get rid of LIB_INCLUDE variable

2015-03-11 Thread Jiri Olsa
It has no use, so we can directly use the value for CFLAGS. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/config/Makefile | 3 +-- 1 file changed, 1 insertion(+)

[PATCH 15/15] tools build: Fix feature_check name clash

2015-03-11 Thread Jiri Olsa
We have 2 feature_check functions, which conflict with each other. Fixing it by renaming the latter to feature_display_check. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra ---

[PATCH 13/15] tools build: Move feature checks code under tools/build

2015-03-11 Thread Jiri Olsa
Moving feature checks code under tools/build directory. Changing also $feature_dir to point to new feature directory location and perf Makefiles to include Makefile.feature from new location. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Moln

[PATCH 11/15] perf build: Separate feature make support into config/Makefile.feature

2015-03-11 Thread Jiri Olsa
Move feature related code into separate makefile. The new Makefile.feature is included from config/Makefile. It will be moved later into tools/build. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras C

[PATCH 14/15] tools build: Allow to override feature checks setup

2015-03-11 Thread Jiri Olsa
Allowing to override configuration variables for feature checks. Also adding automated test and documentation. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/build/Doc

[PATCH 01/15] perf build: Disable default check for libbabeltrace

2015-03-11 Thread Jiri Olsa
Remove libbabeltrace check from default features set, because the requested version is not released yet in most distributions. We'll enable later. Calling libbabeltrace check manually via feature_check before $(feature-libbabeltrace) is used. Signed-off-by: Jiri Olsa Acked-by: Ingo Molnar Cc: A

[PATCH 03/15] perf build: Fix pthread-attr-setaffinity-np include in test-all

2015-03-11 Thread Jiri Olsa
The test-all fails to build due to type in pthread-attr-setaffinity-np include. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/config/feature-checks/test-all.c |

[PATCH 10/15] perf build: Rename feature_print_var_code to print_var_code

2015-03-11 Thread Jiri Olsa
As it has nothing to do with features and won't be moved into tools/build. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/config/Makefile | 23 ---

[PATCH 07/15] perf build: Rename display_lib into feature_display

2015-03-11 Thread Jiri Olsa
Preparing for feature checks separation, moving related stuff under 'feature*' namespace. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/config/Makefile | 12

[PATCHv2 00/15] tools build: Move features framework into tools/build

2015-03-11 Thread Jiri Olsa
hi, moving features detection framework from perf to 'tools/build' plus other minor fixes. v2 changes: - omitted patch 1 from original version (Ingo) - added features build output dump (Arnaldo) - better scripting in features test (Namhyung) - fixed test-all for pthread-attr-setaffinity-np

[PATCH 08/15] perf build: Rename display_vf to feature_verbose

2015-03-11 Thread Jiri Olsa
Preparing for feature checks separation, moving related stuff under 'feature*' namespace. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/config/Makefile | 4 ++--

[PATCH 09/15] perf build: Rename PERF-FEATURES into FEATURE-DUMP

2015-03-11 Thread Jiri Olsa
Preparing for feature checks separation, moving related stuff under 'FEATURE*' namespace. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/Makefile.perf | 2 +-

[PATCH 06/15] perf build: Get rid of VF_FEATURE_TESTS

2015-03-11 Thread Jiri Olsa
It only contains (FEATURE_TESTS - FEATURE_DISPLAY) tests to display the rest of the checks on 'make VF=1'. But we can actually compute this list, which is less confusing. Also renaming LIB_FEATURE_TESTS into FEATURE_DISPLAY, so it reflects what this variable actually does - display its tests statu

Re: [PATCH 3/3] staging: sm7xxfb: change return of sm7xx_vga_setup

2015-03-11 Thread Sudip Mukherjee
On Mon, Mar 09, 2015 at 05:04:14PM +0300, Dan Carpenter wrote: > On Mon, Mar 09, 2015 at 07:23:43PM +0530, Sudip Mukherjee wrote: > > > Hm... That's a good question. > > > > > > I suspect we should just go with fb_get_mode() and do it quickly. This > > > driver is so new in the kernel that ther

[PATCH 05/15] perf build: Rename CORE_FEATURE_TESTS to FEATURE_TESTS

2015-03-11 Thread Jiri Olsa
Preparing for feature checks separation, moving related stuff under 'FEATURE*' namespace. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/config/Makefile | 12

Re: [PATCH 2/4] soc: Mediatek: Add SCPSYS power domain driver

2015-03-11 Thread Sascha Hauer
On Wed, Mar 11, 2015 at 11:16:31AM +0800, James Liao wrote: > Hi, > > On Tue, 2015-03-10 at 10:41 +0100, Sascha Hauer wrote: > > On Mon, Mar 09, 2015 at 02:35:03PM -0700, Kevin Hilman wrote: > > > Sascha Hauer writes: > > > > > > > Signed-off-by: Sascha Hauer > > > > > > A bit of a changelog h

[PATCH 02/15] perf build: Add dump of features build

2015-03-11 Thread Jiri Olsa
Currently you need to hack the features code to get the features build output. Changing this by dumping the build output into file during the build. For each feature 'test-X' new file 'test-X.make.output' is created and contains the build out. It's created in the same directory as the feature itse

[RFC ] mm: don't ignore file map pages for madvise_free( )

2015-03-11 Thread Wang, Yalin
Hi I just want to explain my ideas about file map pages for madvise_free() syscall. As the following patch, For file map vma, there is 2 types: 1. private file map In this type, the pages of this vma are file map pages or anon page (when COW happened), 2. shared file map In this t

Re: [PATCH] virtio: Remove virtio device during shutdown

2015-03-11 Thread Michael S. Tsirkin
On Wed, Mar 11, 2015 at 04:09:17PM +0800, Fam Zheng wrote: > Currently shutdown is nop for virtio devices, but the core code could > remove things behind us such as MSI-X handler etc. For example in the > case of virtio-scsi-pci, the device may still try to send interupts, > which will be on IRQ li

Re: [PATCHv2 00/14] perf tools: Adding xz decompression support

2015-03-11 Thread Jiri Olsa
On Fri, Mar 06, 2015 at 01:54:02PM +0100, Jiri Olsa wrote: > On Fri, Mar 06, 2015 at 12:13:48PM +0100, Jiri Olsa wrote: > > hi, > > adding support to decompress kernel modules on Fedora 21 > > (lzma compression) vaguely continuing in previous RFC: > > http://marc.info/?l=linux-kernel&m=1422613403

Re: [PATCH v5 12/12] ARM: dts: sun6i: hummingbird: Enable the onboard WiFi module

2015-03-11 Thread Chen-Yu Tsai
On Wed, Mar 11, 2015 at 4:52 PM, Maxime Ripard wrote: > On Wed, Mar 11, 2015 at 11:11:49AM +0800, Chen-Yu Tsai wrote: >> On Wed, Mar 11, 2015 at 5:32 AM, Maxime Ripard >> wrote: >> > On Tue, Mar 10, 2015 at 07:59:24PM +0800, Chen-Yu Tsai wrote: >> >> The Hummingbird A31 has an AMPAK AP6210 WiFi+B

Re: [PATCH 6/6] staging: sm750fb: Spinlock and unlock in the same block

2015-03-11 Thread Dan Carpenter
On Wed, Mar 11, 2015 at 01:28:45AM +, Lorenzo Stoakes wrote: > -static inline void myspin_lock(spinlock_t * sl){ > - struct lynx_share * share; > - share = container_of(sl,struct lynx_share,slock); > - if(share->dual){ > - spin_lock(sl); > - } > -} Yes, good. We al

Re: [PATCH] crypto: AES-NI: fix memory usage in GCM decryption

2015-03-11 Thread Herbert Xu
On Wed, Mar 11, 2015 at 09:01:02AM +0100, Stephan Mueller wrote: > > However, I think there is an error in the calculation of the AAD pointer > offset. That offset is currently calculated as: > > assoc = (src + req->cryptlen + auth_tag_len); > > But instead, it should be: > > assoc = (src + req

Re: [PATCH 1/6] staging: sm750fb: Use memset_io instead of memset

2015-03-11 Thread Lorenzo Stoakes
On 11 March 2015 at 08:54, Dan Carpenter wrote: > When I see a patch like this, then I worry, "What if the Sparse > annotations are wrong? The patch description doesn't say anything about > that." After review then I think the annotations are correct so that's > fine. How do you mean? I was car

Re: [PATCH v6 6/8] pinctrl: cygnus: add gpio/pinconf driver

2015-03-11 Thread Linus Walleij
On Tue, Mar 10, 2015 at 6:57 PM, Ray Jui wrote: > On 3/10/2015 3:20 AM, Linus Walleij wrote: >> On Mon, Mar 9, 2015 at 9:45 PM, Ray Jui wrote: >> >>> This adds the initial support of the Broadcom Cygnus GPIO/PINCONF driver >>> that supports all 3 GPIO controllers on Cygnus including the ASIU GPIO

Re: [PATCH] i2c: tegra: match return type of wait_for_completion_timeout

2015-03-11 Thread Thierry Reding
On Sun, Mar 01, 2015 at 09:17:41AM -0500, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int. As ret > was only used for wait_for_completion_timeout here it is renamed to time_left > the type changed to unsigned long and references fixed up. > > Signed-o

Re: [PATCH 2/2 net-next] hyperv: Support batched notification

2015-03-11 Thread Olaf Hering
On Tue, Mar 10, K. Y. Srinivasan wrote: > Optimize notifying the host by deferring notification until there > are no more packets to be sent. This will help in batching the requests > on the host. The subjects for the network driver say "hyperv:". But all such changes should get "netvsc:" as pref

Re: [PATCH 1/6] staging: sm750fb: Use memset_io instead of memset

2015-03-11 Thread Dan Carpenter
On Wed, Mar 11, 2015 at 09:11:52AM +, Lorenzo Stoakes wrote: > On 11 March 2015 at 08:54, Dan Carpenter wrote: > > When I see a patch like this, then I worry, "What if the Sparse > > annotations are wrong? The patch description doesn't say anything about > > that." After review then I think

Re: [PATCH v2 2/2] x86_64,signal: Remove 'fs' and 'gs' from sigcontext

2015-03-11 Thread Borislav Petkov
On Tue, Mar 10, 2015 at 07:03:25AM -0700, Andy Lutomirski wrote: > As far as I can tell, these fields have been set to zero on save and > ignored on restore since Linux was imported into git. Rename them Actually from the very beginning: commit 47f16da277d10ef9494f3e9da2a9113bb22bcd75 Author: An

Re: [PATCH 3/6] staging: sm750fb: Make internal functions static

2015-03-11 Thread Sudip Mukherjee
On Wed, Mar 11, 2015 at 01:28:42AM +, Lorenzo Stoakes wrote: > This patch declares externally unavailable functions static. This fixes the > following sparse warnings:- > diff --git a/drivers/staging/sm750fb/sm750_accel.c > b/drivers/staging/sm750fb/sm750_accel.c > index 6521c3b..4aa763b 1006

Re: [PATCH 1/2] power: reset: Add generic SYSCON register mapped poweroff.

2015-03-11 Thread Paul Bolle
On Tue, 2015-03-10 at 16:21 -0700, Moritz Fischer wrote: > --- a/drivers/power/reset/Kconfig > +++ b/drivers/power/reset/Kconfig > +config POWER_RESET_SYSCON_POWEROFF > + bool "Generic SYSCON regmap poweroff driver" This adds a bool symbol. > + depends on OF > + select MFD_SYSCON >

Re: [PATCH v5 25/29] powerpc/powernv/ioda: Define and implement DMA table/window management callbacks

2015-03-11 Thread Benjamin Herrenschmidt
On Wed, 2015-03-11 at 19:54 +1100, Alexey Kardashevskiy wrote: > > +/* Page size flags for ibm,query-pe-dma-window */ > > +#define DDW_PGSIZE_4K 0x01 > > +#define DDW_PGSIZE_64K 0x02 > > +#define DDW_PGSIZE_16M 0x04 > > +#define DDW_PGSIZE_32M 0x08 > > +#define

Documentation: leds: clarify what 50% brightness means

2015-03-11 Thread Pavel Machek
I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is non-trivial and very important in case we want to do smooth blinking and color transitions. Signed-off-by: Pavel Machek diff --git a/Documentation/ABI/testing/sysfs-class-led b/Documentation/

Re: [PATCH 4/6] staging: sm750fb: Expose hw712_fillrect externally

2015-03-11 Thread Sudip Mukherjee
On Wed, Mar 11, 2015 at 01:28:43AM +, Lorenzo Stoakes wrote: > > diff --git a/drivers/staging/sm750fb/sm750_accel.c > b/drivers/staging/sm750fb/sm750_accel.c > index 4aa763b..6521c3b 100644 > --- a/drivers/staging/sm750fb/sm750_accel.c > +++ b/drivers/staging/sm750fb/sm750_accel.c > @@ -92,7

Re: [PATCH 3/6] staging: sm750fb: Make internal functions static

2015-03-11 Thread Lorenzo Stoakes
On 11 March 2015 at 09:30, Sudip Mukherjee > this is introducing a build warning, better remove this from your patch > and send a separate patch to remove the function as this function is > not used anywhere. Hi Sudip, I didn't realise I'd included the move to static in this patch. In a later pat

Re: [PATCH 4/6] staging: sm750fb: Expose hw712_fillrect externally

2015-03-11 Thread Lorenzo Stoakes
On 11 March 2015 at 09:37, Sudip Mukherjee wrote: > in your previous patch 3/6 you made it static now you are again > removing the static keyword. may i ask why you changed it in 3/6 if you > again change it back to original in this patch? There's no good reason, it's just a mistake :) I'll fix i

Re: [PATCH v3 1/2] Input: touchscreen-iproc: Add Broadcom iProc touchscreen driver

2015-03-11 Thread Paul Bolle
One nit is all I can report. On Tue, 2015-03-10 at 18:17 -0700, Jonathan Richardson wrote: > --- a/drivers/input/touchscreen/Kconfig > +++ b/drivers/input/touchscreen/Kconfig > +config TOUCHSCREEN_IPROC > + tristate "IPROC touch panel driver support" > + help > + Say Y here if you

[RFC] mm:do recheck for freeable page in reclaim path

2015-03-11 Thread Wang, Yalin
In reclaim path, if encounter a freeable page, the try_to_unmap may fail, because the page's pte is dirty, we can recheck this page as normal non-freeable page, this means we can swap out this page into swap partition. Signed-off-by: Yalin Wang --- mm/vmscan.c | 5 + 1 file changed, 5 insert

Re: [PATCH 1/6] staging: sm750fb: Use memset_io instead of memset

2015-03-11 Thread Sudip Mukherjee
On Wed, Mar 11, 2015 at 09:11:52AM +, Lorenzo Stoakes wrote: > On 11 March 2015 at 08:54, Dan Carpenter wrote: > > Btw, do you have this hardware? Are you able to test these changes? > > Unfortunately not, I am trying to keep these changes as simple code > fixes that ought not to affect actu

[PATCH v2] ARM: EXYNOS: Use platform device name as power domain name

2015-03-11 Thread Krzysztof Kozlowski
The power domain nodes in DTS may be very generic (e.g. "power-domain" for Exynos 5420) making it very hard to debug: $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary domain status slaves power-domainon Use platform device name instead so the

Re: [PATCH v2] ARM: EXYNOS: Use platform device name as power domain name

2015-03-11 Thread Chanwoo Choi
On 03/11/2015 06:54 PM, Krzysztof Kozlowski wrote: > The power domain nodes in DTS may be very generic (e.g. "power-domain" > for Exynos 5420) making it very hard to debug: > > $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary > domain status slaves > power-domain

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-11 Thread Kishon Vijay Abraham I
Hi Tony, On Tuesday 10 March 2015 02:21 AM, Tony Lindgren wrote: Add a minimal driver for dm816x USB. Otherwise we can just use the existing musb_am335x and musb_dsps on dm816x. If we can use an existing driver, I'd prefer that. Cc: Brian Hutchinson Cc: Felipe Balbi Signed-off-by: Tony Lin

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-11 Thread Michal Marek
On Sun, Mar 08, 2015 at 04:08:06PM -0700, Linus Torvalds wrote: > On Tue, Mar 3, 2015 at 5:07 PM, Valdis Kletnieks > wrote: > > > > Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps > > and forcing rebuilds even if the contents haven't changed. Add a bit of > > shell magic t

Re: [PATCH 33/45] include/uapi/asm-generic/signal.h: include stdlib.h in userspace

2015-03-11 Thread Arnd Bergmann
On Wednesday 11 March 2015 00:58:28 Mikko Rapeli wrote: > linux/kexec.h seems suspicious though: > > #ifndef __KERNEL__ > /* > * This structure is used to hold the arguments that are used when > * loading kernel binaries. > */ > struct kexec_segment { > const void *buf; > size_

Re: [PATCH v8 00/18] Tegra124 CL-DVFS / DFLL clocksource + cpufreq

2015-03-11 Thread Thierry Reding
Hi Mike, Have you had a chance to look at these changes to the Tegra clock driver? If you're fine with it, I'd like to take these patches through the Tegra tree because the rest of the series depends on them. I can provide a stable branch in case we need to base other Tegra clock changes on top of

Re: [PATCH v10 00/11] sched: consolidation of CPU capacity and usage

2015-03-11 Thread Vincent Guittot
On 27 February 2015 at 16:54, Vincent Guittot wrote: > This patchset consolidates several changes in the capacity and the usage > tracking of the CPU. It provides a frequency invariant metric of the usage of > CPUs and generally improves the accuracy of load/usage tracking in the > scheduler. The

Re: [PATCH] virtio: Remove virtio device during shutdown

2015-03-11 Thread Fam Zheng
On Wed, 03/11 10:06, Michael S. Tsirkin wrote: > On Wed, Mar 11, 2015 at 04:09:17PM +0800, Fam Zheng wrote: > > Currently shutdown is nop for virtio devices, but the core code could > > remove things behind us such as MSI-X handler etc. For example in the > > case of virtio-scsi-pci, the device may

  1   2   3   4   5   6   7   8   9   10   >