Re: [PATCH][RFC] mm: warning message for vm_map_ram about vm size

2014-03-09 Thread Minchan Kim
Hi Giho, On Mon, Mar 10, 2014 at 01:57:07PM +0900, Gioh Kim wrote: > Hi, > > I have a failure of allocation of virtual memory on ARMv7 based platform. > > I called alloc_page()/vm_map_ram() for allocation/mapping pages. > Virtual memory space exhausting problem occurred. > I checked virtual

Re: [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Gu Zheng
Hi Kim, On 03/10/2014 12:45 PM, Jaegeuk Kim wrote: > Hi Gu, > > 2014-03-07 (금), 18:43 +0800, Gu Zheng: >> Previously, we ra_sum_pages to pre-read contiguous pages as more >> as possible, and if we fail to alloc more pages, an ENOMEM error >> will be reported upstream, even though we have alloced

Re: [PATCH 5/5] f2fs: add a wait queue to avoid unnecessary, build_free_nid

2014-03-09 Thread Gu Zheng
Hi Kim, On 03/10/2014 12:50 PM, Jaegeuk Kim wrote: > Hi Gu, > > 2014-03-07 (금), 18:43 +0800, Gu Zheng: >> Previously, when we try to alloc free nid while the build free nid >> is going, the allocer will be run into the flow that waiting for >> "nm_i->build_lock", see following: >> /* We

RE: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Jaegeuk Kim
Hi, 2014-03-10 (월), 13:13 +0800, Chao Yu: > Hi Gu, Kim: > > One more comment. > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > > Sent: Monday, March 10, 2014 12:46 PM > > To: Gu Zheng > > Cc: linux-kernel; f2fs > > Subject: Re: [f2fs-dev] [PATCH 4/5]

Re: [PATCH 1/2] cpufreq: Return error if ->get() failed in cpufreq_update_policy()

2014-03-09 Thread Viresh Kumar
On 26 February 2014 13:15, Viresh Kumar wrote: > On 26 February 2014 03:59, Rafael J. Wysocki wrote: >> Yes, what exactly do we need it for in the core? > > Its probably there to make things faster. We cache the value so that we > don't go to the hardware to read/calculate that again. Isn't it?

Re: [f2fs-dev] [PATCH 5/5] f2fs: add a wait queue to avoid unnecessary, build_free_nid

2014-03-09 Thread Gu Zheng
Hi Changman, On 03/10/2014 12:09 PM, Changman Lee wrote: > On 금, 2014-03-07 at 18:43 +0800, Gu Zheng wrote: >> Previously, when we try to alloc free nid while the build free nid >> is going, the allocer will be run into the flow that waiting for >> "nm_i->build_lock", see following: >> /* We

[V2 PATCH 0/2] Bug fix in aio ring page migration

2014-03-09 Thread Tang Chen
This patch-set fixes the following two problems: 1. Need to use ctx->completion_lock to protect ring pages from being mis-written while migration. 2. Need memory barrier to ensure memory copy is done before ctx->ring_pages[] is updated. NOTE: AIO ring page migration was implemented since

[V2 PATCH 2/2] aio, mem-hotplug: Add memory barrier to aio ring page migration.

2014-03-09 Thread Tang Chen
When doing aio ring page migration, we migrated the page, and update ctx->ring_pages[]. Like the following: aio_migratepage() |-> migrate_page_copy(new, old) | .. /* Need barrier here */ |-> ctx->ring_pages[idx] = new Actually, we need a memory barrier

[V2 PATCH 1/2] aio, memory-hotplug: Fix confliction when migrating and, accessing ring pages

2014-03-09 Thread Tang Chen
AIO ring page migration has been implemented by the following patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/aio.c?id=36bc08cc01709b4a9bb563b35aa530241ddc63e3 In this patch, ctx->completion_lock is used to prevent other processes from accessing the ring page

Re: [PATCH net V2] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-03-09 Thread Jason Wang
On 03/08/2014 05:39 AM, David Miller wrote: > From: Jason Wang > Date: Fri, 7 Mar 2014 13:28:27 +0800 > >> This is because the delay added by htb may lead the delay the finish >> of DMAs and cause the pending DMAs for tap0 exceeds the limit >> (VHOST_MAX_PEND). In this case vhost stop handling

RE: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Chao Yu
Hi Gu, Kim: One more comment. > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Monday, March 10, 2014 12:46 PM > To: Gu Zheng > Cc: linux-kernel; f2fs > Subject: Re: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary > slightly > > Hi Gu, > >

[PATCH][RFC] mm: warning message for vm_map_ram about vm size

2014-03-09 Thread Gioh Kim
Hi, I have a failure of allocation of virtual memory on ARMv7 based platform. I called alloc_page()/vm_map_ram() for allocation/mapping pages. Virtual memory space exhausting problem occurred. I checked virtual memory space and found that there are too many 4MB chunks. I thought that if just

Re: [PATCH 5/5] f2fs: add a wait queue to avoid unnecessary, build_free_nid

2014-03-09 Thread Jaegeuk Kim
Hi Gu, 2014-03-07 (금), 18:43 +0800, Gu Zheng: > Previously, when we try to alloc free nid while the build free nid > is going, the allocer will be run into the flow that waiting for > "nm_i->build_lock", see following: > /* We should not use stale free nids created by build_free_nids */ >

Re: [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Jaegeuk Kim
Hi Gu, 2014-03-07 (금), 18:43 +0800, Gu Zheng: > Previously, we ra_sum_pages to pre-read contiguous pages as more > as possible, and if we fail to alloc more pages, an ENOMEM error > will be reported upstream, even though we have alloced some pages > yet. In fact, we can use the available pages to

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread Andy Lutomirski
On Sun, Mar 9, 2014 at 8:18 PM, Andy Lutomirski wrote: > (Of course, I haven't the faintest idea what l_addr in glibc means. > If there was a way to arrange for l_addr to be zero, then maybe none > of this would matter. Hmm, I wonder if just not relocating the vdso > at all would have the

Re: [PATCHv8 2/4] power_supply: Introduce generic psy charging driver

2014-03-09 Thread Jenny Tc
On Fri, Mar 07, 2014 at 09:25:20PM +0100, Pavel Machek wrote: Hi, > > The Power Supply charging driver connects multiple subsystems > > to do charging in a generic way. The subsystems involves power_supply, > > thermal and battery communication subsystems (1wire).With this the charging > > is >

Re: [PATCH] cpufreq: use cpufreq_cpu_get to avoid cpufreq_get race conditions

2014-03-09 Thread Viresh Kumar
On 6 March 2014 09:23, Rafael J. Wysocki wrote: > On Tuesday, March 04, 2014 12:42:15 PM Aaron Plattner wrote: >> If a module calls cpufreq_get while cpufreq is initializing, it's possible >> for >> it to be called after cpufreq_driver is set but before cpufreq_cpu_data is >> written during

Linux 3.14-rc6

2014-03-09 Thread Linus Torvalds
We're getting closer to the end of the rc cycle, and I have to admit that I would have wished for a less bumpy ride. There haven't been any huge problems, but there's been quite a few small bumps that shouldn't happen this late in the release cycle. And rc6 is noticeably bigger than rc5 was, as

Re: [PATCH] cpufreq: Reformat printk() statement

2014-03-09 Thread Viresh Kumar
On 10 March 2014 12:07, Joe Perches wrote: > On Mon, 2014-03-10 at 11:53 +0800, Viresh Kumar wrote: >> On 7 March 2014 01:34, Soren Brinkmann wrote: >> > Reformat a printk statement to: >> > - use pr_warn >> > - bring the whole string into a single line in favor of being able to >> >grep

Re: [f2fs-dev] [PATCH 5/5] f2fs: add a wait queue to avoid unnecessary, build_free_nid

2014-03-09 Thread Changman Lee
On 금, 2014-03-07 at 18:43 +0800, Gu Zheng wrote: > Previously, when we try to alloc free nid while the build free nid > is going, the allocer will be run into the flow that waiting for > "nm_i->build_lock", see following: > /* We should not use stale free nids created by build_free_nids */ >

Re: [PATCH] cpufreq: Reformat printk() statement

2014-03-09 Thread Joe Perches
On Mon, 2014-03-10 at 11:53 +0800, Viresh Kumar wrote: > On 7 March 2014 01:34, Soren Brinkmann wrote: > > Reformat a printk statement to: > > - use pr_warn > > - bring the whole string into a single line in favor of being able to > >grep for the message (ignoring the 80 char limit) > > > >

Re: [PATCH] cpufreq: Reformat printk() statement

2014-03-09 Thread Viresh Kumar
On 7 March 2014 01:34, Soren Brinkmann wrote: > Reformat a printk statement to: > - use pr_warn > - bring the whole string into a single line in favor of being able to >grep for the message (ignoring the 80 char limit) > > Signed-off-by: Soren Brinkmann > --- > drivers/cpufreq/cpufreq.c |

Re: [PATCH] [TRIVIAL] ARM: spear: clean up editing mistake

2014-03-09 Thread Viresh Kumar
On 10 March 2014 05:41, Paul Bolle wrote: > Clean up an obvious editing mistake introduced by commit 4b6effb6ff38 > ("ARM: spear: merge Kconfig files"). > > Signed-off-by: Paul Bolle > --- > arch/arm/mach-spear/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

RE: [PATCHv3 1/3] ASoC: codec: Simplify ASoC probe code.

2014-03-09 Thread li.xi...@freescale.com
> Subject: Re: [PATCHv3 1/3] ASoC: codec: Simplify ASoC probe code. > > On Mon, Mar 03, 2014 at 07:24:36AM +, li.xi...@freescale.com wrote: > > > > > /* Default to using ALC auto offset calibration mode. */ > > > > snd_soc_update_bits(codec, DA7213_ALC_CTRL1, > > > >

RE: [PATCH net-next 0/7] r8152: tx/rx improvement

2014-03-09 Thread hayeswang
David Miller [mailto:da...@davemloft.net] > Sent: Saturday, March 08, 2014 5:28 AM > To: hayesw...@realtek.com > Cc: net...@vger.kernel.org; nic_s...@realtek.com; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH net-next 0/7] r8152: tx/rx improvement [...] > Note

[PATCH 2/2] bridge: multicast: enable snooping on general queries only

2014-03-09 Thread Linus Lüssing
Without this check someone could easily create a denial of service by injecting multicast-specific queries to enable the bridge snooping part if no real querier issuing periodic general queries is present on the link which would result in the bridge wrongly shutting down ports for multicast

Re: [PATCHv8 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-03-09 Thread Jenny Tc
On Fri, Mar 07, 2014 at 09:12:40PM +0100, Pavel Machek wrote: > On Fri 2014-03-07 10:59:31, Jenny TC wrote: > > Add new power supply properties for input current, charge termination > > current, min and max temperature > > > > POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature > >

Re: [PATCH] net: phy: Add sysfs attribute to prevent PHY suspend

2014-03-09 Thread David Miller
From: Sebastian Hesselbarth Date: Mon, 10 Mar 2014 01:53:33 +0100 > On 03/10/2014 01:41 AM, David Miller wrote: >> From: Sebastian Hesselbarth >> Date: Mon, 10 Mar 2014 01:37:32 +0100 >> >>> The mechanism is manual, no automatic way to determine it. >> >> We recognize BIOS and ACPI bugs and

[PATCH 1/2] bridge: multicast: add sanity check for general query destination

2014-03-09 Thread Linus Lüssing
General IGMP and MLD queries are supposed to have the multicast link-local all-nodes address as their destination according to RFC2236 section 9, RFC3376 section 4.1.12/9.1, RFC2710 section 8 and RFC3810 section 5.1.15. Without this check, such malformed IGMP/MLD queries can result in a denial of

Re: [PATCH] hung_task : check the value of "sysctl_hung_task_timeout_sec"

2014-03-09 Thread Liu hua
on 2014/3/6 23:35, Paul Gortmaker wrote: > On 14-03-06 02:19 AM, Liu hua wrote: >> As sysctl_hung_task_timeout_sec is unsigned long, when this value is >> larger then LONG_MAX, the function schedule_timeout_interruptible in >> watchdog will return immediately without sleep : >> >> for example (in

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread Andy Lutomirski
On Sun, Mar 9, 2014 at 5:16 PM, H. Peter Anvin wrote: > On 03/09/2014 12:47 AM, Stefani Seibold wrote: >> >> But let me ask an other question: Is the compat mode still needed >> anymore? >> >> Since Lguest, XEN, OPLC and the reservetop kernel parameter will change >> the __FIXADDR_TOP, there is

[GIT PULL] namespaces fixes for 3.14-rcX

2014-03-09 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: d211f177b28ec070c25b3d0b960aa55f352f731f audit: Update kdoc for audit_send_reply and audit_list_rules_send Starting with 3.14-rc1 the

Re:

2014-03-09 Thread inforbonus
Your Reference Es/2012 YC-EU/14 Contact Dr. Marc Alvaro for clarification and claim of 850.000.00 EUR. Tel: +34 634 161 422 E-mail: caixas...@administrativos.com Regards Doña Maria Gomez General Secretary fndo) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re:

2014-03-09 Thread inforbonus
Your Reference Es/2012 YC-EU/14 Contact Dr. Marc Alvaro for clarification and claim of 850.000.00 EUR. Tel: +34 634 161 422 E-mail: caixas...@administrativos.com Regards Doña Maria Gomez General Secretary fndo) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH net V2] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-03-09 Thread Qin Chuanyu
On 2014/3/7 13:28, Jason Wang wrote: We used to stop the handling of tx when the number of pending DMAs exceeds VHOST_MAX_PEND. This is used to reduce the memory occupation of both host and guest. But it was too aggressive in some cases, since any delay or blocking of a single packet may delay

Re: [PATCH] net: phy: fix uninitalized WOL parameters in phy_ethtool_get_wol

2014-03-09 Thread Ben Hutchings
On Mon, 2014-03-10 at 02:01 +0100, Sebastian Hesselbarth wrote: > phy_ethtool_get_wol is a helper to get current WOL settings from > a phy device. When using this helper on a PHY without .get_wol > callback, struct ethtool_wolinfo is never set-up correctly and > may contain misleading information

Re: [RFC PATCH 6/8] ACPI: use platform bus as the default bus for _HID enumeration

2014-03-09 Thread Zhang Rui
On Sun, 2014-03-09 at 19:04 +0100, Rafael J. Wysocki wrote: > On Sunday, March 09, 2014 11:50:37 PM Zhang Rui wrote: > > On Wed, 2014-02-26 at 17:11 +0800, Zhang Rui wrote: > > > Because of the growing demand for enumerating ACPI devices to platform > > > bus, > > > this patch changes the code to

Re: [RFC PATCH 6/8] ACPI: use platform bus as the default bus for _HID enumeration

2014-03-09 Thread Zhang Rui
On Sun, 2014-03-09 at 19:04 +0100, Rafael J. Wysocki wrote: > On Sunday, March 09, 2014 11:50:37 PM Zhang Rui wrote: > > On Wed, 2014-02-26 at 17:11 +0800, Zhang Rui wrote: > > > Because of the growing demand for enumerating ACPI devices to platform > > > bus, > > > this patch changes the code to

[PATCH v2] drm/fb-helper: Do the 'max_conn_count' zero check

2014-03-09 Thread Xiubo Li
Since we cannot make sure the 'max_conn_count' will always be none zero from the users, and then if max_conn_count equals to zero, the kcalloc() will return ZERO_SIZE_PTR, which equals to ((void *)16). So this patch fix this with just doing the 'max_conn_count' zero check in the front of

Re: [GIT PULL] x86 fixes for v3.14-rc6 - bad patch dropped

2014-03-09 Thread H. Peter Anvin
On 03/09/2014 06:51 PM, Linus Torvalds wrote: > On Sun, Mar 9, 2014 at 5:15 PM, H. Peter Anvin wrote: >> >> The same collection of fixes except the broken NMI patch dropped. I >> will send a fixed version of that plus Suresh' FPU fix in a few days, >> to get them some testing, plus I will be on

Re: [PATCH] it87_wdt: Work around non-working CIR interrupts

2014-03-09 Thread Guenter Roeck
On 03/06/2014 01:36 AM, Marc van der Wal wrote: From: Marc van der Wal On some hardware platforms, the it87_wdt watchdog resets the machine despite the watchdog daemon running and writing to /dev/watchdog. This is due to Consumer IR buffer underrun interrupts being used as triggers to reset

Re: [f2fs-dev] [PATCH 1/5] f2fs: update start nid only once each circle

2014-03-09 Thread Jaegeuk Kim
Hi all, I'll handle them all by myself. Thank you for the contribution. :) 2014-03-10 (월), 09:32 +0800, Gu Zheng: > On 03/08/2014 07:46 PM, Chao Yu wrote: > > > Hi Gu, > > > >> -Original Message- > >> From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] > >> Sent: Friday, March 07, 2014

[PATCH v3] shdma: add R-Car Audio DMAC peri peri driver

2014-03-09 Thread Kuninori Morimoto
From: Kuninori Morimoto Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto --- v2 -> v3 - remove error message when devm_kzalloc() was failed drivers/dma/sh/Kconfig |6 +

Re: [RFC PATCH 2/8] PNPACPI: use whilte list for pnpacpi device enumeration

2014-03-09 Thread Zhang Rui
On Sun, 2014-03-09 at 18:49 +0100, Rafael J. Wysocki wrote: > On Sunday, March 09, 2014 01:29:30 PM Zhang Rui wrote: > > On Fri, 2014-03-07 at 02:44 +0100, Rafael J. Wysocki wrote: > > > On Wednesday, February 26, 2014 05:11:08 PM Zhang Rui wrote: > > > > + > > > > +static int __init

Re: [PATCH v2][RESENT] dma: add R-Car Audio DMAC peri peri driver

2014-03-09 Thread Kuninori Morimoto
Hi Joe > > diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c > [] > > +static int audmapp_chan_probe(struct platform_device *pdev, > > + struct audmapp_device *audev, int id) > > +{ > [] > > + auchan = devm_kzalloc(dev, sizeof(struct

Re: [PATCH] watchdog: bcm281xx: Fix Kconfig dependency

2014-03-09 Thread Guenter Roeck
On 03/05/2014 02:57 AM, Markus Mayer wrote: Use more the applicable ARCH_BCM_MOBILE option instead of ARCH_BCM as dependency for bcm_kona_wdt.c. Signed-off-by: Markus Mayer Acked-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

RE: [PATCH] drm/fb-helper: Do the mode_set.connectors ZERO_SIZE_PTR check

2014-03-09 Thread li.xi...@freescale.com
> Subject: Re: [PATCH] drm/fb-helper: Do the mode_set.connectors ZERO_SIZE_PTR > check > > On Thu, 06 Mar 2014, Xiubo Li wrote: > > Since we cannot make sure the 'max_conn_count' will always be none > > zero from the users, and then if max_conn_count equals to zero, the > > kcalloc() will

Re: [PATCH] zram: use scnprintf() in attrs show() methods

2014-03-09 Thread Minchan Kim
On Sun, Mar 09, 2014 at 10:27:08PM +0300, Sergey Senozhatsky wrote: > sysfs.txt documentation lists the following requirements: > > - The buffer will always be PAGE_SIZE bytes in length. On i386, this >is 4096. > > - show() methods should return the number of bytes printed into the >

[PATCH] net: add a pre-check of net_ns in sk_change_net()

2014-03-09 Thread Gu Zheng
We do not need to switch the net_ns if the target net_ns the same as the current one, so here we add a pre-check of net_ns to avoid this as David suggested. Signed-off-by: Gu Zheng --- include/net/sock.h |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] zram: propagate error to user

2014-03-09 Thread Minchan Kim
Hello Sergey, On Sun, Mar 09, 2014 at 07:58:51PM +0300, Sergey Senozhatsky wrote: > Hello Minchan, > > On (03/07/14 18:51), Minchan Kim wrote: > > Hello Sergey! > > > > On Fri, Mar 07, 2014 at 12:20:45PM +0300, Sergey Senozhatsky wrote: > > > On (03/07/14 10:56), Minchan Kim wrote: > > > > When

Re: [PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-09 Thread Shawn Guo
On Thu, Mar 06, 2014 at 12:57:42PM +0100, Marek Vasut wrote: > On Thursday, March 06, 2014 at 06:02:03 AM, Yao Yuan wrote: > > On Thu, March 06, 2014 at 12:44:14 PM, Marek Vasut wrote: > > > On Thursday, March 06, 2014 at 05:36:14 AM, Yao Yuan wrote: > > > > On Thu, March 06, 2014 at 11:23:50 AM,

Re: [GIT PULL] x86 fixes for v3.14-rc6 - bad patch dropped

2014-03-09 Thread Linus Torvalds
On Sun, Mar 9, 2014 at 5:15 PM, H. Peter Anvin wrote: > > The same collection of fixes except the broken NMI patch dropped. I > will send a fixed version of that plus Suresh' FPU fix in a few days, > to get them some testing, plus I will be on a trip (part of why I got > unduly rushed this past

Re: 3.13.?: Strange / dangerous fan policy...

2014-03-09 Thread Manuel Krause
the "Fan speed" (thermal_zone4==FDTZ). And I've done my very best to not produce typos or c errors. 3.13.5 -- 20140309 -- 20:52 -- bad = dir |- /type /cur_state /max_state cooling_device0 Processor0 10 co

Re: [PATCH v2][RESENT] dma: add R-Car Audio DMAC peri peri driver

2014-03-09 Thread Joe Perches
On Sun, 2014-03-09 at 18:34 -0700, Kuninori Morimoto wrote: > Add support Audio DMAC peri peri driver > for Renesas R-Car Gen2 SoC, using 'shdma-base' > DMA driver framework. Trivial notes: > diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c [] > +static int

RE: [PATCH] [staging][r8188eu]: memory leak in rtw_free_cmd_obj if command is (_Set_Drv_Extra)

2014-03-09 Thread Liu, Chuansheng
Hi, > -Original Message- > From: Wang, Xiaoming > Sent: Monday, March 10, 2014 11:38 PM > To: gre...@linuxfoundation.org; valentina.mane...@gmail.com; > dan.carpen...@oracle.com; standby2...@gmail.com > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; Zhang, > Dongxing; Wang,

Re: [f2fs-dev] [PATCH 1/5] f2fs: update start nid only once each circle

2014-03-09 Thread Gu Zheng
On 03/08/2014 07:46 PM, Chao Yu wrote: > Hi Gu, > >> -Original Message- >> From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] >> Sent: Friday, March 07, 2014 6:43 PM >> To: Kim >> Cc: linux-kernel; f2fs >> Subject: [f2fs-dev] [PATCH 1/5] f2fs: update start nid only once each circle >> >> >>

[PATCH v2][RESENT] dma: add R-Car Audio DMAC peri peri driver

2014-03-09 Thread Kuninori Morimoto
From: Kuninori Morimoto Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto --- resent - add missing "dmaeng...@vger.kernel.org" v1 -> v2 - run scripts/checkpatch.pl - ecchange length settings on

[PATCH] [staging][r8188eu]: memory leak in rtw_free_cmd_obj if command is (_Set_Drv_Extra)

2014-03-09 Thread Wang, Xiaoming
pcmd->parmbuf->pbuf has been allocated if command is GEN_CMD_CODE(_Set_Drv_Extra), and it enqueued by rtw_enqueue_cmd. rtw_cmd_thread dequeue pcmd by rtw_dequeue_cmd. The memory leak happened on this branch "if( _FAIL == rtw_cmd_filter(pcmdpriv, pcmd) )" which goto post_process directly against

LK bug with SGH-T999V (d2tmo)

2014-03-09 Thread Pierre-Yves Tremblay
1. LK v9.2 and higher won't work at all on d2tmo nightlies (CM11) and on d2lte nightlies (CM11) for SGH-T999V 2. The phone just can't run with this kernel anymore since version 9.2 (d2att) with cm11's d2tmo and version 9.4 (d2) with cm11's d2lte. Phone app crashes repetitively with v9.4 of d2

Re: [PATCH] netlink: switch net_ns only if net is not init_net

2014-03-09 Thread Gu Zheng
On 03/10/2014 07:09 AM, David Miller wrote: > From: Gu Zheng > Date: Fri, 07 Mar 2014 18:47:30 +0800 > >> Many netlink users create netlink sock in the init_net, and the >> switching nes_ns(init_net-->net) is needless in this case. So here >> we add a pre-check to avoid this. >> >>

[PATCH v3 5/5] x86: Always define BUG() and HAVE_ARCH_BUG, even with !CONFIG_BUG

2014-03-09 Thread Josh Triplett
This ensures that BUG() always has a definition that causes a trap (via an undefined instruction), and that the compiler still recognizes the code following BUG() as unreachable, avoiding warnings that would otherwise appear (such as on non-void functions that don't return a value after BUG()).

[PATCH v3 4/5] bug: Make BUG() always stop the machine

2014-03-09 Thread Josh Triplett
When !CONFIG_BUG and !HAVE_ARCH_BUG, define the generic BUG() as an infinite loop rather than a no-op. This avoids undefined behavior if execution ever actually reaches BUG(), and avoids warnings about code after BUG() (such as on non-void functions calling BUG() and then not returning).

[PATCH v3 3/5] bug: When !CONFIG_BUG, make WARN call no_printk to check format and args

2014-03-09 Thread Josh Triplett
The stub version of WARN for !CONFIG_BUG completely ignored its format string and subsequent arguments; make it check them instead, using no_printk. Reported-by: Arnd Bergmann Signed-off-by: Josh Triplett --- v3: Patch unchanged from v2. include/asm-generic/bug.h | 1 + 1 file changed, 1

[PATCH v3 2/5] include/asm-generic/bug.h: Style fix: s/while(0)/while (0)/

2014-03-09 Thread Josh Triplett
Reported-by: Randy Dunlap Signed-off-by: Josh Triplett --- v3: Patch unchanged from v2. include/asm-generic/bug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 7ecd398..2d54d8d 100644 ---

RE: [PATCH] regulator: act8865: Remove unnecessary *rdev[] from struct act8865

2014-03-09 Thread Yang, Wenyou
> -Original Message- > From: Axel Lin [mailto:axel@ingics.com] > Sent: Saturday, March 08, 2014 9:19 PM > To: Mark Brown > Cc: Yang, Wenyou; Liam Girdwood; linux-kernel@vger.kernel.org > Subject: [PATCH] regulator: act8865: Remove unnecessary *rdev[] from > struct act8865 > > Now we

[PATCH] net: phy: fix uninitalized WOL parameters in phy_ethtool_get_wol

2014-03-09 Thread Sebastian Hesselbarth
phy_ethtool_get_wol is a helper to get current WOL settings from a phy device. When using this helper on a PHY without .get_wol callback, struct ethtool_wolinfo is never set-up correctly and may contain misleading information about WOL status. To fix this, always zero relevant fields of struct

[PATCH v3 1/5] bug: When !CONFIG_BUG, simplify WARN_ON_ONCE and family

2014-03-09 Thread Josh Triplett
When !CONFIG_BUG, WARN_ON and family become simple passthroughs of their condition argument; however, WARN_ON_ONCE and family still have conditions and a boolean to detect one-time invocation, even though the warning they'd emit doesn't exist. Make the existing definitions conditional on

Re: [PATCH] net: phy: Add sysfs attribute to prevent PHY suspend

2014-03-09 Thread Sebastian Hesselbarth
On 03/10/2014 01:41 AM, David Miller wrote: From: Sebastian Hesselbarth Date: Mon, 10 Mar 2014 01:37:32 +0100 The mechanism is manual, no automatic way to determine it. We recognize BIOS and ACPI bugs and work around them, by looking at version information and whatnot, so you really can't

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Alexei Starovoitov
On Sun, Mar 9, 2014 at 3:00 PM, Daniel Borkmann wrote: > On 03/09/2014 06:08 PM, Alexei Starovoitov wrote: >> >> On Sun, Mar 9, 2014 at 5:29 AM, Daniel Borkmann >> wrote: >>> >>> On 03/09/2014 12:15 AM, Alexei Starovoitov wrote: Extended BPF extends old BPF in the following ways:

Re: [PATCH] net: phy: Add sysfs attribute to prevent PHY suspend

2014-03-09 Thread David Miller
From: Sebastian Hesselbarth Date: Mon, 10 Mar 2014 01:37:32 +0100 > The mechanism is manual, no automatic way to determine it. We recognize BIOS and ACPI bugs and work around them, by looking at version information and whatnot, so you really can't convince me that something similar can't be

Re: [PATCH] net: phy: Add sysfs attribute to prevent PHY suspend

2014-03-09 Thread Sebastian Hesselbarth
On 03/10/2014 01:30 AM, David Miller wrote: From: Sebastian Hesselbarth Date: Mon, 10 Mar 2014 00:25:24 +0100 There is no way to determine if a bootloader is broken or not. The sysfs knob allows to provide a use case based decision. Of course, we can invent some freaky device tree property

Re: [PATCH] net: phy: Add sysfs attribute to prevent PHY suspend

2014-03-09 Thread David Miller
From: Sebastian Hesselbarth Date: Mon, 10 Mar 2014 00:25:24 +0100 > There is no way to determine if a bootloader is broken or not. The > sysfs knob allows to provide a use case based decision. Of course, > we can invent some freaky device tree property but that the DT > maintainers will not like

Re: [PATCH 1/3] drivers: clk: add samsung common clock config option

2014-03-09 Thread Tomasz Figa
Hi Pankaj, On 26.02.2014 06:24, Pankaj Dubey wrote: add samsung common clock config option and let ARCH_EXYNOS or ARCH_S3C select this if they want to use samsung common clock infrastructure. CC: Mike Turquette Signed-off-by: Pankaj Dubey --- drivers/clk/Kconfig | 10 ++

Re: [PATCH 5/9 v7] clk: samsung exynos5250/5420: Add gate clock for SSS module

2014-03-09 Thread Tomasz Figa
On 17.02.2014 10:44, Naveen Krishna Chatradhi wrote: This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250/5420. Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Tomasz Figa TO: TO: Tomasz Figa CC: David S. Miller CC: Kukjin Kim CC: --- changes since v6: None

[GIT PULL] x86 fixes for v3.14-rc6 - bad patch dropped

2014-03-09 Thread H. Peter Anvin
Hi Linus, The same collection of fixes except the broken NMI patch dropped. I will send a fixed version of that plus Suresh' FPU fix in a few days, to get them some testing, plus I will be on a trip (part of why I got unduly rushed this past Friday. Sorry again for that.) The following changes

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread H. Peter Anvin
On 03/09/2014 12:47 AM, Stefani Seibold wrote: > > But let me ask an other question: Is the compat mode still needed > anymore? > > Since Lguest, XEN, OPLC and the reservetop kernel parameter will change > the __FIXADDR_TOP, there is no fix place for the VDSO page. Also in the > 32 bit emulation

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run calls

2014-03-09 Thread Stanislav Meduna
On 09.03.2014 23:53, David Miller wrote: > To me it means "I've got nothing to do if other tasks want to run right > now" Yes, I even see it having this meaning when an RT task executes > it. http://www.kernel.org/doc/htmldocs/device-drivers/API-yield.html lists this exact "while (!event)

Re: [qemu64,+smep,+smap] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/amd.c:220 init_amd()

2014-03-09 Thread H. Peter Anvin
On 03/09/2014 11:07 AM, Paolo Bonzini wrote: > > We really should give a loud warning if qemu64 is used with KVM. It > makes no sense with KVM, even less than it does with dynamic translation. > Well, this is dynamic translation. -hpa -- To unsubscribe from this list: send the line

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-09 Thread H. Peter Anvin
On 03/09/2014 12:08 AM, Stefani Seibold wrote: > > This was not addressed to you, it was addressed to the x86 intel kernel > developers to do more testing, since this piece of code has so many side > effects. I apologizes this miss understanding. > I think you're misunderstanding. We cannot

[PATCH 2/2] staging: cxt1e1: remove redundant memset() call

2014-03-09 Thread Daeseok Youn
The name array doens't need to set to 0. Because sprintf/snprintf adds a terminating '\0'. And also it doesn't need to assign name array address to np pointer. Signed-off-by: Daeseok Youn --- drivers/staging/cxt1e1/linux.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-)

[PATCH 1/2] staging: cxtie1: remove unneeded mkret() calls

2014-03-09 Thread Daeseok Youn
The mkret() change a value of error from positive to negative. This patch is modified to return negative value when it failed. It doesn't need to call with function for changing from positive to negative. Signed-off-by: Daeseok Youn --- drivers/staging/cxt1e1/linux.c | 72

Generic HSI client DT bindings

2014-03-09 Thread Sebastian Reichel
Hi, I'm currently working on Device Tree support for the HSI subsystem to get the Nokia N900 modem working in the mainline kernel. I guess the key question for the binding has been asked by Mark: Mark Rutland wrote [0]: > Does HSI have an addressing scheme, or does each port > have a single

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run calls

2014-03-09 Thread David Lang
On Sun, 9 Mar 2014, Ben Hutchings wrote: On Sun, 2014-03-09 at 18:53 -0400, David Miller wrote: From: Ben Hutchings Date: Sun, 09 Mar 2014 19:09:20 + On Thu, 2014-03-06 at 16:06 -0500, David Miller wrote: From: Marc Kleine-Budde Date: Wed, 5 Mar 2014 00:49:47 +0100 @@ -839,7 +839,7

Re: [PATCH] net: phy: Add sysfs attribute to prevent PHY suspend

2014-03-09 Thread Sebastian Hesselbarth
On 03/10/2014 12:12 AM, David Miller wrote: From: Sebastian Hesselbarth Date: Fri, 7 Mar 2014 12:34:52 +0100 commit 1211ce53077164e0d34641d0ca5fb4d4a7574498 ("net: phy: resume/suspend PHYs on attach/detach") introduced a feature to suspend PHYs when entering halted state. Unfortunately,

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run calls

2014-03-09 Thread Ben Hutchings
On Sun, 2014-03-09 at 18:53 -0400, David Miller wrote: > From: Ben Hutchings > Date: Sun, 09 Mar 2014 19:09:20 + > > > On Thu, 2014-03-06 at 16:06 -0500, David Miller wrote: > >> From: Marc Kleine-Budde > >> Date: Wed, 5 Mar 2014 00:49:47 +0100 > >> > >> > @@ -839,7 +839,7 @@ void

Re: [PATCH] net: phy: Add sysfs attribute to prevent PHY suspend

2014-03-09 Thread David Miller
From: Sebastian Hesselbarth Date: Fri, 7 Mar 2014 12:34:52 +0100 > commit 1211ce53077164e0d34641d0ca5fb4d4a7574498 > ("net: phy: resume/suspend PHYs on attach/detach") > introduced a feature to suspend PHYs when entering halted state. > > Unfortunately, not all bootloaders properly power-up

Re: [PATCH] netlink: switch net_ns only if net is not init_net

2014-03-09 Thread David Miller
From: Gu Zheng Date: Fri, 07 Mar 2014 18:47:30 +0800 > Many netlink users create netlink sock in the init_net, and the > switching nes_ns(init_net-->net) is needless in this case. So here > we add a pre-check to avoid this. > > Signed-off-by: Gu Zheng This check is more appropriately placed

Re: [PATCH net-next v2 10/13] r8152: support IPv6

2014-03-09 Thread David Miller
From: Ben Hutchings Date: Sun, 09 Mar 2014 19:47:55 + > On Wed, 2014-03-05 at 14:49 +0800, Hayes Wang wrote: >> Support hw IPv6 checksum for TCP and UDP packets. >> >> Note that the hw has the limitation of the range of the transport >> offset. Besides, the TCP Pseudo Header of the IPv6 TSO

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run calls

2014-03-09 Thread David Miller
From: Ben Hutchings Date: Sun, 09 Mar 2014 19:09:20 + > On Thu, 2014-03-06 at 16:06 -0500, David Miller wrote: >> From: Marc Kleine-Budde >> Date: Wed, 5 Mar 2014 00:49:47 +0100 >> >> > @@ -839,7 +839,7 @@ void dev_deactivate_many(struct list_head *head) >> > /* Wait for outstanding

[PATCHv2 2/6] HSI: Add function to register HSI clients from DT

2014-03-09 Thread Sebastian Reichel
Add new method hsi_add_clients_from_dt, which can be used to initialize HSI clients from a device tree node. The function currently only registers the generic hsi_char device, which is the only one available in the Linux kernel. Support for loading generic hsi clients will be added once a common

[PATCHv2 1/6] Documentation: HSI: Add some general description for the HSI subsystem

2014-03-09 Thread Sebastian Reichel
Add a document, which gives a rough introduction about what HSI is and how its handled by the Linux kernel. Signed-off-by: Sebastian Reichel --- Documentation/hsi.txt | 75 +++ 1 file changed, 75 insertions(+) create mode 100644

[PATCHv2 3/6] HSI: method to unregister clients from an hsi port

2014-03-09 Thread Sebastian Reichel
This exports a method to unregister all clients from an hsi port. Signed-off-by: Sebastian Reichel --- drivers/hsi/hsi.c | 10 ++ include/linux/hsi/hsi.h | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/hsi/hsi.c b/drivers/hsi/hsi.c index 6fde590..098cc3a 100644 ---

[PATCHv2 4/6] HSI: hsi-char: fix driver for multiport scenarios

2014-03-09 Thread Sebastian Reichel
Fix return code check of alloc_chrdev_region, which returns 0 on success. Signed-off-by: Sebastian Reichel --- drivers/hsi/clients/hsi_char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c index

[PATCHv2 6/6] Documentation: DT: omap-ssi binding documentation

2014-03-09 Thread Sebastian Reichel
Create device tree binding documentation for OMAP Synchronous Serial Interface (SSI) device. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/hsi/omap-ssi.txt | 82 ++ 1 file changed, 82 insertions(+) create mode 100644

[PATCHv2 0/6] OMAP SSI driver

2014-03-09 Thread Sebastian Reichel
Hi, This is the sixth round of the OMAP SSI driver patches. I think the OMAP SSI driver is ready for mainline and should be included in 3.15. This round updates the patchset according to the comments from Mark Rutland and Rob Herring. Changes since PATCHv1 [0]: * add a general description of

[PATCH net-next] hyperv: Change the receive buffer size for legacy hosts

2014-03-09 Thread Haiyang Zhang
Due to a bug in the Hyper-V host verion 2008R2, we need to use a slightly smaller receive buffer size, otherwise the buffer will not be accepted by the legacy hosts. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |1 + drivers/net/hyperv/netvsc.c |6 +- 2

Re: [PATCH 2/2] mm: Changed pr_warning() to pr_warn()

2014-03-09 Thread Joe Perches
On Sun, 2014-03-09 at 17:15 +0900, Choi Gi-yong wrote: > Signed-off-by: Choi Gi-yong [] > diff --git a/mm/percpu.c b/mm/percpu.c > @@ -812,8 +812,8 @@ fail_unlock: > fail_unlock_mutex: > mutex_unlock(_alloc_mutex); > if (warn_limit) { > - pr_warn("PERCPU: allocation

Hello

2014-03-09 Thread jeniffer14_21
Hello, Good day. MY name is Jeniffer,(jenifferwillso...@yahoo.com)i am a young girl, with full of understanding,caring,I came across your contact i found interest in you,i believe you will be a good caring person. I will be happy if we get to know each other,i will send you my photo once i

[PATCH] MN10300: Fix typo "CONFIG_GEENERIC_CLOCKEVENTS_BROADCAST"

2014-03-09 Thread Paul Bolle
Signed-off-by: Paul Bolle --- This typo has been in the tree since v2.6.37. Perhaps the negative test for CONFIG_GENERIC_CLOCKEVENTS_BROADCAST can actually be dropped. Anyhow, completely untested. arch/mn10300/kernel/cevt-mn10300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v7 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-09 Thread Daniel Borkmann
On 03/09/2014 06:08 PM, Alexei Starovoitov wrote: On Sun, Mar 9, 2014 at 5:29 AM, Daniel Borkmann wrote: On 03/09/2014 12:15 AM, Alexei Starovoitov wrote: Extended BPF extends old BPF in the following ways: - from 2 to 10 registers Original BPF has two registers (A and X) and hidden

  1   2   3   4   5   >