Re: [PATCH V2] usbnet: fix race condition caused spinlock bad magic issue

2013-11-12 Thread Oliver Neukum
On Wed, 2013-11-13 at 09:11 +0800, wangbiao wrote: Hi, > 2, for the same reason,dev->wait should be judged again before use it, > as between the judge point(if(dev->wait)) and use point(wakeup(dev->wait)), > the dev->wait may be set NULL by another cpu. > > for issue 1, declare unlink_wakeup

Re: [PATCH 09/17] [m68k] IRQ: add handle_polled_irq() for timer based soft interrupts

2013-11-12 Thread Michael Schmitz
Thomas, I suppose setting the flag can be done in the corresponding irq startup function, instead of when setting up the irq controller? irq_startup() is called with irq_desc->lock held and irq_set_status_flags() wants desc->lock as well. Deadlock Thanks, point taken. And no, you don't

Re: [PATCH v4 2/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-11-12 Thread Andreas Dilger
On Nov 13, 2013, at 12:00 AM, David Turner wrote: > This patch is against e2fsprogs. > > --- > Older kernels on 64-bit machines would incorrectly encode pre-1970 > ext4 dates as post-2311 dates. Detect and correct this (assuming the > current date is before 2311). > > Signed-off-by: David

[patch] aio: checking for NULL instead of IS_ERR

2013-11-12 Thread Dan Carpenter
alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL. Fixes: 71ad7490c1f3 ('rework aio migrate pages to use aio fs') Signed-off-by: Dan Carpenter diff --git a/fs/aio.c b/fs/aio.c index bf8d080..699f53e 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -164,8 +164,8 @@ static struct file

[patch] dmaengine: edma: double free on error in edma_prep_slave_sg()

2013-11-12 Thread Dan Carpenter
We accidentally applied two correct but duplicative fixes for a memory leak here: 4b6271a64463 ('dma: edma: Fix memory leak') 2f6d8fad0a16 ('dma: edma.c: remove edma_desc leakage') Signed-off-by: Dan Carpenter diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index ea4abaa..9c8103d 100644

[PATCH 1/4] mfd: max14577: Add max14577 MFD driver core

2013-11-12 Thread Krzysztof Kozlowski
From: Chanwoo Choi This patch adds max14577 core/irq driver to support MUIC(Micro USB IC) device and charger device and support irq domain method to control internal interrupt of max14577 device. Also, this patch supports DT binding with max14577_i2c_parse_dt(). The MAXIM 14577 chip contains

[PATCH 2/4] extcon: max77693: Add extcon-max14577 driver to support MUIC device

2013-11-12 Thread Krzysztof Kozlowski
From: Chanwoo Choi This patch supports Maxim MAX14577 MUIC(Micro USB Interface Controller) device by using EXTCON subsystem to handle various external connectors. The max14577 device uses regmap method for i2c communication and supports irq domain. Signed-off-by: Chanwoo Choi Signed-off-by:

[PATCH 3/4] charger: max14577: Add charger support for Maxim 14577

2013-11-12 Thread Krzysztof Kozlowski
MAX14577 chip is a multi-function device which includes MUIC, charger and voltage regulator. The driver is located in drivers/mfd. This patch supports battery charging control of MAX14577 chip and provides power supply class information to userspace. Signed-off-by: Krzysztof Kozlowski

[PATCH 4/4] regulator: max14577: Add regulator driver for Maxim 14577

2013-11-12 Thread Krzysztof Kozlowski
MAX14577 chip is a multi-function device which includes MUIC, charger and voltage regulator. The driver is located in drivers/mfd. This patch adds regulator driver for MAX14577 chip. There are two regulators in this chip: 1. Safeout LDO with constant voltage output of 4.9V. It can be only

[PATCH 0/4] mfd: max14577: Add max14577 MFD drivers

2013-11-12 Thread Krzysztof Kozlowski
Hi, This patchset adds drivers for MAXIM 14577 chip. The chip contains Micro-USB Interface Circuit and Li+ Battery Charger. It contains accessory and USB charger detection logic. It supports USB 2.0 Hi-Speed, UART and stereo audio signals over Micro-USB connector. The battery charger is

Re: Possible regression with cgroups in 3.11

2013-11-12 Thread Tejun Heo
Hey, guys. cc'ing people from "workqueue, pci: INFO: possible recursive locking detected" thread. http://thread.gmane.org/gmane.linux.kernel/1525779 So, to resolve that issue, we ripped out lockdep annotation from work_on_cpu() and cgroup is now experiencing deadlock involving work_on_cpu().

[PATCH] Ceph: Avoid data inconsistency due to d-cache aliasing in readpage()

2013-11-12 Thread Li Wang
If the length of data to be read in readpage() is exactly PAGE_CACHE_SIZE, the original code does not flush d-cache for data consistency after finishing reading. This patches fixes this. Signed-off-by: Li Wang --- fs/ceph/addr.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

[PATCH] userns: allow privileged user to operate locked mount

2013-11-12 Thread Gao feng
Privileged user should have rights to mount/umount/move these even locked mount. Signed-off-by: Gao feng --- fs/namespace.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index da5c494..7097fc7 100644 --- a/fs/namespace.c +++

Re: [REVIEW][PATCH 1/2] userns: Better restrictions on when proc and sysfs can be mounted

2013-11-12 Thread Gao feng
On 11/09/2013 01:42 PM, Eric W. Biederman wrote: > Gao feng writes: > >> On 11/02/2013 02:06 PM, Gao feng wrote: >>> Hi Eric, >>> >>> On 08/28/2013 05:44 AM, Eric W. Biederman wrote: Rely on the fact that another flavor of the filesystem is already mounted and do not rely on state

[PATCH v5 17/17] ARM: at91: add new compatible strings for pmc driver

2013-11-12 Thread Boris BREZILLON
This patch adds new compatible string for PMC node to prepare the transition to common clk. These compatible string come from pmc driver in clk subsystem and are needed to provide new device tree compatibility with old at91 clks (device tree using common clks will use the new compatible strings).

[PATCH v5 16/17] ARM: at91: move pit timer to common clk framework

2013-11-12 Thread Boris BREZILLON
Use device tree to get the source clock of the PIT (Periodic Interval Timer). If the clock is not found in device tree (or dt is not enabled) we'll try to get it using clk_lookup definitions. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- arch/arm/mach-at91/at91sam926x_time.c |

[PATCH v5 15/17] dt: binding: add at91 clks dt bindings documentation

2013-11-12 Thread Boris BREZILLON
This patch adds new at91 clks dt bindings documentation. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- .../devicetree/bindings/clock/at91-clock.txt | 339 1 file changed, 339 insertions(+) create mode 100644

Re: [PATCH] mm: revert mremap pud_free anti-fix

2013-11-12 Thread Chen Gang
On 10/15/2013 07:46 PM, Chen Gang wrote: > On 10/15/2013 06:34 PM, Hugh Dickins wrote: >> > Revert 1ecfd533f4c5 ("mm/mremap.c: call pud_free() after fail calling >> > pmd_alloc()"). The original code was correct: pud_alloc(), pmd_alloc(), >> > pte_alloc_map() ensure that the pud, pmd, pt is

Re: Re: Re: [PATCH RFC 2/6] arm64: Kprobes with single stepping support

2013-11-12 Thread Sandeepa Prabhu
On 13 November 2013 12:25, Sandeepa Prabhu wrote: I'm unsure about arm64's debug feature behavior, what does happen when it performs a single-step on sw-breakpoint? > Sandeepa: I think you need to retry Masami's test on the arm64 model, > since > I'm fairly sure it

[PATCH v4 2/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-11-12 Thread David Turner
This patch is against e2fsprogs. --- Older kernels on 64-bit machines would incorrectly encode pre-1970 ext4 dates as post-2311 dates. Detect and correct this (assuming the current date is before 2311). Signed-off-by: David Turner --- e2fsck/pass1.c | 37

[PATCH v4 1/2] ext4: Fix handling of extended tv_sec (bug 23732)

2013-11-12 Thread David Turner
In ext4, the bottom two bits of {a,c,m}time_extra are used to extend the {a,c,m}time fields, deferring the year 2038 problem to the year 2446. When decoding these extended fields, for times whose bottom 32 bits would represent a negative number, sign extension causes the 64-bit extended timestamp

Re: [PATCH] perf trace: Simplify '--summary' output

2013-11-12 Thread Pekka Enberg
On 11/12/13 11:40 PM, Ingo Molnar wrote: So if you prefer unit-less lines that's defensible, perhaps output the unit somewhere else: syscallcalls min avg max stddev (msec) (msec) (msec)(%) ---

Re: [PATCH] ACPI / driver core: Store a device pointer in struct acpi_dev_node

2013-11-12 Thread Aaron Lu
On 11/11/2013 09:45 PM, Rafael J. Wysocki wrote: > On Monday, November 11, 2013 09:21:40 AM Lan Tianyu wrote: >> On 2013年11月10日 08:58, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> Modify struct acpi_dev_node to contain a pointer to struct device >>> ambedded in the struct

[PATCH 2/2] regulator: lp3972: Convert to devm_regulator_register

2013-11-12 Thread Axel Lin
Both num_regulators and **rdev are no longer required after this conversion, thus remove them from struct lp3972. Signed-off-by: Axel Lin --- drivers/regulator/lp3972.c | 41 ++--- 1 file changed, 6 insertions(+), 35 deletions(-) diff --git

[PATCH 1/2] regulator: lp3971: Convert to devm_regulator_register

2013-11-12 Thread Axel Lin
Both num_regulators and **rdev are no longer required after this conversion, thus remove them from struct lp3971. Signed-off-by: Axel Lin --- drivers/regulator/lp3971.c | 43 ++- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git

Re: [PATCH] scsi: avoid use of reclaimed reference

2013-11-12 Thread James Bottomley
On Tue, 2013-11-12 at 18:09 -0800, David Decotigny wrote: > I was considering the following scenario wherein the "if > (scsi_device_created(sdev))" test at the end would test garbage at > best (or unmapped data): Well, no, the counting isn't right: >if (!(sdev =

Re: [patch] pm2301-charger: remove unneeded NULL checks

2013-11-12 Thread Anton Vorontsov
On Thu, Nov 07, 2013 at 11:06:17AM +0300, Dan Carpenter wrote: > If "pm2" were NULL we would oops printing the error message. > Fortunately, that's not possible so I have removed the NULL checks. > > Signed-off-by: Dan Carpenter Applied, thanks! -- To unsubscribe from this list: send the line

[PATCH v9] PPC: POWERNV: move iommu_add_device earlier

2013-11-12 Thread Alexey Kardashevskiy
The current implementation of IOMMU on sPAPR does not use iommu_ops and therefore does not call IOMMU API's bus_set_iommu() which 1) sets iommu_ops for a bus 2) registers a bus notifier Instead, PCI devices are added to IOMMU groups from subsys_initcall_sync(tce_iommu_init) which does basically

[PATCH 1/2] dmaengine: ipu: fix warnings from 64-bit dma_addr_t printouts

2013-11-12 Thread Olof Johansson
This resolves a number of warnings such as the below when building with 64-bit dma_addr_t on arm: drivers/dma/ipu/ipu_idmac.c:1235:2: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=] ..by upcasting to u64 and using %llx.

[PATCH 2/2] dma: imx-sdma: Fix warnings for LPAE builds

2013-11-12 Thread Olof Johansson
This resolves a number of warnings such as the below when building with 64-bit dma_addr_t on arm: drivers/dma/imx-sdma.c:1092:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'dma_addr_t' [-Wformat=] ..by upcasting to u64 and using %llx. Signed-off-by:

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread Greg Price
On Wed, Nov 13, 2013 at 01:08:07AM -0500, Theodore Ts'o wrote: > On Tue, Nov 12, 2013 at 11:23:03PM -0500, Greg Price wrote: > > That's a good idea. I've worried about the same thing, but hadn't > > thought of that solution. > > I think the key is that we set a default of requiring 128 bits, or

[PATCH v5 14/17] clk: at91: add PMC smd clock

2013-11-12 Thread Boris BREZILLON
This patch adds at91 smd (Soft Modem) clock implementation using common clk framework. Not used by any driver right now. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- arch/arm/mach-at91/Kconfig |5 ++ drivers/clk/at91/Makefile |1 + drivers/clk/at91/clk-smd.c | 173

[PATCH] tools, perf: remove trivial extra semincolon

2013-11-12 Thread Davidlohr Bueso
Accidentally ran into these, get rid of them. Signed-off-by: Davidlohr Bueso --- tools/perf/ui/browser.c | 2 +- tools/perf/util/evlist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/ui/browser.c b/tools/perf/ui/browser.c index bbc782e..3648d4e 100644 ---

Re: [PATCH] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-12 Thread Nitin Gupta
On 11/12/13, 6:42 PM, Greg KH wrote: On Wed, Nov 13, 2013 at 12:41:38AM +0900, Minchan Kim wrote: We spent much time with preventing zram enhance since it have been in staging and Greg never want to improve without promotion. It's not "improve", it's "Greg does not want you adding new

[PATCH v5 13/17] clk: at91: add PMC usb clock

2013-11-12 Thread Boris BREZILLON
This patch adds new at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- arch/arm/mach-at91/Kconfig | 11 ++ drivers/clk/at91/Makefile |1 +

[PATCH v5 12/17] clk: at91: add PMC utmi clock

2013-11-12 Thread Boris BREZILLON
This adds new at91 utmi clock implementation using common clk framework. This clock is a pll with a fixed factor (x40). It is used as a source for usb clock. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- arch/arm/mach-at91/Kconfig |7 ++ drivers/clk/at91/Makefile |1 +

Re: [PATCH] gpio: Renesas RZ GPIO driver

2013-11-12 Thread Magnus Damm
Hi Linus, On Wed, Nov 13, 2013 at 4:59 AM, Linus Walleij wrote: > On Thu, Nov 7, 2013 at 12:47 AM, Magnus Damm wrote: > >> From: Magnus Damm >> >> This patch adds a GPIO driver for the RZ series of SoCs from >> Renesas. The driver can be used as platform device with dynamic >> or static GPIO

[PATCH v5 11/17] clk: at91: add PMC programmable clocks

2013-11-12 Thread Boris BREZILLON
This patch adds new at91 programmable clocks implementation using common clk framework. A programmable clock is a clock which can be exported on a given pin to clock external devices. Each programmable clock is given an id (from 0 to 8). The number of available programmable clocks depends on the

[PATCH v5 10/17] clk: at91: add peripheral clk macros for peripheral clk dt bindings

2013-11-12 Thread Boris BREZILLON
This patch adds the peripheral divisors macros (for sam9x5 compatible IPs) which will be used by peripheral clk dt definitions. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- include/dt-bindings/clk/at91.h |6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH] rds: Error on offset mismatch if not loopback

2013-11-12 Thread David Miller
From: Josh Hunt Date: Tue, 12 Nov 2013 22:22:11 -0600 > David - I can resubmit the patch with the proper signed-off-by and > formatting if you are willing to apply it unless John wants to try again. I > think it's time this got upstream. Nothing is going to happen until the patch is submitted

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread Theodore Ts'o
On Tue, Nov 12, 2013 at 11:23:03PM -0500, Greg Price wrote: > > The basic idea is that we don't want to break systems, but we do want > > to gently coerce people to do the right thing. Otherwise, I'm worried > > that distros, or embedded/mobile/consume electronics engineers would > > just patch

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread Greg Price
On Tue, Nov 12, 2013 at 08:51:18PM -0800, H. Peter Anvin wrote: > On 11/12/2013 08:37 PM, Greg Price wrote: > > I'm thinking only of boot-time blocking. The idea is that once > > /dev/urandom is seeded with, say, 128 bits of min-entropy in the > > absolute, information-theoretic sense, it can

[PATCH net V2 2/2] macvtap: limit head length of skb allocated

2013-11-12 Thread Jason Wang
We currently use hdr_len as a hint of head length which is advertised by guest. But when guest advertise a very big value, it can lead to an 64K+ allocating of kmalloc() which has a very high possibility of failure when host memory is fragmented or under heavy stress. The huge hdr_len also reduce

[PATCH net V2 1/2] tuntap: limit head length of skb allocated

2013-11-12 Thread Jason Wang
We currently use hdr_len as a hint of head length which is advertised by guest. But when guest advertise a very big value, it can lead to an 64K+ allocating of kmalloc() which has a very high possibility of failure when host memory is fragmented or under heavy stress. The huge hdr_len also reduce

Re: [PATCH net 2/2] macvtap: limit head length of skb allocated

2013-11-12 Thread Jason Wang
On 11/13/2013 01:45 AM, Greg Rose wrote: > On Tue, 12 Nov 2013 18:02:57 +0800 > Jason Wang wrote: > >> We currently use hdr_len as a hint of head length which is advertised >> by guest. But when guest advertise a very big value, it can lead to >> an 64K+ allocating of kmalloc() which has a very

Re: [PATCH] dmaengine: Add support for BCM2835.

2013-11-12 Thread Vinod Koul
On Fri, Nov 08, 2013 at 06:17:43PM +, Mark Brown wrote: > On Fri, Nov 08, 2013 at 06:22:34PM +0100, Florian Meier wrote: > > Add support for DMA controller of BCM2835 as used in the Raspberry Pi. > > Currently it only supports cyclic DMA for serving the I2S driver. > > Adding in Martin Sperl

Re: [PATCH v2] sched: Check sched_domain before computing group power.

2013-11-12 Thread Srikar Dronamraju
* Peter Zijlstra [2013-11-12 18:55:54]: > On Tue, Nov 12, 2013 at 10:45:07PM +0530, Srikar Dronamraju wrote: > > > > > > Hurm.. can you provide the actual topology of the machine that triggers > > > this? My brain hurts trying to thing through the weird cases of this > > > code. > > > > > > >

[PATCH - v2] LEDS: tca6507 - fix up some comments.

2013-11-12 Thread NeilBrown
In particular fix the capitalisation of GPIO and LED and correct TCA6507_MAKE_CPIO, but also rewrite the comment about platform-data to include reference to devicetree. Also re-wrap comments to fit 80 columns. Reported-by: Bryan Wu Signed-off-by: NeilBrown diff --git

Re: [PATCH] clk: add generic driver for fixed rate clock

2013-11-12 Thread Stefan Kristiansson
Ping and adding Mike Turquette to CC On Sun, Sep 01, 2013 at 07:40:20AM +0300, Stefan Kristiansson wrote: > This adds a simple driver with the only purpose to initialise > the fixed rate clock. > This is useful for systems that do not wish to use seperate init > code for the fixed rate clock

Re: [RFC PATCH] cpufreq: cpufreq-cpu0: do not allow transitions with regulators suspended

2013-11-12 Thread Viresh Kumar
On 12 November 2013 20:41, Nishanth Menon wrote: > On 11/12/2013 12:03 AM, Viresh Kumar wrote: >> Yes the problem looks real but there are issues with this patch. >> - It doesn't solve your problem completely, because you returned -EBUSY, >> your suspend operation failed and we resumed

Re: [PATCH 14/17] dt: Consolidate __dtb_start declarations in

2013-11-12 Thread Vineet Gupta
On 11/13/2013 01:12 AM, Geert Uytterhoeven wrote: > The different architectures used their own (and different) declarations: > > extern struct boot_param_header __dtb_start; > extern u32 __dtb_start[]; > extern char __dtb_start[]; > > Consolidate them using the first variant in . >

Re: [PATCH] 3.12.0-rt1: net: iwlwifi request only a threaded handler for interrupts

2013-11-12 Thread Clark Williams
On Tue, 12 Nov 2013 13:16:59 -0600 Clark Williams wrote: > Sebastian, > > I needed this for my laptop on 3.12, so tweaked it to apply properly. > > Clark > So of course I sent the wrong patch: commit 49d487614d56bc10969dd0dcbce709825fc06d0e Author: Clark Williams Date: Tue Nov 12

Re: [PATCH 00/17] related cleanups

2013-11-12 Thread Vineet Gupta
On 11/13/2013 01:12 AM, Geert Uytterhoeven wrote: > Most of this has been compile-tested. Notable exceptions are the changes > to arc, c6x, and score code, due to lack of cross-compilers. Mainline buildroot will enable you to build a cross compiler for ARC. It is not relocatable (pending issue in

Re: [PATCH v2] uprobes: Add uprobe_task->dup_work/dup_addr

2013-11-12 Thread Srikar Dronamraju
* Oleg Nesterov [2013-11-12 20:20:38]: > On 11/12, Srikar Dronamraju wrote: > > > > Okay, moving to arch_uprobe_task is fine. I probably got confused by > > "First of all it is not really needed," > > OK, this doesn't look good, I agree. > > Please see v2 below, I tried to improve the

Re: ARM: dts: add board dts file for EXYNOS4412 based TINY4412 board

2013-11-12 Thread kasim ling
On Wed, Nov 13, 2013 at 3:13 AM, Rob Herring wrote: > On 11/12/2013 09:02 AM, Alex Ling wrote: >> Add a minimal board dts file for EXYNOS4412 based FriendlyARM's >> TINY4412 board. This patch including adds the node to support >> peripherals like UART, SD card on SDMMC2 port, and this patch >>

linux-next: Tree for Nov 13

2013-11-12 Thread Stephen Rothwell
Hi all, Please do *not* add any v3.14 material to linux-next until after v3.13-rc1 is released. Changes since 20131112: The aio-direct tree gained a conflict against the btrfs tree. I have created today's linux-next

[PATCH] arch: um: kernel: skas: mmu: remove pmd_free() and pud_free() for failure processing in init_stub_pte()

2013-11-12 Thread Chen Gang
Unfortunately, p?d_alloc() and p?d_free() are not pair!! If p?d_alloc() succeed, they may be used, so in the next failure, we have to skip them to let exit_mmap() or do_munmap() to process it. According to "Documentation/vm/locking", 'mm->page_table_lock' is for using vma list, so not need it

Re: [PATCH 10/12] mtd: nand: davinci: don't set timings if AEMIF is used

2013-11-12 Thread Sekhar Nori
On Monday 11 November 2013 10:40 PM, Khoronzhuk, Ivan wrote: > If Davinci AEMIF is used we don't need to set timings and bus width. > It is done by AEMIF driver (drivers/memory/davinci-aemfi.c). > > Signed-off-by: Ivan Khoronzhuk > --- > drivers/mtd/nand/davinci_nand.c | 22

perf tip: fails to convert comm

2013-11-12 Thread David Ahern
Hi Namhyung and Frederic: If you recall I mentioned noting a problem with the callchain series showing comm's. Well, it fails on acme's perf/core. git bisect points to: $ git bisect bad 4dfced359fbc719a35527416f1b4b3999647f68b is the first bad commit commit

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread H. Peter Anvin
On 11/12/2013 08:37 PM, Greg Price wrote: > > I'm thinking only of boot-time blocking. The idea is that once > /dev/urandom is seeded with, say, 128 bits of min-entropy in the > absolute, information-theoretic sense, it can produce an infinite > supply (or something like 2^128 bits, which

Re: kernel BUG at kernel/kallsyms.c:222!

2013-11-12 Thread Ming Lei
On Wed, Nov 13, 2013 at 1:36 AM, Jonathan Austin wrote: >> Currently, I suggest to filter only on ARM as attachment patch if we plan >> to merge Jonathan's patch, otherwise a more complicated approach has >> to be figured out to do the filter(such as, define a readonly symbol in >> kernel to

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread Greg Price
On Tue, Nov 12, 2013 at 08:02:09PM -0800, H. Peter Anvin wrote: > One thing, too, if we are talking about anything other than > boot-time-only blocking: going from a nonblocking to a blocking > condition means being able to accept a short read, and right now *many* > users of /dev/urandom are not

Re: [PATCH] rds: Error on offset mismatch if not loopback

2013-11-12 Thread Josh Hunt
On Tue, Nov 12, 2013 at 10:22 PM, Josh Hunt wrote: > On Sat, Sep 22, 2012 at 2:25 PM, David Miller wrote: >> >> From: John Jolly >> Date: Fri, 21 Sep 2012 15:32:40 -0600 >> >> > Attempting an rds connection from the IP address of an IPoIB interface >> > to itself causes a kernel panic due to a

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread Greg Price
On Tue, Nov 12, 2013 at 10:32:05PM -0500, Theodore Ts'o wrote: > One of the things I've been thinking about with respect to making > /dev/urandom block is being able to configure (via a module parameter > which could be specified on the boot command line) which allows us to > set a limit for how

Re: [PATCH 1/1] Add strong pullup emulation to w1-gpio master driver.

2013-11-12 Thread David Fries
On Wed, Nov 13, 2013 at 05:15:52AM +0400, Evgeny Boger wrote: > 11/12/2013 12:01 PM, David Fries: > >On Tue, Nov 12, 2013 at 05:07:14AM +0400, Evgeny Boger wrote: > >>+David Fries > >> > >>Hi David, > >> > >>Would you please comment on this? > > > >On Mon, Nov 11, 2013 at 06:36:54PM +0400, Evgeny

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread H. Peter Anvin
On 11/12/2013 07:32 PM, Theodore Ts'o wrote: > On Tue, Nov 12, 2013 at 05:40:09PM -0500, Greg Price wrote: >> >> Beyond these easy cleanups, I have a couple of patches queued up (just >> written yesterday, not quite finished) to make /dev/urandom block at >> boot until it has enough entropy, as

Re: [PATCH 1/2] watchdog: bcm281xx: Watchdog Driver

2013-11-12 Thread Guenter Roeck
On 11/12/2013 02:17 PM, Markus Mayer wrote: + + if (!timeout) + dev_info(wdog->dev, "Watchdog timer stopped"); + All that noise. Would it be acceptable to turn these calls into dev_dbg() calls, here and elsewhere? Ok with me. + + wdt->resolution =

Re: 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting

2013-11-12 Thread Denys Fedoryshchenko
Hi On 2013-11-12 23:46, Jan Kara wrote: Hello, On Tue 12-11-13 16:34:07, Denys Fedoryshchenko wrote: I just did some fault testing for test nbd setup, and found that if i reboot nbd server i will get immediately BUG() message on nbd client and filesystem that i cannot unmount, and any

Re: [PATCH v3 1/3] OF: Introduce Device Tree resolve support.

2013-11-12 Thread Grant Likely
On Tue, 12 Nov 2013 09:28:42 +0100, Pantelis Antoniou wrote: > > On Nov 11, 2013, at 7:17 PM, Grant Likely wrote: > > > On Fri, 8 Nov 2013 17:06:08 +0200, Pantelis Antoniou > > wrote: > >> Introduce support for dynamic device tree resolution. > >> Using it, it is possible to prepare a

Re: [PATCH 5/5] OF: Introduce utility helper functions

2013-11-12 Thread Grant Likely
On Tue, 12 Nov 2013 11:39:08 +0100, Pantelis Antoniou wrote: > Hi Grant, > > On Nov 11, 2013, at 5:37 PM, Grant Likely wrote: > > > On Tue, 5 Nov 2013 19:50:16 +0200, Pantelis Antoniou > > wrote: > >> Introduce helper functions for working with the live DT tree. > >> > >>

[tip:core/urgent] smp/cpumask: Make CONFIG_CPUMASK_OFFSTACK= y usable without debug dependency

2013-11-12 Thread tip-bot for Josh Boyer
Commit-ID: 9dd1220114e00d8ec5cdc20085bbe198b21e1985 Gitweb: http://git.kernel.org/tip/9dd1220114e00d8ec5cdc20085bbe198b21e1985 Author: Josh Boyer AuthorDate: Mon, 11 Nov 2013 09:08:15 -0500 Committer: Ingo Molnar CommitDate: Wed, 13 Nov 2013 00:45:50 +0100 smp/cpumask: Make

Re: [f2fs-dev] [PATCH 1/2] f2fs: add a new function to support for merging contiguous read

2013-11-12 Thread Gu Zheng
On 11/12/2013 01:15 PM, Chao Yu wrote: > For better read performance, we add a new function to support for merging > contiguous read as the one for write. Nice shot! > > Signed-off-by: Chao Yu Acked-by: Gu Zheng > --- > fs/f2fs/data.c | 45 +

Re: [f2fs-dev] [PATCH 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-12 Thread Gu Zheng
Hi Yu, On 11/12/2013 01:18 PM, Chao Yu wrote: > Previously we read sit entries page one by one, this method lost the chance > of reading contiguous page together. > So we read pages as contiguous as possible for better mount performance. > > Signed-off-by: Chao Yu > --- > fs/f2fs/f2fs.h|

[PATCH] block: Employ u64_stats_init()

2013-11-12 Thread John Stultz
From: Peter Zijlstra Now that seqcounts are lockdep enabled objects, we need to properly initialize them. Without this patch, Fengguang was seeing: [4.127282] INFO: trying to register non-static key. [4.128027] the code is fine but needs lockdep annotation. [4.128027] turning off

Re: [PATCH] CPU Jitter RNG: Executing time variation tests on bare metal

2013-11-12 Thread Stephan Mueller
Am Dienstag, 29. Oktober 2013, 09:24:48 schrieb Theodore Ts'o: Hi Theodore, > On Tue, Oct 29, 2013 at 09:42:30AM +0100, Stephan Mueller wrote: > > Based on this suggestion, I now added the tests in Appendix F.46.8 where > > I disable the caches and the tests in Appendix F.46.9 where I disable >

Re: [seqcount] INFO: trying to register non-static key.

2013-11-12 Thread John Stultz
On 11/12/2013 07:29 AM, Peter Zijlstra wrote: > On Tue, Nov 12, 2013 at 10:15:41AM -0500, Vivek Goyal wrote: >> I see that we allocate per cpu stats but don't do any initializations. >> >> static void tg_stats_alloc_fn(struct work_struct *work) >> { >> static struct tg_stats_cpu

Re: [seqcount] INFO: trying to register non-static key.

2013-11-12 Thread Fengguang Wu
On Tue, Nov 12, 2013 at 04:29:56PM +0100, Peter Zijlstra wrote: > On Tue, Nov 12, 2013 at 10:15:41AM -0500, Vivek Goyal wrote: > > I see that we allocate per cpu stats but don't do any initializations. > > > > static void tg_stats_alloc_fn(struct work_struct *work) > > { > > static struct

Re: [PATCH 00/11] random: code cleanups

2013-11-12 Thread Theodore Ts'o
On Tue, Nov 12, 2013 at 05:40:09PM -0500, Greg Price wrote: > > Beyond these easy cleanups, I have a couple of patches queued up (just > written yesterday, not quite finished) to make /dev/urandom block at > boot until it has enough entropy, as the "Mining your P's and Q's" > paper recommended

[PATCH] ACPI/AC: Remove the pointer of struct acpi_device in the struct acpi_ac

2013-11-12 Thread Lan Tianyu
Now the pointer of struct acpi_device can be got by ACPI_COMPANION(struct acpi_ac->pdev->dev). So the pointer is not necessary and remove it. Signed-off-by: Lan Tianyu --- drivers/acpi/ac.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/acpi/ac.c

Re: oom-kill && frozen()

2013-11-12 Thread Tejun Heo
Hello, On Tue, Nov 12, 2013 at 05:56:43PM +0100, Oleg Nesterov wrote: > On 11/12, Oleg Nesterov wrote: > > I am also wondering if it makes any sense to turn PF_FROZEN into > > TASK_FROZEN, something like (incomplete, probably racy) patch below. > > Note that it actually adds the new state, not

Re: [PATCH] CPU Jitter RNG: inclusion into kernel crypto API and /dev/random

2013-11-12 Thread Stephan Mueller
Am Sonntag, 10. November 2013, 21:28:06 schrieb Clemens Ladisch: Hi Clemens, > Stephan Mueller wrote: > > Am Sonntag, 10. November 2013, 17:31:07 schrieb Clemens Ladisch: > >> In the case of CPUs, the jitter you observe in delta > >> times results in part from the complexities of the inner

Linux 3.11.8

2013-11-12 Thread Greg KH
I'm announcing the release of the 3.11.8 kernel. All users of the 3.11 kernel series must upgrade. The updated 3.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.11.y and can be browsed at the normal kernel.org git web browser:

[PATCH] sched: fix the endless sync_sched/rcu() inside _cpu_down()

2013-11-12 Thread Michael wang
Commit 6acce3ef8: sched: Remove get_online_cpus() usage try to do sync_sched/rcu() inside _cpu_down() but trigger: INFO: task swapper/0:1 blocked for more than 120 seconds. ... [] synchronize_rcu+0x2c/0x30 [] _cpu_down+0x2b2/0x340 ... It was

Linux 3.10.19

2013-11-12 Thread Greg KH
I'm announcing the release of the 3.10.19 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web

Linux 3.4.69

2013-11-12 Thread Greg KH
I'm announcing the release of the 3.4.69 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.4.69

2013-11-12 Thread Greg KH
diff --git a/Makefile b/Makefile index 656c45f09128..2f9a0467ede5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 68 +SUBLEVEL = 69 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S

Re: [tip:x86/urgent] x86/microcode/amd: Tone down printk(), don' t treat a missing firmware file as an error

2013-11-12 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 11/12/2013 03:00 PM, Ingo Molnar wrote: > > > > Indeed that is the documented alias, although sta...@kernel.org works > > as well and is used frequently: > > > > No, it doesn't; it has bounced for the past two years. 'works' as in the patches get picked up into

Re: [PATCH 1/1] net: sctp: bug fixing when sctp path recovers

2013-11-12 Thread Chang
On 11/13/2013 03:37 AM, Vlad Yasevich wrote: On 11/12/2013 08:34 PM, Chang Xiangzhong wrote: Look for the __two__ most recently used path/transport and set to active_path and retran_path respectively Signed-off-by: changxiangzh...@gmail.com --- net/sctp/associola.c |4 1 file

Re: [PATCH V3 06/11] perf record: Add an option to force per-cpu mmaps

2013-11-12 Thread Sukadev Bhattiprolu
Ingo Molnar [mi...@kernel.org] wrote: | | * Peter Zijlstra wrote: | | > On Tue, Nov 05, 2013 at 02:31:52PM -0300, Arnaldo Carvalho de Melo wrote: | > > PeterZ, | > > | > > Can I have your Acked-by for this one? I guess now the goal is | > > achieved, no? Being able to profile children with

[git pull] device mapper changes for 3.13

2013-11-12 Thread Mike Snitzer
The following changes since commit 61e6cfa80de5760bbe406f4e815b7739205754d2: Linux 3.12-rc5 (2013-10-13 15:41:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/dm-3.13-changes for you to fetch changes up to

Re: [raid5] kernel BUG at drivers/md/raid5.c:701!

2013-11-12 Thread NeilBrown
On Wed, 13 Nov 2013 08:28:51 +0800 Shaohua Li wrote: > On Tue, Nov 12, 2013 at 11:55:56AM +1100, NeilBrown wrote: > > On Mon, 11 Nov 2013 22:47:57 +0800 fengguang...@intel.com wrote: > > > > > 28cc2127527dcba2a0817afa8fd5a33c9e023090 is the first bad commit > > > commit

Re: [PATCH] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-12 Thread Greg KH
On Wed, Nov 13, 2013 at 12:41:38AM +0900, Minchan Kim wrote: > We spent much time with preventing zram enhance since it have been in staging > and Greg never want to improve without promotion. It's not "improve", it's "Greg does not want you adding new features and functionality while the code is

Re: [PATCH 1/1] net: sctp: bug fixing when sctp path recovers

2013-11-12 Thread Vlad Yasevich
On 11/12/2013 08:34 PM, Chang Xiangzhong wrote: Look for the __two__ most recently used path/transport and set to active_path and retran_path respectively Signed-off-by: changxiangzh...@gmail.com --- net/sctp/associola.c |4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH] ext4: explain encoding of 34-bit a,c,mtime values

2013-11-12 Thread David Turner
On Tue, 2013-11-12 at 15:03 -0800, Darrick J. Wong wrote: > On Mon, Nov 11, 2013 at 07:30:18PM -0500, Theodore Ts'o wrote: > > On Sun, Nov 10, 2013 at 02:56:54AM -0500, David Turner wrote: > > > b. Use Andreas's encoding, which is incompatible with pre-1970 files > > > written on 64-bit systems. >

Re: [PATCH v5] mm, oom: Fix race when selecting process to kill

2013-11-12 Thread David Rientjes
On Tue, 12 Nov 2013, Sameer Nanda wrote: > The selection of the process to be killed happens in two spots: > first in select_bad_process and then a further refinement by > looking for child processes in oom_kill_process. Since this is > a two step process, it is possible that the process selected

Re: [RFC 0/4] Add basic support for ASV

2013-11-12 Thread MyungJoo Ham
On Mon, Nov 11, 2013 at 11:27 PM, Yadwinder Singh Brar wrote: > gentle ping for suggestions/reviews .. > > > On Wed, Sep 11, 2013 at 8:14 PM, Yadwinder Singh Brar > wrote: >> This series is to add basic common infrastructure for ASV. >> Basically ASV is a technique used on samsung SoCs, which

Re: [PATCH 03/14] sched: SCHED_DEADLINE structures & implementation.

2013-11-12 Thread Steven Rostedt
On Thu, 7 Nov 2013 14:43:37 +0100 Juri Lelli wrote: > From: Dario Faggioli > --- /dev/null > +++ b/include/linux/sched/deadline.h > @@ -0,0 +1,24 @@ > +#ifndef _SCHED_DEADLINE_H > +#define _SCHED_DEADLINE_H > + > +/* > + * SCHED_DEADLINE tasks has negative priorities, reflecting > + * the

[PATCH 2/2] ib_isert: Avoid duplicate iscsit_increment_maxcmdsn call

2013-11-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch avoids a duplicate iscsit_increment_maxcmdsn() call for ISER_IB_RDMA_WRITE within isert_map_rdma() + isert_reg_rdma_frwr(), which will already be occuring once during isert_put_datain() -> iscsit_build_rsp_pdu() operation. It also removes the local

[PATCH 1/2] iscsi-target: Fix mutex_trylock usage in iscsit_increment_maxcmdsn

2013-11-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a >= v3.10 regression bug with mutex_trylock() usage within iscsit_increment_maxcmdsn(), that was originally added to allow for a special case where ->cmdsn_mutex was already held from the iscsit_execute_cmd() exception path for ib_isert. When

[PATCH 0/2] iscsi/iser-target: Fix

2013-11-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi folks, Here are the two patches to address the regression bug that Moussa has recently been hitting with ib_isert ports + mtip32xx backends. In the end, this bug was due to an incorrect usage of mutex_trylock(), that was originally introduced to avoid an ib_isert

  1   2   3   4   5   6   7   8   9   10   >