Re: [Ksummit-discuss] [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-12 Thread Frederic Weisbecker
On Tue, Aug 11, 2015 at 08:42:58PM +0200, Luis R. Rodriguez wrote: On Tue, Aug 11, 2015 at 10:49:36AM -0700, Andy Lutomirski wrote: This is a bit late, but here goes anyway. Having played with the x86 context tracking hooks for awhile, I think it would be nice if core code that needs to

Re: [PATCH v8 4/7] arm64: kprobes instruction simulation support

2015-08-12 Thread Will Deacon
Hi David, On Tue, Aug 11, 2015 at 01:52:41AM +0100, David Long wrote: From: Sandeepa Prabhu sandeepa.s.pra...@gmail.com Kprobes needs simulation of instructions that cannot be stepped from different memory location, e.g.: those instructions that uses PC-relative addressing. In simulation,

[PATCH v5 0/8] Add support for best effort block read emulation

2015-08-12 Thread Irina Tirdea
This is version 5 for adding i2c_smbus_read_i2c_block_data_or_emulated to i2c-core. Jonathan, I did not add your Reviewed-by to the patch adding the i2c_smbus_read_i2c_block_data_or_emulated function since I made some changes to the code. Thanks, Irina Changes from v4: - optimized the code

[PATCH v5 2/8] eeprom: at24: use i2c_smbus_read_i2c_block_data_or_emulated

2015-08-12 Thread Irina Tirdea
For i2c busses that support only SMBUS extensions, the eeprom at24 driver reads data from the device using the SMBus block, word or byte read protocols depending on availability. Replace the block read emulation from the driver with the i2c_smbus_read_i2c_block_data_or_emulated call from i2c

Re: page-flags behavior on compound pages: a worry

2015-08-12 Thread Kirill A. Shutemov
On Thu, Aug 06, 2015 at 12:24:22PM -0700, Hugh Dickins wrote: IIUC, the only potentially problematic callsites left are physical memory scanners. This code requires audit. I'll do that. Please. I haven't finished the exercise yet. But here's an issue I believe present in current *Linus*

Re: [PATCH] perf/x86/intel/cqm: Move WARN_ONs from intel_cqm_cpu_prepare to cqm_pick_event_reader

2015-08-12 Thread Yasuaki Ishimatsu
Hi Matt, Thank you for the information. Your patch looks good to me. Thanks, Yasuaki Ishimatsu On Wed, 12 Aug 2015 12:00:25 +0100 Matt Fleming m...@codeblueprint.co.uk wrote: On Tue, 11 Aug, at 01:31:05PM, Yasuaki Ishimatsu wrote: When hot adding a CPU and onlining it, the following

Re: [PATCH] Bluetooth: hci_bcm: Fix implicit declaration

2015-08-12 Thread Marcel Holtmann
Hi Fred, The kbuild test robot reported implicit declaration of function 'acpi_dev_get_resources'. Surround ACPI function by CONFIG_ACPI test. Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Frederic Danis frederic.da...@linux.intel.com ---

Re: [PATCH v8 5/7] arm64: Add trampoline code for kretprobes

2015-08-12 Thread Will Deacon
Hi Will, On Tue, Aug 11, 2015 at 01:52:42AM +0100, David Long wrote: From: William Cohen wco...@redhat.com The trampoline code is used by kretprobes to capture a return from a probed function. This is done by saving the registers, calling the handler, and restoring the registers. The code

RE: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-12 Thread Madalin-Cristian Bucur
-Original Message- From: Stas Sergeev [mailto:s...@list.ru] 12.08.2015 16:26, Madalin-Cristian Bucur пишет: I've tried to make the smallest changes that allow me to retrieve those without modifying existing API. Why is it important to hide the default values from the MAC driver?

randconfig build error with next-20150812, in arch/x86/mm/init_64.c

2015-08-12 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) warning: (CRYPTO_DEV_QAT_DH895xCCVF) selects PCI_IOV which has unmet direct dependencies (PCI) In file included from

Re: [PATCH 02/20] regmap: Remove regmap_bulk_write 64bit support

2015-08-12 Thread Mark Brown
On Wed, Aug 12, 2015 at 03:08:38PM +0200, Markus Pargmann wrote: On Wed, Aug 12, 2015 at 01:35:37PM +0100, Mark Brown wrote: I'd expect the framework to cope with things when ints are 64 bit. We don't try to support anything else, though. For all non-busses it probably will. All the

Re: [RFCv5 PATCH 41/46] sched/fair: add triggers for OPP change requests

2015-08-12 Thread Juri Lelli
On 11/08/15 17:37, Vincent Guittot wrote: On 11 August 2015 at 17:07, Juri Lelli juri.le...@arm.com wrote: Hi Vincent, On 11/08/15 12:41, Vincent Guittot wrote: On 11 August 2015 at 11:08, Juri Lelli juri.le...@arm.com wrote: On 10/08/15 16:07, Vincent Guittot wrote: On 10 August 2015 at

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Julia Lawall
On Wed, 12 Aug 2015, Michal Marek wrote: On 2015-08-12 16:53, Kris Borer wrote: On Wed, Aug 12, 2015 at 10:12 AM, Michal Marek mma...@suse.cz mailto:mma...@suse.cz wrote: On 2015-08-12 15:51, Kris Borer wrote: Add a semantic patch for fixing some cases of checkpatch.pl

Re: [PATCH v4] iio: adc: xilinx-xadc: Push interrupts into hardirq context

2015-08-12 Thread Lars-Peter Clausen
On 08/12/2015 01:00 AM, Xander Huff wrote: The driver currently registers a pair of irq handlers using request_threaded_irq(), however the synchronization mechanism between the hardirq and the threadedirq handler is a regular spinlock. Unfortunately, this breaks PREEMPT_RT builds, where a

Re: [PATCH] arm64: Add __exception_irq_entry definition for function graph

2015-08-12 Thread Jungseok Lee
On Aug 13, 2015, at 12:02 AM, Will Deacon wrote: Hi Will, On Wed, Aug 12, 2015 at 03:16:19PM +0100, Jungseok Lee wrote: The gic_handle_irq() is defined with __exception_irq_entry attribute. A single remaining work is to add its definition as ARM did. Below shows how function graph data is

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-12 Thread Eric W. Biederman
Oleg Nesterov o...@redhat.com writes: On 08/11, Eric W. Biederman wrote: Oleg Nesterov o...@redhat.com writes: Then why we can't simply check thread_group_empty() == T ? Why should we worry about CLONE_SIGHAND at all? The same for clone() actually... I forgot why we decided to check

Re: [PATCH v3 6/6] iio: bmg160: Add SPI driver

2015-08-12 Thread Peter Meerwald
On Wed, 12 Aug 2015, Markus Pargmann wrote: Signed-off-by: Markus Pargmann m...@pengutronix.de the spelling of Bosch is inconsistent, sometimes it is BOSCH, I'd prefer the former please find a slightly more relevant comment below :) --- drivers/iio/gyro/Kconfig | 11 +

Re: [PATCH V10] fixup: audit: implement audit by executable

2015-08-12 Thread Richard Guy Briggs
On 15/08/12, Paul Moore wrote: On Wednesday, August 12, 2015 05:48:48 AM Richard Guy Briggs wrote: Do you plan to push this fix to next? Patience. Yes, I'll be pushing this to next sometime this week; as usual I'll send mail when I do. Ok, no problem, I'm not rushing. I was unsure

Re: [PATCH v2] staging: iio: hmc5843: Set iio name dynamically

2015-08-12 Thread Lars-Peter Clausen
On 08/12/2015 03:25 PM, sdliy...@gmail.com wrote: From: Yong Li sdliy...@gmail.com Load the driver using the below command: echo hmc5983 0x1e /sys/bus/i2c/devices/i2c-?/new_device In sysfs, the iio name is hmc5843, however the i2c name is hmc5983, they are inconsistent. With this

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-12 Thread Stephen Hemminger
On Wed, 12 Aug 2015 16:14:33 +0800 Zang MingJie zealot0...@gmail.com wrote: On Wed, Aug 12, 2015 at 4:52 AM, Alexander Duyck alexander.du...@gmail.com wrote: On 08/10/2015 04:50 AM, Hannes Frederic Sowa wrote: Hello, Zang MingJie zealot0...@gmail.com writes: Here comes several

Re: [PATCH v2 0/2] net: thunder: Add ACPI support.

2015-08-12 Thread Catalin Marinas
On Tue, Aug 11, 2015 at 01:04:55PM -0700, David Daney wrote: On 08/11/2015 11:49 AM, David Miller wrote: From: David Daney ddaney.c...@gmail.com Date: Mon, 10 Aug 2015 17:58:35 -0700 Change from v1: Drop PHY binding part, use fwnode_property* APIs. The first patch (1/2) rearranges the

Re: [PATCH v2] serial: max310x: Fix out of bounds access

2015-08-12 Thread Greg Kroah-Hartman
On Wed, Aug 12, 2015 at 07:50:25PM +0800, Kang Yin Su wrote: On 12 August 2015 at 17:46, Alexander Shiyan shc_w...@mail.ru wrote: Среда, 12 августа 2015, 15:36 +08:00 от cantona cant...@cantona.net: added Alexander Shiyan shc_w...@mail.ru . On 12 August 2015 at 15:22, Su Kang Yin

Re: [PATCH v2 net-next] sky2: use random address if EEPROM is bad

2015-08-12 Thread Stephen Hemminger
On Wed, 12 Aug 2015 10:30:05 +0100 Liviu Dudau liviu.du...@arm.com wrote: On Tue, Aug 11, 2015 at 06:01:32PM +0100, Stephen Hemminger wrote: On Tue, 11 Aug 2015 15:35:56 +0100 Liviu Dudau liviu.du...@arm.com wrote: On some embedded systems the EEPROM does not contain a valid MAC

RE: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-12 Thread Madalin-Cristian Bucur
-Original Message- From: Stas Sergeev [mailto:s...@list.ru] snip But have you looked into the patch I pointed previously? https://lkml.org/lkml/2015/7/20/711 You code will likely clash with it because my patch extends of_phy_register_fixed_link(). I admin I failed to grasp the

Re: [RFCv5 PATCH 20/46] sched: Relocated get_cpu_usage() and change return type

2015-08-12 Thread Morten Rasmussen
On Wed, Aug 12, 2015 at 12:59:23PM +0200, Peter Zijlstra wrote: On Tue, Jul 07, 2015 at 07:24:03PM +0100, Morten Rasmussen wrote: +static unsigned long get_cpu_usage(int cpu) +{ + int sum; + unsigned long usage = cpu_rq(cpu)-cfs.utilization_load_avg; + unsigned long blocked =

Re: [PATCH] HID: gembird: add new driver to fix Gembird JPD-DualForce 2

2015-08-12 Thread Benjamin Tissoires
On Aug 12 2015 or thereabouts, Orivej Desh wrote: This gamepad advertises 5 absolute axis while 4 are actually used. The first Z axis shows some garbage, so it has to be ignored by HID. The second Z axis and the Rz one are actually Rx and Ry. Remap them. We could also just remap and ignore

Re: [PATCH V4 1/3] mfd: arizona: factor out DCVDD isolation control

2015-08-12 Thread Lee Jones
On Wed, 12 Aug 2015, Richard Fitzgerald wrote: Currently DCVDD isolation is enabled and disabled for runtime_suspend and runtime_resume. Future codecs will not have the isolation control so to prepare for these codecs this patch factors out the isolation control allowing it to be called as

Re: [PATCH] spi: Mediatek: fix endian warnings

2015-08-12 Thread Jonas Gorski
Hi, On Tue, Aug 11, 2015 at 12:43 PM, Leilk Liu leilk@mediatek.com wrote: This patch fixes endian warnings detected by sparse: - sparse: incorrect type in argument 1 (different base types) expected unsigned int [unsigned] val got restricted __le32 [usertype] noident -

Re: [PATCH 05/10] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types

2015-08-12 Thread Christoph Lameter
On Wed, 12 Aug 2015, Mel Gorman wrote: @@ -149,14 +150,15 @@ struct vm_area_struct; /* Convert GFP flags to their corresponding migrate type */ static inline int gfpflags_to_migratetype(const gfp_t gfp_flags) { - WARN_ON((gfp_flags GFP_MOVABLE_MASK) == GFP_MOVABLE_MASK); +

[PATCH v3 6/6] iio: bmg160: Add SPI driver

2015-08-12 Thread Markus Pargmann
Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/gyro/Kconfig | 11 + drivers/iio/gyro/Makefile | 1 + drivers/iio/gyro/bmg160_spi.c | 57 +++ 3 files changed, 69 insertions(+) create mode 100644

randconfig build error with next-20150812, in drivers/extcon/extcon-palmas.c

2015-08-12 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) drivers/extcon/extcon-palmas.c: In function ‘palmas_gpio_id_detect’: drivers/extcon/extcon-palmas.c:136:2: error: implicit

[PATCH v3 2/6] iio: bmg160: Remove i2c_client from data struct

2015-08-12 Thread Markus Pargmann
i2c_client variable is not really used anymore in the core driver. It is only used to get the device to make proper outputs. This patch replaces all i2c_client usage through direct usage of the device pointer. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/gyro/bmg160.c | 64

[PATCH v3 4/6] iio: bmg160: Remove remaining uses of i2c_client

2015-08-12 Thread Markus Pargmann
Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/gyro/bmg160.c | 55 +++ 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/drivers/iio/gyro/bmg160.c b/drivers/iio/gyro/bmg160.c index 6eab91ba8977..39df64fb4262 100644 ---

Re: [linux-sunxi] [PATCH v3 1/3] mmc: sunxi: fix timeout in sunxi_mmc_oclk_onoff

2015-08-12 Thread Hans de Goede
Hi, On 08/12/2015 03:29 PM, Michal Suchanek wrote: The 250ms timeout is too short. On my system enabling the oclk takes under 50ms and disabling slightly over 100ms when idle. Under load disabling the clock can take over 350ms. This does not make mmc clock gating look like good option to have

[PATCH v3 0/6] iio: bmg160: Add SPI connection

2015-08-12 Thread Markus Pargmann
Hi, bmg160 and bmi055 can be used via I2C and SPI. This series converts the driver to regmap and splits core driver and I2C/SPI. Changes in v3: - removed 'select REGMAP' as it is selected by REGMAP_I2C - added EXPORT_SYMBOL_GPL for the core functions - removed default values from

Re: [PATCH v4 1/8] i2c: core: Add support for best effort block read emulation

2015-08-12 Thread Wolfram Sang
to print any error messages, but I was not sure. Anyway, I think I'll drop the error message entirely and leave error handling to the calling code. Even better :) Thanks, Wolfram signature.asc Description: Digital signature

[PATCH v3 1/6] iio: bmg160: Use i2c regmap instead of direct i2c access

2015-08-12 Thread Markus Pargmann
This patch introduces regmap usage into the driver. This is done to later easily support the SPI interface of this chip. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/gyro/Kconfig | 1 + drivers/iio/gyro/bmg160.c | 198 -- 2

[PATCH v3 3/6] iio: bmg160: Use generic dev_drvdata

2015-08-12 Thread Markus Pargmann
i2c_get_clientdata() is specifically for i2c. Replace it with the generic dev_get/set_drvdata() to support different protocols. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/gyro/bmg160.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v3 5/6] iio: bmg160: Separate i2c and core driver

2015-08-12 Thread Markus Pargmann
This patch separates the core driver using regmap and the i2c driver which creates the i2c regmap. Also in the Kconfig file BMG160 and BMG160_I2C are separate now. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/gyro/Kconfig | 18 +--

Re: [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-12 Thread Frederic Weisbecker
On Tue, Aug 11, 2015 at 12:07:54PM -0700, Andy Lutomirski wrote: On Tue, Aug 11, 2015 at 11:33 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Tue, Aug 11, 2015 at 10:49:36AM -0700, Andy Lutomirski wrote: This is a bit late, but here goes anyway. Having played with the x86

Re: [PATCH] arm64: Add __exception_irq_entry definition for function graph

2015-08-12 Thread Will Deacon
On Wed, Aug 12, 2015 at 03:16:19PM +0100, Jungseok Lee wrote: The gic_handle_irq() is defined with __exception_irq_entry attribute. A single remaining work is to add its definition as ARM did. Below shows how function graph data is changed with these hunks. [...] diff --git

Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic clock gating.

2015-08-12 Thread Olliver Schinagl
The thing is, I never saw the prints in my console (i assume that it prints on the console by default with earlyprintk/debug stuff enabled as per sunxi-usual)? P.S. what I do as a basic test, is on our very very minimal empty debian image (think 150 mb) i do a apt-get build-essential that

[PATCH] power_supply: max8998: Use devm_power_supply_register

2015-08-12 Thread Vaishali Thakkar
Use managed resource function devm_power_supply_register instead of power_supply_register. To be compatible with the change, replace various gotos by direct returns and remove unneeded label err. Also, remove max8998_battery_remove as it is now redundant. Signed-off-by: Vaishali Thakkar

[PATCH] pinctrl-zynq.c: Fix typos in smc0_nand_grp and smc0_nor_grp

2015-08-12 Thread Mike Looijmans
Group names should be smc0_nand_grp and smc0_nor_grp, otherwise you'll get errors like this if you try to pinmux them via the devicetree: zynq-pinctrl 700.pinctrl: invalid group smc0_nand_grp for function smc0_nand Probably a typo while creating these tables. Signed-off-by: Mike Looijmans

[PATCH v5 4/8] iio: accel: bmc150: optimize i2c transfers in trigger handler

2015-08-12 Thread Irina Tirdea
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the bmc150 accel driver does one i2c transfer for each axis. This has an

[PATCH v5 1/8] i2c: core: Add support for best effort block read emulation

2015-08-12 Thread Irina Tirdea
There are devices that need to handle block transactions regardless of the capabilities exported by the adapter. For performance reasons, they need to use i2c read blocks if available, otherwise emulate the block transaction with word or byte transactions. Add support for a helper function that

[PATCH v5 8/8] iio: accel: kxcjk-1013: optimize i2c transfers in trigger handler

2015-08-12 Thread Irina Tirdea
From: Adriana Reus adriana.r...@intel.com Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the kxcjk-1013 accel driver does

[PATCH v5 3/8] iio: accel: bmc150: use available_scan_masks

2015-08-12 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Irina Tirdea irina.tir...@intel.com Acked-by: Jonathan Cameron ji...@kernel.org Acked-by: Srinivas

[PATCH v5 7/8] iio: accel: kxcjk-1013: use available_scan_masks

2015-08-12 Thread Irina Tirdea
From: Adriana Reus adriana.r...@intel.com Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Adriana Reus adriana.r...@intel.com Signed-off-by: Irina

[PATCH v5 6/8] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-08-12 Thread Irina Tirdea
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the bmg160 driver does one i2c transfer for each axis. This has an impact

[PATCH v5 5/8] iio: gyro: bmg160: use available_scan_masks

2015-08-12 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Irina Tirdea irina.tir...@intel.com Acked-by: Jonathan Cameron ji...@kernel.org Acked-by: Srinivas

Re: [PATCH] Bluetooth: hci_bcm: improve use of gpios API

2015-08-12 Thread Marcel Holtmann
Hi Uwe, devm_gpiod_get currently has an optional parameter to set initial direction and value for the requested gpio. Make use of this to simplify the driver and make it not fail to build when this parameter is made mandatory (which is scheduled for 4.3-rc1). Moreover use the _optional

Re: [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-12 Thread Frederic Weisbecker
On Tue, Aug 11, 2015 at 11:33:12AM -0700, Paul E. McKenney wrote: On Tue, Aug 11, 2015 at 10:49:36AM -0700, Andy Lutomirski wrote: Some arches may need: i_am_lame_and_forgot_my_previous_context() x86 will soon (4.3 or 4.4, depending on how my syscall cleanup goes) no longer need

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-12 Thread Oleg Nesterov
On 08/11, Eric W. Biederman wrote: Oleg Nesterov o...@redhat.com writes: Then why we can't simply check thread_group_empty() == T ? Why should we worry about CLONE_SIGHAND at all? The same for clone() actually... I forgot why we decided to check CLONE_SIGHAND, iirc I suggested

Re: [PATCH V4 2/3] mfd: arizona: factor out checking of jack detection state

2015-08-12 Thread Lee Jones
On Wed, 12 Aug 2015, Richard Fitzgerald wrote: Currently runtime_suspend will fully power off the codec if the jack detection is not enabled. Not all future codecs will have jack detection so to prepare for these codecs this patch factors out the check so that it be called as needed in the

Re: page-flags behavior on compound pages: a worry

2015-08-12 Thread Vlastimil Babka
On 08/12/2015 04:35 PM, Kirill A. Shutemov wrote: On Thu, Aug 06, 2015 at 12:24:22PM -0700, Hugh Dickins wrote: IIUC, the only potentially problematic callsites left are physical memory scanners. This code requires audit. I'll do that. Please. I haven't finished the exercise yet. But here's

RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-12 Thread PINTU KUMAR
Hi, -Original Message- From: Michal Hocko [mailto:mho...@kernel.org] Sent: Tuesday, August 11, 2015 4:25 PM To: PINTU KUMAR Cc: 'Andrew Morton'; linux-kernel@vger.kernel.org; linux...@kvack.org; minc...@kernel.org; d...@stgolabs.net; koc...@gmail.com; mgor...@suse.de;

Re: [tip:x86/asm] x86/asm/entry/64: Migrate error and IRQ exit work to C and remove old assembly code

2015-08-12 Thread Andy Lutomirski
On Wed, Aug 12, 2015 at 6:32 AM, Frederic Weisbecker fweis...@gmail.com wrote: On Tue, Aug 11, 2015 at 04:33:05PM -0700, Andy Lutomirski wrote: On Tue, Aug 11, 2015 at 4:22 PM, Frederic Weisbecker fweis...@gmail.com wrote: On Tue, Aug 11, 2015 at 03:51:26PM -0700, Andy Lutomirski wrote:

Re: linux-next: build failure after merge of the gpio tree

2015-08-12 Thread Stephen Rothwell
Hi Uwe, On Wed, 12 Aug 2015 22:27:58 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: On Wed, 12 Aug 2015 10:21:07 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: On Wed, Aug 12, 2015 at 06:10:45PM +1000, Stephen Rothwell wrote: After merging the gpio tree, today's

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Michal Marek
On 2015-08-12 16:53, Kris Borer wrote: On Wed, Aug 12, 2015 at 10:12 AM, Michal Marek mma...@suse.cz mailto:mma...@suse.cz wrote: On 2015-08-12 15:51, Kris Borer wrote: Add a semantic patch for fixing some cases of checkpatch.pl http://checkpatch.pl error: ERROR: do

Re: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-12 Thread Stas Sergeev
12.08.2015 17:43, Madalin-Cristian Bucur пишет: -Original Message- From: Stas Sergeev [mailto:s...@list.ru] 12.08.2015 16:26, Madalin-Cristian Bucur пишет: I've tried to make the smallest changes that allow me to retrieve those without modifying existing API. Why is it important to

kthreads: sporadic NULL pointer dereference in exit_creds()

2015-08-12 Thread Phil Sutter
[please keep me on Cc: since I am not subscribed to this list] Hi, While enhancing lib/test_rhashtable.c by a few threads to provoke concurrency issues, I encountered a bug in the kernel's cleanup routines for kthreads. Upon calling kthread_stop(), it would occasionally call exit_creds() for the

[PATCH] staging: media:lirc: Added a newline character after declaration

2015-08-12 Thread Aparna Karuthodi
Added a newline character to remove a coding style warning detected by checkpatch. The warning is given below: drivers/staging/media/lirc/lirc_serial.c:1169: WARNING: quoted string split across lines Signed-off-by: Aparna Karuthodi kdasapa...@gmail.com ---

Re: [PATCH v3 0/6] iio: bmg160: Add SPI connection

2015-08-12 Thread Lars-Peter Clausen
Hi, Markus and Irina can you try to synchronize your efforts. This series will conflict with http://marc.info/?l=linux-iiom=143938994602171w=2 I think it would be best if the multi-read emulation support is added to regmap (which I think Markus' earlier series did). - Lars On 08/12/2015 04:50

randconfig build error with next-20150812, in drivers/i2c/busses/i2c-i801.c

2015-08-12 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `dmi_check_onboard_devices': i2c-i801.c:(.text+0x126b36): undefined reference to `i2c_new_device' drivers/built-in.o: In function `i801_remove': i2c-i801.c:(.text+0x126b86): undefined reference to

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-12 Thread Paul E. McKenney
On Wed, Aug 12, 2015 at 02:44:15PM +0100, Will Deacon wrote: Hello Paul, On Fri, Jul 24, 2015 at 04:30:46PM +0100, Paul E. McKenney wrote: On Fri, Jul 24, 2015 at 12:31:01PM +0100, Will Deacon wrote: On Wed, Jul 15, 2015 at 02:12:21PM +0100, Paul E. McKenney wrote: commit

Re: [PATCH] staging: media:lirc: Added a newline character after declaration

2015-08-12 Thread Greg KH
On Wed, Aug 12, 2015 at 08:41:42PM +0530, Aparna Karuthodi wrote: Added a newline character to remove a coding style warning detected by checkpatch. The warning is given below: drivers/staging/media/lirc/lirc_serial.c:1169: WARNING: quoted string split across lines Signed-off-by: Aparna

Re: enabling libgcc for 64-bit divisions, was Re: PROBLEM: XFS on ARM corruption 'Structure needs cleaning'

2015-08-12 Thread Linus Torvalds
On Tue, Aug 11, 2015 at 11:24 PM, Christoph Hellwig h...@infradead.org wrote: Maybe it's time to rely on gcc to handle 64 bit divisions now? Ugh. gcc still does a pretty horrible job at it. While gcc knows that a widening 32x32-64 multiplication can be simplified, it doesn't do the same thing

RE: [PATCH] Drivers: hv: vmbus: fix init_vp_index() for reloading hv_netvsc

2015-08-12 Thread Dexuan Cui
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Wednesday, August 12, 2015 22:11 To: Dexuan Cui de...@microsoft.com Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org;

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #7a]

2015-08-12 Thread David Howells
James Morris jmor...@namei.org wrote: -define config_filename = +define config_filename Is this likely to be a problem for newer makes? David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

RE: [v3 3/3] serial: 8250_dw: Add UPF_SKIP_TEST to flags depend on device tree

2015-08-12 Thread Noam Camus
From: Peter Hurley [mailto:pe...@hurleysoftware.com] Sent: Wednesday, August 12, 2015 4:17 PM I think Greg's question about the simulator still applies: why upstream this? The simulator is not even identified so how is someone supposed to know this workaround applies? The fact there are

Re: [PATCH v2 0/2] net: thunder: Add ACPI support.

2015-08-12 Thread David Daney
On 08/12/2015 08:23 AM, Catalin Marinas wrote: On Tue, Aug 11, 2015 at 01:04:55PM -0700, David Daney wrote: On 08/11/2015 11:49 AM, David Miller wrote: From: David Daney ddaney.c...@gmail.com Date: Mon, 10 Aug 2015 17:58:35 -0700 Change from v1: Drop PHY binding part, use fwnode_property*

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-12 Thread Stas Sergeev
12.08.2015 23:28, Andy Lutomirski пишет: On Wed, Aug 12, 2015 at 1:14 PM, Stas Sergeev s...@list.ru wrote: 12.08.2015 23:01, Andy Lutomirski пишет: On Wed, Aug 12, 2015 at 12:55 PM, Stas Sergeev s...@list.ru wrote: 12.08.2015 22:20, Andy Lutomirski пишет: current kernels, it stays switched.

Re: [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool op

2015-08-12 Thread David Miller
From: Andrew Schwartzmeyer andsc...@microsoft.com Date: Tue, 11 Aug 2015 17:14:32 -0700 This enables the use of ethtool --set-channels devname combined N to change the number of vRSS queues. Separate rx, tx, and other parameters are not supported. The maximum is rsscap.num_recv_que. It passes

Re: [PATCH net-next 1/2] hv_netvsc: Set vRSS with num_chn in RNDIS filter

2015-08-12 Thread David Miller
From: Andrew Schwartzmeyer andsc...@microsoft.com Date: Tue, 11 Aug 2015 17:14:31 -0700 Uses device_info-num_chn to pass user provided number of vRSS queues (from ethtool --set-channels) to rndis_filter_device_add. If nonzero and less than the maximum, set net_device-num_chn to the given

Re: linux-next: Tree for Aug 12 (include/linux/pci.h)

2015-08-12 Thread Randy Dunlap
On 08/12/15 14:53, Stephen Rothwell wrote: Hi Randy, On Wed, 12 Aug 2015 11:05:36 -0700 Randy Dunlap rdun...@infradead.org wrote: on i386 or x86_64: Many (repeated) errors like this one: ../include/linux/pci.h:390:12: error: ‘struct pci_dev’ has no member named ‘physfn’ when

Re: [PATCHv3 net-next 06/10] openvswitch: Allow matching on conntrack mark

2015-08-12 Thread Joe Stringer
On 12 August 2015 at 16:00, Pravin Shelar pshe...@nicira.com wrote: On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: From: Justin Pettit jpet...@nicira.com Allow matching and setting the conntrack mark field. As with conntrack state and zone, these are populated by

[PATCH] mm: cma: mark cma_bitmap_maxno() inline in header

2015-08-12 Thread Gregory Fong
cma_bitmap_maxno() was marked as static and not static inline, which can cause warnings about this function not being used if this file is included in a file that does not call that function, and violates the conventions used elsewhere. The two options are to move the function implementation back

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-12 Thread Andy Lutomirski
On Wed, Aug 12, 2015 at 1:45 PM, Stas Sergeev s...@list.ru wrote: 12.08.2015 23:28, Andy Lutomirski пишет: On Wed, Aug 12, 2015 at 1:14 PM, Stas Sergeev s...@list.ru wrote: 12.08.2015 23:01, Andy Lutomirski пишет: On Wed, Aug 12, 2015 at 12:55 PM, Stas Sergeev s...@list.ru wrote:

Re: [PATCH v8 00/21] Compile-time stack validation

2015-08-12 Thread Chris J Arges
snip Thanks for trying it out. I couldn't figure out how to recreate this exact error, but I played around with make mrproper and saw some probably related errors. Does this fix it? ---8--- Subject: [PATCH] stackvalidate: fix circular build dependencies After make mrproper with

Re: [RFC PATCH v4 3/9] mips: pistachio_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-12 Thread Ralf Baechle
On Thu, Aug 06, 2015 at 02:45:15PM +0800, Shawn Lin wrote: DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin shawn@rock-chips.com ---

Re: enabling libgcc for 64-bit divisions, was Re: PROBLEM: XFS on ARM corruption 'Structure needs cleaning'

2015-08-12 Thread Andy Lutomirski
On Wed, Aug 12, 2015 at 3:36 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Aug 12, 2015 at 3:20 PM, Andy Lutomirski l...@kernel.org wrote: Does your objection still apply if we supplied our own implementations of a handful of libgcc helpers? We already do that. Several

Re: [RFC PATCH v4 3/9] mips: pistachio_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-12 Thread Shawn Lin
在 2015/8/13 6:05, Ralf Baechle 写道: On Thu, Aug 06, 2015 at 02:45:15PM +0800, Shawn Lin wrote: DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn

[PATCH v5 7/8] devres: add devm_memremap

2015-08-12 Thread Dan Williams
From: Christoph Hellwig h...@lst.de Signed-off-by: Christoph Hellwig h...@lst.de Signed-off-by: Dan Williams dan.j.willi...@intel.com --- include/linux/io.h |4 kernel/memremap.c | 39 +++ 2 files changed, 43 insertions(+) diff --git

[PATCH v5 4/8] arch: introduce memremap()

2015-08-12 Thread Dan Williams
Existing users of ioremap_cache() are mapping memory that is known in advance to not have i/o side effects. These users are forced to cast away the __iomem annotation, or otherwise neglect to fix the sparse errors thrown when dereferencing pointers to this memory. Provide memremap() as a non

[PATCH v5 8/8] pmem: switch to devm_ allocations

2015-08-12 Thread Dan Williams
From: Christoph Hellwig h...@lst.de Signed-off-by: Christoph Hellwig h...@lst.de [djbw: tools/testing/nvdimm/ and memumap_pmem support] Signed-off-by: Dan Williams dan.j.willi...@intel.com --- drivers/nvdimm/pmem.c | 36 + include/linux/pmem.h

[PATCH v5 3/8] cleanup IORESOURCE_CACHEABLE vs ioremap()

2015-08-12 Thread Dan Williams
Quoting Arnd: I was thinking the opposite approach and basically removing all uses of IORESOURCE_CACHEABLE from the kernel. There are only a handful of them.and we can probably replace them all with hardcoded ioremap_cached() calls in the cases they are actually useful. All

[PATCH v5 6/8] pmem: convert to generic memremap

2015-08-12 Thread Dan Williams
Kill arch_memremap_pmem() and just let the architecture specify the flags to be passed to memremap(). Default to writethrough by default. Cc: Ross Zwisler ross.zwis...@linux.intel.com Suggested-by: Christoph Hellwig h...@lst.de Signed-off-by: Dan Williams dan.j.willi...@intel.com ---

[PATCH v5 5/8] visorbus: switch from ioremap_cache to memremap

2015-08-12 Thread Dan Williams
In preparation for deprecating ioremap_cache() convert its usage in visorbus to memremap. Cc: Benjamin Romer benjamin.ro...@unisys.com Cc: David Kershner david.kersh...@unisys.com Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Dan Williams dan.j.willi...@intel.com ---

Re: linux-next: build failure after merge of the gpio tree

2015-08-12 Thread Chanwoo Choi
Hi Stephen, On 08/13/2015 08:02 AM, Stephen Rothwell wrote: Hi Uwe, On Wed, 12 Aug 2015 22:16:42 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: On Wed, Aug 12, 2015 at 06:10:45PM +1000, Stephen Rothwell wrote: After merging the gpio tree, today's linux-next build (powerpc

[PATCH v5 1/8] mm: enhance region_is_ram() to region_intersects()

2015-08-12 Thread Dan Williams
region_is_ram() is used to prevent the establishment of aliased mappings to physical System RAM with incompatible cache settings. However, it uses -1 to indicate both unknown memory ranges (ranges not described by platform firmware) and mixed ranges (where the parameters describe a range that

Re: [PATCH] ARM: dts: exynos4412-odroidu3: Enable SPI1.

2015-08-12 Thread Krzysztof Kozlowski
On 12.08.2015 20:27, Alexis Ballier wrote: SPI1 is available on IO Port #2 (as depicted on their website) in PCB Revision 0.5 of Hardkernel Odroid U3 board. The shield connects a 256KiB spi-nor flash on that bus. Signed-off-by: Alexis Ballier aball...@gentoo.org ---

Re: [4.2-rc4] acpi|drm|i915: circular locking dependency: acpi_video_get_backlight_type

2015-08-12 Thread Rafael J. Wysocki
On Monday, August 10, 2015 08:29:00 PM Sedat Dilek wrote: On Sat, Aug 1, 2015 at 2:23 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Mon, Jul 27, 2015 at 12:33 AM, Sedat Dilek sedat.di...@gmail.com wrote: Hi, this my first build of a 4.2-rcN Linux-kernel and I see this... Just FYI:

[v2 00/11] Freescale DPAA QBMan Drivers

2015-08-12 Thread Roy Pledge
The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the accelerators.

[v2 11/11] soc/qman: add qman_delete_cgr_safe()

2015-08-12 Thread Roy Pledge
From: Madalin Bucur madalin.bu...@freescale.com Add qman_delete_cgr_safe() that can be called from any CPU. This in turn schedules qman_delete_cgr() on the proper CPU. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com Signed-off-by: Roy Pledge roy.ple...@freescale.com ---

Re: [Ksummit-discuss] [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-12 Thread Luis R. Rodriguez
On Tue, Aug 11, 2015 at 02:50:29PM -0700, Paul E. McKenney wrote: On Tue, Aug 11, 2015 at 08:42:58PM +0200, Luis R. Rodriguez wrote: On Tue, Aug 11, 2015 at 10:49:36AM -0700, Andy Lutomirski wrote: This is a bit late, but here goes anyway. Having played with the x86 context tracking

[v2 10/11] soc/qman: Add HOTPLUG_CPU support to the QMan driver

2015-08-12 Thread Roy Pledge
From: Hai-Ying Wang haiying.w...@freescale.com Add support for CPU hotplug for the DPAA 1.0 Queue Manager driver. Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com Signed-off-by: Emil Medve emilian.me...@freescale.com Signed-off-by: Roy Pledge roy.ple...@freescale.com ---

Re: linux-next: build failure after merge of the gpio tree

2015-08-12 Thread Uwe Kleine-König
Hello, On Wed, Aug 12, 2015 at 06:10:45PM +1000, Stephen Rothwell wrote: After merging the gpio tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/extcon/extcon-palmas.c:211:25: error: too few arguments to function 'devm_gpiod_get_optional'

Re: ARM:Gemini:clocksource update for 4.3

2015-08-12 Thread Roman Yeryomin
On 2015-08-07 16:56, Hans Ulli Kroll wrote: Hi all, sorry for being late in this cycle ... I asked Roman to send me his patchset with 2 patched, but he don't respond. Sorry, was in business trip, just returned. So here is my patchset. Thanks for taking care! Regards, Roman -- To

Re: regression introduced by block: Add support for DAX reads/writes to block devices

2015-08-12 Thread Jeff Moyer
Boaz Harrosh b...@plexistor.com writes: On 08/07/2015 11:41 PM, Jeff Moyer wrote: We need to cope with the case where the end of a partition isn't on a page boundary though. Well, that's usually done by falling back to buffered I/O. I gave that a try and panicked the box. :) I'll

  1   2   3   4   5   6   7   8   9   10   >