Re: [PATCH v2 2/3] PCI/MSI/Armada-370-xp: Remove arch_msi_check_device()

2014-09-17 Thread Jason Cooper
Alexander, On Sun, Sep 07, 2014 at 08:57:54PM +0200, Alexander Gordeev wrote: > Moving MSI checks from arch_msi_check_device() function to > arch_setup_msi_irqs() function makes code more compact and > allows removing unnecessary hook arch_msi_check_device() > from generic MSI code. > > Cc: Thoma

Re: [PATCH v4 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-17 Thread Lee Jones
On Wed, 17 Sep 2014, Octavian Purdila wrote: > On Wed, Sep 17, 2014 at 2:21 AM, Lee Jones wrote: > > > > On Tue, 09 Sep 2014, Octavian Purdila wrote: > > > > > This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO > > > Master Adapter DLN-2. Details about the device can be found here:

Re: [PATCH 7/7] check for O_NONBLOCK in all read_iter instances

2014-09-17 Thread Theodore Ts'o
On Wed, Sep 17, 2014 at 11:33:35AM -0400, Milosz Tanski wrote: > > My workflow has been to use git format-patch (1.7.9.5 was shipped with > my distro), edit the cover letter then use and mutt to send the > generated emails. Before that I used git apply to import the patches > that Christoph sent m

Re: [PATCH 2/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow

2014-09-17 Thread Andreas Färber
Am 17.09.2014 um 17:47 schrieb Doug Anderson: > Hi, > > On Wed, Sep 17, 2014 at 4:50 AM, Javier Martinez Canillas > wrote: >> commit 546b117fdf17 ("rtc: s3c: add support for RTC of Exynos3250 SoC") >> added an "rtc_src" DT property for the Samsung's S3C Real Time Clock >> controller that specifie

Re: [PATCH 7/7] check for O_NONBLOCK in all read_iter instances

2014-09-17 Thread Zach Brown
On Wed, Sep 17, 2014 at 09:56:11AM -0400, Benjamin LaHaise wrote: > On Wed, Sep 17, 2014 at 09:47:02AM -0400, Theodore Ts'o wrote: > ... > > % git version > > git version 2.1.0 > > > > Perhaps you and other people are using your own scripts, and not using > > git send-email? > > That would be bec

Re: [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle

2014-09-17 Thread Kishon Vijay Abraham I
Hi Greg, On Friday 12 September 2014 07:36 PM, Kishon Vijay Abraham I wrote: > Hi Greg, > > here's one more PULL REQUEST for this -rc cycle. It consists of only > three fixes one in miphy365 PHY driver and the other two in Kconfig. > > Please consider merging this in ths -rc cycle. Let me know i

Re: [PATCH v3] hwmon: ntc_thermistor: Add ntc thermistor to thermal subsystem as a sensor.

2014-09-17 Thread Guenter Roeck
On Wed, Sep 17, 2014 at 02:54:37PM +0900, Jonghwa Lee wrote: > To get more comprehensive and integrated thermal management, it adds ntc > thermistor to thermal framework as a thermal sensor. It's governed thermal > susbsystem only if it is described in DT node. Otherwise, it just notifies > tempera

Re: [PATCH] selftests/memfd: Run test on all architectures

2014-09-17 Thread David Herrmann
Hi On Wed, Sep 17, 2014 at 5:36 PM, Shuah Khan wrote: > On 09/17/2014 06:28 AM, David Herrmann wrote: >> Hi >> >> On Tue, Sep 16, 2014 at 12:59 AM, Pranith Kumar >> wrote: >>> Remove the dependence on x86 to run the memfd test. Verfied on 32-bit >>> powerpc. >>> >>> Signed-off-by: Pranith Kuma

Re: [PATCH 2/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow

2014-09-17 Thread Doug Anderson
Hi, On Wed, Sep 17, 2014 at 4:50 AM, Javier Martinez Canillas wrote: > commit 546b117fdf17 ("rtc: s3c: add support for RTC of Exynos3250 SoC") > added an "rtc_src" DT property for the Samsung's S3C Real Time Clock > controller that specifies the 32.768 kHz clock that uses the RTC as its > source

Re: [PATCH v4 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-17 Thread Lee Jones
On Wed, 17 Sep 2014, Johan Hovold wrote: > On Tue, Sep 09, 2014 at 10:24:44PM +0300, Octavian Purdila wrote: > > This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO > > Master Adapter DLN-2. Details about the device can be found here: > > > > https://www.diolan.com/i2c/i2c_interface.

Re: [PATCH V2 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control

2014-09-17 Thread Lee Jones
On Wed, 17 Sep 2014, Nishanth Menon wrote: > ti,system-power-controller is more or less the standard way of > indicating that the PMIC is the system wide power controller and hence > may be used to switch off the system. Almost ALL TI PMIC drivers and > many Maxim PMIC drivers follow the same styl

Re: [PATCH 2/7] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-17 Thread Theodore Ts'o
On Mon, Sep 15, 2014 at 04:20:37PM -0400, Milosz Tanski wrote: > New syscalls with an extra flag argument. For now all flags except for 0 are > not supported. This may fall in the category of bike-shedding, and so I apologize in advance, but I wonder if we really need readv2 and writev2 as new sys

Re: [PATCH v3 0/9] Tegra xHCI support

2014-09-17 Thread Stephen Warren
On 09/16/2014 05:51 PM, Andrew Bresticker wrote: On Tue, Sep 16, 2014 at 4:15 PM, Stephen Warren wrote: On 09/16/2014 04:46 PM, Andrew Bresticker wrote: On Tue, Sep 16, 2014 at 9:57 AM, Andrew Bresticker wrote: On Tue, Sep 16, 2014 at 8:26 AM, Stephen Warren wrote: On 09/15/2014 01:30 P

Re: [PATCH] selftests/memfd: Run test on all architectures

2014-09-17 Thread Shuah Khan
On 09/17/2014 09:39 AM, David Herrmann wrote: > Hi > > On Wed, Sep 17, 2014 at 5:36 PM, Shuah Khan wrote: >> On 09/17/2014 06:28 AM, David Herrmann wrote: >>> Hi >>> >>> On Tue, Sep 16, 2014 at 12:59 AM, Pranith Kumar >>> wrote: Remove the dependence on x86 to run the memfd test. Verfied o

Re: [PATCH] selftests/memfd: Run test on all architectures

2014-09-17 Thread Pranith Kumar
On Wed, Sep 17, 2014 at 11:36 AM, Shuah Khan wrote: > Hmm. I am seeing failures on x86_64 on top of Linus's tree > (without this patch) > > make -C tools/testing/selftests/memfd/make: Entering directory > `/lkml/linus_git_3.14/tools/testing/selftests/memfd' > gcc -D_FILE_OFFSET_BITS=64 > -I../../

Re: [PATCH] selftests/memfd: Run test on all architectures

2014-09-17 Thread Shuah Khan
On 09/17/2014 06:28 AM, David Herrmann wrote: > Hi > > On Tue, Sep 16, 2014 at 12:59 AM, Pranith Kumar wrote: >> Remove the dependence on x86 to run the memfd test. Verfied on 32-bit >> powerpc. >> >> Signed-off-by: Pranith Kumar > > Now that most archs have __NR_memfd_create, this is: > > Re

Re: [RESEND PATCH] gpio: omap: Fix interrupt names

2014-09-17 Thread Javier Martinez Canillas
Hello Linus, On Fri, Sep 5, 2014 at 9:52 PM, Nishanth Menon wrote: > When viewing the /proc/interrupts, there is no information about which > GPIO bank a specific gpio interrupt is hooked on to. This is more than a > bit irritating as such information can esily be provided back to the > user and

Re: linux-next: manual merge of the usb-gadget tree with the vfs tree

2014-09-17 Thread Felipe Balbi
On Wed, Sep 17, 2014 at 04:16:58PM +1000, Stephen Rothwell wrote: > Hi Felipe, > > Today's linux-next merge of the usb-gadget tree got a conflict in > drivers/usb/gadget/function/f_fs.c between commit 8322215aa91c ("f_fs: I can't find this commit on linux-usb. In fact, googling for it the only re

Re: [PATCH 7/7] check for O_NONBLOCK in all read_iter instances

2014-09-17 Thread Milosz Tanski
On Wed, Sep 17, 2014 at 9:56 AM, Benjamin LaHaise wrote: > On Wed, Sep 17, 2014 at 09:47:02AM -0400, Theodore Ts'o wrote: > ... >> % git version >> git version 2.1.0 >> >> Perhaps you and other people are using your own scripts, and not using >> git send-email? > > That would be because none of my

[PATCH] list_lru: get rid of ->active_nodes

2014-09-17 Thread Vladimir Davydov
The active_nodes mask allows us to skip empty nodes when walking over list_lru items from all nodes in list_lru_count/walk. However, these functions are never called from really hot paths, so it doesn't seem we need such kind of optimization there. Signed-off-by: Vladimir Davydov Cc: Dave Chinner

radeon/radeon_bios.c: clean up coding style differences in radeon_get_bios()

2014-09-17 Thread Wilfried Klaebe
radeon/radeon_bios.c: clean up coding style differences in radeon_get_bios() Signed-off-by: Wilfried Klaebe diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios.c index 6a03624..63ccb8f 100644 --- a/drivers/gpu/drm/radeon/radeon_bios.c +++ b/drivers/gpu/drm/rad

Re: blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)

2014-09-17 Thread Ming Lei
On Wed, Sep 17, 2014 at 10:22 PM, Jens Axboe wrote: > > Another way would be to ensure that the timeout handler doesn't touch hw_ctx > or tag_sets that aren't fully initialized yet. But I think this is > safer/cleaner. That may not be easy or enough to check if hw_ctx/tag_sets are fully initializ

pull request: wireless 2014-09-17

2014-09-17 Thread John W. Linville
Dave, Please pull this batch of fixes intended for the 3.17 stream... Arend van Spriel sends a trio of minor brcmfmac fixes, including a fix for a Kconfig/build issue, a fix for a crash (null reference), and a regression fix related to event handling on a P2P interface. Hante Meuleman follows-up

Re: [PATCH v5 1/3] usb: gadget: Refactor request completion

2014-09-17 Thread Felipe Balbi
On Wed, Sep 17, 2014 at 09:21:11AM +0200, Michal Sojka wrote: > All USB peripheral controller drivers called completion routines > directly. This patch moves the completion call from drivers to > usb_gadget_giveback_request(), in order to have a place where common > functionality can be added. > >

[PATCH v2 3/4] usb: hub: rename usb_kick_khubd() to usb_kick_hub_wq()

2014-09-17 Thread Petr Mladek
USB hub started to use a workqueue instead of kthread. Let's make it clear from the function names. Signed-off-by: Petr Mladek --- drivers/usb/core/hcd.c | 4 ++-- drivers/usb/core/hub.c | 2 +- drivers/usb/core/usb.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH v2 2/4] usb: hub: remove obsolete while cycle in hub_event()

2014-09-17 Thread Petr Mladek
The USB hub events are proceed by workqueue instead of kthread now. The result is that hub_event() function processes only one event. The block from the while cycle was not removed earlier to show the real changes when switching to the workqueue. When touching the code, it fixes also formatting o

[RFC 2/2] ext4: async readpage for indirect style inodes

2014-09-17 Thread Benjamin LaHaise
Hi all, And here is the version of readpage for ext3/ext4 that performs async metadata reads for old-style indirect block based ext3/ext4 filesystems. This version only includes the changes against ext4 -- the changes to ext3 are pretty much identical. This is only an RFC and has at least on

Re: [PATCH] mtd: nand: gpmi: add proper raw access support

2014-09-17 Thread Huang Shijie
On Mon, Sep 15, 2014 at 10:12:10PM +0200, Boris BREZILLON wrote: > On Mon, 15 Sep 2014 22:43:02 +0800 > Huang Shijie wrote: > > > On Sat, Sep 13, 2014 at 10:38:41AM -0700, Brian Norris wrote: > > > On Sat, Sep 13, 2014 at 11:36:24PM +0800, Huang Shijie wrote: > > > > On Fri, Sep 12, 2014 at 02:30

Re: [PATCH v3 01/12] crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code

2014-09-17 Thread Behan Webster
On 09/17/14 04:30, Herbert Xu wrote: On Wed, Sep 17, 2014 at 02:15:40PM +0300, Dmitry Kasatkin wrote: On 17/09/14 12:22, Herbert Xu wrote: On Mon, Sep 15, 2014 at 12:30:23AM -0700, beh...@converseincode.com wrote: From: Behan Webster Add a macro which replaces the use of a Variable Length Ar

Re: [PATCH v2 0/3] PCI/MSI: Remove arch_msi_check_device()

2014-09-17 Thread Thomas Petazzoni
Dear Alexander Gordeev, On Sun, 7 Sep 2014 20:57:52 +0200, Alexander Gordeev wrote: > Alexander Gordeev (3): > patch 1 - PCI/MSI/PPC: Remove arch_msi_check_device() > patch 2 - PCI/MSI/Armada-370-xp: Remove arch_msi_check_device() > patch 3 - PCI/MSI: Remove arch_msi_check_device() For th

Re: [PATCH 2/4] usb: hub: remove obsolete while cycle in hub_event()

2014-09-17 Thread Petr Mládek
On Fri 12-09-14 10:23:26, Alan Stern wrote: > On Fri, 12 Sep 2014, Petr Mladek wrote: > > > The USB hub events are proceed by workqueue instead of kthread now. > > The result is that hub_event() function processes only one event. > > The while cycle was not removed earlier to show the real changes

Re: [PATCH 1/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos Peach boards

2014-09-17 Thread Doug Anderson
Javier, On Wed, Sep 17, 2014 at 4:50 AM, Javier Martinez Canillas wrote: > commit 546b117fdf17 ("rtc: s3c: add support for RTC of Exynos3250 SoC") > added an "rtc_src" DT property for the Samsung's S3C Real Time Clock > controller that specifies the 32.768 kHz clock that uses the RTC as its > sou

Re: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-17 Thread Arnd Bergmann
On Wednesday 17 September 2014, Pankaj Dubey wrote: > --- > V2 of this patchset and related discussion can be found here [1]. > > Changes since v2: > - Added back platform device support from syscon, with one change that >syscon will not be probed for DT based platform. > - Added back syscon

RE: [PATCH v7 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-09-17 Thread Yao Yuan
On Wednesday, September 17, 2014 2:17 AM, Marek Vasut wrote: > On Wednesday, September 10, 2014 at 04:48:01 PM, Yao Yuan wrote: > > On Friday, September 05, 2014 6:41 PM, Marek Vasut wrote: > > > On Friday, September 05, 2014 at 12:32:40 PM, Yao Yuan wrote: > > > [...] > > > > > > > > > +static int

Re: [PATCH v2] watchdog: omap_wdt: Add 'early_disable' module parameter

2014-09-17 Thread Rostislav Lisovy
Hello Guenter; Thanks for the review. On Út, 2014-09-16 at 08:49 -0700, Guenter Roeck wrote: > How do you know that the watchdog was already running ? > Seems to me you are just making an assumption that it is running > without really knowing for sure. You are definitely right, however the OMAP W

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-17 Thread Borislav Petkov
On Wed, Sep 17, 2014 at 05:04:33PM +0200, Radim Krčmář wrote: > which would result in a similar if-else hack > > if (family > X) > ebx.split.max_monitor_line_size_after_family_X = 0 > else > ebx.split.max_monitor_line_size = 0 > > other options are > ebx.split.after_family_X.max

[PATCH v2 4/4] usb: hub: rename khubd to hub_wq in documentation and comments

2014-09-17 Thread Petr Mladek
USB hub has started to use a workqueue instead of kthread. Let's update the documentation and comments here and there. This patch mostly just replaces "khubd" with "hub_wq". There are only few exceptions where the whole sentence was updated. These more complicated changes can be found in the follo

Re: [PATCH] clk: tegra: Make clock initialization more robust

2014-09-17 Thread Stephen Warren
On 09/17/2014 03:34 AM, Tomeu Vizoso wrote: Don't abort clock initialization if we cannot match an entry in tegra_clk_init_table to a valid entry in the clk array. Also log a corresponding error message. This was discovered when testing a patch that removed the EMC clock from tegra124_clks but

[PATCH v2 0/4] usb: hub: convert khubd into workqueue

2014-09-17 Thread Petr Mladek
The workqueue API is well defined and tested. It has many options that could be used to tune the scheduling. The code is usually easier and thus more safe. It allows to avoid the extra thread in most cases. It has has clearly defined behavior vrt. system suspend. This patchset converts khubd into

[PATCH v2 1/4] usb: hub: convert khubd into workqueue

2014-09-17 Thread Petr Mladek
There is no need to have separate kthread for handling USB hub events. It is more elegant to use the workqueue framework. The workqueue is allocated as freezable because the original thread was freezable as well. struct usb_hub is passed via the work item. Therefore we do not need hub_event_list.

Re: [PATCH v1 for-next 00/16] On demand paging

2014-09-17 Thread Or Gerlitz
On 9/13/2014 12:16 AM, Or Gerlitz wrote: Per your request we provided the information on tests conducted with the patches. Note that the patches can't really disrupt existing applications that don't set the new IB_ACCESS_ON_DEMAND MR flag when they register memory. Also the whole set of changes

Re: [PATCH v4 14/18] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-17 Thread Catalin Marinas
On Wed, Sep 17, 2014 at 08:40:08AM +0100, Tomasz Nowicki wrote: > On 15.09.2014 18:42, Catalin Marinas wrote: > > On Mon, Sep 15, 2014 at 05:16:21PM +0100, Jon Masters wrote: > >> On 09/15/2014 11:01 AM, Catalin Marinas wrote: > >>> On Fri, Sep 12, 2014 at 03:00:12PM +0100, Hanjun Guo wrote: >

[GIT PULL] Fixes for FS-Cache/CacheFiles

2014-09-17 Thread David Howells
Hi Linus, Could you pull these fixes for FS-Cache and Cachefiles: (1) Put a timeout in releasepage() to deal with a recursive hang between the memory allocator, writeback, ext4 and fscache under memory pressure. (2) Fix a pair of refcount bugs in the fscache error handling. (3) Remove a

Re: [PATCH 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-17 Thread Heiko Stübner
Hi Chris, Am Mittwoch, 17. September 2014, 21:07:59 schrieb Chris Zhong: > Get voltage & duty table from device tree might be better, other platforms > can also use this driver without any modify. > > Signed-off-by: Chris Zhong > --- > > drivers/regulator/Kconfig |1 - > drivers/regulator

Re: [PATCH] rcu: unify boost and kthread priorities

2014-09-17 Thread Paul E. McKenney
On Wed, Sep 17, 2014 at 08:14:42AM -0500, Clark Williams wrote: > On Tue, 16 Sep 2014 13:41:56 -0700 > "Paul E. McKenney" wrote: > > > On Mon, Sep 15, 2014 at 10:05:24AM -0500, Clark Williams wrote: > > > Paul, > > > > > > Here's the result of our conversation Friday, regarding the per-CPU and >

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-17 Thread Radim Krčmář
2014-09-17 16:06+0200, Borislav Petkov: > On Wed, Sep 17, 2014 at 04:53:39PM +0300, Nadav Amit wrote: > > AFAIK backward compatibility is usually maintained in x86. I did not > > see in Intel SDM anything that says "this CPUID field means something > > for CPU X and something else for CPU Y". Anyho

Re: [RFC PATCH 0/3] PM / clock_ops: allow to specify custom pm_clk_notifier callback

2014-09-17 Thread Geert Uytterhoeven
Hi Grygorii, On Tue, Sep 9, 2014 at 3:41 PM, Grygorii Strashko wrote: >> Since you're essentially gutting clock_ops, have you considered >> migrating to genpd and having your own pm_domain ops that manage your clocks? > > Yes. I've thought about using genpd. But: > - PM domain is not merged in 3.

[PATCH V3] xen: eliminate scalability issues from initial mapping setup

2014-09-17 Thread Juergen Gross
Direct Xen to place the initial P->M table outside of the initial mapping, as otherwise the 1G (implementation) / 2G (theoretical) restriction on the size of the initial mapping limits the amount of memory a domain can be handed initially. As the initial P->M table is copied rather early during bo

[PATCH] pci: quirks: Add ACS quirk for Solarflare SFC9120 & SFC9140

2014-09-17 Thread Alex Williamson
Solarflare confirms that these devices do not allow peer-to-peer between functions. Quirk them to allow IOMMU grouping to expose this isolation. Signed-off-by: Alex Williamson Cc: Robert Stonehouse --- drivers/pci/quirks.c | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH V3] xen: remove some memory limits from pv-domains

2014-09-17 Thread Juergen Gross
When a Xen pv-domain is booted the initial memory map contains multiple objects in the top 2 GB including the initrd and the p2m list. This limits the supported maximum size of the initrd and the maximum memory size the p2m list can span is limited to about 500 GB. Xen however supports loading the

[PATCH] Revert "init: make rootdelay=N consistent with rootwait behaviour"

2014-09-17 Thread Paul Gortmaker
This reverts commit 4dfe694f616e00e6fd83e5bbcd7a3c4d7113493d. In that, we did: Here we move the rootdelay code to be right beside the rootwait code, so that their behaviour is consistent. ...which is fine, but in hindsight, perhaps moving the rootwait to be beside the rootdelay would have be

Re: [PATCH v3 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-17 Thread Alan Stern
On Wed, 17 Sep 2014, Vivek Gautam wrote: > Now that we have completely moved from older USB-PHY drivers > to newer GENERIC-PHY drivers for PHYs available with USB controllers > on Exynos series of SoCs, we can remove the support for the same > in our host drivers too. > > Signed-off-by: Vivek Gau

Re: [PATCH 22/24] perf tools: Build programs to copy 32-bit compatibility VDSOs

2014-09-17 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 16, 2014 at 09:59:33AM +0300, Adrian Hunter escreveu: > On 09/15/2014 06:50 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Sep 15, 2014 at 12:47:52PM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Fri, Aug 15, 2014 at 10:08:57PM +0300, Adrian Hunter escreveu: > >> > >>> perf tools c

Re: [PATCH v2] perf mem: improves DSO long names search speed with RB tree

2014-09-17 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 16, 2014 at 03:08:19PM -0400, Waiman Long escreveu: > +++ b/tools/perf/util/dso.c > @@ -611,17 +611,93 @@ struct dso *dso__kernel_findnew(struct machine > *machine, const char *name, > return dso; > } > > +/* > + * RB root of DSOs sorted by the long name > + */ > +static struc

[RFC 1/2] aio: async readahead

2014-09-17 Thread Benjamin LaHaise
Hi Milosz et al, This code is probably relevant to the non-blocking read thread. A non-blocking read is pretty useless without some way to trigger and become aware of data being read into the page cache, and the attached patch is one way to do so. The changes below introduce an async readahea

Re: [PATCH V2 0/3] xen: remove some memory limits from pv-domains

2014-09-17 Thread Juergen Gross
On 09/17/2014 04:43 PM, David Vrabel wrote: On 17/09/14 05:12, Juergen Gross wrote: When a Xen pv-domain is booted the initial memory map contains multiple objects in the top 2 GB including the initrd and the p2m list. This limits the supported maximum size of the initrd and the maximum memory s

Re: [Xen-devel] [PATCH V2 3/3] xen: eliminate scalability issues from initial mapping setup

2014-09-17 Thread Juergen Gross
On 09/17/2014 04:42 PM, David Vrabel wrote: On 17/09/14 15:20, Juergen Gross wrote: On 09/17/2014 04:07 PM, David Vrabel wrote: Are you missing a ClearPagePinned(..) here? Probably, yes. Jan pointed out that this is not needed. @@ -1529,6 +1604,22 @@ static pte_t __init mask_rw_pte(pte_

Re: [PATCH V2 0/3] xen: remove some memory limits from pv-domains

2014-09-17 Thread David Vrabel
On 17/09/14 05:12, Juergen Gross wrote: > When a Xen pv-domain is booted the initial memory map contains multiple > objects in the top 2 GB including the initrd and the p2m list. This > limits the supported maximum size of the initrd and the maximum > memory size the p2m list can span is limited to

Re: [Xen-devel] [PATCH V2 3/3] xen: eliminate scalability issues from initial mapping setup

2014-09-17 Thread David Vrabel
On 17/09/14 15:20, Juergen Gross wrote: > On 09/17/2014 04:07 PM, David Vrabel wrote: >> >> >> Are you missing a ClearPagePinned(..) here? > > Probably, yes. Jan pointed out that this is not needed. >>> @@ -1529,6 +1604,22 @@ static pte_t __init mask_rw_pte(pte_t *ptep, >>> pte_t pte) >>> #el

Re: rcu: Throttle rcu_try_advance_all_cbs() execution causes visible slowdown in ftrace switching

2014-09-17 Thread Steven Rostedt
On Fri, 22 Aug 2014 19:43:02 +0800 Fengguang Wu wrote: > On Fri, Aug 22, 2014 at 10:32:57AM +0200, Petr Mládek wrote: > > On Fri 2014-08-22 11:35:29, Fengguang Wu wrote: > > > Hi Petr, > > > > > > Sorry for picking up this old thread, but I noticed your attached > > > ftrace test script and woul

[PATCH 2/2] clocksource: cadence_ttc: Add support for 32bit mode

2014-09-17 Thread Michal Simek
New TTCs support 32bit mode. Older versions support only 16bit modes. Keep 16bit mode as default and 32bit optional. Signed-off-by: Michal Simek --- drivers/clocksource/cadence_ttc_timer.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/clocksource/c

[PATCH 1/2] devicetree: cadence_ttc: Document binding for timer width

2014-09-17 Thread Michal Simek
From: Peter Crosthwaite Modern TTC implementations can extend the timer width to 32 bit. This feature is not self identifying so the driver needs to be made aware via device tree. Signed-off-by: Peter Crosthwaite Signed-off-by: Michal Simek --- Documentation/devicetree/bindings/timer/cadence

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-17 Thread Andy Lutomirski
On Sep 17, 2014 1:46 AM, "H. Peter Anvin" wrote: > > On 09/16/2014 11:21 PM, Filipe Brandenburger wrote: > > Hi Andy, > > > > On Tue, Sep 16, 2014 at 10:00 PM, Andy Lutomirski > > wrote: > >> I think that the patch should instead tweak the vvar mapping to tell > >> the vdso not to use rdtsc. It

Re: 3.17-rc2: root=/dev/mmcblk0p2 command line parsing fails

2014-09-17 Thread Paul Gortmaker
[Re: 3.17-rc2: root=/dev/mmcblk0p2 command line parsing fails] On 17/09/2014 (Wed 14:20) Russell King - ARM Linux wrote: [...] > I think the problem may be 4dfe694f616e00e6fd83e5bbcd7a3c4d7113493d > ("init: make rootdelay=N consistent with rootwait behaviour") which > was merged during the recen

Re: [PATCH] ARM: dts: DRA7: Add PMU nodes

2014-09-17 Thread Nishanth Menon
On 08:39-20140903, Nishanth Menon wrote: > On 08/19/2014 08:54 AM, Nishanth Menon wrote: > > From: Lucas Weaver > > > > DRA74x and DRA72x family of processors vary slightly in the number > > of CPUs. So, add different instances of PMU for each of these processor > > groups. Further, since the int

Re: [Xen-devel] [PATCH V2 3/3] xen: eliminate scalability issues from initial mapping setup

2014-09-17 Thread Jan Beulich
>>> On 17.09.14 at 16:07, wrote: > On 17/09/14 05:12, Juergen Gross wrote: >> +static void __init xen_cleanmfnmap(unsigned long vaddr) >> +{ >> +unsigned long va = vaddr & PMD_MASK; >> +unsigned long pa; >> +pgd_t *pgd = pgd_offset_k(va); >> +pud_t *pud_page = pud_offset(pgd, 0); >

Re: [PATCH] printk: git rid of [sched_delayed] message for printk_deferred

2014-09-17 Thread Steven Rostedt
On Wed, 17 Sep 2014 16:18:16 +0200 Peter Zijlstra wrote: > On Tue, Sep 16, 2014 at 05:33:28PM -0400, Steven Rostedt wrote: > > > > printk_deffered() will be in order with other printks after your commit > > > 458df9fd4815b47809875d57f42e16401674b621. Just printing to console itself > > > will

Re: blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)

2014-09-17 Thread Jens Axboe
On 2014-09-17 07:52, Ming Lei wrote: On Wed, 17 Sep 2014 14:00:34 +0200 David Hildenbrand wrote: Does anyone have an idea? The request itself is completely filled with cc That is very weird, the 'rq' is got from hctx->tags, and rq should be valid, and rq->q shouldn't have been changed even

Re: [Xen-devel] [PATCH V2 3/3] xen: eliminate scalability issues from initial mapping setup

2014-09-17 Thread Juergen Gross
On 09/17/2014 04:07 PM, David Vrabel wrote: On 17/09/14 05:12, Juergen Gross wrote: Direct Xen to place the initial P->M table outside of the initial mapping, as otherwise the 1G (implementation) / 2G (theoretical) restriction on the size of the initial mapping limits the amount of memory a doma

Re: [PATCH v2] x86/pmc_atom: Fix warning when CONFIG_DEBUG_FS=n

2014-09-17 Thread Martin Kelly
On 09/17/2014 05:24 AM, Ingo Molnar wrote: > > Just to paint the bike shed a bit, this could be further > simplified to something like: > > ... > > ret = pmc_dbgfs_register(pmc, pdev); > if (ret) > iounmap(pmc->regmap); > > return ret; > > and then your p

Re: [PATCH] printk: git rid of [sched_delayed] message for printk_deferred

2014-09-17 Thread Peter Zijlstra
On Tue, Sep 16, 2014 at 05:33:28PM -0400, Steven Rostedt wrote: > > printk_deffered() will be in order with other printks after your commit > > 458df9fd4815b47809875d57f42e16401674b621. Just printing to console itself > > will be delayed to the next timer interrupt. Or am I missing something? >

[PATCH v3] x86/pmc_atom: Fix warning when CONFIG_DEBUG_FS=n

2014-09-17 Thread Martin Kelly
When compiling with CONFIG_DEBUG_FS=n, gcc emits an unused variable warning for pmc_atom.c because "ret" is used only within the CONFIG_DEBUG_FS block. This patch adds a dummy #ifdef for pmc_dbgfs_register when CONFIG_DEBUG_FS=n to simplify the code and remove the warning. Signed-off-by: Martin Ke

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-17 Thread Borislav Petkov
On Wed, Sep 17, 2014 at 04:53:39PM +0300, Nadav Amit wrote: > AFAIK backward compatibility is usually maintained in x86. I did not > see in Intel SDM anything that says "this CPUID field means something > for CPU X and something else for CPU Y". Anyhow, it is not different > than bitmasks in this r

Re: [PATCH - v4] PCI: keystone: add a pci quirk to limit mrrs

2014-09-17 Thread Murali Karicheri
On 09/16/2014 05:54 PM, Bjorn Helgaas wrote: On Mon, Sep 08, 2014 at 01:03:34PM -0400, Murali Karicheri wrote: Keystone PCI controller has a limitation that memory read request size must not exceed 256 bytes. This is a hardware limitation and add a quirk to force this limit on all downstream dev

Re: [PATCH 0/3] x86: structs for cpuid info in x86

2014-09-17 Thread Peter Zijlstra
On Wed, Sep 17, 2014 at 02:37:10PM +0200, Ingo Molnar wrote: > If hpa, tglx or Linus objects I'll yield to that objection > though. > > Opinions, objections? They generally look fine to me. I appreciate the bitfields for readability. I often use the same when having to deal with hardware bitfiel

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-17 Thread Peter Zijlstra
On Wed, Sep 17, 2014 at 03:54:12PM +0300, Nadav Amit wrote: > Adding structs that reflect various cpuid fields in x86 architecture. Structs > were added only for functions that are not pure bitmaps. > > Signed-off-by: Nadav Amit > --- > arch/x86/include/asm/cpuid_def.h | 163 > +

Re: blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)

2014-09-17 Thread David Hildenbrand
> On Wed, 17 Sep 2014 14:00:34 +0200 > David Hildenbrand wrote: > > > > >>> Does anyone have an idea? > > > >>> The request itself is completely filled with cc > > > >> > > > >> That is very weird, the 'rq' is got from hctx->tags, and rq should be > > > >> valid, and rq->q shouldn't have been ch

Re: [PATCH v2] perf mem: improves DSO long names search speed with RB tree

2014-09-17 Thread Waiman Long
On 09/17/2014 02:22 AM, Adrian Hunter wrote: On 09/16/2014 10:08 PM, Waiman Long wrote: With workload that spawns and destroys many threads and processes, it was found that perf-mem could took a long time to post-process the perf data after the target workload had completed its operation. The pe

Re: [Xen-devel] [PATCH V2 3/3] xen: eliminate scalability issues from initial mapping setup

2014-09-17 Thread David Vrabel
On 17/09/14 05:12, Juergen Gross wrote: > Direct Xen to place the initial P->M table outside of the initial > mapping, as otherwise the 1G (implementation) / 2G (theoretical) > restriction on the size of the initial mapping limits the amount > of memory a domain can be handed initially. > > As the

Re: [PATCH 00/24] MIPS GIC cleanup, part 1

2014-09-17 Thread Jason Cooper
Andrew, First, great work! On Mon, Sep 15, 2014 at 04:51:03PM -0700, Andrew Bresticker wrote: > The current MIPS GIC driver and the platform code using it are rather > ugly and could use a good cleanup before adding device-tree support [0]. > This major issues addressed in this series are convert

Re: [PATCH] vfs: workaround gcc <4.6 build error in link_path_walk()

2014-09-17 Thread James Hogan
On 16/09/14 18:39, Al Viro wrote: > On Tue, Sep 16, 2014 at 01:07:35PM +0100, James Hogan wrote: >> Commit d6bb3e9075bb (vfs: simplify and shrink stack frame of >> link_path_walk()) introduced build problems with GCC versions older than >> 4.6 due to the initialisation of a member of an anonymous u

Re: [Xen-devel] [PATCH V2 2/3] xen: eliminate scalability issues from initrd handling

2014-09-17 Thread Juergen Gross
On 09/17/2014 03:45 PM, David Vrabel wrote: On 17/09/14 05:12, Juergen Gross wrote: Size restrictions native kernels wouldn't have resulted from the initrd getting mapped into the initial mapping. The kernel doesn't really need the initrd to be mapped, so use infrastructure available in Xen to a

[PATCHv2] pinctrl: baytrail: Clear DIRECT_IRQ bit

2014-09-17 Thread Loic Poulain
Direct Irq En bit can be initialized to a bad value. This bit has to be cleared for io access mode. Signed-off-by: Loic Poulain --- v2: Apply over ff998356b644ebe723127bd9eec6040b59a4a4f6 + add Warning drivers/pinctrl/pinctrl-baytrail.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

Re: [PATCH 7/7] check for O_NONBLOCK in all read_iter instances

2014-09-17 Thread Benjamin LaHaise
On Wed, Sep 17, 2014 at 09:47:02AM -0400, Theodore Ts'o wrote: ... > % git version > git version 2.1.0 > > Perhaps you and other people are using your own scripts, and not using > git send-email? That would be because none of my systems have git 2.1.0 on them. Fedora (and EPEL) appear to still

Re: [PATCH 1/1] bluetooth: Check for SCO type before setting retransmission effort

2014-09-17 Thread Marcel Holtmann
Hi Bernhard, > SCO connection cannot be setup to devices that do not support retransmission. > Patch based on http://permalink.gmane.org/gmane.linux.bluez.kernel/7779 and > adapted for this kernel version. > Code changed to check SCO/eSCO type before setting retransmission effort > and max. laten

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-17 Thread Nadav Amit
Boris, Thanks for you comments - please see inline. On Wed, Sep 17, 2014 at 4:21 PM, Borislav Petkov wrote: > On Wed, Sep 17, 2014 at 03:54:12PM +0300, Nadav Amit wrote: >> Adding structs that reflect various cpuid fields in x86 architecture. Structs >> were added only for functions that are not

Re: blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)

2014-09-17 Thread Ming Lei
On Wed, 17 Sep 2014 14:00:34 +0200 David Hildenbrand wrote: > > >>> Does anyone have an idea? > > >>> The request itself is completely filled with cc > > >> > > >> That is very weird, the 'rq' is got from hctx->tags, and rq should be > > >> valid, and rq->q shouldn't have been changed even thoug

Re: [PATCH] pinctrl: baytrail: Clear DIRECT_IRQ bit

2014-09-17 Thread Loic Poulain
Do you think a WARN necessary before clearing the bit? Regards, Loic On 17/09/2014 15:18, Mathias Nyman wrote: On 09/17/2014 03:30 PM, Loic Poulain wrote: Direct Irq En bit can be initialized to a bad value. This bit has to be cleared for io access mode. Signed-off-by: Loic Poulain --- dri

[PATCH] MAINTAINERS: Add maintainers entry for Mediatek SoCs

2014-09-17 Thread Matthias Brugger
I plan to stay with the Mediatek SoCs for the near future and hope to expand its support along the way with the help of a whole bunch of people. Signed-off-by: Matthias Brugger --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 63c1b0f

Re: [PATCH v3 02/12] btrfs: LLVMLinux: Remove VLAIS

2014-09-17 Thread Chris Mason
On 09/15/2014 03:30 AM, beh...@converseincode.com wrote: > From: Vinícius Tinti > > Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 > compliant equivalent. This is the original VLAIS struct. > > struct { > struct shash_desc shash; > char ctx[crypto_shash_de

Re: [PATCH 7/7] check for O_NONBLOCK in all read_iter instances

2014-09-17 Thread Theodore Ts'o
On Wed, Sep 17, 2014 at 08:24:48AM -0400, Benjamin LaHaise wrote: > > Linus flamed me for that a few weeks ago. The problem is that if one > uses "git format-patch" to prepare a series of emails to post, that it > users the patch's author for the From: entry. I think that is a bug > in git si

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-17 Thread Filipe Brandenburger
Hi, On Wed, Sep 17, 2014 at 1:46 AM, H. Peter Anvin wrote: > Why would we need/want per process vvar contents? It seems better to > have the code swapped out. We are looking at the migration use case (CRIU). In specific, we want to make CLOCK_MONOTONIC keep the "monotonic" promise after migrat

Re: 3.17-rc2: root=/dev/mmcblk0p2 command line parsing fails

2014-09-17 Thread Russell King - ARM Linux
On Wed, Sep 17, 2014 at 02:20:02PM +0100, Russell King - ARM Linux wrote: > On Tue, Sep 09, 2014 at 01:49:41PM +0200, Pavel Machek wrote: > > Bisect would be hard... and I believe the problem is somewhere in > > block layer now -- not socfpga-specific. > > [Adding those on the commit mentioned bel

Re: [PATCH v3 0/9] Tegra xHCI support

2014-09-17 Thread Mikko Perttunen
On 09/17/2014 01:40 AM, Stephen Warren wrote: That's a huge time-sink, unless I work out NFS root, which probably isn't properly or easily supported by any distro. FWIW, this is how I've been working, and it hasn't been /that/ difficult to get working. The Tegra side is trivial, just append so

Re: [PATCH] serial: cadence: Add generic earlycon support

2014-09-17 Thread Michal Simek
Hi Greg, On 09/10/2014 12:43 PM, Michal Simek wrote: > Add earlycon support for the cadence serial port. > This is based on recent patches: > "tty/serial: pl011: add generic earlycon support" > (sha1: 0d3c673e7881e691991b2a4745bd4f149603baa2) > "tty/serial: add arm/arm64 semihosting earlycon" > (s

Re: [Xen-devel] [PATCH V2 2/3] xen: eliminate scalability issues from initrd handling

2014-09-17 Thread David Vrabel
On 17/09/14 05:12, Juergen Gross wrote: > Size restrictions native kernels wouldn't have resulted from the initrd > getting mapped into the initial mapping. The kernel doesn't really need > the initrd to be mapped, so use infrastructure available in Xen to avoid > the mapping and hence the restrict

Re: [PATCH 3/8] ARM: tegra: Add PLL_M_UD and PLL_C_UD to tegra124-car binding header

2014-09-17 Thread Peter De Schrijver
On Mon, Aug 25, 2014 at 07:41:56PM +0200, Stephen Warren wrote: > On 07/11/2014 08:18 AM, Mikko Perttunen wrote: > > Add these clocks to the binding header so that EMC timings that have > > them as parent can refer to the clocks. > > Peter, I assume this patch (and patch 4/8 too) will be needed by

Re: kernel BUG at fs/dcache.c (3.17-rc4/5)

2014-09-17 Thread Marc Dietrich
Hi Trond, Am Mittwoch, 17. September 2014, 09:21:05 schrieb Trond Myklebust: > On Wed, Sep 17, 2014 at 9:05 AM, Marc Dietrich wrote: > > Hi, > > > > I get this roughly once in a week. Hard to reproduce. > > > > Sep 17 14:44:21 fb07-iapwap2 kernel: [ cut here ] > > Sep 17 1

[v2 PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-09-17 Thread Roman Pen
The thing is that built-in modules are being inited before rootfs mount. Some of the modules can request firmware loading from another thread using async 'request_firmware_nowait' call on inition, so we can catch this kind of race: rootfs does not exist yet, but we are going to open and load

Re: [RFC] arm: Handle starting up in secure mode

2014-09-17 Thread Christopher Covington
On 09/16/2014 05:24 PM, Christopher Covington wrote: > On 09/16/2014 05:09 PM, Christopher Covington wrote: >> ARM Linux currently has the most features available to it in hypervisor >> (HYP) mode, so switch to it when possible. This can also ensure proper >> reset of newer registers such as CNTVOF

<    1   2   3   4   5   6   7   8   >