[PATCH 0/2] [GIT PULL] tracing: Fix RCU warnings in stack tracer

2015-10-22 Thread Steven Rostedt
Linus, Running tests on other changes, the system locked up due to lots of warnings. It was caused by the stack tracer triggering a warning about using rcu_dereference() when RCU was not watching. This can happen due to the fact that the stack tracer uses the function tracer to check each functio

Re: [PATCH] net: phy: dp83848: Add TI DP83848 Ethernet PHY

2015-10-22 Thread David Miller
From: "Andrew F. Davis" Date: Tue, 20 Oct 2015 16:28:57 -0500 > Add support for the TI DP83848 Ethernet PHY device. > > The DP83848 is a highly reliable, feature rich, IEEE 802.3 compliant > single port 10/100 Mb/s Ethernet Physical Layer Transceiver supporting > the MII and RMII interfaces. >

Re: [PATCH 14/23] userfaultfd: wake pending userfaults

2015-10-22 Thread Andrea Arcangeli
On Thu, Oct 22, 2015 at 02:10:56PM +0200, Peter Zijlstra wrote: > On Thu, May 14, 2015 at 07:31:11PM +0200, Andrea Arcangeli wrote: > > @@ -255,21 +259,23 @@ int handle_userfault(struct vm_area_struct *vma, > > unsigned long address, > > * through poll/read(). > > */ > > __add_wait_q

Re: [PATCH 0/4] add missing of_node_put

2015-10-22 Thread Julia Lawall
On Thu, 22 Oct 2015, Rob Herring wrote: > +Russell who raised issues with these iterators recently. > > On Thu, Oct 22, 2015 at 4:02 AM, Julia Lawall wrote: > > The various for_each device_node iterators performs an of_node_get on each > > iteration, so a break out of the loop requires an of_no

Re: [PATCH v11 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-10-22 Thread Rob Herring
On Thu, Oct 22, 2015 at 4:27 AM, Ley Foon Tan wrote: > This patch adds the bindings for Altera PCIe host controller driver and > Altera PCIe MSI driver. > > Signed-off-by: Ley Foon Tan Acked-by: Rob Herring > --- > .../devicetree/bindings/pci/altera-pcie-msi.txt| 28 + > .../d

Re: [PATCH v3 12/15] scsi: ufs: reduce the interrupts for power mode change requests

2015-10-22 Thread Akinobu Mita
2015-10-21 23:57 GMT+09:00 Akinobu Mita : > 2015-09-02 19:13 GMT+09:00 Yaniv Gardi : >> DME commands such as Hibern8 enter/exit and gear switch generate 2 >> completion interrupts, one for confirmation that command is received >> by local UniPro and 2nd one is the final confirmation after communica

Re: [PATCH v2] firewire: Replace timeval with timespec64

2015-10-22 Thread Stefan Richter
On Oct 22 Arnd Bergmann wrote: > On Thursday 22 October 2015 04:05:00 Amitoj Kaur Chawla wrote: [...] > Reviewed-by: Arnd Bergmann > > (adding the y2038 mailing list as well) > > > Changes in v2: > > -Replaced timespec with timspec64 > > -Modified commit message > > -Used

Re: [PATCH] printk: Don't discard earlier unprinted messages to make space

2015-10-22 Thread David Howells
Petr Mladek wrote: > I would expect that the first few messages are printed to the console > before the buffer is wrapped. IMHO, in many cases, you are interested > into the final messages that describe why the system went down. The last message might tell you that the machine panicked because t

Re: [PATCH 0/3] Refactor nested mdiobus read/write functions

2015-10-22 Thread Andrew Lunn
On Thu, Oct 22, 2015 at 10:37:45AM +0200, Neil Armstrong wrote: > In order to avoid locked signal false positive for nested mdiobus > read/write calls, nested code was introduced in mv88e6xxx and > mdio-mux. > But mv88e6060 also needs such nested mdiobus read/write calls. > For sake of refactoring,

Re: [PATCH v2] firewire: Replace timeval with timespec64

2015-10-22 Thread Arnd Bergmann
On Thursday 22 October 2015 15:07:50 Stefan Richter wrote: > Looks fine to me, but I have a question. It was possibly already > discussed at patch v1, though that was apparently not posted to an open > list. > > include/linux/timekeeping.h says: > #define ktime_get_real_ts64(ts) getnstimeofday64(

Re: [PATCH v2 2/2] i2c: at91: manage unexpected RXRDY flag when starting a transfer

2015-10-22 Thread Wolfram Sang
On Wed, Oct 21, 2015 at 03:44:04PM +0200, Ludovic Desroches wrote: > In some cases, we could start a new i2c transfer with the RXRDY flag > set. It is not a clean state and it leads to print annoying error > messages even if there no real issue. The cause is only having garbage > data in the Receiv

Re: [PATCH v2 1/2] i2c: at91: fix write transfers by clearing pending interrupt first

2015-10-22 Thread Wolfram Sang
On Wed, Oct 21, 2015 at 03:44:03PM +0200, Ludovic Desroches wrote: > From: Cyrille Pitchen > > In some cases a NACK interrupt may be pending in the Status Register (SR) > as a result of a previous transfer. However at91_do_twi_transfer() did not > read the SR to clear pending interruptions before

Re: [Qemu-devel] [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 07:01:01AM -0600, Alex Williamson wrote: > On Thu, 2015-10-22 at 15:32 +0300, Michael S. Tsirkin wrote: > > On Wed, Oct 21, 2015 at 01:20:27PM -0600, Alex Williamson wrote: > > > The trouble here is that the VF needs to be unplugged prior to the start > > > of migration beca

Re: [Qemu-devel] [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-22 Thread Alex Williamson
On Thu, 2015-10-22 at 15:32 +0300, Michael S. Tsirkin wrote: > On Wed, Oct 21, 2015 at 01:20:27PM -0600, Alex Williamson wrote: > > The trouble here is that the VF needs to be unplugged prior to the start > > of migration because we can't do effective dirty page tracking while the > > device is con

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-22 Thread Tomeu Vizoso
On 22 October 2015 at 00:51, Scott Wood wrote: > On Wed, 2015-10-21 at 08:44 -0500, Rob Herring wrote: >> On Wed, Oct 21, 2015 at 12:54 AM, Scott Wood >> wrote: >> > On Mon, 2015-09-21 at 16:03 +0200, Tomeu Vizoso wrote: >> > > Instead of trying to match and probe platform and AMBA devices right

Re: [PATCHv2] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-22 Thread Anand Moon
hi Krzysztof, On 22 October 2015 at 06:31, Krzysztof Kozlowski wrote: > On 20.10.2015 21:56, Anand Moon wrote: >> Changes need for host controller to detect UHS-I highspeed cards. >> Changes in VDDQ_MMC2 voltage range help scale >> the required voltage to detect and load the microSD cards. > > Th

Re: [PATCH 0/4] add missing of_node_put

2015-10-22 Thread Rob Herring
+Russell who raised issues with these iterators recently. On Thu, Oct 22, 2015 at 4:02 AM, Julia Lawall wrote: > The various for_each device_node iterators performs an of_node_get on each > iteration, so a break out of the loop requires an of_node_put. Thanks for this. Are there any plans to us

Re: [RFC PATCH] dt: Tegra XUSB padctl: per-lane PHYs and USB lane map

2015-10-22 Thread Mikko Perttunen
On 10/20/2015 06:56 PM, Stephen Warren wrote: ... In drivers/pci/host/pci-tegra.c tegra_pcie_get_resources() I see a call to devm_phy_optional_get(). The SATA driver doesn't seem to do anything with phys at the moment, although tegra124.dtsi does put phy-related properties into the SATA DT node

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-22 Thread Tomeu Vizoso
On 22 October 2015 at 03:06, Rafael J. Wysocki wrote: > On Monday, September 21, 2015 04:02:44 PM Tomeu Vizoso wrote: >> Walks the OF tree up and finds the closest ancestor that has a struct >> device associated with it, probing it if isn't bound to a driver yet. >> >> The above should ensure that

Re: [PATCH v6 03/22] of/platform: Point to struct device from device node

2015-10-22 Thread Tomeu Vizoso
On 22 October 2015 at 03:02, Rafael J. Wysocki wrote: > On Monday, September 21, 2015 04:02:43 PM Tomeu Vizoso wrote: >> When adding platform and AMBA devices, set the device node's device >> member to point to it. >> >> This speeds lookups considerably and is safe because we only create one >> of

Re: [RFC Patch 08/12] IXGBEVF: Rework code of finding the end transmit desc of package

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 12:37:40AM +0800, Lan Tianyu wrote: > When transmit a package, the end transmit desc of package > indicates whether package is sent already. Current code records > the end desc's pointer in the next_to_watch of struct tx buffer. > This code will be broken if shifting desc ri

Re: [PATCH net-next v3 0/6] net: dsa: implement port_fdb_dump in drivers

2015-10-22 Thread David Miller
From: Vivien Didelot Date: Tue, 20 Oct 2015 12:17:20 -0400 > Not all switch chips provide a Get Next kind of operation to dump FDB entries. > It is preferred to let the driver handle the dump operation the way it works > best for the chip. Thus, drop port_fdb_getnext and implement the port_fdb_du

Re: [PATCH v2] wait: add comment before waitqueue_active noting memory barrier is required

2015-10-22 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 08:01:37AM +, Kosuke Tatsukawa wrote: Its somewhat unfortunate you chose the whole wait_woken() thing, its 'rare'. > Second, on the waiting thread side, the CPU can reorder the load of > CONDITION to occur during add_wait_queue active, before the entry is > added to th

Re: [Qemu-devel] [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 12:37:32AM +0800, Lan Tianyu wrote: > This patchset is to propose a new solution to add live migration support for > 82599 > SRIOV network card. > > Im our solution, we prefer to put all device specific operation into VF and > PF driver and make code in the Qemu more gener

Re: [PATCH 2/2] Fixed Trivial Warnings in file: Deleted Spaces prior to tabs, and added lines. modified: kernel/auditfilter.c

2015-10-22 Thread Richard Guy Briggs
On 15/10/21, Scott Matheina wrote: > On 10/21/2015 09:15 PM, Richard Guy Briggs wrote: > > On 15/10/21, Scott Matheina wrote: > >> On 10/21/2015 10:33 AM, Richard Guy Briggs wrote: > >>> On 15/10/21, Joe Perches wrote: > On Mon, 2015-10-19 at 12:10 -0400, Richard Guy Briggs wrote: > > On 1

Re: [Qemu-devel] [RFC Patch 05/12] IXGBE: Add new sysfs interface of "notify_vf"

2015-10-22 Thread Michael S. Tsirkin
On Wed, Oct 21, 2015 at 01:52:48PM -0700, Alexander Duyck wrote: > Also have you even considered the MSI-X configuration on the VF? I haven't > seen anything anywhere that would have migrated the VF's MSI-X configuration > from BAR 3 on one system to the new system. Hypervisors do this for virtua

Re: [Qemu-devel] [RFC Patch 06/12] IXGBEVF: Add self emulation layer

2015-10-22 Thread Michael S. Tsirkin
On Wed, Oct 21, 2015 at 01:58:19PM -0700, Alexander Duyck wrote: > On 10/21/2015 09:37 AM, Lan Tianyu wrote: > >In order to restore VF function after migration, add self emulation layer > >to record regs' values during accessing regs. > > > >Signed-off-by: Lan Tianyu > >--- > > drivers/net/ethern

Re: [Y2038] [PATCH v2] ide: pdc202xx_new: Replace timeval with ktime_t

2015-10-22 Thread Arnd Bergmann
On Thursday 22 October 2015 18:15:50 Amitoj Kaur Chawla wrote: > This driver uses 'struct timeval' which we are trying to remove since > 32 bit time types will break in the year 2038 by replacing it with > ktime_t. > > This patch changes do_gettimeofday() to ktime_get() because > ktime_get() retur

Re: [RFC Patch 09/12] IXGBEVF: Add live migration support for VF driver

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 12:37:41AM +0800, Lan Tianyu wrote: > To let VF driver in the guest to know migration status, Qemu will > fake PCI configure reg 0xF0 and 0xF1 to show migrate status and > get ack from VF driver. I guess this works for current devices but not using 0xF0/0xF1 registers is no

[PATCH v2] ide: pdc202xx_new: Replace timeval with ktime_t

2015-10-22 Thread Amitoj Kaur Chawla
This driver uses 'struct timeval' which we are trying to remove since 32 bit time types will break in the year 2038 by replacing it with ktime_t. This patch changes do_gettimeofday() to ktime_get() because ktime_get() returns a ktime_t while do_gettimeofday() returns struct timeval. This patch al

[PATCH v2] iio: accel: add support for Memsic MXC6255XC sensor

2015-10-22 Thread Teodora Baluta
This patch adds a minimal implementation for the Memsic MXC6255XC orientation sensing accelerometer. The supported operations are reading raw acceleration values for X/Y axis that can be scaled using the exposed scale. Signed-off-by: Teodora Baluta --- Changes since v1: - remove scale_available

Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu

2015-10-22 Thread Thomas Gleixner
On Thu, 22 Oct 2015, Russell King - ARM Linux wrote: > On Thu, Oct 22, 2015 at 06:56:29PM +0800, Yang Yingliang wrote: > > I described it in v2 cover letter and kept the change history in v6 > > cover letter. There is no comment on the change when patch the was > > reviewing in v2, so I thought it'

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-22 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 08:30:36PM +0800, Wangnan (F) wrote: > I have a question on inherit, not related to this patch: > Is it safe for perf to disable attr->inherit if the event is system wide? > I haven't read relate code completely. In my current knowledge the behavior > of a system wide perf e

Re: [RFC Patch 10/12] IXGBEVF: Add lock to protect tx/rx ring operation

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 12:37:42AM +0800, Lan Tianyu wrote: > Ring shifting during restoring VF function maybe race with original > ring operation(transmit/receive package). This patch is to add tx/rx > lock to protect ring related data. > > Signed-off-by: Lan Tianyu That's adding a bunch of loc

Re: [PATCH] printk: Don't discard earlier unprinted messages to make space

2015-10-22 Thread David Woodhouse
On Thu, 2015-10-22 at 14:18 +0200, Jan Kara wrote: > > > > > What happened to it? And how do we fix it? > > Hard to fix since you'd easily get RCU stalls and softlockup messages on > systems with lots of CPUs and heavy printk traffic... If we have to explicitly opt in to synchronous output, the

Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller'

2015-10-22 Thread Namhyung Kim
On Thu, Oct 22, 2015 at 5:46 PM, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > >> > 5) --no-children >> > >> > I agree that 'perf top -g --no-children' looks more intuitive than 'perf >> > top -g'. >> >> So, what do you propose, to switch back the default to --no-children, for >> b

Re: [RFC Patch 11/12] IXGBEVF: Migrate VF statistic data

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 12:37:43AM +0800, Lan Tianyu wrote: > VF statistic regs are read-only and can't be migrated via writing back > directly. > > Currently, statistic data returned to user space by the driver is not equal > to value of statistic regs. VF driver records value of statistic regs a

Re: [PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-10-22 Thread Linus Walleij
On Tue, Oct 20, 2015 at 6:32 PM, Maxime Coquelin wrote: > 2015-10-20 12:06 GMT+02:00 Daniel Thompson : >> On 17/10/15 18:23, Maxime Coquelin wrote: >> I suggesting that, like with the clock driver, there is no need to the >> STM32F429_PAXX_FUNC_YYY macros at all. >> >> Given the way you can enume

Re: [Qemu-devel] [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-22 Thread Michael S. Tsirkin
On Wed, Oct 21, 2015 at 01:20:27PM -0600, Alex Williamson wrote: > The trouble here is that the VF needs to be unplugged prior to the start > of migration because we can't do effective dirty page tracking while the > device is connected and doing DMA. That's exactly what patch 12/12 is trying to a

Re: [RFC Patch 12/12] IXGBEVF: Track dma dirty pages

2015-10-22 Thread Michael S. Tsirkin
On Thu, Oct 22, 2015 at 12:37:44AM +0800, Lan Tianyu wrote: > Migration relies on tracking dirty page to migrate memory. > Hardware can't automatically mark a page as dirty after DMA > memory access. VF descriptor rings and data buffers are modified > by hardware when receive and transmit data. To

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-22 Thread Wangnan (F)
On 2015/10/22 6:58, Alexei Starovoitov wrote: [SNIP] diff --git a/kernel/bpf/arraymap.c b/kernel/bpf/arraymap.c index e3cfe46b074f..75529cc94304 100644 --- a/kernel/bpf/arraymap.c +++ b/kernel/bpf/arraymap.c @@ -294,10 +294,11 @@ static void *perf_event_fd_array_get_ptr(struct bpf_map *map, i

Re: [PATCH] printk: Don't discard earlier unprinted messages to make space

2015-10-22 Thread Petr Mladek
Added Andrew into CC who maintains printk() code. On Thu 2015-10-22 11:16:50, David Howells wrote: > printk() currently discards earlier messages to make space for new messages > arriving. This has the distinct downside that if the kernel starts > churning out messages because of some initial inc

Re: [PATCH v2 3/6] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-22 Thread Eric Auger
On 10/22/2015 02:09 PM, Arnd Bergmann wrote: > On Thursday 22 October 2015 13:54:42 Eric Auger wrote: >> On 10/22/2015 12:13 PM, Arnd Bergmann wrote: >>> On Thursday 22 October 2015 11:41:59 Eric Auger wrote: This patch adds the reset function registration/unregistration. Signed-off-

Re: [PATCH] mm: memcontrol: eliminate root memory.current

2015-10-22 Thread Johannes Weiner
On Thu, Oct 22, 2015 at 11:07:56AM +0200, Michal Hocko wrote: > On Wed 21-10-15 14:49:54, Johannes Weiner wrote: > > memory.current on the root level doesn't add anything that wouldn't be > > more accurate and detailed using system statistics. It already doesn't > > include slabs, and it'll be a pa

Re: [PATCH v2 6/6] vfio: platform: move get/put reset at open/release

2015-10-22 Thread Eric Auger
On 10/22/2015 02:05 PM, Arnd Bergmann wrote: > On Thursday 22 October 2015 13:40:16 Eric Auger wrote: >> On 10/22/2015 12:29 PM, Arnd Bergmann wrote: >>> On Thursday 22 October 2015 11:42:02 Eric Auger wrote: Currently reset lookup is done on probe. This introduces a race with new registr

Re: [PATCH 00/19] staging/wilc1000 cleanups

2015-10-22 Thread Arnd Bergmann
On Wednesday 21 October 2015 19:06:52 glen lee wrote: > Hi arnd, > > Thanks for the all the patches. > About the patch ( use proper naming for global symbols ), > We are planning to use this driver not only for wilc1000 but also for > other atmel wireless driver. I'd appreciate if you could use w

Re: [PATCH 9/9] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2015-10-22 Thread Michal Marek
On 2015-10-22 14:14, Prarit Bhargava wrote: > On 10/22/2015 08:06 AM, Michal Marek wrote: >> It used to require a closing parenthesis, so it would not match the >> multiline macro invocations at all. Now it matches them, but ctags >> correctly warns that the empty string is probably not what we int

Re: [RESEND PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver

2015-10-22 Thread Anatolij Gustschin
On Tue, 20 Oct 2015 16:04:12 +0100 Luis de Bethencourt wrote: > From: Luis de Bethencourt > > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- > arch/powerpc/platf

Re: [RFC/PATCH 3/3] perf tools: Defaults to 'caller' callchain order only if --children is enabled

2015-10-22 Thread Frederic Weisbecker
On Thu, Oct 22, 2015 at 04:38:44PM +0900, Namhyung Kim wrote: > Hi Ingo, > > On Thu, Oct 22, 2015 at 4:32 PM, Ingo Molnar wrote: > > > > * Namhyung Kim wrote: > > > >> The caller callchain order is useful with --children option since it can > >> show 'overview' style output, but other commands w

Re: [PATCH 2/3] perf top: Support call-graph display options also

2015-10-22 Thread Namhyung Kim
On Thu, Oct 22, 2015 at 5:23 PM, Ingo Molnar wrote: > > * Namhyung Kim wrote: > >> Currently 'perf top --call-graph' option is same as 'perf record'. But >> 'perf top' also need to receive display options in 'perf report'. To do >> that, change parse_callchain_report_opt() to allow record optio

Re: [RFC/PATCH 3/3] perf tools: Defaults to 'caller' callchain order only if --children is enabled

2015-10-22 Thread Frederic Weisbecker
On Thu, Oct 22, 2015 at 03:28:50PM +0900, Namhyung Kim wrote: > The caller callchain order is useful with --children option since it can > show 'overview' style output, but other commands which don't use > --children feature like 'perf script' or even 'perf report/top' without > --children are be

Re: [PATCH] printk: Don't discard earlier unprinted messages to make space

2015-10-22 Thread Jan Kara
On Thu 22-10-15 11:28:47, David Woodhouse wrote: > On Thu, 2015-10-22 at 11:16 +0100, David Howells wrote: > > printk() currently discards earlier messages to make space for new messages > > arriving. This has the distinct downside that if the kernel starts > > churning out messages because of som

Re: [PATCH 9/9] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2015-10-22 Thread Prarit Bhargava
On 10/22/2015 08:06 AM, Michal Marek wrote: > On 2015-10-22 13:31, Prarit Bhargava wrote: >> >> >> On 10/21/2015 03:52 PM, Michal Marek wrote: >>> Dne 21.10.2015 v 21:27 Prarit Bhargava napsal(a): On 10/15/2015 04:16 PM, Michal Marek wrote: > Otherwise make tags can't parse them: > >

Re: [PATCH 1/3] perf tools: Move callchain help messages to callchain.h

2015-10-22 Thread Namhyung Kim
On Thu, Oct 22, 2015 at 5:02 PM, Ingo Molnar wrote: > > * Namhyung Kim wrote: > >> +#define CALLCHAIN_HELP "setup and enables call-graph (stack >> chain/backtrace) recording: " >> + >> +#ifdef HAVE_DWARF_UNWIND_SUPPORT >> +#define CALLCHAIN_RECORD_HELP CALLCHAIN_HELP "fp dwarf lbr" >> +#else >>

Re: Generic DT binding for IPIs

2015-10-22 Thread Jason Cooper
On Thu, Oct 22, 2015 at 11:44:16AM +0100, Qais Yousef wrote: > Is there anything more I can do to get more attention about this? I > think Marc's suggestion is more generic and future proof, if I send > RFC patches for that would this be better? Please do. thx, Jason. -- To unsubscribe from this

Re: [PATCH 14/23] userfaultfd: wake pending userfaults

2015-10-22 Thread Peter Zijlstra
On Thu, May 14, 2015 at 07:31:11PM +0200, Andrea Arcangeli wrote: > @@ -255,21 +259,23 @@ int handle_userfault(struct vm_area_struct *vma, > unsigned long address, >* through poll/read(). >*/ > __add_wait_queue(&ctx->fault_wqh, &uwq.wq); > - for (;;) { > - set

Re: [PATCH v2 3/6] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-22 Thread Arnd Bergmann
On Thursday 22 October 2015 13:54:42 Eric Auger wrote: > On 10/22/2015 12:13 PM, Arnd Bergmann wrote: > > On Thursday 22 October 2015 11:41:59 Eric Auger wrote: > >> This patch adds the reset function registration/unregistration. > >> > >> Signed-off-by: Eric Auger > > > > Looks good, except one

Re: [PATCH v4 5/8] clk: rockchip: Allow the RK3288 SPDIF clocks to change their parent

2015-10-22 Thread Michael Turquette
Quoting Heiko Stübner (2015-10-11 03:43:27) > Hi Sjoerd, > > Am Freitag, 9. Oktober 2015, 13:35:55 schrieb Sjoerd Simons: > > On Thu, 2015-10-08 at 17:10 +0200, Heiko Stuebner wrote: > > > Am Donnerstag, 8. Oktober 2015, 15:31:16 schrieb Sjoerd Simons: > > > > The clock branches leading to sclk_sp

Re: [RESEND PATCH v4 3/3] mmc: sdhci-of-arasan: add runtime pm support

2015-10-22 Thread Ulf Hansson
On 22 October 2015 at 11:06, Shawn Lin wrote: > This patch add runtime_suspend and runtime_resume for > sdhci-of-arasan. Currently we also power-off phy at > runtime_suspend for power-saving. > > Signed-off-by: Shawn Lin > > Serise-changes: 4 > - remove ifdef for PM callback statement > - fix mis

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-22 Thread Boqun Feng
On Wed, Oct 21, 2015 at 09:48:25PM +0200, Peter Zijlstra wrote: > On Wed, Oct 21, 2015 at 12:35:23PM -0700, Paul E. McKenney wrote: > > > > > > I ask this because I recall Peter once bought up a discussion: > > > > > > > > > > > > https://lkml.org/lkml/2015/8/26/596 > > > > So a full barrier on o

Re: [PATCH 9/9] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2015-10-22 Thread Michal Marek
On 2015-10-22 13:31, Prarit Bhargava wrote: > > > On 10/21/2015 03:52 PM, Michal Marek wrote: >> Dne 21.10.2015 v 21:27 Prarit Bhargava napsal(a): >>> On 10/15/2015 04:16 PM, Michal Marek wrote: Otherwise make tags can't parse them: ctags: Warning: arch/ia64/kernel/smp.c:60: null e

Re: [PATCH] net: dsa: mv88e6060: Fix false positive lockdep splat

2015-10-22 Thread Andrew Lunn
> Well, mdio-mux also calls switch_fn inside the mdio_lock, clean refactoring > would introduce a separate lock and call the nested variants. > Is that ok ? Can someone test mdio-mux if I make the change ? Hi Neil I would not touch mdio-mux. As you said, it does more than lock, read, unlock. It i

Re: linux-next: manual merge of the tip tree with the arm64 tree

2015-10-22 Thread Suzuki K. Poulose
On Thu, Oct 22, 2015 at 01:26:52PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the tip tree got a conflict in: > > arch/arm64/kernel/cpufeature.c > > between commit: > > da8d02d19ffd ("arm64/capabilities: Make use of system wide safe value") > > from the arm64

Re: [PATCH v2 6/6] vfio: platform: move get/put reset at open/release

2015-10-22 Thread Arnd Bergmann
On Thursday 22 October 2015 13:40:16 Eric Auger wrote: > On 10/22/2015 12:29 PM, Arnd Bergmann wrote: > > On Thursday 22 October 2015 11:42:02 Eric Auger wrote: > >> Currently reset lookup is done on probe. This introduces a > >> race with new registration mechanism in the case where the > >> vfio-

[PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.

2015-10-22 Thread Dawei Chien
This power model is base on Intelligent Power Allocation (IPA) technical, requires that the operating-points of the CPUs are registered using the kernel's opp library and the `cpufreq_frequency_table` is assigned to the `struct device` of the cpu MT8173. Signed-off-by: Dawei.Chien --- This patch

[PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-10-22 Thread Dawei Chien
Add thermal zone node to mt8173.dtsi. Signed-off-by: Dawei Chien --- This patch is base on https://patchwork.kernel.org/patch/7249821/ https://patchwork.kernel.org/patch/7249861/ https://patchwork.kernel.org/patch/7249891/ --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 90 +

[PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-10-22 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Power Allocator governor is able to keep SOC temperature within a defined temperature range to avoid SO

[PATCH 0/3] Fix incorrect using of acpi irq

2015-10-22 Thread Chen Yu
This series of patches are trying to convert codes who use acpi_gbl_FADT.sci_interrupt incorrectly to use the right irq mapped by acpi_gsi_to_irq. Chen Yu (3): ACPI: Using correct irq when uninstalling acpi irq handler ACPI: Using correct irq when waiting for events ACPI / PM: Fix incorrect

[PATCH 1/3] ACPI: Using correct irq when uninstalling acpi irq handler

2015-10-22 Thread Chen Yu
Currently when system is trying to uninstall the acpi irq handler, it uses the acpi_gbl_FADT.sci_interrupt directly. But acpi irq handler is actually installed by mapped irq in acpi_os_install_interrupt_handler, so this patch fixes this problem by using the mapped irq returned from acpi_gsi_to_irq.

[PATCH 2/3] ACPI: Using correct irq when waiting for events

2015-10-22 Thread Chen Yu
When system is waiting for GPE/fixed event handler to finish, it uses the acpi_gbl_FADT.sci_interrupt directly. However, we should use mapped irq returned by acpi_gsi_to_irq for synchronize_hardirq. Cc: # 3.19+ Acked-by: Lv Zheng Signed-off-by: Chen Yu --- drivers/acpi/osl.c | 4 ++-- 1 file c

[PATCH 3/3] ACPI / PM: Fix incorrect wakeup irq setting before suspend-to-idle

2015-10-22 Thread Chen Yu
For ACPI compatible system, SCI(ACPI System Control Interrupt) is used to wake system up from suspend-to-idle. Once CPU is woken up by SCI, interrupt handler will firstly checks if current interrupt is legal to wake up the whole system, thus irq_pm_check_wakeup is invoked to validate the irq number

[PATCH] f2fs: support file defragment

2015-10-22 Thread Chao Yu
This patch introduces a new ioctl F2FS_IOC_DEFRAGMENT to support file defragment in a specified range of regular file. This ioctl can be used in very limited workload: if user expects high sequential read performance in randomly written file, this interface can be used for defragmentation, after t

Re: [PATCH v2 3/6] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-22 Thread Eric Auger
On 10/22/2015 12:13 PM, Arnd Bergmann wrote: > On Thursday 22 October 2015 11:41:59 Eric Auger wrote: >> This patch adds the reset function registration/unregistration. >> >> Signed-off-by: Eric Auger > > Looks good, except one thing: >> @@ -70,6 +69,8 @@ int vfio_platform_calxedaxgmac_reset(stru

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-22 Thread Jens Kuske
On 22/10/15 11:14, Maxime Ripard wrote: > On Thu, Oct 22, 2015 at 10:57:45AM +0200, Jean-Francois Moine wrote: >> On Thu, 22 Oct 2015 10:47:35 +0200 >> Maxime Ripard wrote: >> >>> Not really. The uart0 reset is the bit 16, in the reset register 4. >>> >>> 4 * 32 + 16 = 44. >>> >>> Not 112, but sti

Re: [PATCH v2 5/6] vfio: platform: use list of registered reset function

2015-10-22 Thread Eric Auger
On 10/22/2015 12:19 PM, Arnd Bergmann wrote: > On Thursday 22 October 2015 11:42:01 Eric Auger wrote: >> Remove the static lookup table and use the dynamic list of registered >> reset functions instead. Also load the reset module through its alias. >> The reset struct module pointer is stored in vf

Re: [PATCH v2 6/6] vfio: platform: move get/put reset at open/release

2015-10-22 Thread Eric Auger
Hi Arnd, On 10/22/2015 12:29 PM, Arnd Bergmann wrote: > On Thursday 22 October 2015 11:42:02 Eric Auger wrote: >> Currently reset lookup is done on probe. This introduces a >> race with new registration mechanism in the case where the >> vfio-platform driver is bound to the device before its module

Re: [PATCH] mm,vmscan: Use accurate values for zone_reclaimable() checks

2015-10-22 Thread Tetsuo Handa
Christoph Lameter wrote: > On Wed, 21 Oct 2015, Michal Hocko wrote: > > > I am not sure how to achieve that. Requiring non-sleeping worker would > > work out but do we have enough users to add such an API? > > > > I would rather see vmstat using dedicated kernel thread(s) for this this > > purpose

Re: [RESEND PATCH v4 2/3] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2015-10-22 Thread Ulf Hansson
On 22 October 2015 at 11:06, Shawn Lin wrote: > This patch adds Generic PHY access for sdhci-of-arasan. Driver > can get PHY handler from dt-binding, and power-on/init the PHY. > Also we add pm ops for PHY here if CONFIG_PM_SLEEP is enabled. > Currently, it's just mandatory for arasan,sdhci-5.1. >

Re: [PATCH v1 0/3] lib/string: introduce match_string() helper

2015-10-22 Thread Andy Shevchenko
On Tue, 2015-09-15 at 11:35 -0400, Tejun Heo wrote: > Hello, > > On Tue, Sep 15, 2015 at 09:53:48AM +0300, Andy Shevchenko wrote: > > There are users of a simple string matching in the array. Let's do > > a common > > helper for that. > > > > Two users are updated in the series. one more is comin

Re: [PATCH] scsi: wd719x: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-10-22 Thread Vaishali Thakkar
On Thu, Oct 22, 2015 at 3:53 AM, Muhammad Falak R Wani wrote: > Use struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with > the goal of getting rid of this macro completely, as this macro > is deprecated. Duplicate of :https://lkml.org/lkml/2015/7/17/62 > Signed-off-by: Muhammad Falak R W

Re: [PATCH 9/9] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2015-10-22 Thread Prarit Bhargava
On 10/21/2015 03:52 PM, Michal Marek wrote: > Dne 21.10.2015 v 21:27 Prarit Bhargava napsal(a): >> On 10/15/2015 04:16 PM, Michal Marek wrote: >>> Otherwise make tags can't parse them: >>> >>> ctags: Warning: arch/ia64/kernel/smp.c:60: null expansion of name pattern >>> "\1" >>> ctags: Warning:

[PATCH] pinctrl-zynq: Initialize early

2015-10-22 Thread Mike Looijmans
Supplying pinmux configuration for e.g. gpio pins leads to deferred probes because the pinctrl device is probed much later than gpio. Move the init call to a much earlier stage so it probes before the devices that may need it. Signed-off-by: Mike Looijmans --- drivers/pinctrl/pinctrl-zynq.c | 12

Re: [PATCH 2/2] mmc: dw_mmc: add hw_reset extension hook

2015-10-22 Thread Shawn Lin
On 2015/10/22 17:48, Ulf Hansson wrote: On 22 October 2015 at 08:19, Shawn Lin wrote: This patch add hw_reset for dw_mmc to implement hw reset procedure. It's useful for mmc core to recover emmc devices if emmc runs into unexpected state. Add MMC_CAP_HW_RESET capability to dw_mmc extension driv

RE: [f2fs-dev] [PATCH] f2fs: refactor __find_rev_next_{zero}_bit

2015-10-22 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, October 22, 2015 6:30 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH] f2fs: refactor __find_re

[PATCH 1/2] kselftests/ftrace : Add event trigger testcases

2015-10-22 Thread Masami Hiramatsu
This adds simple event trigger testcases for ftracetest, which covers following triggers. - traceon-traceoff trigger - enable/disable_event trigger - snapshot trigger - stacktrace trigger - trigger filters Here is the test result. # ./ftracetest test.d/trigger/ === Ftrace unit tes

[PATCH 2/2] kselftests/ftrace: Add hist trigger testcases

2015-10-22 Thread Masami Hiramatsu
Add the hist trigger testcases for ftracetest. This checks the basic histogram trigger behaviors like as; - Histogram trigger itself - Histogram with string key - Histogram with compound keys - Histogram with sort key - Histogram trigger modifiers (execname, hex, syscall) - Multiple histogram

Re: [PATCH 00/26] tracing: 'hist' triggers

2015-10-22 Thread Masami Hiramatsu
Hi Tom, I've tested your series of the hist trigger v10 with these testcases included in the couple of patches, which tests following features. - traceon-traceoff trigger - enable/disable_event trigger - snapshot trigger - stacktrace trigger - trigger filters - Hist

Re: [PATCH v6 05/11] block: remove split code in blkdev_issue_{discard,write_same}

2015-10-22 Thread Christoph Hellwig
On Thu, Oct 22, 2015 at 03:24:44AM -0700, Christoph Hellwig wrote: > > How about below? > > It actually reverts commit b49a0871 and adds patch at > > https://www.redhat.com/archives/dm-devel/2015-August/msg0.html > > > > Christoph, could you help to try it? > > Still causes hickups with my co

Re: [RESEND PATCH v4 3/3] mmc: sdhci-of-arasan: add runtime pm support

2015-10-22 Thread Shawn Lin
On 2015/10/22 17:44, Michal Simek wrote: On 10/22/2015 11:06 AM, Shawn Lin wrote: This patch add runtime_suspend and runtime_resume for sdhci-of-arasan. Currently we also power-off phy at runtime_suspend for power-saving. Signed-off-by: Shawn Lin Serise-changes: 4 - remove ifdef for PM callba

Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu

2015-10-22 Thread Russell King - ARM Linux
On Thu, Oct 22, 2015 at 06:56:29PM +0800, Yang Yingliang wrote: > I described it in v2 cover letter and kept the change history in v6 > cover letter. There is no comment on the change when patch the was > reviewing in v2, so I thought it's ok and I kept the change in the > next versions. Cover let

Re: [PATCH] serial: sh-sci: Fix length of scatterlist

2015-10-22 Thread Geert Uytterhoeven
On Thu, Oct 22, 2015 at 8:41 AM, Yoshihiro Shimoda wrote: > This patch fixes an issue that the "length" of scatterlist should be > set using sg_dma_len(). Otherwise, a dmaengine driver cannot work > correctly if CONFIG_NEED_SG_DMA_LENGTH=y. > > Fixes: 7b39d90184 (serial: sh-sci: Fix NULL pointer d

[ANNOUNCE] rt-tests-v0.96

2015-10-22 Thread John Kacur
Dear RT Folks We are pleased to announce the latest version of rt-tests There is the usual round of clean-ups. - we are continuing to improve the make system - Henrik cleaned up the new feature to run cyclictest in Android specifically he removed all the ugly #ifdefs to an android specific file

Re: [PATCH v4 1/2] sched: make __update_cpu_load() handle active tickless case

2015-10-22 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 07:28:52PM +0900, Byungchul Park wrote: > You are right. I'm always tired these days. I was confused. > Sorry for that. No problem, I know the feeling, my second kid is growing teeth :-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-22 Thread Javier Martinez Canillas
Hello Marek, On 10/22/2015 12:07 PM, Marek Szyprowski wrote: > On 2015-10-22 06:14, Alim Akhtar wrote: >> On 10/22/2015 08:22 AM, Javier Martinez Canillas wrote: >>> On 10/22/2015 03:43 AM, Krzysztof Kozlowski wrote: On 22.10.2015 10:20, Javier Martinez Canillas wrote:> Hello Krzysztof, [sni

Re: [PATCH 2/5] mmc: omap_hsmmc: Enable omap_hsmmc for Keystone 2

2015-10-22 Thread Russell King - ARM Linux
On Thu, Oct 22, 2015 at 11:28:55AM +0200, Ulf Hansson wrote: > On 20 October 2015 at 23:50, Franklin S Cooper Jr wrote: > > > > From: Lokesh Vutla > > > > Enable omap_hsmmc for Keystone 2 architecture which reuses the HSMMC > > IP found on OMAP platforms. > > > > Signed-off-by: Franklin S Cooper

Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu

2015-10-22 Thread Yang Yingliang
On 2015/10/22 17:26, Russell King - ARM Linux wrote: On Wed, Oct 21, 2015 at 09:29:08PM +0100, Russell King - ARM Linux wrote: On Wed, Oct 21, 2015 at 01:47:49PM +0200, Geert Uytterhoeven wrote: On Thu, Sep 24, 2015 at 11:32 AM, Yang Yingliang wrote: When cpu is disabled, all irqs will be m

[PATCH] leds: leds-net48xx.c: devm_led_classdev_register

2015-10-22 Thread Fida Mohammad
Use of resource managed function devm_led_classdev_register. Also remove redundant remove function. Signed-off-by: Fida Mohammad --- drivers/leds/leds-net48xx.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/leds/leds-net48xx.c b/drivers/leds/leds-net48xx.c in

Re: Generic DT binding for IPIs

2015-10-22 Thread Qais Yousef
Is there anything more I can do to get more attention about this? I think Marc's suggestion is more generic and future proof, if I send RFC patches for that would this be better? Thanks, Qais On 10/14/2015 11:18 AM, Qais Yousef wrote: Hi, This is an attempt to revive a discussion on the righ

Re: [RFC][PATCH 1/2] WIP: Devicetree bindings for Ion

2015-10-22 Thread andrew
20 октября 2015 г., 19:34, "Mitchel Humpherys" написал: > On Tue, Oct 13 2015 at 11:14:23 AM, Andrew wrote: > >> On 2015-10-12 21:39, Mitchel Humpherys wrote: >>> On Tue, Oct 06 2015 at 05:35:41 PM, Rob Herring >>> wrote: On Tue, Oct 6, 2015 at 3:47 PM, Laura Abbott wrote: >>> >>>

Re: [PATCHv12 14/37] futex, thp: remove special case for THP in get_futex_key

2015-10-22 Thread Artem Savkov
On Thu, Oct 22, 2015 at 12:49:45PM +0300, Kirill A. Shutemov wrote: > On Thu, Oct 22, 2015 at 10:24:33AM +0200, Artem Savkov wrote: > > On Tue, Oct 06, 2015 at 06:23:41PM +0300, Kirill A. Shutemov wrote: > > > With new THP refcounting, we don't need tricks to stabilize huge page. > > > If we've got

<    2   3   4   5   6   7   8   9   >