Re: [PATCH 2/3] cap1106: support for active-high interrupt option

2014-09-21 Thread Dmitry Torokhov
On Sun, Sep 21, 2014 at 12:06:30PM +0200, Daniel Mack wrote: > On 09/21/2014 05:01 AM, Matt Ranostay wrote: > > Some applications need to use the active-high push-pull interrupt > > option. This allows it be enabled in the device tree child node. > > > > Signed-off-by: Matt Ranostay > > --- > >

[PATCH] clk: use uninitialized_var instead setting 'flags' to 0 directly.

2014-09-21 Thread Xiubo Li
Setting 'flags' to zero will be certainly a misleading way to avoid warning of 'flags' may be used uninitialized. uninitialized_var is a correct way because the warning is a false possitive. Signed-off-by: Xiubo Li --- drivers/clk/clk-gate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pull request: bluetooth-next 2014-09-22

2014-09-21 Thread Johan Hedberg
Hi John, Here are some more patches for 3.18. They include various fixes to the btusb HCI driver, a fix for LE SMP, as well as adding Jukka to the MAINTAINERS file for generic 6LoWPAN (as requested by Alexander Aring). I've held on to this pull request a bit since we were waiting for a SCO

[PATCH v5 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-21 Thread Vivek Gautam
Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on Exynos series of SoCs, we can remove the support for the same in our host drivers too. We also defer the probe for our host in case we end up getting EPROBE_DEFER

[PATCH v5 2/2] usb: host: ohci-exynos: Remove unnecessary usb-phy support

2014-09-21 Thread Vivek Gautam
Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on Exynos series of SoCs, we can remove the support for the same in our host drivers too. We also defer the probe for our host in case we end up getting EPROBE_DEFER

[PATCH v2 1/3][RESEND] sched: fix confusing PFA_NO_NEW_PRIVS constant

2014-09-21 Thread Zefan Li
From: Tetsuo Handa Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags") defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing because it is used as bit number. Redefine it as decimal bit number. Note this changes the bit position of PFA_NOW_NEW_PRIVS from 1 to 0.

RE: [PATCH 1/3] gpio: sch: Consolidate similar algorithms

2014-09-21 Thread Chang, Rebecca Swee Fun
Replied inline. :) > -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: 18 September, 2014 7:17 PM > To: Chang, Rebecca Swee Fun > Cc: Linus Walleij; linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/3] gpio: sch:

Re: [PATCH v4 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-21 Thread Vivek Gautam
On Thu, Sep 18, 2014 at 8:20 PM, Alan Stern wrote: > On Thu, 18 Sep 2014, Vivek Gautam wrote: > >> Now that we have completely moved from older USB-PHY drivers >> to newer GENERIC-PHY drivers for PHYs available with USB controllers >> on Exynos series of SoCs, we can remove the support for the

Re: linux-next: build failure after merge of the kvm-arm tree

2014-09-21 Thread Eric Auger
On 09/22/2014 07:07 AM, Eric Auger wrote: > Dear all, > > Thanks Stephen for reporting the problem. Indeed removing irq.h header > file is no more possible since commit > c77dcacb397519b6ade8f08201a4a90a7f4f751e, "KVM: Move more code under > CONFIG_HAVE_KVM_IRQFD" which moves among other things >

Re: ARC: ARC_BOARD_ANGEL4 and ARC_BOARD_ML509

2014-09-21 Thread Vineet Gupta
On Friday 12 September 2014 02:30 PM, Paul Bolle wrote: > Hi Vineet, > > On Mon, 2014-06-09 at 09:05 +, Vineet Gupta wrote: >> On Wednesday 04 June 2014 03:04 PM, Paul Bolle wrote: >>> Linux-next included commit c00bfd974fb0 ("ARC: [arcfpga] Get rid of >>> legacy BVCI latency unit support") in

Re: [PATCH v3] perf tools: Fix build-id matching on vmlinux

2014-09-21 Thread Ingo Molnar
* Namhyung Kim wrote: > There's a problem on finding correct kernel symbols when perf report > runs on a different kernel. Although a part of the problem was solved > by the prior commit 0a7e6d1b6844 ("perf tools: Check recorded kernel > version when finding vmlinux"), there's a remaining

Re: linux-next: build failure after merge of the kvm-arm tree

2014-09-21 Thread Eric Auger
Dear all, Thanks Stephen for reporting the problem. Indeed removing irq.h header file is no more possible since commit c77dcacb397519b6ade8f08201a4a90a7f4f751e, "KVM: Move more code under CONFIG_HAVE_KVM_IRQFD" which moves among other things kvm_register_irq_ack_notifier and

Re: [PATCH 07/15] powerpc/powerpc: Add new PCIe functions for allocating cxl interrupts

2014-09-21 Thread Michael Neuling
> >+struct device_node *pnv_pci_to_phb_node(struct pci_dev *dev) > >+{ > >+struct device_node *np; > >+struct property *prop = NULL; > >+ > >+np = of_node_get(pci_device_to_OF_node(dev)); > >+ > >+/* Scan up the tree looking for the PHB node */ > >+while (np) { > >+

linux-next: manual merge of the staging tree with Linus' tree

2014-09-21 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/iio/accel/bma180.c between commit 0668a4e4d297 ("iio: accel: bma180: Fix indio_dev->trig assignment") from Linus' tree and commit 16ed8692fa48 ("iio:bma180: Enable use of device without IRQ") from the staging tree. I

RE: [PATCH] clk: samsung: exynos5260: fix typo in clock name

2014-09-21 Thread Pankaj Dubey
Hi Tomasz, Will you please take this patch and following three Exynos3250 clock fixes in your tree. 1: clk: samsung: exynos3250: fix width field of mout_mmc0/1 https://lkml.org/lkml/2014/9/5/265 2: clk: samsung: exynos3250: fix width and shift of div_spi0_isp clock

Re: [PATCH v2 2/2] ARM: dts: vf610-colibri: Add backlight support

2014-09-21 Thread Bhuvanchandra DV
On Friday 19 September 2014 09:33 PM, Stefan Agner wrote: > Am 2014-09-19 15:38, schrieb Bhuvanchandra DV: >> Signed-off-by: Bhuvanchandra DV >> --- >> arch/arm/boot/dts/vf610-colibri-eval-v3.dts |6 ++ >> arch/arm/boot/dts/vf610-colibri.dtsi|6 ++ >> 2 files changed, 12

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

2014-09-21 Thread Chris Zhong
On 09/22/2014 12:18 PM, Doug Anderson wrote: Chris, On Sun, Sep 21, 2014 at 7:52 PM, Chris Zhong wrote: Get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson No need

Re: [PATCH 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant

2014-09-21 Thread Zefan Li
On 2014/9/22 12:02, Tejun Heo wrote: > On Mon, Sep 22, 2014 at 11:50:46AM +0800, Zefan Li wrote: >> From: Tetsuo Handa >> >> Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags") >> defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing >> because it is used as bit

Re: [PATCH v2 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant

2014-09-21 Thread Tejun Heo
On Mon, Sep 22, 2014 at 12:43:32PM +0800, Zefan Li wrote: > Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags") > defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing > because it is used as bit number. Redefine it as decimal bit number. > > Note this changes the

[PATCH v5] mfd: syscon: Decouple syscon interface from platform devices

2014-09-21 Thread Pankaj Dubey
Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated syscon driver. However in certain use cases it is desirable to make a device used with another driver a syscon interface provider. For example, certain SoCs (e.g. Exynos) contain system

Re: [PATCH] Fix nasty 32-bit overflow bug in buffer i/o code.

2014-09-21 Thread Hugh Dickins
On Mon, 22 Sep 2014, Anton Altaparmakov wrote: > Any code that uses __getblk() and thus bread(), breadahead(), sb_bread(), > sb_breadahead(), sb_getblk(), and calls it using a 64-bit block on a > 32-bit arch (where "long" is 32-bit) causes an inifinite loop in > __getblk_slow() with an

[PATCH v2 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant

2014-09-21 Thread Zefan Li
Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags") defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing because it is used as bit number. Redefine it as decimal bit number. Note this changes the bit position of PFA_NOW_NEW_PRIVS from 1 to 0. Signed-off-by:

Re: [PATCH v2 1/2] ARM: dts: vf610-colibri: Add PWM support

2014-09-21 Thread Bhuvanchandra DV
On Friday 19 September 2014 09:30 PM, Stefan Agner wrote: > Am 2014-09-19 15:38, schrieb Bhuvanchandra DV: >> The Colibri standard defines four pins as PWM outputs, two of them (PWM >> A and C) are routed to FTM instance 0 and the other two (PWM B and D) >> are routed to FTM instance 1. Hence

Re: [PATCH 05/15] powerpc/powernv: Split out set MSI IRQ chip code

2014-09-21 Thread Michael Neuling
> >+static void set_msi_irq_chip(struct pnv_phb *phb, unsigned int virq) > >+{ > >+struct irq_data *idata; > >+struct irq_chip *ichip; > >+ > >+/* > >+ * Change the IRQ chip for the MSI interrupts on PHB3. > >+ * The corresponding IRQ chip should be populated for > >+ * the

Re: [ANNOUNCE]: SCST 3.0 released

2014-09-21 Thread Vladislav Bolkhovitin
No, because it's too new, but you can always get it from the git. Or you can use stable Emulex driver for 16Gb connectivity. It's not in the bundle only because of the Emulex policy. Thanks, Vlad On 9/19/2014 23:59, scst.n...@gmail.com wrote: Does 16Gb qla2x00t included? 发自我的小米手机 Vladislav

[PATCH] spi: qup: Fix incorrect block transfers

2014-09-21 Thread Andy Gross
This patch fixes a number of errors with the QUP block transfer mode. Errors manifested themselves as input underruns, output overruns, and timed out transactions. The block mode does not require the priming that occurs in FIFO mode. At the moment that the QUP is placed into the RUN state, the

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

2014-09-21 Thread Doug Anderson
Chris, On Sun, Sep 21, 2014 at 7:52 PM, Chris Zhong wrote: > Get voltage & duty table from device tree might be better, other platforms > can also use this > driver without any modify. > > Signed-off-by: Chris Zhong > > Reviewed-by: Doug Anderson No need to re-spin, but please remember that

RE: [PATCH v4] mfd: syscon: Decouple syscon interface from platform devices

2014-09-21 Thread Pankaj Dubey
Hi Tomasz, On Friday, September 19, 2014 Tomasz Figa wrote, > Hi Pankaj, > > Please see my comments inline. > > On 19.09.2014 15:06, Pankaj Dubey wrote: > > Currently a syscon entity can be only registered directly through a > > platform device that binds to a dedicated syscon driver. However

linux-next: build failure after merge of the kvm-arm tree

2014-09-21 Thread Stephen Rothwell
Hi all, After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this: arch/x86/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_register_irq_ack_notifier': arch/x86/kvm/../../../virt/kvm/eventfd.c:493:2: error: implicit declaration of function

Re: [PATCH] Revert "percpu: free percpu allocation info for uniprocessor system"

2014-09-21 Thread Tejun Heo
On Sun, Sep 21, 2014 at 03:04:53PM -0700, Guenter Roeck wrote: > This reverts commit 3189eddbcafc ("percpu: free percpu allocation info for > uniprocessor system"). > > The commit causes a hang with a crisv32 image. This may be an architecture > problem, but at least for now the revert is

Re: [PATCH 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant

2014-09-21 Thread Tejun Heo
On Mon, Sep 22, 2014 at 11:50:46AM +0800, Zefan Li wrote: > From: Tetsuo Handa > > Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags") > defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing > because it is used as bit number. Redefine it as decimal bit number.

[GIT PULL] workqueue fixes for v3.17-rc6

2014-09-21 Thread Tejun Heo
Hello, Linus. create_singlethread_workqueue() is the old interface which is kept around for backward compatibility - each should be reviewed to determine whether singlethread usage was to save worker threads or for ordering guarantee and whether it's depended upon by memory reclaim path. While

Re: [PATCH] openrisc: Support both old (or32) and new (or1k) toolchain

2014-09-21 Thread Guenter Roeck
On 09/21/2014 07:53 PM, Stefan Kristiansson wrote: On Thu, Sep 18, 2014 at 09:56:38PM -0700, Guenter Roeck wrote: ping ... comments / feedback anyone ? Guenter FWIW, I've tested this and it works fine. Hi Stefan, Great, thanks a lot for testing. Any idea if Jonas is available to send it

[PATCH 2/3] sched: add a macro to define bitops for task atomic flags

2014-09-21 Thread Zefan Li
This will simplify code when we add new flags. Signed-off-by: Zefan Li --- include/linux/sched.h | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 4557765..04a2ae2 100644 --- a/include/linux/sched.h +++

[PATCH 3/3] cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should be atomic flags

2014-09-21 Thread Zefan Li
When we change cpuset.memory_spread_{page,slab}, cpuset will flip PF_SPREAD_{PAGE,SLAB} bit of tsk->flags for each task in that cpuset. This should be done using atomic bitops, but currently we don't, which is broken. Tetsuo reported a hard-to-reproduce kernel crash on RHEL6, which happend when

[PATCH 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant

2014-09-21 Thread Zefan Li
From: Tetsuo Handa Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags") defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing because it is used as bit number. Redefine it as decimal bit number. Signed-off-by: Tetsuo Handa Acked-by: Kees Cook Signed-off-by:

Re: [PATCH] scripts: checkpatch.pl: Fix existing typedef false positive warning

2014-09-21 Thread Joe Perches
On Sun, 2014-09-21 at 22:08 -0500, Greg Donald wrote: > On Sun, Sep 21, 2014 at 9:31 PM, Joe Perches wrote: > > On Sun, 2014-09-21 at 20:32 -0500, Greg Donald wrote: > >> Fixing an "open brace '{' following struct go on the same line" error > >> causes a > >> false positive warning "do not add

Re: [PATCH] workqueue: fix a workqueue kernel panic issue.

2014-09-21 Thread Tejun Heo
On Sun, Sep 21, 2014 at 08:30:32PM -0700, Yifan Zhang wrote: > Hi Tejun, > > What's do you think of this patch ? Any concern ? Hmmm? Haven't I already responded to this patch? > -Original Message- > From: Yifan Zhang [mailto:zhan...@marvell.com] > Sent: 2014年9月17日 16:18 > To: Tejun

itrace: An interrupts tracing tool

2014-09-21 Thread duzhiping
Many functions depends on interrupts in Linux system, when the interrupts occur an error, it may cause fatal problem. Then, we should record their trace when interrupts in and out. The recorded information could help us analyze interrupts errors. Itrace is such an interrupts trace tool

linux-next: manual merge of the tip tree with the nfs tree

2014-09-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got conflicts in fs/nfs/blocklayout/blocklayoutdev.c and fs/nfs/blocklayout/blocklayoutdm.c between commit 871760ce97a9 ("pnfs/blocklayout: move all rpc_pipefs related code into a single file") from the nfs tree and commit f139caf2e897 ("sched,

RE: [PATCH] workqueue: fix a workqueue kernel panic issue.

2014-09-21 Thread Yifan Zhang
Hi Tejun, What's do you think of this patch ? Any concern ? BR, Yifan -Original Message- From: Yifan Zhang [mailto:zhan...@marvell.com] Sent: 2014年9月17日 16:18 To: Tejun Heo; Jing Xiang; linux-kernel@vger.kernel.org Cc: Yifan Zhang Subject: [PATCH] workqueue: fix a workqueue kernel

Re: [PATCH RFC 2/2] vhost: support urgent descriptors

2014-09-21 Thread Jason Wang
On 09/20/2014 06:00 PM, Paolo Bonzini wrote: > Il 19/09/2014 09:10, Jason Wang ha scritto: - if (!vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { + if (vq->urgent || !vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX)) { >> So the urgent descriptor only work when event index was

[PATCH 1/1] driver/drx39xyj: fix some compiling warnings

2014-09-21 Thread Li, Zhen-Hua
When compiling kernel, in module drx39xyj, there are some warnings showing some variables may be used uninitialized, though they have been initialized in fact. drivers/media/dvb-frontends/drx39xyj/drxj.c: In function ‘drxj_dap_atomic_read_reg32.isra.17’:

Re: [PATCH] scripts: checkpatch.pl: Fix existing typedef false positive warning

2014-09-21 Thread Greg Donald
On Sun, Sep 21, 2014 at 9:31 PM, Joe Perches wrote: > On Sun, 2014-09-21 at 20:32 -0500, Greg Donald wrote: >> Fixing an "open brace '{' following struct go on the same line" error causes >> a >> false positive warning "do not add new typedefs". Fix existing typedef false >> positive warning. >

Payment

2014-09-21 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Pete -- To unsubscribe from this list: send the line "unsubscribe

Re: FIX ME in oxu210p-hcd.c

2014-09-21 Thread gre...@linuxfoundation.org
Damm, didn't configure my kill-file correctly, and this snuck in, so might as well respond... On Sun, Sep 21, 2014 at 10:36:18PM -0400, nick wrote: > On 14-09-21 10:24 PM, gre...@linuxfoundation.org wrote: > >> Sorry Greg, > >> I don't want to get banned again. I was trying to help out and learn,

Re: [PATCH] mmc: Add delay between CMD6 and CMD13 for Sandisk eMMC cards

2014-09-21 Thread Jaehoon Chung
Hi, On 09/22/2014 02:48 AM, Pavel Machek wrote: > On Mon 2014-09-15 19:44:28, Jaehoon Chung wrote: >> On 09/15/2014 07:08 PM, Jean-Michel Hautbois wrote: >>> Hi Jaehoon, >>> On 09/09/2014 09:26 PM, Jean-Michel Hautbois wrote: > Tested on a i.MX6 board, with Sandisk SDIN5D1-2G. >

Re: [PATCH] openrisc: Support both old (or32) and new (or1k) toolchain

2014-09-21 Thread Stefan Kristiansson
On Thu, Sep 18, 2014 at 09:56:38PM -0700, Guenter Roeck wrote: > ping ... comments / feedback anyone ? > > Guenter > FWIW, I've tested this and it works fine. Stefan > On 09/08/2014 02:00 PM, Guenter Roeck wrote: > >The output file format for openrisc has changed from "elf32-or32" > >to

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

2014-09-21 Thread Chris Zhong
Document the st-pwm regulator Signed-off-by: Chris Zhong Adviced by Doug Anderson - remove regulator-always-on and regulator-boot-on from the Example Reviewed-by: Doug Anderson --- Changes in v4: None Changes in v3: Adviced by Doug Anderson - update the Example Changes in v2: Adviced by Lee

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

2014-09-21 Thread Chris Zhong
get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Tested on a rk3288 sdk board as logic voltage regulator. Changes in v4: Adviced by Doug Anderson - improve kconfig - add const for desc structure Changes in v3: Adviced by

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

2014-09-21 Thread Chris Zhong
Get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson --- Changes in v4: Adviced by Doug Anderson - improve kconfig - add const for desc structure Changes in v3: Adviced

[PATCH v3] perf tools: Fix build-id matching on vmlinux

2014-09-21 Thread Namhyung Kim
There's a problem on finding correct kernel symbols when perf report runs on a different kernel. Although a part of the problem was solved by the prior commit 0a7e6d1b6844 ("perf tools: Check recorded kernel version when finding vmlinux"), there's a remaining problem still. When perf records

RE: [f2fs-dev] [PATCH 07/10] f2fs: use meta_inode cache to improve roll-forward speed

2014-09-21 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Monday, September 15, 2014 6:14 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 07/10]

Re: FIX ME in oxu210p-hcd.c

2014-09-21 Thread nick
On 14-09-21 10:24 PM, gre...@linuxfoundation.org wrote: > On Sun, Sep 21, 2014 at 10:17:38PM -0400, nick wrote: >> >> >> On 14-09-21 10:11 PM, gre...@linuxfoundation.org wrote: >>> On Sun, Sep 21, 2014 at 10:03:28PM -0400, nick wrote: On 14-09-21 07:53 PM, Peter Chen wrote: >

Re: FIX ME in oxu210p-hcd.c

2014-09-21 Thread nick
On 14-09-21 10:11 PM, Peter Chen wrote: > > Subject: Re: FIX ME in oxu210p-hcd.c I found a unfixed FIX ME in the file stated in my above message. I am wondering what to set hcd->self.comtroller->dma_mask to as it's now been defined to NULL and clearly even as a

Re: [PATCH] scripts: checkpatch.pl: Fix existing typedef false positive warning

2014-09-21 Thread Joe Perches
On Sun, 2014-09-21 at 20:32 -0500, Greg Donald wrote: > Fixing an "open brace '{' following struct go on the same line" error causes a > false positive warning "do not add new typedefs". Fix existing typedef false > positive warning. This doesn't work. The matching deleted line can be any number

Re: FIX ME in oxu210p-hcd.c

2014-09-21 Thread gre...@linuxfoundation.org
On Sun, Sep 21, 2014 at 10:17:38PM -0400, nick wrote: > > > On 14-09-21 10:11 PM, gre...@linuxfoundation.org wrote: > > On Sun, Sep 21, 2014 at 10:03:28PM -0400, nick wrote: > >> > >> > >> On 14-09-21 07:53 PM, Peter Chen wrote: > >>> > >>> > Subject: Re: FIX ME in oxu210p-hcd.c > >

Re: FIX ME in oxu210p-hcd.c

2014-09-21 Thread nick
On 14-09-21 10:11 PM, gre...@linuxfoundation.org wrote: > On Sun, Sep 21, 2014 at 10:03:28PM -0400, nick wrote: >> >> >> On 14-09-21 07:53 PM, Peter Chen wrote: >>> >>> Subject: Re: FIX ME in oxu210p-hcd.c I found a unfixed FIX ME in the file stated in my above message. I

Re: Racy manipulation of task_struct->flags in cgroups code causes hard to reproduce kernel panics

2014-09-21 Thread Zefan Li
>> On Sat, Sep 20, 2014 at 01:55:54PM +0800, Zefan Li wrote: Then, what made current->flags to unexpectedly preserve PF_USED_MATH flag? The user is running cgrulesengd process in order to utilize cpuset cgroup. Thus, cpuset_update_task_spread_flag() is called when cgrulesengd

Re: [PATCH 3/3] f2fs: fix roll-forward missing scenarios

2014-09-21 Thread Huang Ying
On Sat, 2014-09-20 at 20:36 -0700, Jaegeuk Kim wrote: > On Sun, Sep 21, 2014 at 07:22:32AM +0800, Huang Ying wrote: > > On Sat, 2014-09-20 at 09:23 -0700, Jaegeuk Kim wrote: > > > On Thu, Sep 18, 2014 at 09:04:11PM +0800, huang ying wrote: > > > > On Thu, Sep 18, 2014 at 1:51 PM, Jaegeuk Kim

Re: FIX ME in oxu210p-hcd.c

2014-09-21 Thread gre...@linuxfoundation.org
On Sun, Sep 21, 2014 at 10:03:28PM -0400, nick wrote: > > > On 14-09-21 07:53 PM, Peter Chen wrote: > > > > > >> Subject: Re: FIX ME in oxu210p-hcd.c > >> > >> > >> I found a unfixed FIX ME in the file stated in my above message. I am > >> wondering what to set hcd->self.comtroller->dma_mask

RE: FIX ME in oxu210p-hcd.c

2014-09-21 Thread Peter Chen
> >> Subject: Re: FIX ME in oxu210p-hcd.c > >> > >> > >> I found a unfixed FIX ME in the file stated in my above message. I am > >> wondering what to set hcd->self.comtroller->dma_mask to as it's now > >> been defined to NULL and clearly even as a newbie this seem incorrect. > >> Regards Nick >

Re: FIX ME in oxu210p-hcd.c

2014-09-21 Thread nick
On 14-09-21 07:53 PM, Peter Chen wrote: > > >> Subject: Re: FIX ME in oxu210p-hcd.c >> >> >> I found a unfixed FIX ME in the file stated in my above message. I am >> wondering what to set hcd->self.comtroller->dma_mask to as it's now been >> defined to NULL and clearly even as a newbie this

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

2014-09-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/can/flexcan.c between commit fc05b884a31d ("can: flexcan: correctly initialize mailboxes") from the net tree and commit cdce844865be ("can: flexcan: add vf610 support for FlexCAN") from the net-next tree. I fixed

RE: [PATCH] ARM: ls1021a: add gating clocks to IP blocks.

2014-09-21 Thread li.xi...@freescale.com
Hi, > Subject: Re: [PATCH] ARM: ls1021a: add gating clocks to IP blocks. > > On Fri, Sep 19, 2014 at 11:37:27AM +0100, Xiubo Li wrote: > > A given application may not use all the peripherals on the device. > > In this case, it may be desirable to disable unused peripherals. > > DCFG provides a

[PATCH] scripts: checkpatch.pl: Fix existing typedef false positive warning

2014-09-21 Thread Greg Donald
Fixing an "open brace '{' following struct go on the same line" error causes a false positive warning "do not add new typedefs". Fix existing typedef false positive warning. Signed-off-by: Greg Donald --- scripts/checkpatch.pl | 16 +--- 1 file changed, 13 insertions(+), 3

RE: [PATCH 3/3 v2] GPIO: gpio-dwapb: Suspend & Resume PM enabling

2014-09-21 Thread Chen, Alvin
> > > +/* Store GPIO context across system-wide suspend/resume transitions > > +*/ static struct dwapb_context { > > + u32 data[DWAPB_MAX_PORTS]; > > + u32 dir[DWAPB_MAX_PORTS]; > > + u32 ext[DWAPB_MAX_PORTS]; > > + u32 int_en; > > + u32 int_mask; > > + u32

Re: [PATCH v3 1/5] drm/rockchip: Add basic drm driver

2014-09-21 Thread Mark yao
On 2014年09月20日 08:03, Rob Clark wrote: On Fri, Sep 19, 2014 at 1:47 AM, Mark yao wrote: diff --git a/include/uapi/drm/rockchip_drm.h b/include/uapi/drm/rockchip_drm.h new file mode 100644 index 000..8f8e60e --- /dev/null +++ b/include/uapi/drm/rockchip_drm.h @@ -0,0 +1,97 @@ +/* + * + *

Re: [PATCH v3 1/5] drm/rockchip: Add basic drm driver

2014-09-21 Thread Mark yao
On 2014年09月19日 21:04, David Herrmann wrote: Hi On Fri, Sep 19, 2014 at 7:47 AM, Mark yao wrote: [snip] +static int rockchip_drm_bind(struct device *dev) +{ + return drm_platform_init(_drm_driver, to_platform_device(dev)); Please avoid drm_platform_*() usage. We're about to drop all the

Re: [PATCH v9 0/4] APM X-Gene PCIe host controller

2014-09-21 Thread Ming Lei
Hi Tanmay, On Sat, Sep 20, 2014 at 1:15 AM, Tanmay Inamdar wrote: > Hi Ming Lei, > > On Thu, Sep 18, 2014 at 8:08 PM, Ming Lei wrote: >> Hi Tanmay, >> >> On Wed, Sep 17, 2014 at 6:33 AM, Tanmay Inamdar wrote: >>> This patch adds support for AppliedMicro X-Gene PCIe host controller. The >>>

Re: [PATCH v3 0/7] mtd: denali: A collection of trivial coding style fixes

2014-09-21 Thread Masahiro Yamada
Hi Brian, On Fri, 19 Sep 2014 10:00:20 -0700 Brian Norris wrote: > On Tue, Sep 16, 2014 at 08:04:18PM +0900, Masahiro Yamada wrote: > > > > > > Masahiro Yamada (7): > > mtd: denali: fix the format of comment blocks > > mtd: denali: remove unnecessary variable initializations > > mtd:

RE: [PATCH v2 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-09-21 Thread Kim, Milo
Hello Jonathan and Stanimir, > >> See Documentation/ABI/sysfs-bus-iio > >> Millivolts I think... We copied hwmon where possible. > > > > I'm a bit confused about these units. I searched references of > > iio_read_channel_processed() and found a few. > > > > The iio_hwmon expecting milivolts. On

Re: x86, microcode: BUG: microcode update that changes x86_capability

2014-09-21 Thread Andi Kleen
On Sun, Sep 21, 2014 at 05:51:12PM -0700, H. Peter Anvin wrote: > He said *outside* of the early update mechanism. True. Sorry yes I misread it. Yes, that's the way to go. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] Fix nasty 32-bit overflow bug in buffer i/o code.

2014-09-21 Thread Anton Altaparmakov
Any code that uses __getblk() and thus bread(), breadahead(), sb_bread(), sb_breadahead(), sb_getblk(), and calls it using a 64-bit block on a 32-bit arch (where "long" is 32-bit) causes an inifinite loop in __getblk_slow() with an infinite stream of errors logged to dmesg like this:

Re: x86, microcode: BUG: microcode update that changes x86_capability

2014-09-21 Thread H. Peter Anvin
He said *outside* of the early update mechanism. On September 21, 2014 5:37:24 PM PDT, Andi Kleen wrote: >Henrique de Moraes Holschuh writes: > > >> And yes, this means we will kill support for microcode updates >> outside of the initramfs/early-initramfs, at least in Debian, >> and

Re: x86, microcode: BUG: microcode update that changes x86_capability

2014-09-21 Thread Andi Kleen
Henrique de Moraes Holschuh writes: > And yes, this means we will kill support for microcode updates > outside of the initramfs/early-initramfs, at least in Debian, > and likely in Ubuntu. You got it totally backwards. initramfs updating should handle this microcode update just

Re: + mm-slab_common-commonize-slab-merge-logic.patch added to -mm tree

2014-09-21 Thread Joonsoo Kim
On Fri, Sep 19, 2014 at 03:37:45PM -0700, a...@linux-foundation.org wrote: > > The patch titled > Subject: mm/slab_common: commonize slab merge logic > has been added to the -mm tree. Its filename is > mm-slab_common-commonize-slab-merge-logic.patch > > This patch should soon appear

Re: [PATCH 1/3] cap1106: Add support for various cap11xx devices

2014-09-21 Thread Matt Ranostay
On Sun, Sep 21, 2014 at 2:58 AM, Daniel Mack wrote: > Hi, > > On 09/21/2014 05:01 AM, Matt Ranostay wrote: >> Several other variants of the cap11xx device exists with a varying >> number of capacitance detection channels. Add support for creating >> the channels dynamically. > > Thanks for the

RE: [PATCH 2/3] gpio: sch: Add support for Intel Quark X1000 SoC

2014-09-21 Thread Chang, Rebecca Swee Fun
> -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: 18 September, 2014 7:23 PM > To: Chang, Rebecca Swee Fun > Cc: Linus Walleij; linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/3] gpio: sch: Add support for Intel

[PATCH v14 net-next 00/11] eBPF syscall, verifier, testsuite

2014-09-21 Thread Alexei Starovoitov
Hi All, v13 -> v14: - small change to 1st patch to ease 'new userspace with old kernel' problem (done similar to perf_copy_attr()) (suggested by Daniel) - the rest unchanged v12 -> v13: - replaced 'foo __user *' pointers with __aligned_u64 (suggested by David) - added

[PATCH v14 net-next 02/11] bpf: enable bpf syscall on x64 and i386

2014-09-21 Thread Alexei Starovoitov
done as separate commit to ease conflict resolution Signed-off-by: Alexei Starovoitov --- arch/x86/syscalls/syscall_32.tbl |1 + arch/x86/syscalls/syscall_64.tbl |1 + include/linux/syscalls.h |3 ++- include/uapi/asm-generic/unistd.h |4 +++- kernel/sys_ni.c

[PATCH v14 net-next 04/11] bpf: expand BPF syscall with program load/unload

2014-09-21 Thread Alexei Starovoitov
eBPF programs are similar to kernel modules. They are loaded by the user process and automatically unloaded when process exits. Each eBPF program is a safe run-to-completion set of instructions. eBPF verifier statically determines that the program terminates and is safe to execute. The following

[PATCH v14 net-next 05/11] bpf: handle pseudo BPF_CALL insn

2014-09-21 Thread Alexei Starovoitov
in native eBPF programs userspace is using pseudo BPF_CALL instructions which encode one of 'enum bpf_func_id' inside insn->imm field. Verifier checks that program using correct function arguments to given func_id. If all checks passed, kernel needs to fixup BPF_CALL->imm fields by replacing

[PATCH v14 net-next 09/11] bpf: verifier (add branch/goto checks)

2014-09-21 Thread Alexei Starovoitov
check that control flow graph of eBPF program is a directed acyclic graph check_cfg() does: - detect loops - detect unreachable instructions - check that program terminates with BPF_EXIT insn - check that all branches are within program boundary Signed-off-by: Alexei Starovoitov ---

[PATCH v14 net-next 08/11] bpf: handle pseudo BPF_LD_IMM64 insn

2014-09-21 Thread Alexei Starovoitov
eBPF programs passed from userspace are using pseudo BPF_LD_IMM64 instructions to refer to process-local map_fd. Scan the program for such instructions and if FDs are valid, convert them to 'struct bpf_map' pointers which will be used by verifier to check access to maps in bpf_map_lookup/update()

[PATCH v14 net-next 10/11] bpf: verifier (add verifier core)

2014-09-21 Thread Alexei Starovoitov
This patch adds verifier core which simulates execution of every insn and records the state of registers and program stack. Every branch instruction seen during simulation is pushed into state stack. When verifier reaches BPF_EXIT, it pops the state from the stack and continues until it reaches

[PATCH v14 net-next 11/11] bpf: mini eBPF library, test stubs and verifier testsuite

2014-09-21 Thread Alexei Starovoitov
1. the library includes a trivial set of BPF syscall wrappers: int bpf_create_map(int key_size, int value_size, int max_entries); int bpf_update_elem(int fd, void *key, void *value); int bpf_lookup_elem(int fd, void *key, void *value); int bpf_delete_elem(int fd, void *key); int

[PATCH v14 net-next 07/11] bpf: verifier (add ability to receive verification log)

2014-09-21 Thread Alexei Starovoitov
add optional attributes for BPF_PROG_LOAD syscall: union bpf_attr { struct { ... __u32 log_level; /* verbosity level of eBPF verifier */ __u32 log_size; /* size of user buffer */ __aligned_u64 log_buf; /* user supplied 'char *buffer' */ };

[PATCH v14 net-next 06/11] bpf: verifier (add docs)

2014-09-21 Thread Alexei Starovoitov
this patch adds all of eBPF verfier documentation and empty bpf_check() The end goal for the verifier is to statically check safety of the program. Verifier will catch: - loops - out of range jumps - unreachable instructions - invalid instructions - uninitialized register access - uninitialized

[PATCH v14 net-next 03/11] bpf: add lookup/update/delete/iterate methods to BPF maps

2014-09-21 Thread Alexei Starovoitov
'maps' is a generic storage of different types for sharing data between kernel and userspace. The maps are accessed from user space via BPF syscall, which has commands: - create a map with given type and attributes fd = bpf(BPF_MAP_CREATE, union bpf_attr *attr, u32 size) returns fd or

[PATCH v14 net-next 01/11] bpf: introduce BPF syscall and maps

2014-09-21 Thread Alexei Starovoitov
BPF syscall is a multiplexor for a range of different operations on eBPF. This patch introduces syscall with single command to create a map. Next patch adds commands to access maps. 'maps' is a generic storage of different types for sharing data between kernel and userspace. Userspace example:

[PATCH v1 2/5] mm: add full variable in swap_info_struct

2014-09-21 Thread Minchan Kim
Now, swap leans on !p->highest_bit to indicate a swap is full. It works well for normal swap because every slot on swap device is used up when the swap is full but in case of zram, swap sees still many empty slot although backed device(ie, zram) is full since zram's limit is over so that it could

[PATCH v1 5/5] zram: add fullness knob to control swap full

2014-09-21 Thread Minchan Kim
Some zram usecase could want lower fullness than default 80 to avoid unnecessary swapout-and-fail-recover overhead. A typical example is that mutliple swap with high piroirty zram-swap and low priority HDD-swap so it could still enough free swap space although one of swap devices is full(ie,

[PATCH v1 1/5] zram: generalize swap_slot_free_notify

2014-09-21 Thread Minchan Kim
Currently, swap_slot_free_notify is used for zram to free duplicated copy page for memory efficiency when it knows there is no reference to the swap slot. This patch generalizes it to be able to use for other swap hint to communicate with VM. Signed-off-by: Minchan Kim ---

[PATCH v1 4/5] zram: add swap full hint

2014-09-21 Thread Minchan Kim
This patch implement SWAP_FULL handler in zram so that VM can know whether zram is full or not and use it to stop anonymous page reclaim. How to judge fullness is below, fullness = (100 * used space / total space) It means the higher fullness is, the slower we reach zram full. Now, default of

[PATCH v1 3/5] mm: VM can be aware of zram fullness

2014-09-21 Thread Minchan Kim
VM uses nr_swap_pages to throttle amount of swap when it reclaims anonymous pages because the nr_swap_pages means freeable space of swap disk. However, it's a problem for zram because zram can limit memory usage by knob(ie, mem_limit) so that swap out can fail although VM can see lots of free

[PATCH v1 0/5] stop anon reclaim when zram is full

2014-09-21 Thread Minchan Kim
For zram-swap, there is size gap between virtual disksize and available physical memory size for zram so that VM can try to reclaim anonymous pages even though zram is full. It makes system alomost hang(ie, unresponsible) easily in my kernel build test(ie, 1G DRAM, CPU 12, 4G zram swap, 50M zram

RE: FIX ME in oxu210p-hcd.c

2014-09-21 Thread Peter Chen
> Subject: Re: FIX ME in oxu210p-hcd.c > > > I found a unfixed FIX ME in the file stated in my above message. I am > wondering what to set hcd->self.comtroller->dma_mask to as it's now been > defined to NULL and clearly even as a newbie this seem incorrect. > Regards Nick Usually, it is set

Re: [GIT PULL] KEYS: Changes for keyrings for security/next

2014-09-21 Thread David Howells
James Morris wrote: > > Can you please pull these changes into security/next. They include the > > fixes > > tag I previously requested as there's a dependency between these changes and > > the fixes. > > > > I'm getting this warning after pulling your code: > > CC crypto/hash_info.o

[PATCH] bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries

2014-09-21 Thread Linus Lüssing
Ebtables on the OUTPUT chain (NF_BR_LOCAL_OUT) would not work as expected for both locally generated IGMP and MLD queries. The IP header specific filter options are off by 14 Bytes for netfilter (actual output on interfaces is fine). NF_HOOK() expects the skb->data to point to the IP header, not

  1   2   3   4   5   >