Re: [PATCH V2] ata: Disabling the async PM for JMicron chips

2014-09-27 Thread Aaron Lu
On 09/24/2014 03:22 PM, Chuansheng Liu wrote: > Like the commit e6b7e41cdd8c ("ata: Disabling the async PM for JMicron chip > 363/361"), > Barto found the similar issue for JMicron chip 368, that 363/368 has no > parent-children relationship, but they have the power dependency. > > So here we

Re: Linus GIT - 3.17.0-rc6+ - BUG: unable to handle kernel NULL pointer dereference - IP: [] thermal_get_trip_type+0x17/0x84 [thermal]

2014-09-27 Thread Zhang Rui
On Sun, 2014-09-28 at 01:24 -0400, Miles Lane wrote: > This occurs during the boot process. It is not triggered by userspace > as far as I can tell. There are other OOPS messages. I can send the > full list if it will help. > yes, please do. is this 100% reproducible for every boot? what is

Linus GIT - 3.17.0-rc6+ - BUG: unable to handle kernel NULL pointer dereference - IP: [] thermal_get_trip_type+0x17/0x84 [thermal]

2014-09-27 Thread Miles Lane
This occurs during the boot process. It is not triggered by userspace as far as I can tell. There are other OOPS messages. I can send the full list if it will help. [2.364611] BUG: unable to handle kernel NULL pointer dereference at 0039 [2.364615] IP: []

Re: [PATCH v5 RESEND 1/3] ARM: EXYNOS: Move code from hotplug.c to platsmp.c

2014-09-27 Thread Kukjin Kim
On 09/27/14 17:39, Krzysztof Kozlowski wrote: W dniu 26.09.2014 o 23:13, Arnd Bergmann pisze: On Friday 05 September 2014, Krzysztof Kozlowski wrote: The commit only moves code around with one additional observable change: the hotplug.c was compiled with custom CFLAGS (-march=armv7-a). These

Re: perf: perf_fuzzer triggers instant reboot

2014-09-27 Thread Sasha Levin
On 09/25/2014 12:38 PM, Cong Wang wrote: > On Wed, Sep 24, 2014 at 9:59 PM, Vince Weaver > wrote: >> > >> > So I noticed Cong Wang's patch (3577af70a2ce4853d58e57d832e687d739281479) >> > perf: Fix a race condition in perf_remove_from_context() >> > >> > and that sounds a lot like the

Re: [PATCH] arm: Remove read of issue in sa1111.c in sa1111_resume

2014-09-27 Thread nick
On 14-09-27 11:31 PM, Randy Dunlap wrote: > On 09/27/14 19:50, Nicholas Krause wrote: >> This removes the FIXME message and issue with reading in this driver before >> resuming >> in the function, sa_resume. > > You need to explain why this makes any sense. > Hint: it doesn't. > >>

Re: [PATCH 2/3] ARM: dts: vf610: Add SNVS node

2014-09-27 Thread Shawn Guo
On Fri, Sep 26, 2014 at 06:44:00PM +0530, Sanchayan Maity wrote: > This adds a devicetree node for RTC support > for the VF610 platform. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/vf610.dtsi | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git

Re: [PATCH 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-09-27 Thread Shawn Guo
On Fri, Sep 26, 2014 at 06:44:01PM +0530, Sanchayan Maity wrote: > This patch adds clock enable and disable support > for the SNVS peripheral which is required by the > SNVS RTC. > > Signed-off-by: Sanchayan Maity > --- > drivers/rtc/rtc-snvs.c | 48 >

Re: [PATCH] i2c designware add support of I2C standard mode

2014-09-27 Thread atull
On Sat, 20 Sep 2014, Wolfram Sang wrote: > On Wed, Aug 20, 2014 at 04:29:08PM +0200, Romain Baeriswyl wrote: > > From: Romain Baeriswyl > > > > Some legacy devices support ony I2C standard mode at 100kHz. > > This patch allows to select the standard mode through the DTS > > with the use of the

Re: [PATCH] x86, MCE: support raising machine check poll for software MCE injection in IRQ context

2014-09-27 Thread Chen Yucong
On Tue, 2014-08-12 at 20:45 +0800, Chen Yucong wrote: > At present MCJ_NMI_BROADCAST(same for raise_local) supports both > raise_exception() > and raise_poll(), but MCJ_IRQ_BROADCAST only supports raise_exception(). The > goal > of this patch is that MCJ_IRQ_BROADCAST can support raising machine

[PATCH] regmap: debugfs: fix possbile NULL pointer dereference

2014-09-27 Thread Xiubo Li
If 'map->dev' is NULL and there will lead dev_name() to be NULL pointer dereference. So before dev_name(), we need to have check of the map->dev pionter. We also should make sure that the 'name' pointer shouldn't be NULL for debugfs_create_dir(). So here using one default "dummy" debugfs name

Re: [PATCH] arm: Remove read of issue in sa1111.c in sa1111_resume

2014-09-27 Thread Randy Dunlap
On 09/27/14 19:50, Nicholas Krause wrote: > This removes the FIXME message and issue with reading in this driver before > resuming > in the function, sa_resume. You need to explain why this makes any sense. Hint: it doesn't. > Signed-off-by: Nicholas Krause > --- >

RE: [PATCH] SPI: spi-pxa2xx: SPI support for Intel Quark X1000

2014-09-27 Thread Chen, Alvin
> > > > > > +/* see Quark SPI data sheet for implementation rationale */ static > > > +u32 quark_x1000_set_clk_regvals(u32 rate, u32 *dds, u32 *clk_div) { > > > > Please document this in the driver - I don't know if this datasheet is > > public but even if it is it may not stay that way. > >

Re: [PATCH 0/9] ARM: vf610: Suspend/resume support

2014-09-27 Thread Shawn Guo
On Mon, Sep 22, 2014 at 07:09:21PM +0200, Stefan Agner wrote: > This patchset provides suspend/resume support for Freescale Vybrid > SoC (vf610). The code is generally aligned to the implementation > for i.MX6. The subsystems SRC and GPC need some changes to support > the Vybrid specific

RE: [PATCH] SPI: spi-pxa2xx: SPI support for Intel Quark X1000

2014-09-27 Thread Chen, Alvin
> > > +static u32 pxa2xx_spi_get_ssrc1_change_mask(const struct driver_data > > +*drv_data) { > > + if (!is_quark_x1000_ssp(drv_data)) > > + return SSCR1_CHANGE_MASK; > > + > > + return QUARK_X1000_SSCR1_CHANGE_MASK; } > > These functions would be much better written as switch

RE: [PATCH 2/2] soc/fsl: add ftm alarm driver for ls1021a platform

2014-09-27 Thread dongsheng.w...@freescale.com
Thanks for your review. :) > -Original Message- > From: Kumar Gala [mailto:ga...@codeaurora.org] > Sent: Friday, September 26, 2014 10:04 PM > To: Wang Dongsheng-B40534 > Cc: Santosh Shilimkar; Sandeep Nair; Olof Johansson; shawn@linaro.org; > Greg > KH; Paul Walmsley; Arnd

Crude Oil Exploration

2014-09-27 Thread Adel Salman
Good day, I have an oil exportation proposition contract for you.If you don't mind, reply my email for full details of contract proposal. Sincerely, Adel Salman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH] arm: Remove read of issue in sa1111.c in sa1111_resume

2014-09-27 Thread Nicholas Krause
This removes the FIXME message and issue with reading in this driver before resuming in the function, sa_resume. Signed-off-by: Nicholas Krause --- arch/arm/common/sa.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/common/sa.c b/arch/arm/common/sa.c index

Re: Legacy Code in gpmc-onenand.c

2014-09-27 Thread Al Viro
On Sat, Sep 27, 2014 at 10:37:02PM -0400, nick wrote: > Greetings Kevin and others, > I am wondering if the below code is legacy I can remove it as stated it the > fix me. > Cheers Nick Nick, could you take that to more appropriate forum? alt.sex.fetish.FIXME would probably be a good starting

RE: [PATCH v2] clocksource: Add BE APIs support for clocksource counter reading.

2014-09-27 Thread li.xi...@freescale.com
Hi, > Subject: Re: [PATCH v2] clocksource: Add BE APIs support for clocksource > counter reading. > > On Fri, 26 Sep 2014, Xiubo Li wrote: > > For now I just added _be() support using ioread{16,32}be. > > And i have a check of the clocksource drivers, didn't find anyone > > using LE mode on one

Legacy Code in gpmc-onenand.c

2014-09-27 Thread nick
Greetings Kevin and others, I am wondering if the below code is legacy I can remove it as stated it the fix me. Cheers Nick else { /* * FIX ME: Appears to be legacy code from initial ONENAND commit. * Unclear what boards this is for and if this can

Re: [PATCH v2 06/22] PCI/MSI: Introduce weak arch_find_msi_chip() to find MSI chip

2014-09-27 Thread Yijing Wang
>> MSI chip in this series is to setup MSI irq, including IRQ allocation, Map, >> compose MSI msg ..., in different platform, many arch specific MSI irq >> details in it. >> It's difficult to extract the common data and code. >> >> I have a plan to rework MSI related irq_chips in kernel, PCI and

RE: [PATCHv4] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-09-27 Thread Yuantian Tang
> -Original Message- > From: Linuxppc-dev > [mailto:linuxppc-dev-bounces+b29983=freescale@lists.ozlabs.org] On > Behalf Of Mike Turquette > Sent: Saturday, September 27, 2014 7:29 AM > To: Wood Scott-B07421 > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; >

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-27 Thread Yijing Wang
On 2014/9/26 17:05, Thierry Reding wrote: > On Fri, Sep 26, 2014 at 10:54:32AM +0200, Thierry Reding wrote: > [...] >> At least for Tegra it's trivial to just hook it up in tegra_pcie_scan_bus() >> directly (patch attached). > > Really attached this time. > > Thierry > It looks good to me, so

Re: [PATCHv3] block: Add support for Sony SxS cards

2014-09-27 Thread Jens Axboe
On 2014-09-27 17:43, Kieran Kunhya wrote: +static void sxs_memcpy_read(struct sxs_device *dev, unsigned long sector, + unsigned long nsect, char *buffer) +{ + struct pci_dev *pdev = dev->pci_dev; + u32 status; + u32 data[4]; + u16 *tmp; +

[PATCH v7 0/2] regulator: get voltage & duty table from dts for pwm-regulator

2014-09-27 Thread Chris Zhong
get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Tested on a rk3288 sdk board as logic voltage regulator. Changes in v7: Adviced by Mark Brown - re-edit changelog - re-edit changelog Changes in v6: Adviced by Mark Rutland -

[PATCH v7 2/2] dt-bindings: add devicetree bindings for pwm regulator

2014-09-27 Thread Chris Zhong
Document the pwm regulator Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson --- Changes in v7: - re-edit changelog Changes in v6: Adviced by Mark Rutland - fix a spelling error Changes in v4: Adviced by Doug Anderson - remove regulator-always-on and regulator-boot-on from the Example

[PATCH v7 1/2] regulator: pwm-regulator: get voltage and duty table from dts

2014-09-27 Thread Chris Zhong
rename st-pwm to pwm-regulator. And support getting voltage & duty table from device tree, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson Tested-by: Doug Anderson --- Changes in v7: Adviced by Mark Brown - re-edit changelog

SKB Documentation Ideas and How to Write Docs for Kernel

2014-09-27 Thread nick
Hello to the maintainers of the file,skb.c , I am wondering about making it easier for new developers including myself by writing a file in the docs on networking related to skb_buff and it's various methods of use to developing in the kernel's various networking subsystems. If one of the

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-27 Thread Yijing Wang
What I would like to see is a way of creating the pci_host_bridge structure outside the pci_create_root_bus(). That would then allow us to pass this sort of platform details like associated msi_chip into the host bridge and the child busses will have an easy

Re: [PATCH 8/9] ARM: imx: clk-gate2: allow custom gate configuration

2014-09-27 Thread Shawn Guo
On Mon, Sep 22, 2014 at 07:09:29PM +0200, Stefan Agner wrote: > The 2-bit gates found i.MX and Vybrid SoC support different clock > configuration: > > 0b00: clk disabled > 0b01: clk enabled in RUN mode but disabled in WAIT and STOP mode > 0b10: clk enabled in RUN, WAIT and STOP mode (only Vybrid)

[PATCH 1/1 v2] driver:mtd:spi-nor: Add Micron quad I/O support

2014-09-27 Thread bpqw
For Micron spi norflash,you can enable Quad spi transfer by clear EVCR(Enhanced Volatile Configuration Register) Quad I/O protocol bit. Signed-off-by: bean huo --- v1-v2:modified to that capture wait_till_ready() return value,if error,directly return its the value.

[PATCH 1/2] MAINTAINERS: add atmel ssc driver maintainer entry

2014-09-27 Thread Bo Shen
Signed-off-by: Bo Shen --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..c004e6f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1703,6 +1703,13 @@ M: Nicolas Ferre S: Supported F: drivers/spi/spi-atmel.* +ATMEL

[PATCH 2/2] MAINTAINERS: add atmel audio alsa driver maintainer entry

2014-09-27 Thread Bo Shen
Signed-off-by: Bo Shen --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c004e6f..30f92cf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1665,6 +1665,12 @@ M: Nicolas Ferre S: Supported F: drivers/tty/serial/atmel_serial.c

Re: [PATCH] unicore32: Remove unneeded Kconfig entry NO_IOPORT_MAP

2014-09-27 Thread Xuetao Guan
Sorry for late reply. I checked this config, and it's only used for HAS_IOPORT_MAP in lib/Kconfig Sure, removing it means no different for .config file. I think a better way is reserving it or moving it into arch/Kconfig Cc: linux-a...@vger.kernel.org Xuetao Guan - Paul Bolle 写道: >

RE: [PATCH resend] arm:extend the reserved memory for initrd to be page aligned

2014-09-27 Thread Wang, Yalin
> -Original Message- > On Thu, Sep 25, 2014 at 03:31:42PM +0100, Russell King - ARM Linux wrote: > > On Fri, Sep 19, 2014 at 11:00:02AM +0100, Catalin Marinas wrote: > > > On Fri, Sep 19, 2014 at 08:09:47AM +0100, Wang, Yalin wrote: > > > > this patch extend the start and end address of

Re: [PATCH 1/2] ASoC: rockchip-max98090: add documentation for rockchip-max98090 driver

2014-09-27 Thread Jianqun
在 09/12/2014 09:44 PM, Mark Brown 写道: > On Fri, Sep 12, 2014 at 03:30:36PM +0800, Jianqun wrote: >> Add documentation for rockchip-max98090 driver, which is need by rockchip >> board using a max98090. > > Can this use simple-card (perhaps after a bit of extension)? I haven't ever try

Re: [PATCH] mtd: fsl_ifc_nand: use devm_ functions consistently

2014-09-27 Thread Brian Norris
+ linux-mtd FYI, I addressed a similar patch over here: http://lists.infradead.org/pipermail/linux-mtd/2014-September/055563.html I'm pretty sure this patch is wrong, and the semantic match is incorrect (or at least, it has false positives). Just because devm_* is used in some part of the

Re: [PATCH] Remove GFP_DMA and GFP_DMA32 from flags before passing it into kmalloc.

2014-09-27 Thread Miles MH Chen
On Sat, Sep 27, 2014 at 11:13 PM, Catalin Marinas wrote: > On 27 Sep 2014, at 16:09, Miles MH Chen wrote: >> Signed-off-by: Min-Hua Chen >> --- >> arch/arm64/mm/dma-mapping.c |3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm64/mm/dma-mapping.c

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-27 Thread Peter Chen
On Thu, Sep 25, 2014 at 07:37:50PM -0500, Felipe Balbi wrote: > HI, > > On Fri, Sep 26, 2014 at 07:39:34AM +0800, Peter Chen wrote: > > On Thu, Sep 25, 2014 at 09:15:53AM -0500, Felipe Balbi wrote: > > > On Wed, Sep 24, 2014 at 02:23:38PM +0200, Arnd Bergmann wrote: > > > > On Wednesday 24

Re: [PATCH v3 0/5] enhance DMA CMA on x86

2014-09-27 Thread Akinobu Mita
2014-09-27 23:30 GMT+09:00 Peter Hurley : > On 04/15/2014 09:08 AM, Akinobu Mita wrote: >> This patch set enhances the DMA Contiguous Memory Allocator on x86. >> >> Currently the DMA CMA is only supported with pci-nommu dma_map_ops >> and furthermore it can't be enabled on x86_64. But I would

[RFC] ktest doc: Automated test of linux kernel by using ktest v1.1.3

2014-09-27 Thread Satoru Takeuchi
Hi, I revised ktest documentation. v1.1.2->v1.1.3: Support not only debian/jessy, but also CentOS7 as target system http://www.slideshare.net/satorutakeuchi18/kernel-auto-testbyktest It's not the ktest reference guild, but the quick learning guild of ktest especially focuses on some important

Re: [PATCH 1/2] mtd: fsl_ifc_nand: Use devm_* throughout driver

2014-09-27 Thread Brian Norris
Hi Aaron, Hmm, you're not the only one to send a patch like this. But I'm not sure if it's correct; this driver is written awkwardly. On Fri, Aug 15, 2014 at 07:46:44PM -0500, Aaron Sierra wrote: > For consistency, use managed resources for allocations and remaps > throughout the driver. > >

[PATCHv3] block: Add support for Sony SxS cards

2014-09-27 Thread Kieran Kunhya
Signed-off-by: Kieran Kunhya --- MAINTAINERS|5 + drivers/block/Kconfig |9 + drivers/block/Makefile |1 + drivers/block/sxs.c| 494 4 files changed, 509 insertions(+) create mode 100644 drivers/block/sxs.c diff

[PATCH] ACPI / SBS: Fix check in acpi_ac_get_present()

2014-09-27 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Parentheses are missing under an if () statement in acpi_ac_get_present() which makes the check work differently from what was intended (at least according to the comment right above it). Add the missing parens. The problem was found by sparse. Signed-off-by: Rafael J.

Re: [PATCHv3 1/7] clk: at91: add a driver for the h32mx clock

2014-09-27 Thread Mike Turquette
Quoting Boris BREZILLON (2014-09-22 02:04:25) > On Fri, 19 Sep 2014 14:33:19 +0200 > Nicolas Ferre wrote: > > > On 15/09/2014 18:15, Alexandre Belloni : > > > Newer SoCs have two different AHB interconnect. The AHB 32 bits Matrix > > > interconnect (h32mx) has a clock that can be setup at the

Re: [PATCH 1/2] arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss

2014-09-27 Thread Behan Webster
On 09/27/14 09:46, Felipe Balbi wrote: On Fri, Sep 26, 2014 at 06:10:52PM -0700, Behan Webster wrote: Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a

Re: [PATCH 3.12 000/142] 3.12.29-stable review

2014-09-27 Thread Satoru Takeuchi
At Fri, 26 Sep 2014 08:45:36 -0700, Guenter Roeck wrote: > > On Fri, Sep 26, 2014 at 11:45:33AM +0200, Jiri Slaby wrote: > > This is the start of the stable review cycle for the 3.12.29 release. > > There are 142 patches in this series, all will be posted as a response > > to this one. If anyone

[git pull] vfs.git for 3.17-rc7

2014-09-27 Thread Al Viro
Assorted fixes + unifying __d_move() and __d_materialise_dentry() + minimal regression fix for d_path() of victims of overwriting rename() ported on top of that. Please, pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (7): ufs: deal with

phpBB 3.1.0 new version

2014-09-27 Thread phpbbaid
phpBB 3.1.0 new version is out . Please update your forum to the latest version . We provide paid support if you are interested, please, reply to this email Thank you -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [GIT PULL] please pull infiniband.git

2014-09-27 Thread Or Gerlitz
On Wed, Sep 24, 2014 at 12:58 AM, Roland Dreier wrote: > Hi Linus, [..] > This is later and bigger than I would like, and the blame is all on > me: I got very busy with other stuff for a few weeks during the 3.17 > cycle, and didn't prepare this tree as soon as I should have. However > I don't

[PATCH] wireless: Remove unnessary write over of register 11 in rt2800lib.c

2014-09-27 Thread Nicholas Krause
This removes the unnecessary overwrite of register 11 in the function, rt2800_config_channel as we are already writing a correct value to the register with rt2800_rfcsr_write(rt2x00dev,11.rfcsr). Signed-off-by: Nicholas Krause --- drivers/net/wireless/rt2x00/rt2800lib.c | 2 -- 1 file changed,

Re: [PATCH net-next] r8169:add support for RTL8168EP

2014-09-27 Thread Francois Romieu
Chun-Hao Lin : > RTL8168EP is Realtek PCIe Gigabit Ethernet controller. > It is a successor chip of RTL8168DP. > > This patch add support for this chip. It does more than that. Did Hayes review it ? > Signed-off-by: Chun-Hao Lin > --- > drivers/net/ethernet/realtek/r8169.c | 611 >

Re: [PATCH v12 08/12] PCI: OF: Introduce helper function for retrieving PCI domain numbers

2014-09-27 Thread Bjorn Helgaas
[+cc Yinghai] On Fri, Sep 26, 2014 at 4:47 PM, Liviu Dudau wrote: > On Fri, Sep 26, 2014 at 10:53:26PM +0100, Rob Herring wrote: >> I thought Bjorn already applied the series. Who's agreement are you >> waiting for specifically. > > Looks like he only applied about 60% of the series. I applied

Re: [PATCH] clk: Add PWM clock driver

2014-09-27 Thread Mike Turquette
Quoting Thierry Reding (2014-09-23 01:51:31) > On Wed, Sep 10, 2014 at 10:05:17PM +0200, Janusz Użycki wrote: > > Hi, > > > > http://patchwork.ozlabs.org/patch/359069/ > > https://lkml.org/lkml/2014/6/12/186 > > > > Will the patch ever included to linux-next? > > I've never seen this patch

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Linus Torvalds
On Sat, Sep 27, 2014 at 12:49 PM, Al Viro wrote: > > Fine by me. How about that s-o-b? Right now it's Sure, add my sign-off too. Not that I feel I even need the credit, so you could just have done it as yourself. But I'll take it, so.. Signed-off-by: Linus Torvalds Thanks, Linus

[GIT PULL] ARM: SoC fixes for 3.17

2014-09-27 Thread Olof Johansson
Hi Linus, The following changes since commit 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd: Linux 3.17-rc4 (2014-09-07 16:09:43 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-for-linus for you to fetch changes up to

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Al Viro
On Sat, Sep 27, 2014 at 12:39:02PM -0700, Linus Torvalds wrote: > On Sat, Sep 27, 2014 at 12:37 PM, Linus Torvalds > wrote: > > > > But yeah, I guess we can/should do the trivial ugly thing for 3.17. > > Send me a proper pull-request, > > .. and if it can happen before tomorrow, that would be

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Al Viro
On Sat, Sep 27, 2014 at 08:16:57PM +0100, Al Viro wrote: > On Sat, Sep 27, 2014 at 07:31:39PM +0100, Al Viro wrote: > > > We can get the long name cases right, and I agree that it'll make the > > things nicer, but it might take a couple of days to get right. The thing > > I'm concerned about is

Re: [RESEND PATCH] acpi-cpufreq: get the cur_freq from acpi_processor_performance states

2014-09-27 Thread Rafael J. Wysocki
On Saturday, September 27, 2014 01:32:59 PM Wang Weidong wrote: > On 2014/9/27 7:21, Rafael J. Wysocki wrote: > > On Thursday, August 21, 2014 01:55:15 PM Wang Weidong wrote: > >> As the initialized freq_tables maybe different from the p-states > >> values, so the array index is different as well.

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Linus Torvalds
On Sat, Sep 27, 2014 at 12:37 PM, Linus Torvalds wrote: > > But yeah, I guess we can/should do the trivial ugly thing for 3.17. > Send me a proper pull-request, .. and if it can happen before tomorrow, that would be good. I had to give up on my wish to release 3.17 tomorrow due to the current

Re: BUG: sleeping function called from invalid context at drivers/cpufreq/cpufreq.c:370

2014-09-27 Thread Rafael J. Wysocki
On Saturday, September 27, 2014 08:14:46 AM Mike Galbraith wrote: > On Sat, 2014-09-27 at 00:44 +0200, Rafael J. Wysocki wrote: > > > Shouldn't that be pcc-cpufreq.c rather? > > Yeah, silly mouse copy/pasted the wrong gitk bits. > > > Also moving the spin_lock(_lock) after the > >

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Linus Torvalds
On Sat, Sep 27, 2014 at 12:16 PM, Al Viro wrote: > > FWIW, I suspect that the right approach is to put refcount + rcu_head in > front of external name and do the following: That's actually fancier than I was expecting. I was just thinking doing a whole new allocation and freeing the old one

[PATCH v3 3/4] mm/balloon_compaction: add vmstat counters and kpageflags bit

2014-09-27 Thread Konstantin Khlebnikov
From: Konstantin Khlebnikov Always mark pages with PageBalloon even if balloon compaction is disabled and expose this mark in /proc/kpageflags as KPF_BALLOON. Also this patch adds three counters into /proc/vmstat: "balloon_inflate", "balloon_deflate" and "balloon_migrate". They accumulate

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Al Viro
On Sat, Sep 27, 2014 at 07:31:39PM +0100, Al Viro wrote: > We can get the long name cases right, and I agree that it'll make the > things nicer, but it might take a couple of days to get right. The thing > I'm concerned about is not screwing DCACHE_RCUACCESS up. FWIW, I suspect that the right

[PATCH v3 2/4] mm/balloon_compaction: remove balloon mapping and flag AS_BALLOON_MAP

2014-09-27 Thread Konstantin Khlebnikov
From: Konstantin Khlebnikov Now ballooned pages are detected using PageBalloon(). Fake mapping is no longer required. This patch links ballooned pages to balloon device using field page->private instead of page->mapping. Also this patch embeds balloon_dev_info directly into struct

[PATCH v3 4/4] selftests/vm/transhuge-stress: stress test for memory compaction

2014-09-27 Thread Konstantin Khlebnikov
This tool induces memory fragmentation via sequential allocation of transparent huge pages and splitting off everything except their last sub-pages. It easily generates pressure to the memory compaction code. $ perf stat -e 'compaction:*' -e 'migrate:*' ./transhuge-stress transhuge-stress:

[PATCH v3 0/4] mm/balloon_compaction: fixes and cleanups

2014-09-27 Thread Konstantin Khlebnikov
Here is reworked and resplitted patchset. patches agains current mmotm. I've merged fixes into first patch. It appyies clearly to v3.16, older kernels has a trivial conflict in mm/migrate.c. Reference counting during isolation and migration of ballooned pages reorganized and now looks similar to

[PATCH v3 1/4] mm/balloon_compaction: redesign ballooned pages management

2014-09-27 Thread Konstantin Khlebnikov
From: Konstantin Khlebnikov Sasha Levin reported KASAN splash inside isolate_migratepages_range(). Problem is in the function __is_movable_balloon_page() which tests AS_BALLOON_MAP in page->mapping->flags. This function has no protection against anonymous pages. As result it tried to check

phpBB 3.1.0 new version

2014-09-27 Thread phpbbaid
phpBB 3.1.0 new version is out . Please update your forum to the latest version . We provide paid support if you are interested, please, reply to this email Thank you -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH v2] mm: add mremap flag for preserving the old mapping

2014-09-27 Thread Daniel Micay
This introduces the MREMAP_RETAIN flag for preserving the source mapping when MREMAP_MAYMOVE moves the pages to a new destination. Accesses to the source location will fault and cause fresh pages to be mapped in. For consistency, the old_len >= new_len case could decommit the pages instead of

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Al Viro
On Sat, Sep 27, 2014 at 10:56:57AM -0700, Linus Torvalds wrote: > - make a new "move_name(src,dst)" that explicitly moves names, and > explicitly knows that the source needs to be kept alive (although it > *could* also look at the source dentry refcount to decide whether it > needs to be careful

Re: [PATCH v3 1/3] cap11xx: make driver generic for variant support

2014-09-27 Thread Daniel Mack
On 09/25/2014 07:24 AM, Matt Ranostay wrote: > cap1106 driver can support much more one device make the driver > generic for support of similiar parts. > > Signed-off-by: Matt Ranostay > --- > .../devicetree/bindings/input/cap1106.txt | 53 >

Re: [PATCH] fork.c: copy_process(): fix cleanup WRT perf_event_free_task()

2014-09-27 Thread Oleg Nesterov
On 09/26, Sylvain 'ythier' Hitier wrote: > > retval = sched_fork(clone_flags, p); > if (retval) > // // mustn't perf_event_free_task() > goto bad_fork_cleanup_policy; Agreed, this is wrong. Good catch. but, unless I missed something, >

[PATCH] mm: add mremap flag for preserving the old mapping

2014-09-27 Thread Daniel Micay
This introduces the MREMAP_RETAIN flag for preserving the source mapping when MREMAP_MAYMOVE moves the pages to a new destination. Accesses to the source location will fault and cause fresh pages to be mapped in. For consistency, the old_len >= new_len case could decommit the pages instead of

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-27 Thread Linus Torvalds
On Fri, Sep 26, 2014 at 9:45 PM, Al Viro wrote: > > Linus, it's a real userland regression. That's not the part I'm arguing against. I think the patch itself was too ugly to live. Yes, we had that hack before, but we didn't make it conditional. It historically was more of a "it's easier to just

Re: [PATCH 2/2] perf: Userspace software event and ioctl

2014-09-27 Thread Frederic Weisbecker
2014-09-25 20:33 GMT+02:00 Ingo Molnar : > > * Pawel Moll wrote: > >> On Wed, 2014-09-24 at 08:49 +0100, Ingo Molnar wrote: >> > * Pawel Moll wrote: >> > >> > > On Thu, 2014-09-18 at 15:34 +0100, Pawel Moll wrote: >> > > > This patch adds a PERF_COUNT_SW_USERSPACE_EVENT type, >> > > > which can

x86: irq: Duplicate interrupt name THR

2014-09-27 Thread Alexander Inyukhin
Hello. The interrupt name "THR" used twice for x86 architecture. It is used for "Threshold APIC interrupts" and "Hypervisor callback interrupts". I don't know if duplicates are a valid for /proc/interrupt table, but this could lead to problems with user space applications, as they have to parse

Re: [PATCH] sched/nohz: add debugfs control over sched_tick_max_deferment

2014-09-27 Thread Frederic Weisbecker
On Fri, Sep 26, 2014 at 12:45:32PM -0700, Kevin Hilman wrote: > From: Kevin Hilman > > Allow debugfs override of sched_tick_max_deferment in order to ease > finding/fixing the remaining issues with full nohz. > > The value to be written is in jiffies, and -1 means the max deferment > is

Re: [PATCH V5 02/16] perf, core: introduce pmu context switch callback

2014-09-27 Thread Frederic Weisbecker
On Sun, Jan 07, 2001 at 09:29:31PM -0500, kan.li...@intel.com wrote: > From: Kan Liang > > The callback is invoked when process is scheduled in or out. > It provides mechanism for later patches to save/store the LBR > stack. For the schedule in case, the callback is invoked at > the same place

Re: [PATCH 2/2] arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb

2014-09-27 Thread Felipe Balbi
On Fri, Sep 26, 2014 at 06:10:53PM -0700, Behan Webster wrote: > Replace the use of nested functions where a normal function will suffice. > > Nested functions are not liked by upstream kernel developers in general. Their > use breaks the use of clang as a compiler, and doesn't make the code any

Re: [PATCH 1/2] arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss

2014-09-27 Thread Felipe Balbi
On Fri, Sep 26, 2014 at 06:10:52PM -0700, Behan Webster wrote: > Replace the use of nested functions where a normal function will suffice. > > Nested functions are not liked by upstream kernel developers in general. Their > use breaks the use of clang as a compiler, and doesn't make the code any

[PATCH 1/1 linux-next] fs/hfs/hfs_fs.h: remove redundant sys_tz declaration

2014-09-27 Thread Fabian Frederick
sys_tz is already declared in include/linux/time.h Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hfs/hfs_fs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h index 0524cda..95d2552 100644 --- a/fs/hfs/hfs_fs.h +++ b/fs/hfs/hfs_fs.h @@ -242,8

[PATCH v1 2/3] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-09-27 Thread Romain Perier
Add "active-semi,system-power-controller" property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts

[PATCH v1 3/3] dt-bindings: Document the property system-power-controller for act8865 regulator

2014-09-27 Thread Romain Perier
Signed-off-by: Romain Perier --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator/act8865-regulator.txt index

[PATCH v1 1/3] regulator: act8865: Add support to turn off all outputs

2014-09-27 Thread Romain Perier
When the property "active-semi,system-power-controller" is found in the devicetree, the function pm_power_off is defined. This function sends the rights bit fields to the global off control register. shutdown/poweroff commands are now supported for hardware components which use these PMU.

[PATCH 1/1 linux-next] udf: remove redundant sys_tz declaration

2014-09-27 Thread Fabian Frederick
sys_tz is already declared in include/linux/time.h Cc: Jan Kara Signed-off-by: Fabian Frederick --- fs/udf/udftime.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c index 1f11483..77c331f 100644 --- a/fs/udf/udftime.c +++ b/fs/udf/udftime.c @@ -81,8

[PATCH 1/1 linux-next] fs/ncpfs/dir.c: remove redundant sys_tz declaration

2014-09-27 Thread Fabian Frederick
sys_tz is already declared in include/linux/time.h Cc: Petr Vandrovec Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/ncpfs/dir.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index 08b8ea8..1beb761 100644 --- a/fs/ncpfs/dir.c +++

[PATCH 1/1 linux-next] fs/affs: remove redundant sys_tz declarations

2014-09-27 Thread Fabian Frederick
sys_tz is already declared in include/linux/time.h Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/affs/amigaffs.c | 2 -- fs/affs/inode.c| 1 - fs/affs/super.c| 2 -- 3 files changed, 5 deletions(-) diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c index 406b298..abc8539

Re: [PATCH] mm/slab: use IS_ENABLED() instead of ZONE_DMA_FLAG

2014-09-27 Thread Christoph Lameter
On Sat, 27 Sep 2014, Paul Bolle wrote: > Do your comments require the patch to be redone (partially or entirely)? > In that case someone else should probably take it and improve it, as I > hardly understand the issues you raise. Or is the patch already queued > somewhere, with Cristoph's Ack

Re: [PATCH] Remove GFP_DMA and GFP_DMA32 from flags before passing it into kmalloc.

2014-09-27 Thread Catalin Marinas
On 27 Sep 2014, at 16:09, Miles MH Chen wrote: > Signed-off-by: Min-Hua Chen > --- > arch/arm64/mm/dma-mapping.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c > index 4164c5a..273cf6d 100644 > ---

Re: [PATCH 2/2] Staging: android: sw_sync: fixed a coding style issues

2014-09-27 Thread Sudip Mukherjee
On Fri, Sep 26, 2014 at 12:11:56AM +0100, Mike Roocroft wrote: you forgot to write the commit message and also mention there what kind of warning you have fixed. thanks sudip > Signed-off-by: Mike Roocroft > --- > drivers/staging/android/sw_sync.c | 2 ++ > 1 file changed, 2 insertions(+) >

Re: Help Out and Issues with the Community

2014-09-27 Thread Sudip Mukherjee
On Fri, Sep 26, 2014 at 03:26:54PM -0400, nick wrote: > > > On 14-09-25 10:20 PM, David Lang wrote: > >> Hello Developers, > >> For the last week or two I have been trying to contact people for help > >> and/or learning in order to help out > >> more. I am unable to get any emails back from

[PATCH v6] checkkconfigsymbols.sh: reimplementation in python

2014-09-27 Thread Valentin Rothberg
The scripts/checkkconfigsymbols.sh script searches Kconfig features in the source code that are not defined in Kconfig. Such identifiers always evaluate to false and are the source of various kinds of bugs. However, the shell script is slow and it does not detect such broken references in Kbuild

Re: [PATCH v3 0/5] enhance DMA CMA on x86

2014-09-27 Thread Peter Hurley
On 04/15/2014 09:08 AM, Akinobu Mita wrote: > This patch set enhances the DMA Contiguous Memory Allocator on x86. > > Currently the DMA CMA is only supported with pci-nommu dma_map_ops > and furthermore it can't be enabled on x86_64. But I would like to > allocate big contiguous memory with

Re: [tip:perf/core] perf callchain: Move some parser functions to callchain.c

2014-09-27 Thread Frederic Weisbecker
Hi Namhyung, 2014-09-27 9:26 GMT+02:00 tip-bot for Namhyung Kim : > Commit-ID: f7f084f4d3c29b0f9877a32fc6e2feacd47695b9 > Gitweb: http://git.kernel.org/tip/f7f084f4d3c29b0f9877a32fc6e2feacd47695b9 > Author: Namhyung Kim > AuthorDate: Tue, 23 Sep 2014 10:01:42 +0900 > Committer: Arnaldo

Re: page allocator bug in 3.16?

2014-09-27 Thread Peter Hurley
On 09/26/2014 11:12 AM, Leann Ogasawara wrote: > On Fri, Sep 26, 2014 at 7:10 AM, Peter Hurley > wrote: >> [ +cc Leann Ogasawara, Marek Szyprowski, Kyungmin Park, Arnd Bergmann ] >> >> On 09/26/2014 08:40 AM, Rik van Riel wrote: >>> On 09/26/2014 08:28 AM, Rob Clark wrote: On Fri, Sep 26,

[GIT PULL] late cgroup fixes for v3.17-rc6

2014-09-27 Thread Tejun Heo
Hello, Linus. This is quite late but these need to be backported anyway. This is the fix for a long-standing cpuset bug which existed from 2009. cpuset makes use of PF_SPREAD_{PAGE|SLAB} flags to modify the task's memory allocation behavior according to the settings of the cpuset it belongs to;

Re: [PATCH v2 1/3] drivers: of: add return value to of_reserved_mem_device_init (fixup)

2014-09-27 Thread Fabio Estevam
Hi Marek, On Fri, Sep 26, 2014 at 3:44 AM, Marek Szyprowski wrote: > This patch adds missing return value to error paths. > > Signed-off-by: Marek Szyprowski I have also sent a similar fix: http://www.spinics.net/lists/devicetree/msg51127.html > --- > drivers/of/of_reserved_mem.c | 4 ++-- >

Re: [PATCH v2 1/7] ARM: sunxi: Introduce Allwinner A80 support

2014-09-27 Thread Chen-Yu Tsai
On Thu, Sep 25, 2014 at 9:25 PM, Maxime Ripard wrote: > On Wed, Sep 24, 2014 at 10:48:55PM +0800, Chen-Yu Tsai wrote: >> The Allwinner A80 is a new Cortex octo-core A7/A15 big.LITTLE SoC. >> While it's processor cores and interconnecting bus are new, it >> re-uses many peripherals found in

  1   2   3   4   >