[PATCH v3] arm64: print a fault message when attempting to write RO memory

2017-04-03 Thread Stephen Boyd
If a page is marked read only we should print out that fact, instead of printing out that there was a page fault. Right now we get a cryptic error message that something went wrong with an unhandled fault, but we don't evaluate the esr to figure out that it was a read/write permission fault. Inste

RE: [PATCH 1/2] Alps HID I2C T4 device support

2017-04-03 Thread Masaki Ota
Hi, Nikolaus, Your Touchpad is 044E:120C, right? PATCH 1/2 supports 044E:120C Touchpad device. I think you can use all features of this Touchpad. PATCH 2/2 supports 044E:1215 Touchpad device. You don't need to care about this. If Touchpad does not work completely, there is something an error. W

Re: [PATCH v2] scsi: storvsc: Add support for FC rport.

2017-04-03 Thread Christoph Hellwig
On Mon, Apr 03, 2017 at 09:14:02AM -0400, Cathy Avery wrote: > On 04/03/2017 08:17 AM, Christoph Hellwig wrote: > > > if (host->transportt == fc_transport_template) { > > > + struct fc_rport_identifiers ids = { > > > + .roles = FC_PORT_ROLE_FCP_TARGET, > > > +

Re: [PATCH 11/16] fpga: intel: fme: add partial reconfiguration sub feature support

2017-04-03 Thread Wu Hao
On Mon, Apr 03, 2017 at 03:49:41PM -0700, matthew.gerl...@linux.intel.com wrote: > > > On Mon, 3 Apr 2017, Alan Tull wrote: > > >On Thu, Mar 30, 2017 at 7:08 AM, Wu Hao wrote: > >>From: Kang Luwei > >> > >>Partial Reconfiguration (PR) is the most important function for FME. It > >>allows recon

Re: [PATCH 1/4] input: misc: introduce Atmel PTC driver

2017-04-03 Thread Ludovic Desroches
On Mon, Apr 03, 2017 at 05:58:40PM +0200, Alexandre Belloni wrote: > On 31/03/2017 at 17:22:47 +0200, Ludovic Desroches wrote: > > From: Ludovic Desroches > > I think you probably want to switch to your microchip email. > > Also, this requires a proper commit message. I'll fix this, I'll take t

linux-next: build failure after merge of the mfd tree

2017-04-03 Thread Stephen Rothwell
Hi Lee, After merging the mfd tree, today's linux-next build (powerpc allyesconfig) failed like this: /home/sfr/next/next/drivers/mfd/intel_soc_pmic_bxtwc.c:25:31: fatal error: asm/intel_pmc_ipc.h: No such file or directory Caused by commit eb2a445f7d8f ("mfd: intel_soc_pmic: Fix a mess with

[RESEND PATCH v4] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-04-03 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the battery voltage, battery charge and discharge currents, AC-in and VBUS voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. This adds support for most of AXP20X and AXP22X ADCs. Signed-off-by: Quentin Sch

Re: [PATCH v2] clk: stm32h7: Add stm32h743 clock driver

2017-04-03 Thread Gabriel Fernandez
On 04/03/2017 06:04 PM, Rob Herring wrote: On Mon, Apr 3, 2017 at 9:39 AM, Rob Herring wrote: On Wed, Mar 29, 2017 at 11:08:22AM +0200, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez This patch enables clocks for STM32H743 boards. Signed-off-by: Gabriel Fernandez Just for the M

Re: [PATCH 11/16] fpga: intel: fme: add partial reconfiguration sub feature support

2017-04-03 Thread Wu Hao
On Mon, Apr 03, 2017 at 04:24:13PM -0500, Alan Tull wrote: > On Thu, Mar 30, 2017 at 7:08 AM, Wu Hao wrote: > > From: Kang Luwei > > > > Partial Reconfiguration (PR) is the most important function for FME. It > > allows reconfiguration for given Port/Accelerated Function Unit (AFU). > > > > This

Re: [PATCH 2/3] extcon: intel-cht-wc: Disable external 5v boost converter on probe

2017-04-03 Thread Chanwoo Choi
Hi, On 2017년 04월 03일 20:26, Hans de Goede wrote: > Disable the 5v boost converter on probe in case it was left on by > the BIOS, this fixes 2 problems: > > 1) This gets seen by the external battery charger as a valid Vbus >supply and it then tries to feed Vsys from this creating a >feedba

Re: [PATCH v2] i2c/muxes/i2c-mux-ltc4306: LTC4306 and LTC4305 I2C multiplexer/switch

2017-04-03 Thread Michael Hennerich
On 03.04.2017 16:20, Peter Rosin wrote: On 2017-04-03 15:36, Michael Hennerich wrote: On 03.04.2017 14:03, Peter Rosin wrote: On 2017-03-31 17:29, Peter Rosin wrote: Hi! Sorry for my incremental reviewing... Another incremental... On 2017-03-29 12:15, michael.henner...@analog.com wrote:

Re: [PATCH v2] arm64: print a fault message when attempting to write RO memory

2017-04-03 Thread Stephen Boyd
Quoting Will Deacon (2017-03-23 07:22:39) > On Fri, Feb 24, 2017 at 05:39:08PM -0800, Stephen Boyd wrote: > > Quoting James Morse (2017-02-20 03:10:10) > > > > > > You're right the user-address side of things will get caught in > > > do_page_fault(). > > > I was trying to badly-explain 'is_permis

Re: [PATCH 1/3] extcon: intel-cht-wc: Make error messages consistent

2017-04-03 Thread Chanwoo Choi
Hi, The intel-cht-wc.c[1] was merged on only extcon-next branch. I think that this patch better to be squashed with patch[1]. [1] commit 6786e42f31637 ("extcon: intel-cht-wc: Add Intel Cherry Trail Whiskey Cove PMIC extcon driver") How about it? On 2017년 04월 03일 20:26, Hans de Goede wrote: > Be

Re: [PATCH] IIO: bmp280-core.c: fix error in humidity calculation

2017-04-03 Thread Matt Ranostay
On Sun, Apr 2, 2017 at 10:29 AM, Andreas Klinger wrote: > Linus Walleij schrieb am Sun, 02. Apr 16:56: >> On Sun, Apr 2, 2017 at 11:32 AM, Jonathan Cameron wrote: >> > On 27/03/17 11:06, Andreas Klinger wrote: >> >> While calculating the compensation of the humidity there are negative >> >> valu

Re: [PATCH] [net-next] stmmac: use netif_set_real_num_{rx,tx}_queues

2017-04-03 Thread Giuseppe CAVALLARO
Hello Joao On 4/3/2017 3:12 PM, Joao Pinto wrote: Yes older cores do not support multiple queues and I tried to isolate the features not to affect older versions. ok so we are inline ;-) Do you think that functions as "ndev = alloc_etherdev_mqs" has some sort of influence? I do not think

Re: [PATCH 11/16] fpga: intel: fme: add partial reconfiguration sub feature support

2017-04-03 Thread Wu Hao
On Mon, Apr 03, 2017 at 11:30:55AM -0500, Alan Tull wrote: > On Sat, Apr 1, 2017 at 6:08 AM, Wu Hao wrote: > > On Fri, Mar 31, 2017 at 02:10:12PM -0500, Alan Tull wrote: > >> On Thu, Mar 30, 2017 at 7:08 AM, Wu Hao wrote: > >> > From: Kang Luwei > >> > > >> > Partial Reconfiguration (PR) is the

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-04-03 Thread Alexandre Julliard
Ricardo Neri writes: > On Fri, 2017-03-31 at 16:11 +0200, Alexandre Julliard wrote: >> Ricardo Neri writes: >> >> > On Thu, 2017-03-30 at 13:10 +0300, Stas Sergeev wrote: >> >> 30.03.2017 08:14, Ricardo Neri пишет: >> >> In fact, smsw has an interesting property, which is that >> >> no one will

Re: [PATCH 4/5] zram: remove zram_meta structure

2017-04-03 Thread Sergey Senozhatsky
On (04/04/17 14:40), Minchan Kim wrote: > > [..] > > > -struct zram_meta { > > > +struct zram { > > > struct zram_table_entry *table; > > > struct zs_pool *mem_pool; > > > -}; > > > - > > > -struct zram { > > > - struct zram_meta *meta; > > > struct zcomp *comp; > > > struct gendisk *disk;

[PATCH] net: ibm: emac: remove unused sysrq handler for 'c' key

2017-04-03 Thread Eric Biggers
From: Eric Biggers Since commit d6580a9f1523 ("kexec: sysrq: simplify sysrq-c handler"), the sysrq handler for the 'c' key has been sysrq_crash_op. Debugging code in the ibm_emac driver also tries to register a handler for the 'c' key, but this has no effect because register_sysrq_key() doesn't

Re: [PATCH 2/3] pwm: pwm-samsung: fix suspend/resume support

2017-04-03 Thread kbuild test robot
Hi Bartlomiej, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.11-rc5 next-20170403] [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/Bartlomiej-Zolnierkiewicz/pwm-pwm

Re: [PATCH 4/5] zram: remove zram_meta structure

2017-04-03 Thread Minchan Kim
On Tue, Apr 04, 2017 at 11:31:15AM +0900, Sergey Senozhatsky wrote: < snip > > > [..] > > -struct zram_meta { > > +struct zram { > > struct zram_table_entry *table; > > struct zs_pool *mem_pool; > > -}; > > - > > -struct zram { > > - struct zram_meta *meta; > > struct zcomp *comp; >

Re: [PATCH v2 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-04-03 Thread kbuild test robot
Hi Vivek, [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.11-rc5 next-20170403] [cannot apply to pza/reset/next] [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/Vivek

Re: [PATCH 11/16] fpga: intel: fme: add partial reconfiguration sub feature support

2017-04-03 Thread Wu Hao
On Mon, Apr 03, 2017 at 03:26:14PM -0500, Alan Tull wrote: > On Fri, Mar 31, 2017 at 3:50 AM, Wu Hao wrote: > > On Fri, Mar 31, 2017 at 12:11:12PM +0800, Xiao Guangrong wrote: > >> On 31/03/2017 4:30 AM, Alan Tull wrote: > >> >On Thu, Mar 30, 2017 at 7:08 AM, Wu Hao wrote: > >> >>From: Kang Luwei

Re: [PATCH 01/16] docs: fpga: add a document for Intel FPGA driver overview

2017-04-03 Thread Wu Hao
On Mon, Apr 03, 2017 at 03:44:17PM -0500, Alan Tull wrote: > On Sun, Apr 2, 2017 at 9:41 AM, Moritz Fischer wrote: > > On Sat, Apr 01, 2017 at 07:16:19PM +0800, Wu Hao wrote: > >> On Fri, Mar 31, 2017 at 01:38:06PM -0500, Alan Tull wrote: > >> > On Fri, Mar 31, 2017 at 1:24 PM, > >> > wrote: >

[PATCH] usb: dwc3: of-simple: fix noderef.cocci warnings

2017-04-03 Thread kbuild test robot
drivers/usb/dwc3/dwc3-of-simple.c:53:43-49: ERROR: application of sizeof to pointer sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci CC: Vivek Gautam Signed-off-by: Fengguang Wu --- dwc3-of-simple.c |2

Re: [PATCH v2 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-04-03 Thread kbuild test robot
Hi Vivek, [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.11-rc5 next-20170403] [cannot apply to pza/reset/next] [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/Vivek

Re: [PATCH 01/16] docs: fpga: add a document for Intel FPGA driver overview

2017-04-03 Thread Wu Hao
On Sun, Apr 02, 2017 at 07:41:46AM -0700, Moritz Fischer wrote: > On Sat, Apr 01, 2017 at 07:16:19PM +0800, Wu Hao wrote: > > On Fri, Mar 31, 2017 at 01:38:06PM -0500, Alan Tull wrote: > > > On Fri, Mar 31, 2017 at 1:24 PM, wrote: > > > > > > > > > > > > On Thu, 30 Mar 2017, Wu Hao wrote: > > > >

[PATCH] mm/mmap: Replace SHM_HUGE_MASK with MAP_HUGE_MASK inside mmap_pgoff

2017-04-03 Thread Anshuman Khandual
The commit 091d0d55b286 ("shm: fix null pointer deref when userspace specifies invalid hugepage size") had replaced MAP_HUGE_MASK with SHM_HUGE_MASK. Though both of them contain the same numeric value of 0x3f, MAP_HUGE_MASK flag sounds more appropriate than the other one in the context. Hence chang

Re: [PATCH 1/5] zram: handle multiple pages attached bio's bvec

2017-04-03 Thread Sergey Senozhatsky
On (04/03/17 14:17), Minchan Kim wrote: > Johannes Thumshirn reported system goes the panic when using NVMe over > Fabrics loopback target with zram. > > The reason is zram expects each bvec in bio contains a single page > but nvme can attach a huge bulk of pages attached to the bio's bvec > so th

Re: [PATCH 2/2] extcon: Add new extcon_register_notifier_all() to monitor all external connectors

2017-04-03 Thread Chanwoo Choi
Hi, On 2017년 04월 03일 20:14, Hans de Goede wrote: > Hi, > > On 03-04-17 09:24, Chanwoo Choi wrote: >> Hi, >> >> On 2017년 03월 30일 23:58, Hans de Goede wrote: >>> Hi, >>> >>> On 30-03-17 11:20, Chanwoo Choi wrote: On 2017년 03월 30일 18:04, Hans de Goede wrote: > > > > Also this should be move

Re: [PATCH 4/5] zram: remove zram_meta structure

2017-04-03 Thread Minchan Kim
On Tue, Apr 04, 2017 at 11:31:15AM +0900, Sergey Senozhatsky wrote: > On (04/03/17 14:17), Minchan Kim wrote: > [..] > > -static struct zram_meta *zram_meta_alloc(char *pool_name, u64 disksize) > > +static bool zram_meta_alloc(struct zram *zram, u64 disksize) > > { > > size_t num_pages; > > -

[PATCH v2 1/2] usb: gadget: udc: avoid use of freed pointer

2017-04-03 Thread Gustavo A. R. Silva
Rewrite udc_free_dma_chain() function to avoid use of pointer after free. Addresses-Coverity-ID: 1091172 Acked-by: Michal Nazarewicz Reviewed-by: Greg Kroah-Hartman Signed-off-by: Gustavo A. R. Silva --- Changes in v2: Remove 'td->next = 0x00' inside for loop. Remove unnecessary pointer nulli

Re: [PATCH 2/5] zram: partial IO refactoring

2017-04-03 Thread Minchan Kim
Hi Sergey, On Tue, Apr 04, 2017 at 11:17:06AM +0900, Sergey Senozhatsky wrote: > Hello, > > On (04/03/17 14:17), Minchan Kim wrote: > > +static bool zram_special_page_read(struct zram *zram, u32 index, > > + struct page *page, > > + unsigned int

Re: [PATCH 3/5] zram: use zram_slot_lock instead of raw bit_spin_lock op

2017-04-03 Thread Minchan Kim
On Tue, Apr 04, 2017 at 11:18:51AM +0900, Sergey Senozhatsky wrote: > On (04/03/17 14:17), Minchan Kim wrote: > > With this clean-up phase, I want to use zram's wrapper function > > to lock table access which is more consistent with other zram's > > functions. > > > > Signed-off-by: Minchan Kim >

FWD: gathered list of available stocks

2017-04-03 Thread rcde sai
Hi I was browsing thru website and gathered list of available stocks. I have chosen three of them and I have attached all three of them with a specified specs. Payment will be semi-annually. Please do let me know if we can get this going A.S.A.P. Thank You Misu Del Copo Dei Capi Datacenter

Re: [PATCH 5/5] zram: introduce zram data accessor

2017-04-03 Thread Sergey Senozhatsky
On (04/03/17 14:17), Minchan Kim wrote: > With element, sometime I got confused handle and element access. > It might be my bad but I think it's time to introduce accessor > to prevent future idiot like me. > This patch is just clean-up patch so it shouldn't change any > behavior. > > Signed-off-b

[PATCH v2 2/2] usb: gadget: udc: remove unnecessary variable and update function prototype

2017-04-03 Thread Gustavo A. R. Silva
Remove unnecessary variable and update function prototype. Acked-by: Michal Nazarewicz Reviewed-by: Greg Kroah-Hartman Signed-off-by: Gustavo A. R. Silva --- Changes in v2: None. drivers/usb/gadget/udc/amd5536udc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drive

Re: [PATCH v6 06/11] powerpc/perf: IMC pmu cpumask and cpu hotplug support

2017-04-03 Thread Daniel Axtens
Madhavan Srinivasan writes: > From: Hemant Kumar > > Adds cpumask attribute to be used by each IMC pmu. Only one cpu (any > online CPU) from each chip for nest PMUs is designated to read counters. > > On CPU hotplug, dying CPU is checked to see whether it is one of the > designated cpus, if yes,

Re: [PATCH v2 2/4] reset: Add APIs to manage array of resets

2017-04-03 Thread Vivek Gautam
On 04/04/2017 09:44 AM, kbuild test robot wrote: Hi Vivek, [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.11-rc5 next-20170403] [cannot apply to pza/reset/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url

Re: [PATCH v2 1/4] reset: Add API to count number of reset available with device

2017-04-03 Thread kbuild test robot
Hi Vivek, [auto build test ERROR on balbi-usb/next] [also build test ERROR on v4.11-rc5 next-20170403] [cannot apply to pza/reset/next] [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/Vivek

Re: [PATCH v2 2/4] reset: Add APIs to manage array of resets

2017-04-03 Thread kbuild test robot
Hi Vivek, [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.11-rc5 next-20170403] [cannot apply to pza/reset/next] [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/Vivek

Re: [PATCH v2 2/4] reset: Add APIs to manage array of resets

2017-04-03 Thread kbuild test robot
Hi Vivek, [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.11-rc5 next-20170403] [cannot apply to pza/reset/next] [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/Vivek

Re: [RFC][PATCH] spin loop arch primitives for busy waiting

2017-04-03 Thread Nicholas Piggin
On Tue, 4 Apr 2017 13:02:33 +1000 Nicholas Piggin wrote: > On Mon, 3 Apr 2017 17:43:05 -0700 > Linus Torvalds wrote: > > > But that depends on architectures having some pattern that we *can* > > abstract. Would some "begin/in-loop/end" pattern like the above be > > sufficient? > > Yes. begi

Re: Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")

2017-04-03 Thread Mike Galbraith
On Mon, 2017-04-03 at 21:11 +0300, Michael S. Tsirkin wrote: > On Mon, Apr 03, 2017 at 07:56:32PM +0200, Mike Galbraith wrote: > > On Mon, 2017-04-03 at 16:18 +0200, Christoph Hellwig wrote: > > > Mike, > > > > > > can you try the patch below? > > > > No more spinning kworker woes, but I still ha

Re: [PATCH v6 05/11] powerpc/perf: Generic imc pmu event functions

2017-04-03 Thread Daniel Axtens
Hi, So a major complaint I have is that you're changing prototypes of functions from earlier patches. This makes my life a lot harder: I get my head around what a function is and does and then suddenly the prototype changes, the behaviour changes, and I have to re-evaluate everything I thought I

[PATCH v2 2/2] usb: misc: refactor code

2017-04-03 Thread Gustavo A. R. Silva
Code refactoring to make the flow easier to follow. Cc: Alan Stern Cc: Greg Kroah-Hartman Signed-off-by: Gustavo A. R. Silva --- Changes in v2: Remove unfruitful changes in previous patch. Revert change to comment. drivers/usb/misc/usbtest.c | 49

[PATCH v2 1/2] usb: misc: add missing continue in switch

2017-04-03 Thread Gustavo A. R. Silva
Add missing continue in switch. Addresses-Coverity-ID: 1248733 Cc: Alan Stern Cc: Greg Kroah-Hartman Signed-off-by: Gustavo A. R. Silva --- Changes in v2: None. drivers/usb/misc/usbtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtes

[PATCH v3] regulator: hi655x: Correct dependency/boot failure

2017-04-03 Thread Jeremy Linton
The hi655x-regulator driver consumes a similarly named platform device. Adding that to the module device table, allows modprobe to locate this driver once the device is created. Without this the sd/mmc device fails to start, resulting in boot failures. Signed-off-by: Jeremy Linton --- drivers/re

Re: AMD IOMMU causing filesystem corruption

2017-04-03 Thread Samuel Sieb
On 04/03/2017 02:39 PM, Joerg Roedel wrote: You have a system based on the AMD Stoney platform, on which the PCI-ATS feature of the GPU is broken, as we recently found out. Can you please test whether the attached patch fixes the issue on your machine? Yes, that works, thank you! Now I'm curi

Re: [PATCH v2 6/6] hpet: fix style issue about braces and alignment

2017-04-03 Thread Joe Perches
On Mon, 2017-04-03 at 14:15 +0200, Corentin Labbe wrote: > This patch fix all style issue for braces and alignment [] > diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c [] > @@ -255,9 +255,9 @@ static int hpet_open(struct inode *inode, struct file > *file) > > for (devp = NULL, hpetp

[git pull] drm fixes for v4.11-rc6

2017-04-03 Thread Dave Airlie
Hi Linus, I'm going to be away for the latter part of this week, and early next week, so I probably won't get to dequeue any more fixes before -rc6, if anyone has any urgent fixes they can get Daniel's help and maybe send them to you direct, I don't know of anything that is that urgent, hopefully

linux-next: build failure after merge of the keys tree

2017-04-03 Thread Stephen Rothwell
ey restriction function and data") I have used the version from next-20170403 for today. -- Cheers, Stephen Rothwell

Re: [PATCHv2] phy: cpcap-usb: Add CPCAP PMIC USB support

2017-04-03 Thread Tony Lindgren
Hi, * Kishon Vijay Abraham I [170330 04:51]: > On Monday 27 March 2017 08:35 PM, Tony Lindgren wrote: > > Seems this can be also done when implementing PM runtime handling. > > If you want some of these changes done for the initial patch, > > please let me know. > > I think it's better we get ex

[PATCH 1/2] platform/x86: silead_dmi - do not treat all devices as i2c_clients

2017-04-03 Thread Dmitry Torokhov
I2C bus has both i2c clients and adapter devices, so we must be careful in notifier code and verify that we are actually dealing with an i2c client before using it as such. Fixes: cef9dd85acd7 ("platform/x86: add support for devices with Silead...") Signed-off-by: Dmitry Torokhov --- drivers/pla

[PATCH 2/2] platform/x86: silead_dmi - abort early if DMI does not match

2017-04-03 Thread Dmitry Torokhov
There is no point in registering I2C bus notifier if DMI data does not match. Signed-off-by: Dmitry Torokhov --- drivers/platform/x86/silead_dmi.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/s

Re: [PATCH v5 4/6] watchdog: iTCO_wdt: cleanup set/unset no_reboot calls

2017-04-03 Thread Guenter Roeck
On 04/03/2017 05:24 PM, Kuppuswamy Sathyanarayanan wrote: Both iTCO_wdt_unset_NO_REBOOT_bit() and iTCO_wdt_unset_NO_REBOOT_bit() I think you mean s/set/unset/ once. functions has lot of common code between them. So merging these two functions would remove these unnecessary code duplications.

Re: [PATCH 2/4] mfd: cpcap: Use handle_reread flag for interrupts

2017-04-03 Thread Tony Lindgren
* Lee Jones [170403 07:34]: > On Mon, 03 Apr 2017, Tony Lindgren wrote: > > > Hi, > > > > * Lee Jones [170403 03:23]: > > > On Wed, 22 Mar 2017, Tony Lindgren wrote: > > > > > > > On CPCAP we need to keep reading interrupts until there are no > > > > more interrupts. Otherwise the PMIC interru

[PATCHv3 0/3] CPCAP PMIC IRQ fix and related changes

2017-04-03 Thread Tony Lindgren
Hi all, Here's v3 set of fixes to make CPCAP PMIC interrupts work reliably when used with multiple drivers. While working on the ADC, charger and USB PHY drivers I noticed that the PMIC interrupt to the SoC would eventually stop working. All these can wait for v4.12 merge window as these issues d

[PATCH 2/3] mfd: cpcap: Use ack_invert interrupts

2017-04-03 Thread Tony Lindgren
We should use ack_invert as the int_read_and_clear() in the Motorola kernel tree does "ireg_val & ~mreg_val" before writing to the mask register. Fixes: 56e1d40d3bea ("mfd: cpcap: Add minimal support") Cc: Charles Keepax Cc: Marcel Partap Cc: Michael Scott Tested-by: Sebastian Reichel Signed-o

[PATCH 1/3] mfd: cpcap: Fix interrupt to use level interrupt

2017-04-03 Thread Tony Lindgren
I made a mistake assuming the device tree configuration for interrupt triggering was somehow passed to the SPI device but it's not. In the Motorola Linux kernel tree CPCAP PMIC is configured as a rising edge triggered interrupt, but then then it's interrupt handler keeps looping until the GPIO lin

[PATCH 3/3] mfd: cpcap: Fix bad use of IRQ sense register

2017-04-03 Thread Tony Lindgren
The cpcap INTS registers are for getting the value of the line, not for configuring the type. Fixes: 56e1d40d3bea ("mfd: cpcap: Add minimal support") Cc: Charles Keepax Cc: Marcel Partap Cc: Michael Scott Cc: Sebastian Reichel Reviewed-By: Sebastian Reichel Tested-by: Sebastian Reichel Acked

Re: [PATCH 1/2] Alps HID I2C T4 device support

2017-04-03 Thread Nikolaus Rath
Hi Ota, > -Support Alps HID I2C T4 Touchpad device. > -Laptop names that use this Touchpad:HP Zbook Studio, Elitebook Folio G1, > Elitebook 1030 G1, Elitebook 1040 G3 > > Signed-off-by: Masaki Ota > --- > drivers/hid/hid-alps.c | 500 > +++-- > drive

Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors?

2017-04-03 Thread John Stultz
On Mon, Apr 3, 2017 at 5:54 AM, Minas Harutyunyan wrote: > On 4/3/2017 9:23 AM, John Youn wrote: >> On 03/31/2017 04:04 PM, John Stultz wrote: >>> On Thu, Mar 2, 2017 at 12:00 PM, John Stultz wrote: Hey John, We've noticed that when using usb ethernet adapters on HiKey, we occasi

Re: [RFC PATCH 0/4] fs: introduce new writeback error tracking infrastructure and convert ext4 to use it

2017-04-03 Thread NeilBrown
On Mon, Apr 03 2017, Jeff Layton wrote: > On Mon, 2017-04-03 at 12:16 -0700, Matthew Wilcox wrote: >> On Mon, Apr 03, 2017 at 01:47:37PM -0400, Jeff Layton wrote: >> > > I wonder whether it's even worth supporting both EIO and ENOSPC for a >> > > writeback problem. If I understand correctly, at t

Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing handle_reread

2017-04-03 Thread Tony Lindgren
Hi, * Tony Lindgren [170328 10:13]: > * Mark Brown [170328 09:51]: > > On Tue, Mar 28, 2017 at 08:47:41AM -0700, Tony Lindgren wrote: > > > * Mark Brown [170328 08:21]: > > > > > > Right, my thinking here is that by pushing into genirq we minimise the > > > > need even further since it'll also

Re: [RFC][PATCH] spin loop arch primitives for busy waiting

2017-04-03 Thread Nicholas Piggin
On Mon, 3 Apr 2017 17:43:05 -0700 Linus Torvalds wrote: > On Mon, Apr 3, 2017 at 4:50 PM, Nicholas Piggin wrote: > > If you have any ideas, I'd be open to them. > > So the idea would be that maybe we can just make those things > explicit. IOW, instead of having that magical looping construct

[PATCH v5 3/5] dt-bindings: Add TI SCI PM Domains

2017-04-03 Thread Dave Gerlach
Add a generic power domain implementation, TI SCI PM Domains, that will hook into the genpd framework and allow the TI SCI protocol to control device power states. Also, provide macros representing each device index as understood by TI SCI to be used in the device node power-domain references. The

[PATCH v5 0/5] ARM: K2G: Add support for TI-SCI Generic PM Domains

2017-04-03 Thread Dave Gerlach
Hi, This is v5 of the series to add support for TI-SCI Generic PM Domains with all ACKs in place and ready for Santosh to merge. Previous versions can be found here: v4: https://www.spinics.net/lists/arm-kernel/msg566778.html v3: https://www.spinics.net/lists/kernel/msg2413975.html v2: https://ww

[PATCH v5 1/5] PM / Domains: Add generic data pointer to genpd data struct

2017-04-03 Thread Dave Gerlach
Add a void *data pointer to struct generic_pm_domain_data. Because this exists for each device associated with a genpd it will allow us to assign per-device data if needed on a platform for control of that specific device. Acked-by: Ulf Hansson Acked-by: Kevin Hilman Signed-off-by: Dave Gerlach

[PATCH v5 2/5] PM / Domains: Do not check if simple providers have phandle cells

2017-04-03 Thread Dave Gerlach
There is no reason that a platform genpd driver registered using of_genpd_add_provider_simple needs to be constrained to having no cells in the "power-domains" phandle. Currently the genpd framework will fail if any arguments are passed with for a simple provider but the framework does not actually

[PATCH v5 5/5] ARM: keystone: Drop PM domain support for k2g

2017-04-03 Thread Dave Gerlach
K2G will use a different power domain driver than the rest of the keystone family in order to make use of the TI SCI protocol so prevent the standard keystone pm_domain code from registering itself in preparation for a new driver. Acked-by: Santosh Shilimkar Signed-off-by: Lokesh Vutla Signed-of

[PATCH v5 4/5] soc: ti: Add ti_sci_pm_domains driver

2017-04-03 Thread Dave Gerlach
Introduce a ti_sci_pm_domains driver to act as a generic pm domain provider to allow each device to attach and associate it's ti-sci-id so that it can be controlled through the TI SCI protocol. This driver implements a simple genpd where each device node has a phandle to the power domain node and

Re: [PATCH 04/16] fpga: intel: pcie: parse feature list and create platform device for features.

2017-04-03 Thread Moritz Fischer
Xiao, few nits inline, I'll need to come back to this once I went over the rest of the patchset ;-) On Thu, Mar 30, 2017 at 08:08:04PM +0800, Wu Hao wrote: > From: Xiao Guangrong > > Device Featuer List structure creates a link list of feature headers > within the MMIO space to provide an exten

Re: [RFC PATCH 0/4] fs: introduce new writeback error tracking infrastructure and convert ext4 to use it

2017-04-03 Thread Matthew Wilcox
On Mon, Apr 03, 2017 at 04:16:17PM -0400, Jeff Layton wrote: > On Mon, 2017-04-03 at 12:16 -0700, Matthew Wilcox wrote: > > int filemap_report_wb_error(struct file *file) > > { > > struct inode *inode = file_inode(file); > > struct address_space *mapping = file->f_mapping; > > int err;

Re: [PATCH 1/2] soc: qcom: smsm: Handle probe deferral

2017-04-03 Thread Jonathan Neuschäfer
On Mon, Mar 27, 2017 at 11:18:29PM -0700, Bjorn Andersson wrote: > On Wed 15 Mar 04:43 PDT 2017, Jonathan Neusch?fer wrote: [...] > > info = qcom_smem_get(QCOM_SMEM_HOST_ANY, SMEM_SMSM_SIZE_INFO, &size); > > - if (PTR_ERR(info) == -ENOENT || size != sizeof(*info)) { > > + if (PTR_ERR(info)

Re: [PATCH 2/2] usb: misc: refactor code

2017-04-03 Thread Gustavo A. R. Silva
Hi Alan, Quoting Alan Stern : On Mon, 3 Apr 2017, Gustavo A. R. Silva wrote: Code refactoring to make the flow easier to follow. Cc: Alan Stern Cc: Greg Kroah-Hartman Signed-off-by: Gustavo A. R. Silva --- drivers/usb/misc/usbtest.c | 67 +-

Re: [PATCH 4/5] zram: remove zram_meta structure

2017-04-03 Thread Sergey Senozhatsky
On (04/03/17 14:17), Minchan Kim wrote: [..] > -static struct zram_meta *zram_meta_alloc(char *pool_name, u64 disksize) > +static bool zram_meta_alloc(struct zram *zram, u64 disksize) > { > size_t num_pages; > - struct zram_meta *meta = kmalloc(sizeof(*meta), GFP_KERNEL); > - > - if

Re: [PATCH] [media] lirc_dev: fix regression in feature check logic in ioctl

2017-04-03 Thread Andi Shyti
Hi Alexey, this has been already fixed in commit bd291208d7f5 ("[media] lirc_dev: LIRC_{G,S}ET_REC_MODE do not work") by Sean. You need to update your kernel or cherry-pick this patch. In any case, for future patches of this kind, some notes through the lines: On Tue, Apr 04, 2017 at 02:19:16AM

[PATCH v2 2/2] extcon: Add new extcon_register_notifier_all() to monitor all external connectors

2017-04-03 Thread Chanwoo Choi
The extcon core already provides the extcon_register_notifier() function in order to register the notifier block which is used to monitor the state change for the specific external connector such as EXTCON_USB, EXTCON_USB_HOST and so on. The extcon consumer uses the this function. The extcon consu

[PATCH v2 1/2] extcon: Use BIT() macro for the left-shift operation

2017-04-03 Thread Chanwoo Choi
This patch just uses the BIT() macro to make the code simple. Signed-off-by: Chanwoo Choi --- Changes from v1: - No changes. drivers/extcon/extcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index e85704eda645..193a3a67

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-04-03 Thread David Miller
From: "R. Parameswaran" Date: Mon, 3 Apr 2017 19:12:20 -0700 (PDT) > > > Hi Dave, > > Please see inline: > > On Mon, 3 Apr 2017, David Miller wrote: > >> From: "R. Parameswaran" >> Date: Mon, 3 Apr 2017 13:28:11 -0700 (PDT) >> >> > Can I take this to mean that we do need to factor in IP op

Re: [PATCH 3/5] zram: use zram_slot_lock instead of raw bit_spin_lock op

2017-04-03 Thread Sergey Senozhatsky
On (04/03/17 14:17), Minchan Kim wrote: > With this clean-up phase, I want to use zram's wrapper function > to lock table access which is more consistent with other zram's > functions. > > Signed-off-by: Minchan Kim Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH 2/5] zram: partial IO refactoring

2017-04-03 Thread Sergey Senozhatsky
Hello, On (04/03/17 14:17), Minchan Kim wrote: > +static bool zram_special_page_read(struct zram *zram, u32 index, > + struct page *page, > + unsigned int offset, unsigned int len) > +{ > + struct zram_meta *meta = zram->meta; > + > +

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-04-03 Thread R. Parameswaran
Hi Dave, Please see inline: On Mon, 3 Apr 2017, David Miller wrote: > From: "R. Parameswaran" > Date: Mon, 3 Apr 2017 13:28:11 -0700 (PDT) > > > Can I take this to mean that we do need to factor in IP options in > > the L2TP device MTU setup (i.e approach in the posted patch is okay)? > >

Re: [PATCH v6 04/11] powerpc/perf: Add event attribute and group to IMC pmus

2017-04-03 Thread Daniel Axtens
Hi, > Device tree IMC driver code parses the IMC units and their events. It > passes the information to IMC pmu code which is placed in powerpc/perf > as "imc-pmu.c". > > This patch creates only event attributes and attribute groups for the > IMC pmus. > > Signed-off-by: Anju T Sudhakar > Signed-

Re: [PATCH 03/16] fpga: intel: add FPGA PCIe device driver

2017-04-03 Thread Moritz Fischer
On Thu, Mar 30, 2017 at 08:08:03PM +0800, Wu Hao wrote: > From: Zhang Yi > > The Intel FPGA device appears as a PCIe device on the system. This patch > implements the basic framework of the driver for Intel PCIe device which > locates between CPU and Accelerated Function Units (AFUs). > > Signed

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-04-03 Thread Ricardo Neri
On Sat, 2017-04-01 at 16:08 +0300, Stas Sergeev wrote: > 30.03.2017 08:14, Ricardo Neri пишет: > >> You know the wine's > >> requirements now - they are very small. And > >> dosemu doesn't need anything at all but smsw. > >> And even smsw is very rare. > > But emulation is still

[PATCH] arm64: dts: uniphier: add cdns,phy-dll-delay-sdclk(-hsmmc) for eMMC

2017-04-03 Thread Masahiro Yamada
Adjust the PHY parameters for more stable access to the eMMC device. Set the SDCLK output delay value to 21 (including HS200/400 modes). Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 2 ++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++ 2 files c

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-04-03 Thread Ricardo Neri
On Fri, 2017-03-31 at 16:11 +0200, Alexandre Julliard wrote: > Ricardo Neri writes: > > > On Thu, 2017-03-30 at 13:10 +0300, Stas Sergeev wrote: > >> 30.03.2017 08:14, Ricardo Neri пишет: > >> But at least dosemu implements it, so probably it is needed. > >> >>> Right. > >> >>> > >> Of

Re: [PATCH v2 1/5] dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU

2017-04-03 Thread Rob Herring
On Sun, Apr 02, 2017 at 08:59:44AM +0100, Guillaume Tucker wrote: > The ARM Mali Midgard GPU family is present in a number of SoCs > from many different vendors such as Samsung Exynos and Rockchip. > > Import the device tree bindings documentation from the r16p0 > release of the Mali Midgard GPU k

Re: [PATCH v2] nfc: don't be making arch specific unaligned decisions at driver level.

2017-04-03 Thread Paul Gortmaker
[Re: [PATCH v2] nfc: don't be making arch specific unaligned decisions at driver level.] On 02/04/2017 (Sun 00:22) Samuel Ortiz wrote: > Hi Paul, > > On Mon, Jan 09, 2017 at 12:52:22PM -0500, Paul Gortmaker wrote: > > Currently ia64 fails building allmodconfig with variations of: > > > >In

Re: [PATCH v6 01/11] powerpc/powernv: Data structure and macros definitions

2017-04-03 Thread Daniel Axtens
Hi, > +#define IMC_MAX_CHIPS32 > +#define IMC_MAX_PMUS 32 > +#define IMC_MAX_PMU_NAME_LEN 256 I've noticed this is used as both the maximum length for event names and event value strings. Would another name suit better? > + > +#define IMC_NEST_MAX_P

Re: [PATCH v6 02/11] powerpc/powernv: Autoload IMC device driver module

2017-04-03 Thread Daniel Axtens
Hi, > + do { > + pages = PAGE_SIZE * i; > + pcni->vbase[i++] = (u64)phys_to_virt(pcni->pbase + > + pages); > + } while (i < (pcni->size / PAGE_SIZE)); I also just noticed that

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-03 Thread Daniel Axtens
Madhavan Srinivasan writes: > From: Hemant Kumar > > Parse device tree to detect IMC units. Traverse through each IMC unit > node to find supported events and corresponding unit/scale files (if any). > > Here is the DTS file for reference: > > > https://github.com/open-power/ima-catalog/b

Re: [PATCH 0/3] fujitsu-laptop: call_fext_func() cleanup

2017-04-03 Thread Darren Hart
On Tue, Apr 04, 2017 at 09:13:50AM +0930, Jonathan Woithe wrote: > On Mon, Apr 03, 2017 at 03:13:11PM -0700, Darren Hart wrote: > > On Mon, Apr 03, 2017 at 11:38:56AM +0200, Micha?? K??pie?? wrote: > > > This series contains a few cleanups for the call_fext_func() function. > > > It does not depend

Re: [PATCH 00/11] fujitsu-laptop: backlight cleanup

2017-04-03 Thread Darren Hart
On Thu, Mar 30, 2017 at 12:34:58PM +0200, Michał Kępień wrote: > This series introduces further changes to the way LCD backlight is > handled by fujitsu-laptop. These changes include fixing a bug in code > responsible for generating brightness-related input events, cleaning up > handling of module

Re: [PATCH 11/11] platform/x86: fujitsu-laptop: remove redundant fields from struct fujitsu_bl

2017-04-03 Thread Darren Hart
On Thu, Mar 30, 2017 at 12:35:09PM +0200, Michał Kępień wrote: > The dev field of struct fujitsu_bl is assigned in acpi_fujitsu_bl_add(), > but never used afterwards. brightness_changed is set in get_lcd_level() > and then its value is only printed in a debug message, so it does not > influence ex

linux-next: manual merge of the net-next tree with the net tree

2017-04-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/core/flow_dissector.c between commit: ac6a3722fed6 ("flow dissector: correct size of storage for ARP") from the net tree and commit: 9bf881ffc5c0 ("flow_dissector: Move ARP dissection into a separate function")

Re: [PATCH v6 02/11] powerpc/powernv: Autoload IMC device driver module

2017-04-03 Thread Daniel Axtens
Hi all, I'm trying to get my head around these patches - at this point I'm just doing a first pass, so I may have more substantive structural comments later on. In the mean time - here are some minor C nits: > + * Copyright (C) 2016 Madhavan Srinivasan, IBM Corporation. > + * (C) 2016 H

Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup

2017-04-03 Thread Bamvor Zhang Jian
Hi, On 31 March 2017 at 16:41, Fathi Boudra wrote: > The gpio test requires to insert the gpio mockup module (CONFIG_GPIO_MOCKUP). > The gpio mockup driver depends on gpiolib (CONFIG_GPIOLIB). > CONFIG_GPIO_SYSFS is selected automatically by the gpio mockup driver. > > Tested on x86_64 and arm64

  1   2   3   4   5   6   7   8   9   >