Re: [PATCH 08/11] pinctrl: Add new compatible string to GPIO controller driver

2015-10-27 Thread Linus Walleij
On Mon, Oct 19, 2015 at 7:43 AM, Pramod Kumar wrote: > This compatible string should be used for all new iproc based future > SoCs having the same GPIO controller hardware. > > Signed-off-by: Pramod Kumar > Reviewed-by: Ray Jui >

Re: [PATCH 08/10] staging: fsl-mc: Fixed bug in dprc_probe() error path

2015-10-27 Thread Dan Carpenter
On Mon, Oct 26, 2015 at 10:49:19AM -0500, J. German Rivera wrote: > -error_cleanup_open: > +dprc_scan_container_error: > (void)dprc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); The error label was better in the original code. A "goto error_cleanup_open", that tells you what the goto does.

Re: [PATCH v2 17/17] scsi: ufs-qcom: fix compilation warnings

2015-10-27 Thread ygardi
> On 10/26/2015 08:41 AM, Yaniv Gardi wrote: >> Tnis patch fixes the following compilation warnings: >> ...ufs-qcom.c:1201:40: >> warning: incorrect type in argument 1 (different address spaces) >> ...ufs-qcom.c:1201:40: >> expected void const *ptr >> ...ufs-qcom.c:1201:40: >> got

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-27 Thread Lee Jones
On Tue, 27 Oct 2015, Wolfram Sang wrote: > > Anyone south of Wolfram and north of the I2C ML is unlikely to care. > > Actually, driver maintainers should care about their portion of it. > Which leads me to the conclusion that driver maintainer entries in > MAINTAINERS should have the relevant

Re: [PATCH 3/3] megaraid_sas: return -ENOMEM when create DMA pool for cmd frames failed

2015-10-27 Thread Johannes Thumshirn
On Tue, 2015-10-27 at 16:26 +0800, Weidong Wang wrote: > when create DMA pool for cmd frames failed, we should return -ENOMEM, > instead of 0. > In some case in: > > megasas_init_adapter_fusion() > > -->megasas_alloc_cmds() >    -->megasas_create_frame_pool >   create DMA

Re: [tpmdd-devel] [PATCH] TPM: Avoid reference to potentially freed memory

2015-10-27 Thread Jarkko Sakkinen
On Fri, Oct 23, 2015 at 10:37:33AM +0300, Jarkko Sakkinen wrote: > On Thu, Oct 22, 2015 at 10:32:41PM +0200, Christophe JAILLET wrote: > > Reference to the 'np' node is dropped before dereferencing the 'sizep' and > > 'basep' pointers, which could by then point to junk if the node has been > >

Re: [PATCH -next] gpio: generic: Revert to old error handling in bgpio_map

2015-10-27 Thread Linus Walleij
On Wed, Oct 21, 2015 at 9:12 AM, Guenter Roeck wrote: > Returning an error instead of NULL in bgpio_map if > platform_get_resource_byname does not find a resource was introduced with > commit cf3f2a2c8bae ("gpio: generic: improve error handling in bgpio_map"). > This results

Re: [PATCH 4.2 25/54] memcg: convert threshold to bytes

2015-10-27 Thread Michal Hocko
On Sun 25-10-15 17:32:10, Michal Hocko wrote: > On Sat 24-10-15 14:46:58, Ben Hutchings wrote: > [...] > > > --- a/mm/memcontrol.c > > > +++ b/mm/memcontrol.c > > > @@ -3687,6 +3687,7 @@ static int __mem_cgroup_usage_register_e > > >  >> ret = page_counter_memparse(args, "-1", ); > > >  >

[RFC v5 3/8] kmsg: introduce additional kmsg devices support

2015-10-27 Thread Paul Osmialowski
From: Marcin Niesluchowski kmsg device provides operations on cyclic logging buffer used mainly by kernel but also in userspace by privileged processes. Additional kmsg devices keep the same log format but may be added dynamically with custom size. Signed-off-by:

[RFC v5 1/8] printk: extract kmsg-related routines from printk.c to kmsg.c

2015-10-27 Thread Paul Osmialowski
Following suggestions regarding printk.c code bloat, I prepared this patch which moves kmsg-related routines to new file, kmsg.c This is premilinary step needed for an attempt to extent kmsg interface with ability to dynamically create (and destroy) kmsg-like devices. Signed-off-by: Paul

[PATCH v5 10/15] scsi: ufs: fix error recovery after the hibern8 exit failure

2015-10-27 Thread Yaniv Gardi
Hibern8 exit can be called from 3 different context: - ufshcd_hibern8_exit_work - ufshcd_ungate_work - runtime/system resume If hibern8 exit fails for some reason then we try to bring the link to active state by link startup but this recovery mechanism results into deadlock or errors

[PATCH v5 11/15] scsi: ufs: retry failed query flag requests

2015-10-27 Thread Yaniv Gardi
UFS flag query requests may fail sometimes due to timeouts etc. Add a wrapper function to retry up to 10 times in case of such failure, similar to retries being made for attribute queries. Signed-off-by: Gilad Broner Signed-off-by: Yaniv Gardi ---

Re: [PATCH 8/9] parport: fix a trivial typo

2015-10-27 Thread Sudip Mukherjee
On Sun, Oct 18, 2015 at 11:31:14PM +0800, Geliang Tang wrote: > s/regsiter/register/ > > Signed-off-by: Geliang Tang > --- Hi Greg, I have applied it to my local tree as of now. Will forward you this one along with some other cheanup patches. regards sudip -- To

Re: [PATCH] ahci: Add Marvell 88se91a2 device id

2015-10-27 Thread Johannes Thumshirn
On Tue, 2015-10-20 at 09:31 +0200, Johannes Thumshirn wrote: > Add device id for Marvell 88se91a2 Tejun, ping? -- 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

[PATCH v5 05/15] scsi: ufs: increase fDeviceInit query response timeout

2015-10-27 Thread Yaniv Gardi
fDeviceInit query response time for some devices is too long that default query request timeout of 100ms may not be enough. Experiments show that fDeviceInit response sometimes takes 500ms so to be on safer side this change sets the timeout to 600ms. Without this change, we might unnecessarily

[PATCH v5 07/15] scsi: ufs: set REQUEST_SENSE command size to 18 bytes

2015-10-27 Thread Yaniv Gardi
According to UFS device specification REQUEST_SENSE command can only report back up to 18 bytes of data. Signed-off-by: Gilad Broner Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufshcd.c | 12 +++- 1 file changed, 7 insertions(+), 5

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

2015-10-27 Thread Tejun Heo
Hello, Michal. On Tue, Oct 27, 2015 at 10:16:03AM +0100, Michal Hocko wrote: > > Seriously, nobody goes full-on RUNNING. > > Looping with cond_resched seems like general pattern in the kernel when > there is no clear source to wait for. We have io_schedule when we know > we should wait for IO

[PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-27 Thread huangdaode
From: yankejian updates the bindings documents and dtsi file according to the review comments[https://lkml.org/lkml/2015/9/21/670] from Rob Herring Acked-by: Rob Herring Signed-off-by: yankejian Signed-off-by:

Linux 4.2.4 Random ext4 corruption (thinks active inodes are deleted)

2015-10-27 Thread Jeffrey Merkey
Same as before. Strange error with fuse trying to load (I think its related in some way with the writes being made to the /proc/sysrq), then strange errors. I am running on CENTOS 6.3 with 4.2.4 kernel. fsck cleans up the problem so its not a disk error, kernel error of some sort. Jeff

Re: [PATCH] regulator: tps65217: remove tps65217.dtsi file

2015-10-27 Thread Keerthy
Hi Heiko, On Monday 26 October 2015 02:43 PM, Heiko Schocher wrote: remove tps65217.dtsi and adapt all boards, which used it. I boot tested this on am335x-bone and am335x-boneblack boards and could successfully boot and i even checked the regulators registered am335x-bone: cat

Re: [PATCH v3 2/2] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-27 Thread Stephen Hemminger
> + > +static struct ethtool_ops nb8800_ethtool_ops = { Ops should be const > + .get_settings = nb8800_get_settings, > + .set_settings = nb8800_set_settings, > + .nway_reset = nb8800_nway_reset, > + .get_link = ethtool_op_get_link, >

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-27 Thread Tejun Heo
On Tue, Oct 27, 2015 at 06:56:42AM +0100, Mike Galbraith wrote: > > Well, if you think certain things are being missed, please speak up. > > Not in some media campaign way but with technical reasoning and > > justifications. > > Inserting a middle-man is extremely unlikely to improve performance.

Re: [PATCH 2/7 v2] powerpc/dma-mapping: override dma_get_page_shift

2015-10-27 Thread Alexey Kardashevskiy
On 10/24/2015 07:57 AM, Nishanth Aravamudan wrote: On Power, the kernel's page size can differ from the IOMMU's page size, so we need to override the generic implementation, which always returns the kernel's page size. Lookup the IOMMU's page size from struct iommu_table, if available. Fallback

Re: [PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-27 Thread Tejun Heo
On Tue, Oct 27, 2015 at 11:19:15AM +0530, vinayak.k...@gmail.com wrote: > From: Vinayak Kale > > This patch is needed to make NCQ commands with FPDMA protocol value > (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > > Signed-off-by: Vinayak Kale

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-27 Thread Mike Galbraith
On Tue, 2015-10-27 at 15:00 +0900, Tejun Heo wrote: > On Tue, Oct 27, 2015 at 06:56:42AM +0100, Mike Galbraith wrote: > > > Well, if you think certain things are being missed, please speak up. > > > Not in some media campaign way but with technical reasoning and > > > justifications. > > > >

Re: Re: [PATCH v3 0/8] ftrace with regs + live patching for ppc64 LE (ABI v2)

2015-10-27 Thread kbuild test robot
Hi Torsten, [auto build test ERROR on powerpc/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Torsten-Duwe/Re-PATCH-v3-0-8-ftrace-with-regs-live-patching-for-ppc64-LE-ABI-v2/20151027-020058 config

Re: [PATCHv12 26/37] mm: rework mapcount accounting to enable 4k mapping of THPs

2015-10-27 Thread Naoya Horiguchi
On Tue, Oct 06, 2015 at 06:23:53PM +0300, Kirill A. Shutemov wrote: > We're going to allow mapping of individual 4k pages of THP compound. > It means we need to track mapcount on per small page basis. > > Straight-forward approach is to use ->_mapcount in all subpages to track > how many time this

Re: [PATCH v2 03/13] arc: enable building of all dtbs

2015-10-27 Thread Vineet Gupta
On Thursday 08 October 2015 11:24 PM, Rob Herring wrote: Enable building all dtb files when CONFIG_OF_ALL_DTBS is enabled. The dtbs are not really dependent on a platform being enabled or any other kernel config, so for testing coverage it is convenient to build all of the dtbs. This builds all

[RESEND][PATCH] ARM: debug: add support for Palmchip 16550-like UART

2015-10-27 Thread Mans Rullgard
Some SoCs have a Palmchip UART with a non-standard register layout. This allows the debug console to work with these. Signed-off-by: Mans Rullgard --- arch/arm/Kconfig.debug| 8 arch/arm/include/debug/8250.S | 12 2 files changed, 20 insertions(+)

Re: [PATCH v2 02/32] devicetree: bindings: scsi: HiSi SAS

2015-10-27 Thread John Garry
On 26/10/2015 14:45, Mark Rutland wrote: On Mon, Oct 26, 2015 at 10:14:33PM +0800, John Garry wrote: Add devicetree bindings for HiSilicon SAS driver. Signed-off-by: John Garry --- .../devicetree/bindings/scsi/hisilicon-sas.txt | 70 ++ 1 file

[PATCH 2/2] arm64: validate the delta of cycle_now and cycle_last

2015-10-27 Thread Yang Yingliang
In multi-core system, if the clock is not sync perfectly, it will make cycle_last that recorded by CPU-A is a little more than cycle_now that read by CPU-B. With the negative result, hrtimer_update_base() return a huge and wrong time. It leads to the cpu can not finish the while loop in

[PATCH 1/2] clocksource: replace cycle_last validation with an equal way

2015-10-27 Thread Yang Yingliang
Mask the cycle values before subtraction. So we can use this validation while the clocksource mask is not 64-bits. Signed-off-by: Yang Yingliang Cc: Thomas Gleixner --- kernel/time/timekeeping_internal.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v5 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-10-27 Thread Robin Murphy
On 09/10/15 03:23, Yong Wu wrote: [...] +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include Nit: ordering? +#include +#include "io-pgtable.h" [...] +struct mtk_iommu_data { + void __iomem

Re: [PATCH v5 4/6] memory: mediatek: Add SMI driver

2015-10-27 Thread Robin Murphy
On 09/10/15 03:23, Yong Wu wrote: [...] +static int mtk_smi_probe(struct platform_device *pdev) +{ + struct device *dev = >dev; + struct mtk_smi_data *smidata; + int ret; + + if (!dev->pm_domain) + return -EPROBE_DEFER; + + smidata = devm_kzalloc(dev,

Re: [PATCH 11/52] perf tools: Add stat config event

2015-10-27 Thread Jiri Olsa
On Tue, Oct 27, 2015 at 10:16:05AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Oct 25, 2015 at 03:51:27PM +0100, Jiri Olsa escreveu: > > Adding stat config event to pass/store stat config data, > > so report tools (report/script) know how to interpret > > stat data. > > > > The config data

Re: [PATCH v2] spi: Setup the master controller driver before setting the chipselect

2015-10-27 Thread Grygorii Strashko
On 10/27/2015 03:11 PM, Grygorii Strashko wrote: On 10/27/2015 02:22 PM, Franklin S Cooper Jr. wrote: On 10/16/2015 10:55 AM, Andy Shevchenko wrote: On Fri, Oct 16, 2015 at 6:47 PM, Franklin S Cooper Jr. wrote: On 10/16/2015 10:45 AM, Andy Shevchenko wrote: On Fri, Oct

Re: [PATCH v2 02/13] arc: use common make variables for dtb builds

2015-10-27 Thread Vineet Gupta
On Thursday 08 October 2015 11:24 PM, Rob Herring wrote: Use dtb-y and always make variables to build dtbs instead of explicit dtbs rule. This is in preparation to support building all dtbs. Signed-off-by: Rob Herring Cc: Vineet Gupta

Re: [PATCH v4 3/7] usb: gadget: define free_ep_req as universal function

2015-10-27 Thread Felipe Ferreri Tonello
Hi Robert, On 27/10/15 09:47, Robert Baldyga wrote: > On 10/27/2015 10:18 AM, Felipe Ferreri Tonello wrote: >> Hi Robert, >> >> On 27/10/15 06:53, Robert Baldyga wrote: >>> On 10/26/2015 05:55 PM, Felipe F. Tonello wrote: This function is shared between gadget functions, so this avoid

Re: [PATCH v2] spi: Setup the master controller driver before setting the chipselect

2015-10-27 Thread Grygorii Strashko
On 10/27/2015 02:22 PM, Franklin S Cooper Jr. wrote: On 10/16/2015 10:55 AM, Andy Shevchenko wrote: On Fri, Oct 16, 2015 at 6:47 PM, Franklin S Cooper Jr. wrote: On 10/16/2015 10:45 AM, Andy Shevchenko wrote: On Fri, Oct 16, 2015 at 6:29 PM, Franklin S Cooper Jr

Re: [PATCH] vhost: fix performance on LE hosts

2015-10-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Tue, 27 Oct 2015 11:37:39 +0200 > commit 2751c9882b947292fcfb084c4f604e01724af804 ("vhost: cross-endian > support for legacy devices") introduced a minor regression: even with > cross-endian disabled, and even on LE host, vhost_is_little_endian

Re: [PATCH 11/52] perf tools: Add stat config event

2015-10-27 Thread Arnaldo Carvalho de Melo
Em Sun, Oct 25, 2015 at 03:51:27PM +0100, Jiri Olsa escreveu: > Adding stat config event to pass/store stat config data, > so report tools (report/script) know how to interpret > stat data. > > The config data are stored in 'tag|value' way to allow > easy extension and backward compatibility. I

[PATCH 0/2] validate the delta of cycle_now and cycle_last on arm64

2015-10-27 Thread Yang Yingliang
In multi-core system, if the clock is not sync perfectly, it will make cycle_last that recorded by CPU-A is a little more than cycle_now that read by CPU-B. With the negative result, hrtimer_update_base() return a huge and wrong time. It leads to the cpu can not finish the while loop in

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-27 Thread David Miller
From: Michal Hocko Date: Tue, 27 Oct 2015 13:26:47 +0100 > On Mon 26-10-15 12:56:19, Johannes Weiner wrote: > [...] >> Or any other combination of pick-and-choose consumers. But >> honestly, nowadays all our paths are lockless, and the counting is an >> atomic-add-return with

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

2015-10-27 Thread Tetsuo Handa
Michal Hocko wrote: > > On Fri, Oct 23, 2015 at 01:11:45PM +0200, Michal Hocko wrote: > > > > The problem here is not lack > > > > of execution resource but concurrency management misunderstanding the > > > > situation. > > > > > > And this sounds like a bug to me. > > > > I don't know. I can

[PATCH v2 1/9] eeprom: at24: platform_data: use BIT() macro

2015-10-27 Thread Bartosz Golaszewski
Use BIT() macro to replace the 0xXX constants in platform_data flags definitions. Signed-off-by: Bartosz Golaszewski --- include/linux/platform_data/at24.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/platform_data/at24.h

[PATCH v2 5/9] eeprom: at24: export the serial number through sysfs

2015-10-27 Thread Bartosz Golaszewski
The at24 driver is now capable of reading the serial number from at24cs EEPROM chips. Export the serial number through sysfs. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 44 1 file changed, 40

[PATCH v2 4/9] eeprom: at24: support reading of the serial number

2015-10-27 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area containing a factory pre-programmed serial number. In order to access it, one has to perform a dummy write before reading the serial number bytes. Add a function that allows to access the serial number. Signed-off-by:

[PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2015-10-27 Thread Bartosz Golaszewski
Chips from the at24cs EEPROM series have an additional read-only memory area containing a factory pre-programmed serial number. In order to access it, a dummy write must be executed before reading the serial number bytes. This series adds support for reading the serial number through a sysfs

Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

2015-10-27 Thread Albino B Neto
2015-10-27 9:24 GMT-02:00 Bogicevic Sasa : > This fixes "No space is necessary after a cast" messages from > checkpatch.pl > > Signed-off-by: Bogicevic Sasa Tips for read: https://www.kernel.org/doc/Documentation/CodingStyle Albino -- To

Re: [PATCH] regulator: tps65217: remove tps65217.dtsi file

2015-10-27 Thread Sebastian Reichel
Hi, On Mon, Oct 26, 2015 at 10:13:55AM +0100, Heiko Schocher wrote: > remove tps65217.dtsi and adapt all boards, which > used it. > > Signed-off-by: Heiko Schocher > --- > Suggested by Mark Brown, see: > https://lkml.org/lkml/2015/10/21/581 > >

Re: [PATCH v2] spi: Setup the master controller driver before setting the chipselect

2015-10-27 Thread Franklin S Cooper Jr.
On 10/16/2015 10:55 AM, Andy Shevchenko wrote: > On Fri, Oct 16, 2015 at 6:47 PM, Franklin S Cooper Jr. wrote: >> >> On 10/16/2015 10:45 AM, Andy Shevchenko wrote: >>> On Fri, Oct 16, 2015 at 6:29 PM, Franklin S Cooper Jr >>> wrote: SPI controllers may

Re: [PATCH 3/3] pinctrl: intel: Add Intel Broxton pin controller support

2015-10-27 Thread Linus Walleij
On Wed, Oct 21, 2015 at 12:08 PM, Mika Westerberg wrote: > This driver adds pinctrl/GPIO support for Intel Broxton. The GPIO > controller is based on the same hardware design that is already used in > Intel Sunrisepoint so we leverage the core driver here. > >

Re: [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG

2015-10-27 Thread Sergei Shtylyov
Hello. On 10/27/2015 2:23 AM, Nathan Sullivan wrote: The USB gadget support currently depends on power management (CONFIG_PM) being enabled, but does not actually need it enabled. Remove this dependency. Tested on Bay Trail hardware with dwc3 USB. Signed-off-by: Nathan Sullivan

Re: [PATCH 18/19] ARM: dts: ste: replace legacy *,wakeup property with wakeup-source

2015-10-27 Thread Linus Walleij
On Wed, Oct 21, 2015 at 12:10 PM, Sudeep Holla wrote: > Though the keyboard and other driver will continue to support the legacy > "gpio-key,wakeup", "linux,wakeup" boolean property to enable the wakeup > source, "wakeup-source" is the new standard binding. > > This patch

Re: [PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-27 Thread William Breathitt Gray
On 10/27/2015 07:13 AM, Simon Guinot wrote: > On Tue, Oct 27, 2015 at 11:06:58AM +0100, Linus Walleij wrote: >> On Mon, Oct 19, 2015 at 6:59 PM, William Breathitt Gray >> wrote: >> >>> The ACCES 104-IDIO-16 family of PC/104 utility boards feature 16 >>> optically isolated

Re: [PATCH V2] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-10-27 Thread Matthias Brugger
Hi Daniel, On 26/08/15 16:25, Daniel Lezcano wrote: On 08/25/2015 03:21 PM, Yingjoe Chen wrote: Tested-by: Yingjoe Chen Applied to my tree for 4.4. -- Daniel Kevin found a regression in v4.3 which will need this patch to fix it [1]. Can you apply it to your

Re: [PATCH] Staging:drivers:wlan_ng: code style issues

2015-10-27 Thread Bogicevic Sasa
Thanks, I get it now, Ill will group all changes and resend the patches On 10/27/2015, Greg KH wrote: On Mon, Oct 26, 2015 at 11:21:48PM +0100, Bogicevic Sasa wrote: On 10/26, Bogicevic Sasa wrote: >Thanks for the review just sent the new patch, >since change is very trivial I believe one liner

Re: [PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-27 Thread Simon Guinot
On Tue, Oct 27, 2015 at 11:06:58AM +0100, Linus Walleij wrote: > On Mon, Oct 19, 2015 at 6:59 PM, William Breathitt Gray > wrote: > > > The ACCES 104-IDIO-16 family of PC/104 utility boards feature 16 > > optically isolated inputs and 16 optically isolated FET solid state

Re: [PATCH 1/4 v2] staging: ipath: ipath_driver: Use setup_timer

2015-10-27 Thread Dan Carpenter
On Tue, Oct 27, 2015 at 11:45:18AM +0200, Leon Romanovsky wrote: > On Tue, Oct 27, 2015 at 11:19 AM, Dan Carpenter > wrote: > > On Sun, Oct 25, 2015 at 01:21:11PM +0200, Leon Romanovsky wrote: > >> On Sun, Oct 25, 2015 at 12:17 PM, Muhammad Falak R Wani > >>

[PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

2015-10-27 Thread Bogicevic Sasa
This fixes "No space is necessary after a cast" messages from checkpatch.pl Signed-off-by: Bogicevic Sasa --- drivers/staging/wlan-ng/prism2usb.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2usb.c

[PATCH 1/2] drivers/memory: Add deep sleep support for IFC

2015-10-27 Thread Raghav Dogra
Add support of suspend, resume function to support deep sleep. Also make sure of SRAM initialization during resume. Signed-off-by: Raghav Dogra --- drivers/memory/fsl_ifc.c | 56 include/linux/fsl_ifc.h | 6 ++ 2

[PATCH v4] regulator: tps6520x: add dt support for tps6502x regulator

2015-10-27 Thread Heiko Schocher
add DT support for the tps6502x regulators. Signed-off-by: Heiko Schocher --- Changes in v4: - add comment from Mark Brown: - adapt subject line to "regulator: tps6520x:" - use the generic support for locating the DT information for regulators using regulators_node and of_match

Re: [PATCH 1/3] pinctrl: intel: Add support for multiple GPIO chips sharing the interrupt

2015-10-27 Thread Linus Walleij
On Wed, Oct 21, 2015 at 12:08 PM, Mika Westerberg wrote: > On Intel Broxton the GPIO hardware consists of several chips that all share > the parent interrupt. It is not possible to handle this by setting chained > handler for each chip (as they will overwrite

Re: [PATCH 4/4] perf tools: Introduce usage_with_options_msg()

2015-10-27 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 26, 2015 at 11:13:32PM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: > >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > > > >Now usage_with_options() setup a pager before printing message so normal > >printf() or pr_err() will not be shown. The

Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"

2015-10-27 Thread Josh Cartwright
On Mon, Oct 26, 2015 at 05:44:22PM -0700, Paul E. McKenney wrote: > On Mon, Oct 26, 2015 at 02:14:55PM -0500, Josh Cartwright wrote: > > This reverts commit be3fc413da9eb17cce0991f214ab019d16c88c41. > > > > While the use of synchronize_rcu_expedited() might make > > synchronize_net() "faster", it

Re: [PATCH 2/3] pinctrl: intel: Allow requesting pins which are in ACPI mode as GPIOs

2015-10-27 Thread Linus Walleij
On Wed, Oct 21, 2015 at 12:08 PM, Mika Westerberg wrote: > Reserved for ACPI actually means that in such case the GPIO hardware will > not update the interrupt status register (GPI_IS) even if the pin is > configured to trigger an interrupt. It will update

[PATCH] drivers:staging:wlan_ng Fix Alignment should match open parenthesis

2015-10-27 Thread Bogicevic Sasa
This fixes " Alignment should match open parenthesis" messages from checkpatch.pl Signed-off-by: Bogicevic Sasa --- drivers/staging/wlan-ng/prism2usb.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git

Re: [PATCH V2] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-10-27 Thread Daniel Lezcano
On 10/27/2015 12:11 PM, Matthias Brugger wrote: Hi Daniel, On 26/08/15 16:25, Daniel Lezcano wrote: On 08/25/2015 03:21 PM, Yingjoe Chen wrote: Tested-by: Yingjoe Chen Applied to my tree for 4.4. -- Daniel Kevin found a regression in v4.3 which will need

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

2015-10-27 Thread Tejun Heo
On Tue, Oct 27, 2015 at 08:07:38PM +0900, Tetsuo Handa wrote: > Can't we have a waitqueue like > http://lkml.kernel.org/r/201510142121.ide86954.sovoffqofmj...@i-love.sakura.ne.jp > ? There's no reason to complicate it. It wouldn't buy anything meaningful. Can we please stop trying to solve a

Re: [PATCH V2] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-10-27 Thread Daniel Lezcano
On 10/27/2015 12:23 PM, Daniel Lezcano wrote: On 10/27/2015 12:11 PM, Matthias Brugger wrote: Hi Daniel, On 26/08/15 16:25, Daniel Lezcano wrote: On 08/25/2015 03:21 PM, Yingjoe Chen wrote: Tested-by: Yingjoe Chen Applied to my tree for 4.4. -- Daniel

[PATCH v2 2/9] eeprom: at24: new flag in platform_data

2015-10-27 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski ---

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

2015-10-27 Thread Michal Hocko
On Tue 27-10-15 19:55:06, Tejun Heo wrote: > On Tue, Oct 27, 2015 at 10:22:31AM +0100, Michal Hocko wrote: > ... > > stable kernels without causing any other regressions. 2) is the way > > to move forward for next kernels and we should really think whether > > WQ_MEM_RECLAIM should imply also

Re: [PATCHv2 4.3-rc6] proc: fix convert from oom_score_adj to oom_adj

2015-10-27 Thread Michal Hocko
On Mon 26-10-15 14:42:57, David Rientjes wrote: > On Thu, 22 Oct 2015, Hongjie Fang (方洪杰) wrote: > > > > > The oom_adj has been replaced by oom_score_adj in kernel, > > but the /proc/pid/oom_adj is provided for legacy purposes. > > When write/read a value into/from /proc/pid/oom_adj, > > there

[PATCH v2] regulator: tps65217: remove tps65217.dtsi file

2015-10-27 Thread Heiko Schocher
remove tps65217.dtsi and adapt all boards, which used it. Signed-off-by: Heiko Schocher Tested-by: Keerthy Acked-by: Mark Brown --- Suggested by Mark Brown, see: https://lkml.org/lkml/2015/10/21/581 Changes in v2: - accidentially removed

Re: [PATCH v3 2/2] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-27 Thread Måns Rullgård
Stephen Hemminger writes: >> +.get_settings = nb8800_get_settings, >> +.set_settings = nb8800_set_settings, >> +.nway_reset = nb8800_nway_reset, >> +.get_link = ethtool_op_get_link, >> +}; >> + > > Since

Re: [PATCH 18/19] ARM: dts: ste: replace legacy *,wakeup property with wakeup-source

2015-10-27 Thread Sudeep Holla
On 27/10/15 12:34, Linus Walleij wrote: On Wed, Oct 21, 2015 at 12:10 PM, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "linux,wakeup" boolean property to enable the wakeup source, "wakeup-source" is the

[PATCH v2 8/9] eeprom: at24: remove a reduntant if

2015-10-27 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH v2 3/9] eeprom: at24: tie up an additional address for at24cs series

2015-10-27 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area, that is visible on a different i2c slave address. Tie it up with a dummy device. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 30 ++ 1 file

[PATCH v2 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-10-27 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski ---

[PATCH v2 6/9] eeprom: at24: improve the device_id table readability

2015-10-27 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/at24.c

[PATCH v2 9/9] eeprom: at24: readability tweaks

2015-10-27 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH v2] Staging: android: uapi: fixed comment block coding style error in ion.h

2015-10-27 Thread Dzonatans Melgalvis
Fixed checkpatch.pl warning about comment block coding style. Signed-off-by: Dzonatans Melgalvis

[PATCH] tracing: Only benchmark the time tracepoints take if tracing is on

2015-10-27 Thread Chunyan Zhang
There's no need to record the time tracepoints take when tracing is off. This is because: 1) We cannot see these records since ring_buffer record is off at that moment. 2) If tracing is off and benchmark tracepoint is enabled, the time tracepoint takes is fewer than the same situation when tracing

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-27 Thread Michal Hocko
On Mon 26-10-15 12:56:19, Johannes Weiner wrote: [...] > Now you could argue that there might exist specialized workloads that > need to account anonymous pages and page cache, but not socket memory > buffers. Exactly, and there are loads doing this. Memcg groups are also created to limit

Re: [PATCH] regulator: tps65217: remove tps65217.dtsi file

2015-10-27 Thread Heiko Schocher
Hello Sebastian, Am 27.10.2015 um 13:21 schrieb Sebastian Reichel: Hi, On Mon, Oct 26, 2015 at 10:13:55AM +0100, Heiko Schocher wrote: remove tps65217.dtsi and adapt all boards, which used it. Signed-off-by: Heiko Schocher --- Suggested by Mark Brown, see:

Re: [PATCH v10 3/4] PM / sleep: Go direct_complete if driver has no callbacks

2015-10-27 Thread Tomeu Vizoso
On 26 October 2015 at 13:56, Daniel Kurtz wrote: > Hi Tomeu, > > On Wed, Oct 21, 2015 at 11:34 PM, Tomeu Vizoso > wrote: >> If a suitable prepare callback cannot be found for a given device and >> its driver has no PM callbacks at all, assume

[PATCH v11 4/4] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-10-27 Thread Tomeu Vizoso
Have dev_pm_ops.prepare return 1 for USB devices and ports so that USB devices can remain runtime-suspended when the system goes to a sleep state, if their wakeup state is correct and they have runtime PM enabled. Signed-off-by: Tomeu Vizoso Reviewed-by: Ulf Hansson

Re: [PATCH V4 1/8] acpi: Honor ACPI _CCA attribute setting

2015-10-27 Thread Bjorn Helgaas
>From "git log --oneline include/acpi/acpi_bus.h", I see the convention is to capitalize "ACPI:" in the summary (also applies to other patches in this series). On Wed, Oct 21, 2015 at 08:52:04AM -0700, Suravee Suthikulpanit wrote: > From: Jeremy Linton > > ACPI

[PATCH v11 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-27 Thread Tomeu Vizoso
Adds a function that sets the pointer to dev_pm_domain in struct device and that warns if the device has already finished probing. The reason why we want to enforce that is because in the general case that can cause problems and also that we can simplify code quite a bit if we can always assume

[PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-10-27 Thread Alison Wang
v7 LPAE multi-platform defconfig is based on v7 multi-platform defconfig and adds LPAE support. This defconfig is verified on LS1021A which enables GIANFAR, I2C, WATCHDOG, AUDIO, EDMA and DSPI drivers, etc. Signed-off-by: Alison Wang ---

[PATCH v11 1/4] device core: add device_is_bound()

2015-10-27 Thread Tomeu Vizoso
Adds a function that tells whether a device is already bound to a driver. This is needed to warn when there is an attempt to change the PM domain of a device that has finished probing already. The reason why we want to enforce that is because in the general case that can cause problems and also

[PATCH 00/11] parport cleanup

2015-10-27 Thread Sudip Mukherjee
Hi Greg, A small series of checkpatch cleanup on parport. This is the first set. Its only cleanup and no other change is done. All the patches are also sent along with this pull request for your convenience. The following changes since commit 32b88194f71d6ae7768a29f87fbba454728273ee: Linux

Re: character driver - poll() timeout

2015-10-27 Thread Muni Sekhar
On Tue, Oct 27, 2015 at 1:41 PM, Clemens Ladisch wrote: > Muni Sekhar wrote: >> Is it possible to print the timeout value in character driver poll() API? > > No. Your driver's poll callback never waits. > > Why do you think you need this value? I need to find out when

Re: [PATCH v5 05/15] scsi: ufs: increase fDeviceInit query response timeout

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > fDeviceInit query response time for some devices is too long that default > query request timeout of 100ms may not be enough. Experiments show that > fDeviceInit response sometimes takes 500ms so to be on safer side this > change sets the

[PATCH v12 5/5] nvme: LightNVM support

2015-10-27 Thread Matias Bjørling
The first generation of Open-Channel SSDs is based on NVMe. The NVMe driver is extended with support for the LightNVM command set. Detection is made through PCI IDs. Current supported devices are the qemu nvme simulator and CNEX Labs Westlake SSD. The qemu nvme enables support through vendor

Re: [PATCH] arm: perf: Add event descriptions

2015-10-27 Thread Mark Rutland
On Tue, Oct 27, 2015 at 11:46:12AM -0400, Christopher Covington wrote: > On 10/07/2015 07:20 AM, Will Deacon wrote: > > Hi again, Drew, > > > > On Thu, Sep 24, 2015 at 06:52:57PM +0100, Will Deacon wrote: > >> On Mon, Aug 17, 2015 at 10:40:36PM +0100, Drew Richardson wrote: > >>> So my suggestion

[PATCH v8 2/5] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-10-27 Thread fu . wei
From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Signed-off-by: Fu Wei ---

[PATCH v8 0/5] Watchdog: introduce ARM SBSA watchdog driver

2015-10-27 Thread fu . wei
From: Fu Wei This patchset: (1)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt for FDT info of SBSA Generic Watchdog, and give two examples of adding SBSA Generic Watchdog device node into the dts files: foundation-v8.dts and

[PATCH v8 1/5] Documentation: add sbsa-gwdt driver documentation

2015-10-27 Thread fu . wei
From: Fu Wei The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for introducing SBSA(Server Base System Architecture) Generic Watchdog device node info into FDT. Also add sbsa-gwdt introduction in watchdog-parameters.txt Acked-by: Arnd Bergmann

[PATCH v8 5/5] Watchdog: introduce ARM SBSA watchdog driver

2015-10-27 Thread fu . wei
From: Fu Wei This driver bases on linux kernel watchdog framework, and use "pretimeout" in the framework. It supports getting timeout and pretimeout from parameter and FDT at the driver init stage. In first timeout, the interrupt routine run panic to save system context.

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