Re: [PATCH v6 00/16] Revert h8300 archtecture support

2015-03-09 Thread Guenter Roeck
On Mon, Mar 09, 2015 at 05:46:54PM +0900, Yoshinori Sato wrote: > Hello. > > I rewriting h8300 support. > It might possibly be better to use the term "re-introduce" instead of rewrite or revert (as in the headline). Also, s/archtecture/architecture/ in the headline. Given that the

Re: [PATCH man-pages] bpf.2: new page documenting bpf(2)

2015-03-09 Thread Michael Kerrisk (man-pages)
Hi Alexei, The page needs a license. See https://www.kernel.org/doc/man-pages/licenses.html for some possible choices. Thanks, Michael On 03/09/2015 11:10 PM, Alexei Starovoitov wrote: > Signed-off-by: Alexei Starovoitov > --- > man2/bpf.2 | 593 >

linux-next: build warnings after merge of the crypto tree

2015-03-09 Thread Stephen Rothwell
Hi Herbert, After merging the crypto tree, today's (and the past few days) linux-next build (powerpc allyesconfig) produced these warnings: crypto/algif_aead.c:561:2: warning: initialization from incompatible pointer type .sendmsg = aead_sendmsg, ^ crypto/algif_aead.c:561:2: warning: (near

Re: [PATCH] sched: fix RLIMIT_RTTIME when PI-boosting to RT

2015-03-09 Thread Ingo Molnar
* Brian Silverman wrote: > Here's my test code. Compile with `gcc -pthread -lrt test_pi.c`. It > requires permission to set a realtime scheduling policy of 2 when > running. Mind sending a patch that sticks this testcase into tools/testing/selftests/sched/ or so, with the new 'sched'

Re: linux-next: build warning after merge of the trivial tree

2015-03-09 Thread Stephen Rothwell
Hi all, On Tue, 10 Mar 2015 16:34:17 +1100 Stephen Rothwell wrote: > > After merging the trivial tree, today's linux-next build () This was an x86_64 allmodconfig build. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpJfESNjaf3L.pgp Description: OpenPGP digital

Re: + zram-support-compaction.patch added to -mm tree

2015-03-09 Thread Sergey Senozhatsky
On (03/09/15 23:56), Minchan Kim wrote: > > in zram_slot_free_notify() and zram_rw_page() we don't have request queue, > > request, > > etc. so it's a bit troubling. > > I skim the code so I might miss something. > > zram_slot_free_notify is just to free allocated space on zsmalloc so > it's

linux-next: build warnings after merge of the tty tree

2015-03-09 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: drivers/tty/serial/serial_mctrl_gpio.c: In function 'mctrl_gpio_init': drivers/tty/serial/serial_mctrl_gpio.c:110:4: warning: return makes pointer from integer without a cast return

linux-next: build warning after merge of the trivial tree

2015-03-09 Thread Stephen Rothwell
Hi Jiri, After merging the trivial tree, today's linux-next build () produced this warning: drivers/tty/goldfish.c: In function 'goldfish_tty_probe': drivers/tty/goldfish.c:232:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Introduced by commit 2a2483685a9d ("goldfish:

Re: [PATCH RESEND] x86:pci: Change sta2x11_dma_ops stucture to use switolb_dma_supported as it's dma_supported function in sta2x11-fixup.c

2015-03-09 Thread Ingo Molnar
* Nicholas Krause wrote: > > > On March 10, 2015 12:45:01 AM EDT, Ingo Molnar wrote: > > > >* Nicholas Krause wrote: > > > >> This changes the structure sta2x11_dma_ops stucture to use > >switolb_dma_supported as it's > >> function for dma_supported hardware verus setting this value to

linux-next: build warning after merge of the tty tree

2015-03-09 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/tty/serial/imx.c: In function 'imx_set_termios': drivers/tty/serial/imx.c:1301:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if

Re: [PATCH 1/1] ARM: exynos_defconfig: Disable IOMMU support

2015-03-09 Thread Javier Martinez Canillas
Hello Inki, On 03/10/2015 03:50 AM, Inki Dae wrote: > On 2015년 03월 07일 00:07, Javier Martinez Canillas wrote: Another thing that may be useful to detect these issues early is to have exynos-drm-next be pulled by linux-next since otherwise the integration is not tested until

RE: [RFC 4/4] charger-manager: Enable psy based charge control

2015-03-09 Thread Tc, Jenny
Hi, > On Fri, Mar 06, 2015 at 04:03:27PM +0530, Jenny TC wrote: > > At present charger manager support only regulator based charging > > control. But most of the charger drivers are registered with power > > supply subsystem. This patch adds support for power supply based > > charging control

[PATCH v2] f2fs: fix to truncate inline data past EOF

2015-03-09 Thread Chao Yu
Previously if inode is with inline data, we will try to invalid partial inline data in page #0 when we truncate size of inode in truncate_partial_data_page(). And then we set page #0 to dirty, after this we can synchronize inode page with page #0 at ->writepage(). But sometimes we will fail to

RE: [RFC 1/4] power_supply: Introduce charging object table

2015-03-09 Thread Tc, Jenny
> > On Mon, Mar 09, 2015 at 12:26:21PM +, Tc, Jenny wrote: > > > > + char name[PSY_MAX_BAT_NAME_LEN]; > > > > > > char *name; > > > > > > No need for arbitrary length limitation. > > > > The length limitation is introduced to form a packed structure so that > > the data can be read

Re: [PATCH 3/3] e820: Add the unknown-12 Memory type (DDR3-NvDIMM)

2015-03-09 Thread joeyli
Hi, On Mon, Mar 09, 2015 at 02:10:37PM +0200, Boaz Harrosh wrote: > On 03/06/2015 01:09 AM, Andy Lutomirski wrote: > <> > > > > I will be shocked if a standard of this form ever appears. Modern > > systems *don't have e820*. The BIOSes that are using this type 12 > > hack are awful

linux-next: build failure after merge of the staging tree

2015-03-09 Thread Stephen Rothwell
Hi Greg, After merging the staging tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from include/linux/module.h:17:0, from drivers/staging/sm750fb/sm750.c:2: drivers/staging/sm750fb/sm750.c: In function '__check_g_option':

Re: [PATCH 08/12] time: Add warnings when overflows or underflows are observed

2015-03-09 Thread Ingo Molnar
* John Stultz wrote: > Thanks Ingo for the very close review, and apologies for my poor > keyboardmanship (I hope I didn't burn much of your good will here). No problem. I usually fix typos up when the patch is otherwise good, except for Git pulls, where I cannot, so I'm pushing back ... >

RE: [PATCH] f2fs: fix to truncate inline data past EOF

2015-03-09 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, March 10, 2015 11:00 AM > To: Chao Yu > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] f2fs: fix to truncate inline data

Re: [PATCH v2] x86, selftests: Add sigreturn_32 selftest

2015-03-09 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Mon, Mar 9, 2015 at 9:48 AM, Ingo Molnar wrote: > > > > now I get this build failure: > > > > make[1]: Entering directory > > '/home/mingo/tip/tools/testing/selftests/x86' > > gcc -m32 -o sigreturn_32 -O2 -g -std=gnu99 -pthread -Wall sigreturn.c -lrt > > -ldl >

Re: [RFC][PATCH 1/2] fs proc: make pagemap a privileged interface

2015-03-09 Thread Eric W. Biederman
Dave Hansen writes: > On 03/09/2015 05:03 PM, Kees Cook wrote: >> On Mon, Mar 9, 2015 at 4:43 PM, Eric W. Biederman >> wrote: >>> A 1 to 1 blinding function like integer multiplication mudulo 2^32 by an >>> appropriate random number ought to keep from revealing page numbers or >>> page

Re: [PATCH RESEND] x86:pci: Change sta2x11_dma_ops stucture to use switolb_dma_supported as it's dma_supported function in sta2x11-fixup.c

2015-03-09 Thread Ingo Molnar
* Nicholas Krause wrote: > This changes the structure sta2x11_dma_ops stucture to use > switolb_dma_supported as it's > function for dma_supported hardware verus setting this value to NULL as this > should be set > correctly for when dma_supported function needs to be called for hardware >

Re: [PATCH 00/10] rcu: Cleanup RCU tree initialization

2015-03-09 Thread Paul E. McKenney
On Mon, Mar 09, 2015 at 04:49:43PM -0700, Paul E. McKenney wrote: > On Mon, Mar 09, 2015 at 04:39:47PM -0700, Paul E. McKenney wrote: > > On Mon, Mar 09, 2015 at 02:40:21PM -0700, Paul E. McKenney wrote: > > > On Mon, Mar 09, 2015 at 09:34:04AM +0100, Alexander Gordeev wrote: > > > > Hi Paul, > >

[PATCH] sched/deadline: add rq->clock update skip for dl task yield

2015-03-09 Thread Wanpeng Li
This patch add rq->clock update skip for dl task yield to tell update_rq_clock() that we've just updated, so we don't do microscopic update in schedule() and double the fastpath cost. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: sched: divide error in sg_capacity_factor

2015-03-09 Thread Ingo Molnar
* Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside the latest -next kernel using trinity I've > stumbled on: > > [ 936.784266] divide error: [#1] PREEMPT SMP KASAN > [ 936.793957] RIP: find_busiest_group (kernel/sched/fair.c:6152 > kernel/sched/fair.c:6223

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

2015-03-09 Thread Tomasz Figa
On Tue, Mar 10, 2015 at 12:41 PM, Yingjoe Chen wrote: > On Tue, 2015-03-10 at 02:00 +0900, Tomasz Figa wrote: >> On Mon, Mar 9, 2015 at 11:46 PM, Yingjoe Chen >> wrote: >> > On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote: >> > <...> >> >> > +/* >> >> > + * pimudev is a global var for

[PATCH] can: use sock_efree instead of own destructor

2015-03-09 Thread Florian Westphal
It is identical to the can destructor. Signed-off-by: Florian Westphal --- include/linux/can/skb.h | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/linux/can/skb.h b/include/linux/can/skb.h index cc00d15..b6a52a4 100644 --- a/include/linux/can/skb.h +++

Re: [PATCH 1/2] tracing: remove ftrace:function TRACE_EVENT_FL_USE_CALL_FILTER flag

2015-03-09 Thread He Kuang
ping.. On 2015/3/3 15:21, He Kuang wrote: TRACE_EVENT_FL_USE_CALL_FILTER flag in ftrace:functon event can be removed. This flag was first introduced in commit f306cc82a93d ("tracing: Update event filters for multibuffer"). Now, the only place uses this flag is ftrace:function, but the filter of

Re: linux-next: manual merge of the net-next tree with the net tree

2015-03-09 Thread David Miller
From: Stephen Rothwell Date: Tue, 10 Mar 2015 12:08:42 +1100 > Today's linux-next merge of the net-next tree got a conflict in > drivers/net/ethernet/cadence/macb.c between commit 0b2eb3e9bc73 ("net: > macb: constify macb configuration data") from the net tree and commits > a848748959d5 ("net:

Re: [PATCH baohua] ASoC: sirf: atlas7: atlas7_iacc_dai_ops can be static

2015-03-09 Thread Fengguang Wu
On Thu, Feb 05, 2015 at 05:11:59PM +, Mark Brown wrote: > On Fri, Feb 06, 2015 at 01:03:52AM +0800, kbuild test robot wrote: > > sound/soc/sirf/atlas7-iacc.c:168:24: sparse: symbol 'atlas7_iacc_dai_ops' > > was not declared. Should it be static? > > This file isn't in an upstream tree,

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

2015-03-09 Thread Yingjoe Chen
On Tue, 2015-03-10 at 02:00 +0900, Tomasz Figa wrote: > On Mon, Mar 9, 2015 at 11:46 PM, Yingjoe Chen > wrote: > > On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote: > > <...> > >> > +/* > >> > + * pimudev is a global var for dma_alloc_coherent. > >> > + * It is not accepatable, we will

Re: [PATCH] perf hists browser: Fix segfault when all entries be filtered

2015-03-09 Thread He Kuang
ping.. On 2015/3/4 12:13, He Kuang wrote: When all perf report entries be filtered, the result of hists__filter_entries() can be NULL, check the result before processing. Miss this checking will cause segmentation fault like this: $ perf report (filter all entries and left nothing, then

Re: [PATCH] perf tools: Fix possible double free on error

2015-03-09 Thread He Kuang
Hi, It seems this patch not appeared in any repo, so ping.. On 2015/3/4 20:46, Masami Hiramatsu wrote: (2015/03/04 19:01), He Kuang wrote: A double free occurred when get source file path failed. If lr->path failed to assign a new value, it will be freed as the old path and then be freed

RE: [PATCH 0/6] Drivers: hv: Miscellaneous fixes

2015-03-09 Thread KY Srinivasan
> -Original Message- > From: KY Srinivasan > Sent: Friday, March 6, 2015 9:20 PM > To: KY Srinivasan; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; vkuzn...@redhat.com > Subject: RE: [PATCH 0/6] Drivers:

Re: [PATCH v2] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-03-09 Thread Rusty Russell
Thomas Huth writes: > On Wed, 25 Feb 2015 16:11:27 +0100 > Cornelia Huck wrote: > >> On Wed, 25 Feb 2015 15:36:02 +0100 >> "Michael S. Tsirkin" wrote: >> >> > virtio balloon has this code: >> > wait_event_interruptible(vb->config_change, >> > (diff =

Re: [RFC] With 8250 Designware UART, if writes to the LCR failed the kernel will hung up

2015-03-09 Thread Zhang Zhen
On 2015/3/10 10:47, Tim Kryger wrote: > On Mon, Mar 9, 2015 at 8:05 AM, Alan Cox wrote: > >> Ah no - I meant what is their official software workaround for existing >> parts with the bug ? Presumably they have an errata document that >> discusses this and the correct methods they recommend to

Re: [PATCH v2 2/2] livepatch/module: Correctly handle going modules

2015-03-09 Thread Rusty Russell
Petr Mladek writes: > On Sat 2015-03-07 11:34:36, Rusty Russell wrote: >> I don't think you should handle going modules at all. Rarely happens, >> and it should happen fast. > > I would like to handle it correctly. It would be pity to break a system > just because of a module removal. Also the

Re: NMI watchdog triggering during load_balance

2015-03-09 Thread David Ahern
On 3/6/15 12:29 PM, Mike Galbraith wrote: On Fri, 2015-03-06 at 11:37 -0700, David Ahern wrote: But, I do not understand how the wrong topology is causing the NMI watchdog to trigger. In the end there are still N domains, M groups per domain and P cpus per group. Doesn't the balancing walk

RE: [E1000-devel] [PATCH v2 2/3] if_link: Add VF multicast promiscuous control

2015-03-09 Thread Hiroshi Shimamoto
> On Mon, 2015-03-09 at 18:52 -0700, Jeff Kirsher wrote: > > On Tue, 2015-03-10 at 01:42 +, Hiroshi Shimamoto wrote: > > > > On 03/08/2015 02:15 PM, Or Gerlitz wrote: > > > > > On Mon, Feb 23, 2015 at 11:14 PM, Jeff Kirsher > > > > > wrote: > > > > > [...] > > > > >> We discussed this during

RE: [PATCH] drivers: usb: gadget: udc: Fix NULL dereference

2015-03-09 Thread Peter Chen
> On Tue, Mar 10, 2015 at 02:02:44AM +, Peter Chen wrote: > > > > > > --- a/drivers/usb/gadget/udc/lpc32xx_udc.c > > > > +++ b/drivers/usb/gadget/udc/lpc32xx_udc.c > > > > @@ -1803,7 +1803,7 @@ static int lpc32xx_ep_queue(struct usb_ep *_ep, > > > > req = container_of(_req, struct

Re: [PATCH] f2fs: fix to truncate inline data past EOF

2015-03-09 Thread Jaegeuk Kim
Hi Chao, On Tue, Mar 10, 2015 at 10:02:46AM +0800, Chao Yu wrote: > Hi Jaegeuk, > [snip] > > > > +static int truncate_partial_data_page(struct inode *inode, u64 from, > > > > bool force) > > > > { > > > > unsigned offset = from & (PAGE_CACHE_SIZE - 1); > > > > struct page

Re: [PATCH] kprobes/x86: Return correct length in __copy_instruction()

2015-03-09 Thread Masami Hiramatsu
(2015/03/09 20:19), Eugene Shatokhin wrote: > On x86-64, __copy_instruction() always returns 0 (error) if the > instruction uses %rip-relative addressing. This is because > kernel_insn_init() is called the second time for 'insn' instance > in such cases and sets all its fields to 0. > > Because

Re: nios2: is the ptrace ABI correct?

2015-03-09 Thread Ley Foon Tan
On Tue, Mar 10, 2015 at 1:05 AM, Ezequiel Garcia wrote: > > > On 03/09/2015 02:02 PM, Chung-Lin Tang wrote: >> On 2015/3/10 12:54 AM, Chung-Lin Tang wrote: >>> It appears that some of the ways nios2 has organized the >>> ucontext/pt_regs/etc. are remnants of the pre-generic code, some >>>

Re: [RFC][PATCH 1/2] fs proc: make pagemap a privileged interface

2015-03-09 Thread Dave Hansen
On 03/09/2015 05:03 PM, Kees Cook wrote: > On Mon, Mar 9, 2015 at 4:43 PM, Eric W. Biederman > wrote: >> A 1 to 1 blinding function like integer multiplication mudulo 2^32 by an >> appropriate random number ought to keep from revealing page numbers or >> page ajacencies while not requiring any

Re: [PATCH v2 3/4] cpufreq: mediatek: add Mediatek cpufreq driver

2015-03-09 Thread Viresh Kumar
On 6 March 2015 at 11:19, Pi-Cheng Chen wrote: > On 5 March 2015 at 17:55, Viresh Kumar wrote: > About putting > those stuff into regulator driver, I think you mean creating a > "virtual regulator > device" and put all the voltage controlling complex into the driver, right? > Maybe it's a good

Re: [PATCH 1/1] ARM: exynos_defconfig: Disable IOMMU support

2015-03-09 Thread Inki Dae
On 2015년 03월 07일 00:07, Javier Martinez Canillas wrote: > Hello Inki, > > On 03/06/2015 02:32 PM, Inki Dae wrote: >>> >>> Another interesting data point is that the error in next-20150303 for >>> these 2 boards was the NULL pointer dereference in exynos_plane_destroy >>> that I got with 4.0-rc2

Re: [E1000-devel] [PATCH v2 2/3] if_link: Add VF multicast promiscuous control

2015-03-09 Thread Jeff Kirsher
On Mon, 2015-03-09 at 18:52 -0700, Jeff Kirsher wrote: > On Tue, 2015-03-10 at 01:42 +, Hiroshi Shimamoto wrote: > > > On 03/08/2015 02:15 PM, Or Gerlitz wrote: > > > > On Mon, Feb 23, 2015 at 11:14 PM, Jeff Kirsher > > > > wrote: > > > > [...] > > > >> We discussed this during NetConf last

Re: [RFC] With 8250 Designware UART, if writes to the LCR failed the kernel will hung up

2015-03-09 Thread Tim Kryger
On Mon, Mar 9, 2015 at 8:05 AM, Alan Cox wrote: > Ah no - I meant what is their official software workaround for existing > parts with the bug ? Presumably they have an errata document that > discusses this and the correct methods they recommend to avoid the > hang ? As far as I know, the only

Vinder No. 009

2015-03-09 Thread formation
Vinder No. 009, Det er indlysende, at denne meddelelse vil komme til dig som en overraskelse, men du finde tid til at læse det omhyggeligt, som vi lykønsker dig over din succes i følgende officielle offentliggørelse af resultaterne af e-mail elektroniske online-konkurrencer arrangeret af

linux-next: build failure after merge of the regulator tree

2015-03-09 Thread Stephen Rothwell
Hi all, After merging the regulator tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/msm/edp/edp_ctrl.c: In function 'edp_regulator_enable': drivers/gpu/drm/msm/edp/edp_ctrl.c:335:2: error: implicit declaration of function 'regulator_set_optimum_mode'

Re: [PATCH] rds: avoid potential stack overflow

2015-03-09 Thread David Miller
From: Arnd Bergmann Date: Mon, 09 Mar 2015 13:06:52 +0100 > The rds_iw_add_conn function stores a large 'struct rds_sock' object > on the stack in order to pass a pair of addresses. As Sowmini pointed out, this function is not the top-level guilty one, it's rds_iw_update_cm_id. Please respin

Re: [PATCH] drivers: usb: gadget: udc: Fix NULL dereference

2015-03-09 Thread Felipe Balbi
On Tue, Mar 10, 2015 at 02:02:44AM +, Peter Chen wrote: > > > > --- a/drivers/usb/gadget/udc/lpc32xx_udc.c > > > +++ b/drivers/usb/gadget/udc/lpc32xx_udc.c > > > @@ -1803,7 +1803,7 @@ static int lpc32xx_ep_queue(struct usb_ep *_ep, > > > req = container_of(_req, struct lpc32xx_request,

Re: [RFC, PATCH] pagemap: do not leak physical addresses to non-privileged userspace

2015-03-09 Thread Dave Hansen
On 03/09/2015 05:19 PM, Andy Lutomirski wrote: > per-pidns like this is no good. You shouldn't be able to create a > non-paranoid pidns if your parent is paranoid. That sounds like a reasonable addition that shouldn't be hard to add. > Also, at some point we need actual per-ns controls. This

Re: [PATCH v9 01/21] ACPI / table: Use pr_debug() instead of pr_info() for MADT table scanning

2015-03-09 Thread Hanjun Guo
On 2015年03月07日 04:31, Joe Perches wrote: On Fri, 2015-03-06 at 20:17 +, Grant Likely wrote: On Wed, 25 Feb 2015 16:39:41 +0800 Hanjun Guo wrote: This patch just use pr_debug() instead of pr_info() for ioapic/iosapic, local apic/x2apic/sapic structures when scanning the MADT table to

[PATCH 1/1] Drivers: hv: vmbus: Fix a bug in rescind processing in vmbus_close_internal()

2015-03-09 Thread K. Y. Srinivasan
When a channel has been rescinded, the close operation is a noop. Restructure the code so we deal with the rescind condition after we properly cleanup the channel. I would like to thank Dexuan Cui for observing this problem. The current code leaks memory when the channel is rescinded.

[PATCH 3/3] scsi: storvsc: Enable clustering

2015-03-09 Thread K. Y. Srinivasan
Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index a36c232..d7ebf00 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@

[PATCH 1/3] scsi: storvsc: Retrieve information about the capability of the target

2015-03-09 Thread K. Y. Srinivasan
The storage protocol informs the guest of the I/O capabilities of the storage stack. Retrieve this information and use it in the guest. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff

[PATCH 2/3] scsi: storvsc: Set the tablesize based on the information given by the host

2015-03-09 Thread K. Y. Srinivasan
Set the tablesize based on what the host has informed us. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c | 70 ++- 1 files changed, 55 insertions(+), 15 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c

Re: [RFC][PATCH 1/2] fs proc: make pagemap a privileged interface

2015-03-09 Thread Dave Hansen
On 03/09/2015 04:08 PM, Eric W. Biederman wrote: > If the concern is to protect against root getting into the kernel the > "trusted_kernel" snake-oil just compile out the pagemap file. Nothing > else is remotely interesting from a mainenance point of view. The paper I linked to showed one

[PATCH 0/3] scsi: storvsc: Increase the tablesize based on host's capabilities

2015-03-09 Thread K. Y. Srinivasan
Presently, storvsc limits the I/O size arbitrarily. Make this configurable based on what the host advertises. K. Y. Srinivasan (3): scsi: storvsc: Retrieve information about the capability of the target scsi: storvsc: Set the tablesize based on the information given by the host

[PATCH v2] thermal: exynos: Add the support for Exynos5433 TMU

2015-03-09 Thread Chanwoo Choi
This patch adds the support for Exynos5433's TMU (Thermal Management Unit). Exynos5433 has a little different register bit fields as following description: - Support the eight trip points for rising/falling interrupt by using two registers - Read the calibration type (1-point or 2-point) and

RE: [PATCH] drivers: usb: gadget: udc: Fix NULL dereference

2015-03-09 Thread Peter Chen
> > --- a/drivers/usb/gadget/udc/lpc32xx_udc.c > > +++ b/drivers/usb/gadget/udc/lpc32xx_udc.c > > @@ -1803,7 +1803,7 @@ static int lpc32xx_ep_queue(struct usb_ep *_ep, > > req = container_of(_req, struct lpc32xx_request, req); > > ep = container_of(_ep, struct lpc32xx_ep, ep); > > > > -

RE: [PATCH] f2fs: fix to truncate inline data past EOF

2015-03-09 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, March 10, 2015 12:16 AM > To: Chao Yu > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] f2fs: fix to truncate inline data

Re: [PATCH 0/5] [GIT PULL] seq-buf/ftrace: Various fixes

2015-03-09 Thread Steven Rostedt
On Mon, 9 Mar 2015 18:43:54 -0700 Linus Torvalds wrote: > Oh. Ok. I didn't pull that, simply because in the same thread you said > you were going to fix the other case that Joe pointed out and you said > "I'll make another patch". So I dismissed your previous pull request > as premature.. Yeah

linux-next: build failure after merge of the sound-asoc tree

2015-03-09 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this: sound/soc/codecs/rt5670.c: In function 'is_sys_clk_from_pll': sound/soc/codecs/rt5670.c:519:38: error: 'struct snd_soc_dapm_widget' has no member named 'codec' struct snd_soc_codec

[PATCH v6 3/9] arm64: dts: exynos: Add SPI/PDMA dt node for Exynos5433

2015-03-09 Thread Chanwoo Choi
This patch adds SPI (Serial Peripheral Interface) dt node for Exynos5433 SoC. SPI transfers serial data by using various peripherals. SPI includes 8-bit/16-bit/32-bit shift registers to transmit and receive data. PDMA is used for SPI communication. Cc: Kukjin Kim Cc: Mark Rutland Cc: Marc

[PATCHv v6 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on Octal core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports PSCI (Power State Coordination Interface) v0.1. This patch includes following dt node to support Exynos5433 SoC: 1. Octa core for big.LITTLE

[PATCH v6 5/9] arm64: dts: exynos: Add RTC and ADC dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds RTC (Real Time Clock) dt node for Exynos5433 SoC and adds ADC dt node for Exynos5433 SoC. The c1b501564c98a94b4(iio: adc: exynos_adc: Add support for exynos7) commit supports the ADC for Exynos7. Exynos5433's ADC IP is the same with Exynos7's ADC IP. Exynos5433 has a little

[PATCH v6 2/9] arm64: dts: exynos: Add MSHC dt node for Exynos5433

2015-03-09 Thread Chanwoo Choi
From: Jaehoon Chung This patch adds MSHC (Mobile Storage Host Controller) dt node for Exynos5433 SoC. MSHC is an interface between the system the SD/MMC card. Cc: Kukjin Kim Cc: Mark Rutland Cc: Marc Zyngier Cc: Arnd Bergmann Cc: Olof Johansson Cc: Catalin Marinas Cc: Will Deacon

[PATCH v6 6/9] arm64: dts: exynos: Add ADMA dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
From: Inha Song This patch adds ADMA (Advanced DMA) device tree node for Exynos5433 SoC. In Exynos5433 SoC, ADMA is used for I2S audio interface. Cc: Kukjin Kim Signed-off-by: Inha Song Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 11 +++ 1 file changed, 11

[PATCH v6 8/9] arm64: dts: exynos: Add TMU sensor dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds the TMU (Thermal Management Unit) sensor devicetree node for Exynos5433. The Exynos5433 includes the five temperature sensors as following: - two temperature sensor for Cortex-A57 (ATLAS) - one temperature sensor for Cortex-A53 (APOLLO) - one temperature sensor for G3D IP - one

[PATCH v6 4/9] arm64: dts: exynos: Add PMU dt node for Exynos5433

2015-03-09 Thread Chanwoo Choi
This patch adds PMU (Power Management Unit) dt node for Exynos5433 SoC and set the source clock for CLKOUT register as xxti . Cc: Kukjin Kim Signed-off-by: Chanwoo Choi [ideal.song: Add the setting of CLKOUT register] Signed-off-by: Inha Song Acked-by: Inki Dae ---

[PATCH v6 9/9] arm64: dts: exynos: Add thermal-zones dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds the thermal-zones devicetree node for Exynos5433 SoC. The thermal-zones has five thermal-zones and then each thermal-zone contains each thermal-sensor to monitor the temperature of own IP. The {atlas0|apollo}_ thermal zone have the eight trip-points for interrupt method to detect

[PATCH v6 0/9] arm64: Add the support for new Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patchset adds new 64-bit Exynos5433 Samsung SoC which contains quad Cortex-A57 and quad Cortex-A53. It is desigend with the 20nm low power process. Depends on: - This patch-set has the dependency on following four patch-set. The Exynos5433 clock controller patch-set[1][2] was merged by

[PATCH v6 7/9] arm64: dts: exynos: Add I2S dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
From: Inha Song This patch adds I2S device tree node for Exynos5433 SoC. In Exynos5433 SoC, I2S0 is used for audio interface. Signed-off-by: Inha Song Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 17 + 1 file changed, 17

Re: [PATCH v2 3/4] cpufreq: mediatek: add Mediatek cpufreq driver

2015-03-09 Thread Pi-Cheng Chen
On 10 March 2015 at 00:28, Russell King - ARM Linux wrote: > On Wed, Mar 04, 2015 at 04:49:15PM +0800, pi-cheng.chen wrote: >> +static int cpu_opp_table_get_freq_index(unsigned int freq) >> +{ >> + struct cpu_opp_table *opp_tbl = dvfs_info->opp_tbl; >> + int i; >> + >> + for (i = 0;

Re: [PATCH] m68k: Fix trivial typos in comments

2015-03-09 Thread Greg Ungerer
Hi Yannick, On 10/03/15 07:29, Yannick Guerrini wrote: > Change 'Reaceive' to 'Receive' > Change 'alighnment' to 'alignment' > > Signed-off-by: Yannick Guerrini Thanks. I have put this in the m68knommu git tree, for-next branch. Regards Greg > --- > arch/m68k/include/asm/m68360_pram.h |

[PATCH v4 5/9] x86: Hook up epoll_ctl_batch syscall

2015-03-09 Thread Fam Zheng
Signed-off-by: Fam Zheng --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index b3560ec..fe809f6 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++

Re: [PATCH] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-03-09 Thread Pi-Cheng Chen
On 5 March 2015 at 15:42, Sascha Hauer wrote: > > +Cc Viresh Kumar > > Viresh, this is the patch for the underlying clocks for the Mediatek > cpufreq driver. > > On Thu, Mar 05, 2015 at 10:43:21AM +0800, Pi-Cheng Chen wrote: >> Hi Sascha, >> >> On 4 March 2015 at 19:21, Sascha Hauer wrote: >> >

Re: fwupdate

2015-03-09 Thread Roy Franz
On Mon, Mar 9, 2015 at 2:23 PM, Borislav Petkov wrote: > + pjones. > > So reportedly, there is already a capsule-loading thing which doesn't > need the kernel at all: > > https://github.com/rhinstaller/fwupdate > > So why are we even wasting energy with this discussion here? > > -- >

Re: [E1000-devel] [PATCH v2 2/3] if_link: Add VF multicast promiscuous control

2015-03-09 Thread Jeff Kirsher
On Tue, 2015-03-10 at 01:42 +, Hiroshi Shimamoto wrote: > > On 03/08/2015 02:15 PM, Or Gerlitz wrote: > > > On Mon, Feb 23, 2015 at 11:14 PM, Jeff Kirsher > > > wrote: > > > [...] > > >> We discussed this during NetConf last week, and Don is correct > that a > > >> custom sysfs interface is

[PATCH v4 8/9] epoll: Add compat version implementation of epoll_pwait1

2015-03-09 Thread Fam Zheng
Signed-off-by: Fam Zheng --- fs/eventpoll.c | 50 ++ include/linux/compat.h | 6 ++ 2 files changed, 56 insertions(+) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 06a59fc..b837ea4 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c

[PATCH v4 9/9] x86: Hook up 32 bit compat epoll_pwait1 syscall

2015-03-09 Thread Fam Zheng
Signed-off-by: Fam Zheng --- arch/x86/syscalls/syscall_32.tbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index bf912d8..5728c2e 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++

[PATCH v4 6/9] epoll: Add implementation for epoll_pwait1

2015-03-09 Thread Fam Zheng
This is the new implementation for poll which has a flags parameter and packs a number of parameters into a structure. The main advantage of it over existing epoll_pwait is about timeout: epoll_pwait expects a relative millisecond value, while epoll_pwait1 accepts 1) a timespec which is in

[PATCH v4 7/9] x86: Hook up epoll_pwait1 syscall

2015-03-09 Thread Fam Zheng
Signed-off-by: Fam Zheng --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index fe809f6..bf912d8 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++

[PATCH v4 4/9] epoll: Add implementation for epoll_ctl_batch

2015-03-09 Thread Fam Zheng
This new syscall is a batched version of epoll_ctl. It will execute each command as specified in cmds in given order, and stop at first failure or upon completion of all commands. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 50 ++

Re: [RFC] shmem: Add eventfd notification on utlilization level

2015-03-09 Thread Kyungmin Park
Any updates? Thank you, Kyungmin Park On Wed, Feb 11, 2015 at 11:50 PM, Krzysztof Kozlowski wrote: > Allow notifying user space when used space of tmpfs exceeds specified > level. > > The utilization level is passed as mount option 'warn_used'. The kernel > will notify user-space through

[PATCH v4 3/9] epoll: Extract ep_ctl_do

2015-03-09 Thread Fam Zheng
This is the common part from epoll_ctl implementation which will be shared with the new syscall. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 957d1d0..7909c88

[PATCH v4 1/9] epoll: Extract epoll_wait_do and epoll_pwait_do

2015-03-09 Thread Fam Zheng
In preparation of new epoll syscalls, this patch allows reusing the code from epoll_pwait implementation. The new functions uses ktime_t for more accuracy. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 154 ++--- 1 file changed, 71

[PATCH v4 2/9] epoll: Specify clockid explicitly

2015-03-09 Thread Fam Zheng
Later we will add clockid in the interface, so let's start using explicit clockid internally. Now we specify CLOCK_MONOTONIC, which is the same as before. Signed-off-by: Fam Zheng --- fs/eventpoll.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff

[PATCH v4 0/9] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-03-09 Thread Fam Zheng
Changes from v3: - Add "size" field in epoll_wait_params. [Jon, Ingo, Seymour] - Input validation for ncmds in epoll_ctl_batch. [Dan] - Return -EFAULT if copy_to_user failed in epoll_ctl_batch. [Omar, Michael] - Change "timeout" in epoll_wait_params to pointer, to get the same

Re: [PATCH 0/5] [GIT PULL] seq-buf/ftrace: Various fixes

2015-03-09 Thread Linus Torvalds
On Mon, Mar 9, 2015 at 6:36 PM, Steven Rostedt wrote: > > The confusing part is that I included the patch in this series that I > had in my previous pull request that you did not pull... Oh. Ok. I didn't pull that, simply because in the same thread you said you were going to fix the other case

Re: [E1000-devel] [PATCH v2 2/3] if_link: Add VF multicast promiscuous control

2015-03-09 Thread Hiroshi Shimamoto
> On 03/08/2015 02:15 PM, Or Gerlitz wrote: > > On Mon, Feb 23, 2015 at 11:14 PM, Jeff Kirsher > > wrote: > > [...] > >> We discussed this during NetConf last week, and Don is correct that a > >> custom sysfs interface is not the way we want to handle this. We agreed > >> upon a generic

Re: [PATCH v4] media: i2c: add support for omnivision's ov2659 sensor

2015-03-09 Thread Sakari Ailus
Hi Prabhakar, On Sun, Mar 08, 2015 at 11:33:27AM +, Lad Prabhakar wrote: > From: Benoit Parrot > > this patch adds support for omnivision's ov2659 > sensor, the driver supports following features: > 1: Asynchronous probing > 2: DT support > 3: Media controller support > > Signed-off-by:

Re: [PATCH v4] media: i2c: add support for omnivision's ov2659 sensor

2015-03-09 Thread Sakari Ailus
Hi Prabhakar, On Sun, Mar 08, 2015 at 11:33:27AM +, Lad Prabhakar wrote: ... > +static struct ov2659_platform_data * > +ov2659_get_pdata(struct i2c_client *client) > +{ > + struct ov2659_platform_data *pdata; > + struct device_node *endpoint; > + int ret; > + > + if

Re: [PATCH 0/5] [GIT PULL] seq-buf/ftrace: Various fixes

2015-03-09 Thread Steven Rostedt
On Mon, 9 Mar 2015 18:14:26 -0700 Linus Torvalds wrote: > On Mon, Mar 9, 2015 at 9:03 AM, Steven Rostedt wrote: > > > > This is on top of the last pull request I sent out. But doesn't seem to > > have been pulled. > > You make no sense. The commits you list were all on top of plain 4.0-rc2. >

Re: [PATCH v5 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
Hi Mark, On 03/06/2015 09:18 PM, Chanwoo Choi wrote: > Hi, > > On 03/06/2015 08:40 PM, Mark Rutland wrote: [snip] >> I take it CPUs boot at EL2? >> >> Do the CPUs boot at EL1 or EL2? > > Unfortunately, I cannot check the secure firmware for Exynos5433 SoC. > I

Re: [PATCH v3 5/7] x86, kaslr: Consolidate mem_avoid array filling

2015-03-09 Thread Kees Cook
On Mon, Mar 9, 2015 at 6:10 PM, Yinghai Lu wrote: > On Mon, Mar 9, 2015 at 6:00 PM, Kees Cook wrote: >> On Sat, Mar 7, 2015 at 2:07 PM, Yinghai Lu wrote: >> >> This may be a stupid question, but are boot_params being used outside >> of the compressed loader? If so, it might make sense to split

[PATCH] phy: twl4030-usb: Remove redundant assignment for twl->linkstat

2015-03-09 Thread Axel Lin
It's pointless to set twl->linkstat twice. Signed-off-by: Axel Lin --- Resend with linux-usb in Cc. drivers/phy/phy-twl4030-usb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index 8e87f54..bc42d6a 100644 ---

[PATCH 6/7 v21] LSM: Switch to lists of hooks

2015-03-09 Thread Casey Schaufler
Subject: [PATCH 6/7 v21] LSM: Switch to lists of hooks Instead of using a vector of security operations with explicit, special case stacking of the capability and yama hooks use lists of hooks with capability and yama hooks included as appropriate. The security_operations structure is no longer

[PATCH 7/7 v21] LSM: Remove unused capability.c

2015-03-09 Thread Casey Schaufler
Subject: [PATCH 7/7 v21] LSM: Remove unused capability.c The stub functions in capability.c are no longer required with the list based stacking mechanism. Remove the file. Signed-off-by: Casey Schaufler --- security/capability.c | 1164 - 1

  1   2   3   4   5   6   7   8   9   10   >