[PATCH 23/27] mm, vmscan: Add classzone information to tracepoints

2016-06-21 Thread Mel Gorman
This is convenient when tracking down why the skip count is high because it'll show what classzone kswapd woke up at and what zones are being isolated. Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka --- include/trace/events/vmscan.h | 51 ++- mm/vmsc

[PATCH] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-21 Thread Prasun Maiti
For multiple REG Host Commands (e.g HostCmd_CMD_802_11_EEPROM_ACCESS, HostCmd_CMD_MAC_REG_ACCESS etc.) "cpu_to_leX"-converted values are saved to driver. So, "leX_to_cpu" conversion is required too many times afterwards in driver. This patch reduces the endian: conversion without saving "cpu_to_le

Re: [PATCH v3] iio: Add driver for Silabs si1132, si1141/2/3 and si1145/6/7 ambient light, uv index and proximity sensors

2016-06-21 Thread Crestez Dan Leonard
On 06/19/2016 02:57 PM, Jonathan Cameron wrote: > On 17/06/16 12:10, Crestez Dan Leonard wrote: >> From: Peter Meerwald >> >> The si114x supports x=1,2,3 IR LEDs for proximity sensing together with >> visible and IR ambient light sensing (ALS). >> >> Newer parts (si1132, si1145/6/7) can measure UV

Re: [PATCH V2] coresight-stm: support mmapping channel regions with mmio_addr

2016-06-21 Thread Mathieu Poirier
On 20 June 2016 at 20:24, Chunyan Zhang wrote: > CoreSight STM device allows direct mapping of the channel regions to > userspace for zero-copy writing. To support this ability, the STM > framework has provided a hook 'mmio_addr', this patch just implemented > this hook for CoreSight STM. > > This

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: >> Can't you just tie a charger to a UDC and avoid the charger class >> completely? > > Yeah, I also hope so. But we really want something to manage the > charger devices, do you have any good suggestion to avoid the 'class' > but also can manage the charger devices? man

Re: [PATCHv4 4/7] Documentation: dt: socfpga: Add Arria10 Ethernet binding

2016-06-21 Thread Thor Thayer
Hi Rob, On 06/21/2016 08:33 AM, Rob Herring wrote: On Mon, Jun 20, 2016 at 09:50:49AM -0500, ttha...@opensource.altera.com wrote: From: Thor Thayer Add the device tree bindings needed to support the Altera Ethernet FIFO buffers on the Arria10 chip. Signed-off-by: Thor Thayer --- v2 No Chan

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-21 Thread Geert Uytterhoeven
Hi Brian, On Fri, May 27, 2016 at 6:45 PM, Brian Norris wrote: > It seems like in the process of refactoring pwm_config() to utilize the > newly-introduced pwm_apply_state() API, some args/bounds checking was > dropped. > > In particular, I noted that we are now allowing invalid period > selectio

Re: [PATCH] xen/PMU: Log VPMU initialization error at lower level

2016-06-21 Thread Juergen Gross
On 21/06/16 16:17, Boris Ostrovsky wrote: > This will match how PMU errors are reported at check_hw_exists()'s > msr_fail label, which is reached when VPMU initialzation fails. > > Signed-off-by: Boris Ostrovsky Acked-by: Juergen Gross > --- > arch/x86/xen/pmu.c | 2 +- > 1 file changed, 1 in

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc4] [also build test ERROR on next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/zhongjiang/mm-huge_memory-fix-the-memory-leak-due-to-the-race

[PATCH 25/27] mm: page_alloc: Cache the last node whose dirty limit is reached

2016-06-21 Thread Mel Gorman
If a page is about to be dirtied then the page allocator attempts to limit the total number of dirty pages that exists in any given zone. The call to node_dirty_ok is expensive so this patch records if the last pgdat examined hit the dirty limits. In some cases, this reduces the number of calls to

[PATCH 21/27] mm, vmscan: Only wakeup kswapd once per node for the requested classzone

2016-06-21 Thread Mel Gorman
kswapd is woken when zones are below the low watermark but the wakeup decision is not taking the classzone into account. Now that reclaim is node-based, it is only required to wake kswapd once per node and only if all zones are unbalanced for the requested classzone. Note that one node might be c

Re: [PATCH v2 2/3] mwifiex: move .get_tx_power logic to station ioctl file

2016-06-21 Thread Javier Martinez Canillas
Hello Kalle, On 06/10/2016 03:54 PM, Kalle Valo wrote: > Javier Martinez Canillas writes: > >>> This patch (2/3) is only for code rearrangement and adds an >>> unnecessary wrapper function. We can simply drop the patch. >> >> Agreed. >> >> Kalle, >> >> Patch 3/3 applies cleanly even after droppi

Re: [PART2 RFC v2 00/10] iommu/AMD: Introduce IOMMU AVIC support

2016-06-21 Thread Joerg Roedel
On Tue, Jun 21, 2016 at 09:27:27AM -0500, Suthikulpanit, Suravee wrote: > On 6/21/2016 8:50 AM, Joerg Roedel wrote: > >The code has a few style issues (thing I'd implemented differently), but > >it looks functional. > > Anything in particular that you think I should improve or/and change? One thi

Re: [v3 PATCH] arm64: kasan: instrument user memory access API

2016-06-21 Thread Catalin Marinas
On Wed, Jun 08, 2016 at 02:40:56PM -0700, Yang Shi wrote: > The upstream commit 1771c6e1a567ea0ba20a4ffe68a1419fd8ef > ("x86/kasan: instrument user memory access API") added KASAN instrument to > x86 user memory access API, so added such instrument to ARM64 too. > > Define __copy_to/from_user

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

2016-06-21 Thread Felipe Balbi
Hi, Peter Chen writes: >> >> >> >> >>> + * @otg_dev: OTG controller device, if needs to be used with >> >> >> >> >>> OTG core. >> >> >> >> >> >> >> >> >> >> do you really know of any platform which has a separate OTG >> >> >> >> >> controller? >> >> >> >> >> >> >> >> >> > >> >> >> >> > Andre

Re: [PATCH] Input: elan_i2c - +200 ms delay before setting to ABS mode

2016-06-21 Thread Daniel Drake
On Tue, Jun 21, 2016 at 6:40 AM, 廖崇榮 wrote: > KT, is this feasible? > [KT] After internal discussion, we don't agree this patch. > It's a work-around to fix firmware bug for specific touchpad and not > tested by other device. For better or worse, Linux often takes on the responsibility of wor

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread Michal Hocko
[CCing Kirill] On Tue 21-06-16 22:05:56, zhongjiang wrote: > From: zhong jiang > > with great pressure, I run some test cases. As a result, I found > that the THP is not freed, it is detected by check_mm(). > > BUG: Bad rss-counter state mm:8827edb7 idx:1 val:512 > > Consider the follo

Re: [PATCH v12 1/4] gadget: Introduce the usb charger framework

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: >>> This patch introduces the usb charger driver based on usb gadget that >>> makes an enhancement to a power driver. It works well in practice but >>> that requires a system with suitable hardware. >>> >>> The basic conception of the usb charger is that, when one usb cha

Re: [Xen-devel] [PATCH v4] xen: add steal_clock support on x86

2016-06-21 Thread David Vrabel
On 20/05/16 08:26, Juergen Gross wrote: > The pv_time_ops structure contains a function pointer for the > "steal_clock" functionality used only by KVM and Xen on ARM. Xen on x86 > uses its own mechanism to account for the "stolen" time a thread wasn't > able to run due to hypervisor scheduling. >

[PATCHv3 1/2] usb: USB Type-C connector class

2016-06-21 Thread Heikki Krogerus
The purpose of USB Type-C connector class is to provide unified interface for the user space to get the status and basic information about USB Type-C connectors on a system, control over data role swapping, and when USB PD is available, also control over power role swapping and Alternate Modes. Si

[PATCHv3 0/2] USB Type-C Connector class

2016-06-21 Thread Heikki Krogerus
Hi, I'm considering all the RFCs I send after v1 as v2 (I don't remember how many I send). Hope this is OK and hope there is nothing big missing anymore (or broken). Sorry about the delay. I've been really busy with some internal tasks. I'm guessing we missed v4.8 with this thing. I'm sorry about

[PATCHv3 2/2] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2016-06-21 Thread Heikki Krogerus
This adds driver for the USB Type-C PHY on Intel WhiskeyCove PMIC which is available on some of the Intel Broxton SoC based platforms. Signed-off-by: Heikki Krogerus --- drivers/usb/typec/Kconfig | 14 ++ drivers/usb/typec/Makefile | 1 + drivers/usb/typec/typec_wcove.c | 376 +

Re: [PATCH v2] net: stmmac: dwmac-rk: add rk3228-specific data

2016-06-21 Thread Heiko Stübner
Am Dienstag, 21. Juni 2016, 20:33:28 schrieb Xing Zheng: > Add constants and callback functions for the dwmac on rk3228/rk3229 socs. > As can be seen, the base structure is the same, only registers and the > bits in them moved slightly. > > Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Thadeu Lima de Souza Cascardo
On Tue, Jun 21, 2016 at 09:15:48PM +1000, Michael Ellerman wrote: > On Tue, 2016-06-21 at 14:28 +0530, Naveen N. Rao wrote: > > On 2016/06/20 03:56PM, Thadeu Lima de Souza Cascardo wrote: > > > On Sun, Jun 19, 2016 at 11:19:14PM +0530, Naveen N. Rao wrote: > > > > On 2016/06/17 10:00AM, Thadeu Lima

Re: [PATCH] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-21 Thread kbuild test robot
Hi, [auto build test WARNING on wireless-drivers-next/master] [also build test WARNING on v4.7-rc4 next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Prasun-Maiti/mwifiex-Reduce

[PATCH v3] tools/perf: Fix the mask in regs_dump__printf and print_sample_iregs

2016-06-21 Thread Madhavan Srinivasan
When decoding the perf_regs mask in regs_dump__printf(), we loop through the mask using find_first_bit and find_next_bit functions. "mask" is of type "u64", but sent as a "unsigned long *" to lib functions along with sizeof(). While the exisitng code works fine in most of the case, the logic is br

Re: [PATCH v12 4/4] power: wm831x_power: Support USB charger current limit management

2016-06-21 Thread Mark Brown
On Tue, Jun 21, 2016 at 02:50:27PM +0300, Felipe Balbi wrote: > Mark Brown writes: > > The wm831x has no DT support currently. > okay, perhaps its time to add it. The only platform using it would need the DT connector overlays completing in order to be able to convert to DT. I'm really not con

[PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread zhongjiang
From: zhong jiang with great pressure, I run some test cases. As a result, I found that the THP is not freed, it is detected by check_mm(). BUG: Bad rss-counter state mm:8827edb7 idx:1 val:512 Consider the following race : CPU0 CPU1 __handle_mm_f

Re: [PATCH] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-21 Thread kbuild test robot
Hi, [auto build test WARNING on wireless-drivers-next/master] [also build test WARNING on v4.7-rc4 next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Prasun-Maiti/mwifiex-Reduce

[PATCH 0/2] ARM: dts: imx53: add support for USB armory board

2016-06-21 Thread andrej
From: Andrej Rosano This two patches add support for the USB armory board. The USB armory from Inverse Path is an open source hardware design, implementing a flash drive sized computer: https://inversepath.com/usbarmory Andrej Rosano (2): devicetree: Add vendor prefix for Inverse Path ARM:

Re: [Y2038] [PATCH v2 00/24] Delete CURRENT_TIME and CURRENT_TIME_SEC macros

2016-06-21 Thread Arnd Bergmann
On Monday, June 20, 2016 11:03:01 AM CEST you wrote: > On Sun, Jun 19, 2016 at 5:26 PM, Deepa Dinamani > wrote: > > The series is aimed at getting rid of CURRENT_TIME and CURRENT_TIME_SEC > > macros. > Gcc handles 8-byte structure returns (on most architectures) by > returning them as two 32-bi

[PATCH 1/2] devicetree: Add vendor prefix for Inverse Path

2016-06-21 Thread andrej
From: Andrej Rosano Inverse Path is an information security consulting company: https://inversepath.com Signed-off-by: Andrej Rosano --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.t

[PATCH 2/2] ARM: dts: imx53: add support for USB armory board

2016-06-21 Thread andrej
From: Andrej Rosano Add support for Inverse Path USB armory board, an open source flash-drive sized computer based on NXP i.MX53 SoC. https://inversepath.com/usbarmory Signed-off-by: Andrej Rosano --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/imx53-usbarmory.dts | 239 +

Re: [PATCH] perf: add 'perf bench syscall'

2016-06-21 Thread Josh Poimboeuf
On Mon, Jun 20, 2016 at 12:16:22PM -0700, Andy Lutomirski wrote: > On Mon, Jun 20, 2016 at 11:00 AM, Josh Poimboeuf wrote: > > > > > From: Josh Poimboeuf > > Subject: [PATCH] perf: add 'perf bench syscall' > > > > Add a basic 'perf bench syscall' benchmark which does a getppid() system > > call

你好

2016-06-21 Thread Barrister Matt Murdoch
亲爱的先生, 我的名字是大律师摩纳哥王子与Esq.I的工作之一 这里主要金融公司在洛美多哥和个人顾问晚 工程师R.答:我有一个商业计划书,将有利于两 美国和我将在最后的结论与40%补偿你。 如果 你有兴趣,请与您的手机号码及时回复了 更多细节, 问候, 摩纳哥亲王彼岸。

Re: [PATCH v2 2/2] pci: host: new driver for Axis ARTPEC-6 PCIe controller

2016-06-21 Thread Bjorn Helgaas
On Mon, Jun 20, 2016 at 03:50:07PM -0400, Paul Gortmaker wrote: > On Mon, May 9, 2016 at 7:49 AM, Niklas Cassel wrote: > > From: Niklas Cassel > > > > The Axis ARTPEC-6 SoC integrates a PCIe controller from Synopsys. > > This commit adds a new driver that provides the small glue > > needed to use

Re: [PATCH v1 1/2] mm: thp: move pmd check inside ptl for freeze_page()

2016-06-21 Thread Kirill A. Shutemov
On Mon, Jun 20, 2016 at 12:32:01PM +0300, Kirill A. Shutemov wrote: > > +void split_huge_pmd_address_freeze(struct vm_area_struct *vma, > > + unsigned long address, struct page *page) > > +{ > > + pgd_t *pgd; > > + pud_t *pud; > > + pmd_t *pmd; > > + > > + pgd = pg

Re: [PATCH v3 2/7] leds: documentation: 'ide-disk' to 'disk-activity'

2016-06-21 Thread Mark Rutland
On Thu, Jun 09, 2016 at 12:29:37AM +0200, Stephan Linz wrote: > Cc: Joseph Jezak > Cc: Nico Macrionitis > Cc: Jörg Sommer > Signed-off-by: Stephan Linz > --- > Documentation/devicetree/bindings/leds/common.txt| 2 +- > Documentation/devicetree/bindings/leds/leds-gpio.txt | 2 +- > Document

Re: [PATCH v2 00/15] clk: sunxi: introduce "modern" clock support

2016-06-21 Thread Maxime Ripard
Hi Jean-Francois, On Tue, Jun 21, 2016 at 11:40:44AM +0200, Jean-Francois Moine wrote: > On Tue, 7 Jun 2016 22:41:39 +0200 > Maxime Ripard wrote: > > > The current code has been tested on the H3 and an Orange Pi PC, > > including making sure that MMC still works, so the general approach > > see

Re: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Rafael J. Wysocki
On Tuesday, June 21, 2016 11:50:01 AM Opensource [Adam Thomson] wrote: > 21 June 2016 12:42, Rafael J. Wysocki wrote: > > > > > +static inline bool acpi_data_node_match(struct fwnode_handle *fwnode, > > > > + const char *name) > > > > +{ > > > > + return

Re: [PATCH v1 2/3] drm: Add API for capturing frame CRCs

2016-06-21 Thread Thierry Reding
On Tue, Jun 21, 2016 at 01:06:41PM +0200, Tomeu Vizoso wrote: [...] > diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c [...] > +static int > +drm_add_fake_info_node(struct drm_minor *minor, > +struct dentry *ent, > +const void *key) Nit:

Re: [PATCH v1 00/25] PCI: Request host bridge window resources

2016-06-21 Thread Bjorn Helgaas
On Tue, Jun 21, 2016 at 07:58:08PM +0800, wangyijing wrote: > Hi Bjorn, use devm_request_resource() for host bridge resource is cool, > what about do the similar change for x86, now we request host bridge resource > in pci_acpi_root_add_resources() in x86, and we would release the host bridge > res

Re: [PATCH v9 00/11] serial: 8250: split LPSS to 8250_lpss, enable DMA on Quark

2016-06-21 Thread Bryan O'Donoghue
On Mon, 2016-06-20 at 12:17 +0300, Andy Shevchenko wrote: > This is combined series of two things: > - split out the Intel LPSS specific driver from 8250_pci into > 8250_lpss > - enable DMA support on Intel Quark UART > > The patch has been tested on few Intel SoCs / platforms. In any case > I wou

Re: [PATCH v1 15/25] PCI: generic: Free resource list close to where it's allocated

2016-06-21 Thread Bjorn Helgaas
On Mon, Jun 20, 2016 at 06:22:40PM +0100, Lorenzo Pieralisi wrote: > On Mon, Jun 20, 2016 at 09:56:45AM -0700, Tyler Baker wrote: > > Hi Bjorn, > > > > On 6 June 2016 at 16:06, Bjorn Helgaas wrote: > > > Previously we allocated the PCI resource list in > > > gen_pci_parse_request_of_pci_ranges(),

Re: [PART2 RFC v2 00/10] iommu/AMD: Introduce IOMMU AVIC support

2016-06-21 Thread Paolo Bonzini
On 21/06/2016 15:50, Joerg Roedel wrote: > The code has a few style issues (thing I'd implemented differently), but > it looks functional. Anyway, before merging this the last 3 patches need > to be acked by the KVM maintainers. > > Paolo? I think patches 9 and 10 should be squashed because the

Re: [Xen-devel] [PATCH] xen/PMU: Log VPMU initialization error at lower level

2016-06-21 Thread David Vrabel
On 21/06/16 15:17, Boris Ostrovsky wrote: > This will match how PMU errors are reported at check_hw_exists()'s > msr_fail label, which is reached when VPMU initialzation fails. Applied to for-linus-4.8, thanks. David

Dear e-mail users

2016-06-21 Thread WebMail Help Desk Administrator
Dear e-mail users , Your mailbox has exceeded its storage limit set by the email administrator , you will not be able to receive new mail until you re- verification it. click here:https://formcrafts.com/a/21118?preview=true In other re-verify your e-mail account as the account is currently in

Re: [PATCH] ACPI: don't show an error when we're not in charge of PCIe hotplug.

2016-06-21 Thread Peter Jones
(Sorry for the slow response - it's deadline time over here.) On Thu, Jun 16, 2016 at 04:56:57PM +0200, Rafael J. Wysocki wrote: > On Thu, Jun 16, 2016 at 2:12 AM, Rafael J. Wysocki wrote: > > On Thu, Jun 16, 2016 at 12:15 AM, Peter Jones wrote: > >> Right now when booting, on many laptops the f

Re: [RFC PATCH 00/27] ARM64: support ILP32

2016-06-21 Thread Szabolcs Nagy
On 21/06/16 06:06, Yury Norov wrote: > This series enables aarch64 port with ilp32 mode. > > After long discussions in kernel list, we finally got > consensus on how ABI should look. This patchset adds > support for the ABI in GLIBC. It is tested with LTP > with no big regressions comparing to LP

Re: [PATCH 6/6] memory: atmel-ebi: make it explicitly non-modular

2016-06-21 Thread Alexandre Belloni
On 16/06/2016 at 20:37:48 -0400, Paul Gortmaker wrote : > The Kconfig currently controlling compilation of this code is: > > drivers/memory/Kconfig:config ATMEL_EBI > drivers/memory/Kconfig: bool "Atmel EBI driver" > > ...meaning that it currently is not being built as a module by anyone. > > Le

Re: [PATCH v2] staging: esp8089: add new driver

2016-06-21 Thread Greg KH
On Tue, Jun 21, 2016 at 07:35:24AM +0800, Icenowy Zheng wrote: > The driver is only a working port of a badly written driver extracted from an > old and vendor-specified kernel source. > I cannot promise the code style (although I did indent -kr -i8). > I cannot also promise the effect. I don't u

Re: [PATCH] ARM: BCM5301X: Set GPIO enabling USB power on Netgear R7000

2016-06-21 Thread Rafał Miłecki
On 21 June 2016 at 16:29, Imre Kaloz wrote: > On Tue, 21 Jun 2016 14:26:11 +0200, Rafał Miłecki wrote: > >> On 21 June 2016 at 14:22, Imre Kaloz wrote: >>> >>> Is there any reason you are not handling this properly as a regulator >>> with >>> usb-nop-xceiv? >> >> >> We can't use USB NOP PHY as w

Re: [PATCH v3 2/8] mfd: ac100: Add device tree bindings for X-Powers AC100 codec/RTC combo IC

2016-06-21 Thread Rob Herring
On Mon, Jun 20, 2016 at 10:52:12AM +0800, Chen-Yu Tsai wrote: > Signed-off-by: Chen-Yu Tsai > --- > Changes since v2: > > - Fix interrupt line for ac100_codec in provided example. > > --- > Documentation/devicetree/bindings/mfd/ac100.txt | 42 > + > 1 file changed, 42

Re: [PATCH kernfs/for-4.7-fixes] kernfs: don't depend on d_find_any_alias() when generating notifications

2016-06-21 Thread Tejun Heo
On Fri, Jun 17, 2016 at 05:51:17PM -0400, Tejun Heo wrote: > kernfs_notify_workfn() sends out file modified events for the > scheduled kernfs_nodes. Because the modifications aren't from > userland, it doesn't have the matching file struct at hand and can't > use fsnotify_modify(). Instead, it lo

[PATCH] tty: serial: 8250: add CON_CONSDEV to flags

2016-06-21 Thread Matthew Leach
When using the 8250 as a boot console and the main console results in messages being printed twice. The console framework will only unregister boot consoles if a new console is registered with the CON_CONSDEV flag set. Set this flag for the univ8250 console to prevent double-registration. Signed

Re: [PATCH v4] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-21 Thread Alexandre Belloni
On 21/06/2016 at 09:32:44 +0800, Wenyou Yang wrote : > In order to save power consumption, as a workaround, forcibly suspend > the USB PORTA/B/C via setting the SUSPEND_A/B/C bits of OHCI Interrupt > Configuration Register in the SFR while OHCI USB suspend. > > This suspend operation must be done

Re: mm, oom_reaper: How to handle race with oom_killer_disable() ?

2016-06-21 Thread Tetsuo Handa
Michal Hocko wrote: > On Tue 21-06-16 13:46:43, Michal Hocko wrote: > > On Tue 21-06-16 20:03:17, Tetsuo Handa wrote: > > > Michal Hocko wrote: > > > > On Mon 13-06-16 13:19:43, Michal Hocko wrote: > > > > [...] > > > > > I am trying to remember why we are disabling oom killer before kernel > > > >

Re: [PATCH 1/6] memory: atmel-sdramc: make it explicitly non-modular

2016-06-21 Thread Alexandre Belloni
On 16/06/2016 at 20:37:43 -0400, Paul Gortmaker wrote : > The Kconfig for this option is currently: > > config ATMEL_SDRAMC > bool "Atmel (Multi-port DDR-)SDRAM Controller" > > ...meaning that it currently is not being built as a module by anyone. > Lets remove the couple traces of modula

Re: [PATCH v10 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-06-21 Thread Vinod Koul
On Thu, Jun 16, 2016 at 07:19:38AM +, Appana Durga Kedareswara Rao wrote: > Hi Vinod, > > Thanks for the review... > > > > > On Tue, Jun 14, 2016 at 08:18:09AM +, Appana Durga Kedareswara Rao > > wrote: > > > > > Yes it is HW capability. It can be either in simple mode or SG > > >

Re: [PATCH 1/2] workqueue: Move wq_update_unbound_numa() to the beginning of CPU_ONLINE

2016-06-21 Thread Tejun Heo
On Tue, Jun 21, 2016 at 07:42:31PM +0530, Gautham R Shenoy wrote: > > Subject: [PATCH] sched: allow kthreads to fallback to online && !active cpus > > > > During CPU hotplug, CPU_ONLINE callbacks are run while the CPU is > > online but not active. A CPU_ONLINE callback may create or bind a > > kt

Re: [PATCH 2/2] bus: mvebu-mbus: make mvebu_mbus_syscore_ops static

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 4:16:19 PM CEST Ben Dooks wrote: > > -struct syscore_ops mvebu_mbus_syscore_ops = { > +static struct syscore_ops mvebu_mbus_syscore_ops = { > .suspend= mvebu_mbus_suspend, > .resume = mvebu_mbus_resume, > }; > Looks good, but I immediat

Re: [PATCH 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-21 Thread Jacek Anaszewski
Hi Florian, Thanks for the patch. I have two remarks below. On 06/21/2016 09:29 AM, Florian Vaussard wrote: Add device tree binding documentation for On Semiconductor NCP5623 I2C LED driver. The driver can independently control the PWM of the 3 channels with 32 levels of intensity. The current

Re: [PATCH v4] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-21 Thread Nicolas Ferre
Le 21/06/2016 03:32, Wenyou Yang a écrit : > In order to save power consumption, as a workaround, forcibly suspend > the USB PORTA/B/C via setting the SUSPEND_A/B/C bits of OHCI Interrupt > Configuration Register in the SFR while OHCI USB suspend. > > This suspend operation must be done before the

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread Kirill A. Shutemov
On Tue, Jun 21, 2016 at 10:05:56PM +0800, zhongjiang wrote: > From: zhong jiang > > with great pressure, I run some test cases. As a result, I found > that the THP is not freed, it is detected by check_mm(). > > BUG: Bad rss-counter state mm:8827edb7 idx:1 val:512 > > Consider the follo

Re: [PATCH v1 19/25] PCI: rcar Gen2: Request host bridge window resources

2016-06-21 Thread Valentine Barshak
On Tue, Jun 21, 2016 at 09:26:23AM -0500, Bjorn Helgaas wrote: > [+cc Valentine] > Hi Bjorn, > Hi Geert, > > Thanks a lot for testing this, and sorry for the breakage. > > On Tue, Jun 21, 2016 at 12:41:31PM +0200, Geert Uytterhoeven wrote: > > On Tue, Jun 7, 2016 at 1:07 AM, Bjorn Helgaas wro

Re: [PATCH 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-21 Thread Jacek Anaszewski
Hi Florian, Thanks for the patch. Please refer to my comments in the code. On 06/21/2016 09:29 AM, Florian Vaussard wrote: The NCP5623 is a 3-channel LED driver from On Semiconductor controlled through I2C. The PWM of each channel can be independently set with 32 distinct levels. In addition, t

Re: [PATCH 23/27] [AARCH64] delouse input arguments in system functions

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 10:36:53 AM CEST Joseph Myers wrote: > On Tue, 21 Jun 2016, Yury Norov wrote: > > > Signed-off-by: Yury Norov > > You're missing a patch description. What does "delouse" even mean? What > is the ABI peculiarity that means there are ABI-conforming arguments to > thes

Re: [RFC PATCH 1/2] drm: bridge: anx7688: Add anx7688 bridge driver support.

2016-06-21 Thread Archit Taneja
Hi, On 6/20/2016 12:44 PM, Nicolas Boichat wrote: ANX7688 is a HDMI to DP converter (as well as USB-C port controller), that has an internal microcontroller. The only reason a Linux kernel driver is necessary is to reject resolutions that require more bandwidth than what is available on the DP

Re: [PATCH v3] tools/perf: Fix the mask in regs_dump__printf and print_sample_iregs

2016-06-21 Thread Yury Norov
On Tue, Jun 21, 2016 at 08:26:40PM +0530, Madhavan Srinivasan wrote: > When decoding the perf_regs mask in regs_dump__printf(), > we loop through the mask using find_first_bit and find_next_bit functions. > "mask" is of type "u64", but sent as a "unsigned long *" to > lib functions along with sizeo

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-21 Thread Ville Syrjälä
On Tue, Jun 21, 2016 at 09:53:15AM -0400, James Bottomley wrote: > On Mon, 2016-06-20 at 11:03 +0300, Jani Nikula wrote: > > Cc: Ville > > > > On Mon, 20 Jun 2016, James Bottomley < > > james.bottom...@hansenpartnership.com> wrote: > > > OK, my candidate bad commit is this one: > > > > > > commit

Re: [PATCH 3/3] mm: memcontrol: fix cgroup creation failure after many small jobs

2016-06-21 Thread Johannes Weiner
On Tue, Jun 21, 2016 at 01:16:51PM +0300, Vladimir Davydov wrote: > On Fri, Jun 17, 2016 at 12:25:16PM -0400, Johannes Weiner wrote: > > After this patch, the IDs get released upon cgroup destruction and the > > cache and css objects get released once memory reclaim kicks in. > > With 65K cgroups

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Alexei Starovoitov
On 6/21/16 7:47 AM, Thadeu Lima de Souza Cascardo wrote: The calling convention is different with ABIv2 and so we'll need changes in bpf_slow_path_common() and sk_negative_common(). How big would those changes be? Do we know? How come no one reported this was broken previously? This is the fi

Re: [PATCH 08/19] arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat)

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 1:34:59 PM CEST Andreas Schwab wrote: > "Zhangjian (Bamvor)" writes: > > >> @@ -78,9 +79,9 @@ > >> > >> #ifdef CONFIG_COMPAT > >> #define TASK_SIZE_32 UL(0x1) > >> -#define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \ > >> +#define TASK_

Re: [PATCH 2/4] dmaengine: vdma: Add support for mulit-channel dma mode

2016-06-21 Thread Vinod Koul
On Fri, Jun 10, 2016 at 02:42:32PM +0530, Kedareswara rao Appana wrote: > This patch adds support for AXI DMA multi-channel dma mode > Multichannel mode enables DMA to connect to multiple masters > And slaves on the streaming side. > In Multichannel mode AXI DMA supports 2D transfers. Funny format

Re: [PATCHv4 4/7] Documentation: dt: socfpga: Add Arria10 Ethernet binding

2016-06-21 Thread Rob Herring
On Tue, Jun 21, 2016 at 9:46 AM, Thor Thayer wrote: > Hi Rob, > > > On 06/21/2016 08:33 AM, Rob Herring wrote: >> >> On Mon, Jun 20, 2016 at 09:50:49AM -0500, ttha...@opensource.altera.com >> wrote: >>> >>> From: Thor Thayer >>> >>> Add the device tree bindings needed to support the Altera Ethern

Re: [PATCH V2 resend] libata:fix kernel panic when hotplug

2016-06-21 Thread Tejun Heo
Hello, On Mon, Jun 20, 2016 at 06:46:55PM -0700, Dan Williams wrote: > On Mon, Jun 20, 2016 at 6:22 PM, Martin K. Petersen > wrote: > >> "Tejun" == Tejun Heo writes: > > > >>> In fact,we don't need libata to deal with hotplug in sas environment. > >>> So we can't run ata hotplug task when at

Re: [PATCH 0/6] Support DAX for device-mapper dm-linear devices

2016-06-21 Thread Kani, Toshimitsu
On Tue, 2016-06-21 at 09:34 -0600, Kani, Toshimitsu wrote: > On Tue, 2016-06-21 at 09:41 -0400, Mike Snitzer wrote: > > > > On Mon, Jun 20 2016 at  6:22pm -0400, > > Mike Snitzer wrote: > > > > > > On Mon, Jun 20 2016 at  5:28pm -0400, > > > Kani, Toshimitsu wrote: > > > >  : > > > > > > Look

Re: [PATCH] xen/pciback: Fix conf_space read/write overlap check.

2016-06-21 Thread Boris Ostrovsky
On 06/21/2016 10:37 AM, Andrey Grodzovsky wrote: > Current overlap check is evaluating to false a case where a filter field > is fully contained (proper subset) of a r/w request. > This change applies classical overlap check instead to include > all the scenarios. > > Related to https://www.mail-ar

Re: [PATCH v2 4/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-06-21 Thread Han Xu
On Tue, Jun 14, 2016 at 2:14 PM, Boris Brezillon wrote: > On Fri, 10 Jun 2016 12:01:32 -0500 > Han Xu wrote: > >> i.MX6QP and i.MX7D BCH module integrated a new feature to detect the >> bitflip number for erased NAND page. So for these two platform, set the >> erase threshold to ecc_strength and

Re: [PATCH 7/8] dmaengine: tegra20-apb-dma: Only calculate residue if txstate exists.

2016-06-21 Thread Vinod Koul
On Wed, Jun 08, 2016 at 09:51:57AM +0100, Jon Hunter wrote: > Hi Peter, > > On 07/06/16 18:38, Peter Griffin wrote: > > There is no point calculating the residue if there is > > no txstate to store the value. > > > > Signed-off-by: Peter Griffin > > --- > > drivers/dma/tegra20-apb-dma.c | 2 +-

Re: [PATCH v4] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-21 Thread Alan Stern
On Tue, 21 Jun 2016, Nicolas Ferre wrote: > Le 21/06/2016 03:32, Wenyou Yang a �crit : > > In order to save power consumption, as a workaround, forcibly suspend > > the USB PORTA/B/C via setting the SUSPEND_A/B/C bits of OHCI Interrupt > > Configuration Register in the SFR while OHCI USB suspend.

Re: Using irq-crossbar.c

2016-06-21 Thread Sebastian Frias
Hi Marc, On 06/21/2016 02:41 PM, Marc Zyngier wrote: >> Ok, so after discussing with some HW engineers, they said that even >> if this is a pure router and cannot latch by itself, since the >> devices themselves latch their IRQ output, reading the 4x32bit RAW >> status registers could work as well

Re: [RFC] capabilities: add capability cgroup controller

2016-06-21 Thread Serge E. Hallyn
Quoting Topi Miettinen (toiwo...@gmail.com): > On 06/19/16 20:01, se...@hallyn.com wrote: > > apologies for top posting, this phone doesn't support inline) > > > > Where are you preventing less privileged tasks from limiting the caps of a > > more privileged task? It looks like you are relying o

Re: [PATCH 0/8] Various dmaengine cleanups

2016-06-21 Thread Vinod Koul
On Tue, Jun 07, 2016 at 06:38:33PM +0100, Peter Griffin wrote: > Hi Vinod, > > This series is a bunch of cleanup updates to various > dmaengine drivers, based on some of the review feeback to my fdma series. Good cleanup, Applied, thanks -- ~Vinod

Re: [PATCH 0/6] Support DAX for device-mapper dm-linear devices

2016-06-21 Thread Kani, Toshimitsu
On Tue, 2016-06-21 at 09:41 -0400, Mike Snitzer wrote: > On Mon, Jun 20 2016 at  6:22pm -0400, > Mike Snitzer wrote: > > > > On Mon, Jun 20 2016 at  5:28pm -0400, > > Kani, Toshimitsu wrote: > >  : > > Looks good, I folded it in and tested it to work.  Pushed to my 'wip' > > branch. > > > > No

Re: [PATCH v2 2/2] staging: wilc1000: Replace kthread with workqueue for host interface

2016-06-21 Thread Arnd Bergmann
On Monday, June 20, 2016 3:40:19 PM CEST Binoy Jayan wrote: > Deconstruct the kthread / message_queue logic, replacing it with > create_singlethread_workqueue() / queue_work() setup, by adding a > 'struct work_struct' to 'struct host_if_msg'. The current kthread > hostIFthread() is converted to a w

[PATCH 1/2] bus: mvebu-mbus: fix __iomem on register pointers

2016-06-21 Thread Ben Dooks
The save_cpu_target functions should take "u32 __iomem *", not a plain "u32 *" as it is passed to register access functions. Fix the following warnings by adding the annotation: drivers/bus/mvebu-mbus.c:739:17: warning: incorrect type in argument 2 (different address spaces) drivers/bus/mvebu-mbu

Re: [PATCH v9 00/11] serial: 8250: split LPSS to 8250_lpss, enable DMA on Quark

2016-06-21 Thread Andy Shevchenko
On Tue, Jun 21, 2016 at 6:10 PM, Bryan O'Donoghue wrote: > On Mon, 2016-06-20 at 12:17 +0300, Andy Shevchenko wrote: >> This is combined series of two things: >> - split out the Intel LPSS specific driver from 8250_pci into >> 8250_lpss >> - enable DMA support on Intel Quark UART >> >> The patch h

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

2016-06-21 Thread Catalin Marinas
On Wed, Jun 08, 2016 at 05:49:59PM +0200, Arnd Bergmann wrote: > On Wednesday, June 8, 2016 1:08:29 PM CEST Catalin Marinas wrote: > > On Wed, Jun 08, 2016 at 03:53:46PM +0800, Jisheng Zhang wrote: > > > static int __init arm64_dma_init(void) > > > { > > > + if (swiotlb_force || max_pfn > (ar

Re: [PATCH v2] cgroup: Add pids controller event when fork fails because of pid limit

2016-06-21 Thread Aleksa Sarai
> @@ -213,10 +227,21 @@ static int pids_can_fork(struct task_struct *task) > { > struct cgroup_subsys_state *css; > struct pids_cgroup *pids; > + int err; > > css = task_css_check(current, pids_cgrp_id, true); > pids = css_pids(css); > - return pids_try_

Re: [PATCH] x86: Report Intel platform_id in /proc/cpuinfo

2016-06-21 Thread Andi Kleen
Andi Kleen writes: Ping! Any comments on this patch? > From: Andi Kleen > > We have a need to distinguish systems based on their platform ID. > For example this is useful to distinguish systems with L4 cache > versus ones without. > > There is a 3 bit identifier (also called processor flags) in

Re: [PATCH 1/5] clk: rockchip: rk3228: fix incorrect clock node names

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.7-rc4 next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Xing-Zheng/Fix-and-improve-clock-controller-for

Re: [PATCHv4 4/7] Documentation: dt: socfpga: Add Arria10 Ethernet binding

2016-06-21 Thread Thor Thayer
On 06/21/2016 10:48 AM, Rob Herring wrote: On Tue, Jun 21, 2016 at 9:46 AM, Thor Thayer wrote: Hi Rob, On 06/21/2016 08:33 AM, Rob Herring wrote: On Mon, Jun 20, 2016 at 09:50:49AM -0500, ttha...@opensource.altera.com wrote: From: Thor Thayer Add the device tree bindings needed to sup

Re: [PATCH v4 2/4] Add the latent_entropy gcc plugin

2016-06-21 Thread Kees Cook
On Tue, Jun 21, 2016 at 5:58 AM, Christoph Hellwig wrote: > On Mon, Jun 20, 2016 at 08:41:19PM +0200, Emese Revfy wrote: >> --- /dev/null >> +++ b/scripts/gcc-plugins/latent_entropy_plugin.c >> @@ -0,0 +1,639 @@ >> +/* >> + * Copyright 2012-2016 by the PaX Team >> + * Copyright 2016 by Emese Revf

[PATCH v3 1/7] coresight: Remove erroneous dma_free_coherent in tmc_probe

2016-06-21 Thread Suzuki K Poulose
commit de5461970b3e9e194 ("coresight: tmc: allocating memory when needed") removed the static allocation of buffer for the trace data in ETR mode in tmc_probe. However it failed to remove the "devm_free_coherent" in tmc_probe when the probe fails due to other reasons. This patch gets rid of the inc

[PATCH v3 7/7] coresight: Add better messages for coresight_timeout

2016-06-21 Thread Suzuki K Poulose
When we encounter a timeout waiting for a status change via coresight_timeout, the caller always print the offset which was tried. This is pretty much useless as it doesn't specify the bit position we wait for. Also, one needs to lookup the TRM to figure out, what was wrong. This patch changes all

Re: [RFC PATCH v2 03/15] arm64: mm: change IOMMU notifier action to attach DMA ops

2016-06-21 Thread Lorenzo Pieralisi
Hi Marek, On Tue, Jun 21, 2016 at 09:53:20AM +0200, Marek Szyprowski wrote: > Hi Robin, > > > On 2016-06-17 11:27, Robin Murphy wrote: > >Hi Lorenzo, > > > >I think this patch makes sense even independent of the rest of the > >series, one nit inline notwithstanding. > > > >Marek; I'm curious as

Re: [GIT PULL 00/10] perf/core improvements and fixes

2016-06-21 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 21, 2016 at 12:08:47PM +0200, Paolo Bonzini escreveu: > On 21/06/2016 05:11, Brendan Gregg wrote: > >>> > > - Add stackcollapse.py script to help generating flame graphs (Paolo > >>> > > Bonzini) > >> > > >> > I think this is already done by '-g folded'. Please see: > >> > > >> > ht

[PATCH v3 3/7] coresight: Fix csdev connections initialisation

2016-06-21 Thread Suzuki K Poulose
This is a cleanup patch. coresight_device->conns holds an array to point to the devices connected to the OUT ports of a component. Sinks, e.g ETR, do not have an OUT port (nr_outport = 0), as it streams the trace to memory via AXI. At coresight_register() we do : conns = kcalloc(csdev->n

[PATCH v3 4/7] coresight: tmc: Limit the trace to available data

2016-06-21 Thread Suzuki K Poulose
At present the ETF or ETR gives out the entire device buffer, even if there is less or even no trace data available. This patch limits the trace data given out to the actual trace data collected. Cc: mathieu.poir...@linaro.org Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/cores

<    1   2   3   4   5   6   7   8   9   10   >