*|Deposit|*

2015-10-11 Thread Maria
Accept 19M USD as a cash gift? Write back asap. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/2] staging: fbtft: add support for ST7789V display controller

2015-10-11 Thread Dennis Menschel
Am 10.10.2015 um 17:36 schrieb Noralf Trønnes: > > Den 07.10.2015 22:15, skrev Dennis Menschel: >> This patch adds support for the Sitronix ST7789V display controller. >> The controller is intended for small color displays with a resolution >> of up to 320x240 pixels. >> >> Signed-off-by: Dennis

Re: [RFC PATCH 2/2] vfio: Include no-iommu mode

2015-10-11 Thread Avi Kivity
On 10/09/2015 09:41 PM, Alex Williamson wrote: There is really no way to safely give a user full access to a PCI without an IOMMU to protect the host from errant DMA. There is also no way to provide DMA translation, for use cases such as devices assignment to virtual machines. However, there

[GIT pull] irq updates for 4.3

2015-10-11 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus Three trivial commits: - Fix a kerneldoc regression - Export handle_bad_irq to unbreak a driver in next - Add an accessor for the

Re: [RFC PATCH 2/2] vfio: Include no-iommu mode

2015-10-11 Thread Michael S. Tsirkin
On Sun, Oct 11, 2015 at 12:03:17PM +0300, Avi Kivity wrote: > > > On 10/11/2015 11:57 AM, Michael S. Tsirkin wrote: > >On Sun, Oct 11, 2015 at 11:12:14AM +0300, Avi Kivity wrote: > >>> Mixing no-iommu and secure VFIO is > >>>also unsupported, as are any VFIO IOMMU backends other than the >

[tip:irq/core] genirq: Add flag to force mask in disable_irq[ _nosync]()

2015-10-11 Thread tip-bot for Thomas Gleixner
Commit-ID: e9849777d0e27cdd2902805be51da73e7c79578c Gitweb: http://git.kernel.org/tip/e9849777d0e27cdd2902805be51da73e7c79578c Author: Thomas Gleixner AuthorDate: Fri, 9 Oct 2015 23:28:58 +0200 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct

Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller.

2015-10-11 Thread Marc Zyngier
On Sun, 11 Oct 2015 11:54:49 +0200 Thomas Gleixner wrote: > On Sat, 10 Oct 2015, Marc Zyngier wrote: > > On Sat, 10 Oct 2015 17:01:32 +0800 > > "majun (F)" wrote: > > > But there is a problem If i make the structure like you said. > > > > > > For

Re: [PATCH v3] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread ygardi
thanks Arnd for the comment. V4 is on its way > On Thursday 08 October 2015 14:09:24 Yaniv Gardi wrote: >> This patch exposes the ioctl interface for UFS driver via SCSI device >> ioctl interface. As of now UFS driver would provide the ioctl for query >> interface to connected UFS device. >> >>

Re: [PATCH net-next v3] BNX2: fix a Null Pointer for stats_blk

2015-10-11 Thread David Miller
From: Weidong Wang Date: Thu, 8 Oct 2015 18:03:47 +0800 > we have two processes to do: > P1#: ifconfig eth0 down; which will call bnx2_close, then will > , and set Null to stats_blk > P2#: ifconfig eth0; which will call bnx2_get_stats64, it will > use stats_blk. > In one

[GIT PULL] SCSI fixes for 4.3-rc4

2015-10-11 Thread James Bottomley
This is a set of three bug fixes, two of which are regressions from recent updates (the 3ware one from 4.1 and the device handler fixes from 4.2). The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Ariel Nahum (1):

Re: [BUG] x86: apic: Possible null pointer dereference by apic_ack_edge

2015-10-11 Thread Thomas Gleixner
On Sat, 10 Oct 2015, William Breathitt Gray wrote: > In mainline kernel version 4.3-rc4, the following line located in the > apic_ack_edge function definition can result in a null pointer dereference: > > irq_complete_move(irqd_cfg(data)); > > The irqd_cfg function may return a

Re: [RFC PATCH 2/2] vfio: Include no-iommu mode

2015-10-11 Thread Avi Kivity
On 10/11/2015 11:57 AM, Michael S. Tsirkin wrote: On Sun, Oct 11, 2015 at 11:12:14AM +0300, Avi Kivity wrote: Mixing no-iommu and secure VFIO is also unsupported, as are any VFIO IOMMU backends other than the vfio-noiommu backend. Furthermore, unsafe group files are relocated to

Re: CFS scheduler unfairly prefers pinned tasks

2015-10-11 Thread paul . szabo
I wrote: The Linux CFS scheduler prefers pinned tasks and unfairly gives more CPU time to tasks that have set CPU affinity. I believe I have now solved the problem, simply by setting: for n in /proc/sys/kernel/sched_domain/cpu*/domain0/min_interval; do echo 0 > $n; done for n in

[GIT pull] perf fixes for 4.3

2015-10-11 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus Fix build breakage on powerpc in perf tools. Thanks, tglx --> Sukadev Bhattiprolu (1): perf tools: Fix build

[GIT pull] x86 updates for 4.3

2015-10-11 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus Change Matt Fleming's email address in the maintainers file. Thanks, tglx --> Matt Fleming (1): MAINTAINERS:

Re: [RFC v2 5/7] powerpc: atomic: Implement cmpxchg{,64}_* and atomic{,64}_cmpxchg_* variants

2015-10-11 Thread Boqun Feng
On Sat, Oct 10, 2015 at 09:58:05AM +0800, Boqun Feng wrote: > Hi Peter, > > Sorry for replying late. > > On Thu, Oct 01, 2015 at 02:27:16PM +0200, Peter Zijlstra wrote: > > On Wed, Sep 16, 2015 at 11:49:33PM +0800, Boqun Feng wrote: > > > Unlike other atomic operation variants,

Re: [PATCH 2/4] Staging: rtl8712: Use ether_addr_equal() over memcmp()

2015-10-11 Thread punit vara
On Sun, Oct 11, 2015 at 6:07 AM, kbuild test robot wrote: > Hi Punit, > > [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please > ignore] > > reproduce: > # apt-get install sparse > make ARCH=x86_64 allmodconfig > make C=1

[PATCH] thermal: constify pch_dev_ops structure

2015-10-11 Thread Julia Lawall
The pch_dev_ops structure is never modified. It is only stored in a field that is already declared as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/thermal/intel_pch_thermal.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] NFC: nxp-nci: constify nxp_nci_phy_ops structure

2015-10-11 Thread Julia Lawall
The only instance of a nxp_nci_phy_ops structure is never modified. Thus the declaration of the structure and all references to the structure type can be made const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/nfc/nxp-nci/core.c|3

crypto: sun4i-ss: bug with cryptodev

2015-10-11 Thread Corentin LABBE
Hello I am working on some tools for checking the good working of crypto device (and benching them). One of the tool use cryptodev (http://cryptodev-linux.org/) for using the kernel crypto API (and so any hardware accelerated crypto). The tool compare the results of an AES cipher via cryptodev

[PATCH] i2c: return probe deferred status on dev_pm_domain_attach

2015-10-11 Thread Kieran Bingham
A change of return status was introduced in commit 3fffd1283927 ("i2c: allow specifying separate wakeup interrupt in device tree") The commit prevents the defer status being passed up the call stack appropriately when dev_pm_domain_attach returns -EPROBE_DEFER. To fix we change this back to the

Re: [PATCH v4 0/3] net: unix: fix use-after-free

2015-10-11 Thread David Miller
From: Jason Baron Date: Fri, 9 Oct 2015 00:15:59 -0400 > These patches are against mainline, I can re-base to net-next, please > let me know. > > They have been tested against: https://lkml.org/lkml/2015/9/13/195, > which causes the use-after-free quite quickly and here: >

Re: [RFC] simple_char: New infrastructure to simplify chardev management

2015-10-11 Thread Christoph Hellwig
Did you ever get back to updating this patchset? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

trace in kernel 4.1.5

2015-10-11 Thread Peter Verhage
Hi, I didn't know where to leave this, so I e-mailed it to this e-mail address as prescribed according to https://www.kernel.org/doc/Documentation/oops-tracing.txt I did a iwconfig wlan0 txpower 0. lspci gives me the following device for wlan0: 03:00.0 Network controller: Broadcom Corporation

Re: [patch 2/2] misc: mic/scif: fix wrap around tests

2015-10-11 Thread Sudeep Dutt
On Fri, 2015-10-09 at 09:40 +0300, Dan Carpenter wrote: > Signed integer overflow is undefined. Also I added a check for > "(offset < 0)" in scif_unregister() because that makes it match the > other conditions and because I didn't want to subtract a negative. > > Fixes: ba612aa8b487 ('misc: mic:

Re: [patch 1/2] misc: mic/scif: fix error code in scif_create_remote_lookup()

2015-10-11 Thread Sudeep Dutt
On Fri, 2015-10-09 at 09:41 +0300, Dan Carpenter wrote: > We should be returning -ENOMEM here instead of success. > Reviewed-by: Sudeep Dutt Thanks for the fix! > Fixes: ba612aa8b487 ('misc: mic: SCIF memory registration and unregistration') > Signed-off-by: Dan

[GIT pull] sched fixes for 4.3

2015-10-11 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus Fix a long standing state race in finish_task_switch(). Thanks, tglx --> Peter Zijlstra (1): sched/core: Fix

Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller.

2015-10-11 Thread Thomas Gleixner
On Sat, 10 Oct 2015, Marc Zyngier wrote: > On Sat, 10 Oct 2015 17:01:32 +0800 > "majun (F)" wrote: > > But there is a problem If i make the structure like you said. > > > > For example, my hardware structure likes below: > > > > uart --> mbigen --> ITS-pMSI --> ITS -->

Re: [RFC PATCH 2/2] vfio: Include no-iommu mode

2015-10-11 Thread Michael S. Tsirkin
On Sun, Oct 11, 2015 at 11:12:14AM +0300, Avi Kivity wrote: > > Mixing no-iommu and secure VFIO is > >also unsupported, as are any VFIO IOMMU backends other than the > >vfio-noiommu backend. Furthermore, unsafe group files are relocated > >to /dev/vfio-noiommu/. Upon successful loading in this

[tip:core/efi] efi: Use the generic efi.memmap instead of 'memmap '

2015-10-11 Thread tip-bot for Matt Fleming
Commit-ID: 0ce423b6492a02be11662bfaa837dd16945aad3e Gitweb: http://git.kernel.org/tip/0ce423b6492a02be11662bfaa837dd16945aad3e Author: Matt Fleming AuthorDate: Sat, 3 Oct 2015 23:26:07 +0100 Committer: Ingo Molnar CommitDate: Sun, 11 Oct 2015

videobuf2-core.c:undefined reference to `v4l2_get_timestamp'

2015-10-11 Thread Fengguang Wu
Hi Florian, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4a06c8ac2fb3ef484579ce44f9b809bd310fad48 commit: e831cd251fb91d6c25352d322743db0d17ea11dd [media] add raw video stream support for Samsung SUR40 date: 6

Re: [patch] sched: disable task group re-weighting on the desktop

2015-10-11 Thread paul . szabo
Dear Mike, > ... so yes, un-related. Thanks for clarifying. > I haven't seen the problem you reported. ... You mean you chose not to reproduce: you persisted in pinning your perts, whereas the problem was stated with un-pinned perts (and pinned oinks). But that is OK... others did reproduce,

Re: [PATCH v4 5/8] clk: rockchip: Allow the RK3288 SPDIF clocks to change their parent

2015-10-11 Thread Heiko Stübner
Hi Sjoerd, Am Freitag, 9. Oktober 2015, 13:35:55 schrieb Sjoerd Simons: > On Thu, 2015-10-08 at 17:10 +0200, Heiko Stuebner wrote: > > Am Donnerstag, 8. Oktober 2015, 15:31:16 schrieb Sjoerd Simons: > > > The clock branches leading to sclk_spdif and sclk_spdif_8ch on > > > RK3288 > > > SoCs only

[PATCH] xfs: constify sysfs_ops structures

2015-10-11 Thread Julia Lawall
These sysfs_ops structures are never modified. All other sysfs_ops structures in the kernel are declared as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- fs/xfs/xfs_sysfs.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: 4.2: CONFIG_NO_HZ_FULL_ALL effectively disabling non-boot CPUs

2015-10-11 Thread Meelis Roos
> > Short summary: turning on CONFIG_NO_HZ_FULL_ALL seems to disable all > > non-boot CPUs for scheduler. [...] > This is expected and intended behavior. The whole point of > CONFIG_NO_HZ_FULL_ALL is to keep everything off of the non-boot CPUs > that is not explicitly placed there. Without

Re: [PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-10-11 Thread kbuild test robot
Hi Chris, [auto build test WARNING on rockchip/for-next -- if it's inappropriate base, please ignore] config: i386-randconfig-h1-10111440 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 Note: it may well be a FALSE warning. FWIW

[tip:x86/urgent] MAINTAINERS: Change Matt Fleming's email address

2015-10-11 Thread tip-bot for Matt Fleming
Commit-ID: 825fcfce81921c9cc4ef801d844793815721e458 Gitweb: http://git.kernel.org/tip/825fcfce81921c9cc4ef801d844793815721e458 Author: Matt Fleming AuthorDate: Sat, 10 Oct 2015 17:22:16 +0100 Committer: Ingo Molnar CommitDate: Sun, 11 Oct 2015

Re: [PATCH v4 00/26] ARM: pxa: magician: Rework HTC Magician support

2015-10-11 Thread Robert Jarzmik
Petr Cvek writes: >> Thanks (a pozdrav :-), >> >> Pavel Hi Petr, I'll start applying part of this serie today evening (my evening). All Philipp's acked patches for a start. For the minor changes required by Philipp

drivers/media/dvb-core/dvbdev.h:157:18: error: too many arguments to function '__a'

2015-10-11 Thread Fengguang Wu
Hi Kozlov, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4a06c8ac2fb3ef484579ce44f9b809bd310fad48 commit: 52b1eaf4c59a3bbd07afbb4ab4f43418a807d02e [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card

[tip:x86/asm] x86/entry/64/compat: Document sysenter_fix_flags' s reason for existence

2015-10-11 Thread tip-bot for Borislav Petkov
Commit-ID: 374a3a3916a70fc6236bc2b8f8ac02548a128a54 Gitweb: http://git.kernel.org/tip/374a3a3916a70fc6236bc2b8f8ac02548a128a54 Author: Borislav Petkov AuthorDate: Fri, 9 Oct 2015 19:08:59 +0200 Committer: Ingo Molnar CommitDate: Sun, 11 Oct 2015

Re: [RFC PATCH 2/2] vfio: Include no-iommu mode

2015-10-11 Thread Gleb Natapov
On Sun, Oct 11, 2015 at 12:19:54PM +0300, Michael S. Tsirkin wrote: > > But since you must pass the same value to open(), you already know that > > you're using noiommu. > > > > >VFIO_IOMMU_MAP_DMA, VFIO_IOMMU_ENABLE and VFIO_IOMMU_DISABLE > > >will probably also fail ... > > > > > > > Don't you

Re: [PATCH] PCI/MSI: Export all remapped MSIs to sysfs attributes

2015-10-11 Thread Thomas Gleixner
On Fri, 9 Oct 2015, Bjorn Helgaas wrote: > On Thu, Sep 24, 2015 at 01:31:16AM +0200, Romain Bezut wrote: > > irqbalance uses these attributes to populate its internal database, which is > > then used to bind the irq on the appropriate NUMA node. > > > > On a device accepting multiple MSIs and

Re: [RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-10-11 Thread punnaiah choudary kalluri
On Wed, Sep 30, 2015 at 9:48 PM, Felipe Balbi wrote: > On Thu, Sep 24, 2015 at 11:18:01AM -0500, Rob Herring wrote: >> On Thu, Sep 24, 2015 at 4:26 AM, Subbaraya Sundeep Bhatta >> wrote: >> > Hi Peter, >> > >> >> -Original Message- >> >>

[PATCH v4] scsi: ufs: add ioctl interface for query request

2015-10-11 Thread Yaniv Gardi
This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Signed-off-by: Dolev Raviv Signed-off-by: Noa Rubens Signed-off-by: Raviv

Re: [PATCH net-next 0/2] net: fix some bugs in HNS drivers

2015-10-11 Thread David Miller
From: huangdaode Date: Thu, 8 Oct 2015 14:17:23 +0800 > This patchset fixes the two bugs in HNS driver, one is for fixing the > compilation warning bug on arm 32-bit platform, another is fixing the wrong > mac port judgement bug which is found during internal tests.

Re: [PATCH] thinkpad_acpi: Add TP_HKEY_EV_SCREEN_FLIP (0x60c0) for Lenovo ThinkPad Yoga 12

2015-10-11 Thread Henrique de Moraes Holschuh
On Sat, 10 Oct 2015, Darren Hart wrote: > On Sat, Oct 10, 2015 at 06:40:34PM -0300, Henrique de Moraes Holschuh wrote: > > On Sat, 10 Oct 2015, Darren Hart wrote: > > > On Sat, Oct 10, 2015 at 11:41:47AM -0700, Darren Hart wrote: > > > > From: Darren Hart > > > > > > > >

[PATCH v3] ALSA: bebob: constify various snd_bebob structures

2015-10-11 Thread Julia Lawall
The structures of type snd_bebob_clock_spec, snd_bebob_rate_spec, snd_bebob_meter_spec, and snd_bebob_spec are never modified after they are initialized. Make them all const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v3: change subject line

Re: [PATCH v2] ALSA: bebob: constify snd_bebob_rate_spec structures

2015-10-11 Thread Julia Lawall
On Sun, 11 Oct 2015, Takashi Sakamoto wrote: > Hi, > > On Oct 11 2015 06:24, Julia Lawall wrote: > > The structures of type snd_bebob_clock_spec, snd_bebob_rate_spec, > > snd_bebob_meter_spec, and snd_bebob_spec are never modified after they are > > initialized. Make them all const. > > > >

[PATCH] qlcnic: constify qlcnic_mbx_ops structure

2015-10-11 Thread Julia Lawall
The only instance of a qlcnic_mbx_ops structure is never modified. Thus the declaration of the structure and all references to the structure type can be made const. In the definition of the qlcnic_mailbox structure, the ops field is no longer lined up with the other fields. This was left as is,

Re: [PATCH 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range

2015-10-11 Thread Timur Tabi
Gerlando Falauto wrote: Change-Id: If1e7d8931f440ea9259726c36d3df797dda016fb You need to remove these from patches that are emailed, and fix the pointer type comparison. Otherwise, Acked-by: Timur Tabi -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2 01/20] block: generic request_queue reference counting

2015-10-11 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig We could still clean up draing or only release the reference on bio_done, but let's do that separately and get this infrastructure in ASAP. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH] iio: Move IIO Dummy Driver out of staging

2015-10-11 Thread Jonathan Cameron
On 09/10/15 14:31, Cristina Opriceana wrote: > This patch moves the reference IIO dummy driver from drivers/staging/iio > into a separate folder, drivers/iio/dummy and adds the proper Kconfig > and Makefile for it. > > A new config menu entry called IIO dummy driver has also been added > in the

Re: [PATCH v3 3/7] drm/vc4: Add KMS support for Raspberry Pi.

2015-10-11 Thread Stefan Wahren
Hi Eric, Am 09.10.2015 um 23:27 schrieb Eric Anholt: This is enough for fbcon and bringing up X using xf86-video-modesetting. It doesn't support the 3D accelerator or power management yet. Signed-off-by: Eric Anholt Acked-by: Daniel Vetter --- v2:

Re: [PATCH] iio: mxs-lradc: Fix temperature offset

2015-10-11 Thread Jonathan Cameron
On 07/10/15 00:13, Marek Vasut wrote: > On 10/06/2015 16:22, Alexandre Belloni wrote: >> 0° Kelvin is actually −273.15°C, not -272.15°C. Fix the temperature offset. >> >> Reported-by: Janusz Użycki >> Signed-off-by: Alexandre Belloni

testing email patches

2015-10-11 Thread Fengguang Wu
Hi Christoph, On Thu, Oct 08, 2015 at 12:46:16AM -0700, Christoph Hellwig wrote: > Hi Fengguang, > > I think this proactive testing does a little more harm than good in > it's current form. While offering testing for patches that aren't in > git trees and or by people that don't even have a git

Re: [PATCH 1/2] staging: fbtft: add support for ST7789V display controller

2015-10-11 Thread Noralf Trønnes
Den 11.10.2015 09:31, skrev Dennis Menschel: Am 10.10.2015 um 17:36 schrieb Noralf Trønnes: Den 07.10.2015 22:15, skrev Dennis Menschel: This patch adds support for the Sitronix ST7789V display controller. The controller is intended for small color displays with a resolution of up to 320x240

RE: [PATCH v7 1/2] efi: export efi_capsule_supported() function symbol

2015-10-11 Thread Kweh, Hock Leong
> -Original Message- > From: Matt Fleming [mailto:m...@console-pimps.org] > Sent: Sunday, October 11, 2015 6:02 AM > > I agree that it makes sense to fold this patch into your PATCH 2, because then > we know why we need the above symbol to be exported. > Okay, I will squash that into my

[PATCH v2] nouveau: fix OpenFirmware support

2015-10-11 Thread Laurent Vivier
On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() returns NULL. But in fact the OpenFirmware has given us the size we can store in image->size. The NV34 has a small image and an invalid checksum, we manage this by changing the size of the header we try to fetch (reduce

Re: [PATCH v3] ALSA: bebob: constify various snd_bebob structures

2015-10-11 Thread Takashi Sakamoto
On Oct 11 2015 15:10, Julia Lawall wrote: > The structures of type snd_bebob_clock_spec, snd_bebob_rate_spec, > snd_bebob_meter_spec, and snd_bebob_spec are never modified after they are > initialized. Make them all const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall

[PATCH] drm/nouveau/disp,pm: constify nvkm_object_func structures

2015-10-11 Thread Julia Lawall
These nvkm_object_func structures are never modified. All other nvkm_object_func structures are declared as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c |2 +-

Re: [patch] sched: disable task group re-weighting on the desktop

2015-10-11 Thread Mike Galbraith
On Sun, 2015-10-11 at 20:25 +1100, paul.sz...@sydney.edu.au wrote: > Dear Mike, > > > ... so yes, un-related. > > Thanks for clarifying. > > > I haven't seen the problem you reported. ... > > You mean you chose not to reproduce: you persisted in pinning your > perts.. There was hard data to

[PATCH] staging: rtl8192u: r8192U_core: fix negative noise value

2015-10-11 Thread Luis de Bethencourt
ieee80211_rx_stats.noise is of type uint8, so it shouldn't be assigned a negative number. Assigning it 0x100 - 98, which is the equivalent to -98 dBm when IW_QUAL_DBM is set. Signed-off-by: Luis de Bethencourt --- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 1 file

Re: [PATCH 2/5] Documentation: add the binding file for Freescale imx7d ADC driver

2015-10-11 Thread Jonathan Cameron
On 08/10/15 11:59, Haibo Chen wrote: > The patch adds the binding file for Freescale imx7d ADC driver. > > Signed-off-by: Haibo Chen Couple of trivial typos.. otherwise fine. > --- > .../devicetree/bindings/iio/adc/imx7d-adc.txt | 26 > ++ >

Re: [PATCH v4 1/3] net: unix: fix use-after-free in unix_dgram_poll()

2015-10-11 Thread Rainer Weikusat
Hannes Frederic Sowa writes: > Jason Baron writes: > >> The unix_dgram_poll() routine calls sock_poll_wait() not only for the wait >> queue associated with the socket s that we are poll'ing against, but also >> calls >> sock_poll_wait() for a

Re: [PATCH] vf610_adc: Fix internal temperature calculation

2015-10-11 Thread Jonathan Cameron
On 08/10/15 03:01, Duan Andy wrote: > From: Jonathan Cameron Sent: Sunday, September 27, 2015 > 11:53 PM >> To: Bhuvanchandra DV; linux-...@vger.kernel.org >> Cc: ste...@agner.ch; maitysancha...@gmail.com; Duan Fugang-B38611; >> knaac...@gmx.de; l...@metafoo.de;

Re: [PATCH 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-10-11 Thread Jonathan Cameron
On 04/10/15 17:04, H. Nikolaus Schaller wrote: > > Am 27.09.2015 um 17:21 schrieb Jonathan Cameron : > >> On 23/09/15 13:48, H. Nikolaus Schaller wrote: >>> This driver code was found as: >>> >>>

[PATCH 1/2] serial: at91, fix rs485 properties

2015-10-11 Thread Jiri Slaby
There is a misplaced bracket in atmel_init_rs485 which sets rs485-rx-during-tx and rs485-enabled-at-boot-time only if rs485-rts-delay is set in of. This is clearly a bug, so fix it by moving the bracket to the proper place. Signed-off-by: Jiri Slaby Cc: Elen Song

[PATCH 2/2] tty: synclink, fix indentation

2015-10-11 Thread Jiri Slaby
The statement after if should be indenteted. So fix this. Signed-off-by: Jiri Slaby --- drivers/tty/synclink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 701dd4e3446d..97ad9df048b5 100644 ---

Re: [PATCH 2/5] Documentation: add the binding file for Freescale imx7d ADC driver

2015-10-11 Thread Jonathan Cameron
On 11/10/15 14:31, Jonathan Cameron wrote: > On 08/10/15 11:59, Haibo Chen wrote: >> The patch adds the binding file for Freescale imx7d ADC driver. >> >> Signed-off-by: Haibo Chen > Couple of trivial typos.. otherwise fine. >> --- >>

[PATCH 1/1] HID: fix some indenting issues

2015-10-11 Thread Jiri Slaby
Some drivers indent some lines in a very weird manner. Fix that. Signed-off-by: Jiri Slaby Cc: Josenivaldo Benito Junior Cc: Franco Catrin Cc: Nikolai Kondrashov Cc: Don Prince Cc:

Re: [PATCH] nouveau: fix OpenFirmware support

2015-10-11 Thread Laurent Vivier
Le 11/10/2015 01:49, Ilia Mirkin a écrit : > On Sat, Oct 10, 2015 at 7:45 PM, Laurent Vivier wrote: >> >> >> Le 10/10/2015 21:56, Ilia Mirkin a écrit : >>> On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: Le 10/10/2015 20:41, Ilia

[PATCH] Staging: vt6655: Renamed uRATE to rate

2015-10-11 Thread Paul McQuade
Renamed uRATE to rate to avoid camelcase Signed-off-by: Paul McQuade --- drivers/staging/vt6655/rf.c | 12 ++-- drivers/staging/vt6655/rf.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/vt6655/rf.c

[PATCH] [media] mt9t001: constify v4l2_subdev_internal_ops structure

2015-10-11 Thread Julia Lawall
This v4l2_subdev_internal_ops structure is never modified. All other v4l2_subdev_internal_ops structures are declared as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/i2c/mt9t001.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH] staging: rtl8712: fix negative level value

2015-10-11 Thread Luis de Bethencourt
range->avg_qual.level is of type uint8, so it shouldn't be assigned a negative number. Assigning it 0x100 - 78, which is the equivalent to (20 + -98) dBm when IW_QUAL_DBM is set. Signed-off-by: Luis de Bethencourt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +-

[PATCH 13/14] cgroup: keep zombies associated with their original cgroups

2015-10-11 Thread Tejun Heo
cgroup_exit() is called when a task exits and disassociates the exiting task from its cgroups and half-attach it to the root cgroup. This is unnecessary and undesirable. No controller actually needs an exiting task to be disassociated with non-root cgroups. Both cpu and perf_event controllers

[PATCH 14/14] cgroup: add cgroup_subsys->free() method and use it to fix pids controller

2015-10-11 Thread Tejun Heo
pids controller is completely broken in that it uncharges when a task exits allowing zombies to escape resource control. With the recent updates, cgroup core now maintains cgroup association till task free and pids controller can be fixed by uncharging on free instead of exit. This patch adds

[PATCH 12/14] cgroup: make css_set_rwsem a spinlock and rename it to css_set_lock

2015-10-11 Thread Tejun Heo
css_set_rwsem is the inner lock protecting css_sets and is accessed from hot paths such as fork and exit. Internally, it has no reason to be a rwsem or even mutex. There are no internal blocking operations while holding it. This was rwsem because css task iteration used to expose it to external

[PATCH 11/14] cgroup: don't hold css_set_rwsem across css task iteration

2015-10-11 Thread Tejun Heo
css_sets are synchronized through css_set_rwsem but the locking scheme is kinda bizarre. The hot paths - fork and exit - have to write lock the rwsem making the rw part pointless; furthermore, many readers already hold cgroup_mutex. One of the readers is css task iteration. It read locks the

Re: [kbuild-all] [PATCH 4/5 v2] pseries/iommu: implement DDW-aware dma_get_page_shift

2015-10-11 Thread Fengguang Wu
Hi Michael, > > > > How did the robot decide to build this series in the first place? Does > > > > it build > > > > everything sent to one of the lists on CC? > > > > > > Yes, currently the following mailing lists are subscribed. Patches > > > sent to them will be tested if they can be git-am

Re: [PATCH v3 7/7] ARM: bcm2835: Add VC4 to the device tree.

2015-10-11 Thread Stefan Wahren
Am 09.10.2015 um 23:27 schrieb Eric Anholt: VC4 is the GPU (display and 3D) present on the 2835. Signed-off-by: Eric Anholt --- v2: Sort by register address, mark HDMI as disabled by default in the SoC file and enable it from -rpi. v3: Add references to the pixel/HSM

Re: [RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-10-11 Thread Kishon Vijay Abraham I
Hi, On Sunday 11 October 2015 04:45 PM, punnaiah choudary kalluri wrote: > On Wed, Sep 30, 2015 at 9:48 PM, Felipe Balbi wrote: >> On Thu, Sep 24, 2015 at 11:18:01AM -0500, Rob Herring wrote: >>> On Thu, Sep 24, 2015 at 4:26 AM, Subbaraya Sundeep Bhatta >>>

[PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-11 Thread Anand Moon
Added support for UHS-I bus speed 50MB/s (SDR50, DDR50) 104MB/s (SDR104) Signed-off-by: Anand Moon --- Changes based on git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git v4.4-next/dt-samsung branch Changes Fixed the UHS-I bus speed detedtion on cold

RE: [PATCH] [v4] x86, suspend: Save/restore extra MSR registers for suspend

2015-10-11 Thread Doug Smythies
Hi Yu, thanks for your reply. On 2015.10.10 19:27 Chen, Yu C wrote: > On 2105.10.10 02:56 Doug Smythies wrote: > >>> The current version of the intel_pstate driver is incompatible with >>> any use of Clock Modulation, always resulting in driving the target >>> pstate to the minimum, regardless

[PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-11 Thread Anand Moon
From: Jaehoon Chung To detect sd-card use the cd-gpio method. It can decrease the interrupt for detecting sd-card. Signed-off-by: Jaehoon Chung Signed-off-by: Anand Moon --- Changes based on

[PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-11 Thread Anand Moon
Added support for vmmc/vqmmc-supply for emmc/sd cards. Fixed the min values for regulator ldo13_reg (VDDQ_MMC2). Added ramp-delay for LDO9(VDD33_USB3_0). Added ramp-delay for LDO13(VDDQ_MMC2). Added ramp-delay for LDO15(ETH_P3V3). Signed-off-by: Anand Moon --- Changes

Re: thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020)

2015-10-11 Thread Henrique de Moraes Holschuh
On Sat, 10 Oct 2015, Darren Hart wrote: > The Lenovo ThinkPad Yogo 12 has a button on the side by the power and volume > keys with a padlock icon on it, I presume intended to be used as Screenlock. > > It emits 0x6020 which means it falls into the hotkey_notify_6xxx() block. It > seems this

Re: [PATCH net-next v2 0/3] net: dsa: push switchdev prepare phase in FDB ops

2015-10-11 Thread David Miller
From: Vivien Didelot Date: Thu, 8 Oct 2015 11:35:11 -0400 > This patchset pushes the switchdev prepare phase for the FDB add and del > operations down to the DSA drivers. Currently only mv88e6xxx is affected. > > Since the dump requires a bit of refactoring

Re: bcm2835 (Raspberry Pi) KMS driver

2015-10-11 Thread Stefan Wahren
Am 09.10.2015 um 23:27 schrieb Eric Anholt: This is a respin of the Raspberry Pi KMS series. Now that we've got a real clock driver, I can actually set new video modes. Also in this version, most of the custom DT stuff from before is gone, thanks to finding exynos's platform_driver component

Re: [PATCH v2] iio: mxs-lradc: Fix temperature offset

2015-10-11 Thread Jonathan Cameron
On 07/10/15 16:07, Stefan Wahren wrote: > Am 07.10.2015 um 13:10 schrieb Alexandre Belloni: >> 0° Kelvin is actually −273.15°C, not -272.15°C. Fix the temperature offset. >> Also improve the comment explaining the calculation. >> >> Reported-by: Janusz Użycki >>

[PATCH] staging: rtl8192u: r8192U_wx: fix negative noise and level values

2015-10-11 Thread Luis de Bethencourt
range->max_qual.noise and level are of type uint8, so they shouldn't be assigned a negative number. Assigning them 0x100 - 98, and 0x100 - 78 which are the equivalent to -98 dBm and -78 dBm, respectively, when IW_QUAL_DBM is set. Signed-off-by: Luis de Bethencourt ---

Re: [PATCH 1/5] iio: adc: add IMX7D ADC driver support

2015-10-11 Thread Jonathan Cameron
On 08/10/15 11:59, Haibo Chen wrote: > Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC > driver support, and the driver only support ADC software trigger. > > Signed-off-by: Haibo Chen Hi Haibo, A very nice clean driver. I've noted a few minor

Re: [PATCH] vf610_adc: Fix internal temperature calculation

2015-10-11 Thread Jonathan Cameron
On 11/10/15 15:05, Jonathan Cameron wrote: > On 08/10/15 03:01, Duan Andy wrote: >> From: Jonathan Cameron Sent: Sunday, September 27, 2015 >> 11:53 PM >>> To: Bhuvanchandra DV; linux-...@vger.kernel.org >>> Cc: ste...@agner.ch; maitysancha...@gmail.com; Duan Fugang-B38611; >>>

Re: [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc

2015-10-11 Thread Jonathan Cameron
On 05/10/15 07:14, H. Nikolaus Schaller wrote: > This driver code was found as: > > https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc > > Fixed various compilation issues and test this driver on omap5 evm. > > Signed-off-by: Pradeep

Re: [PATCH] Documentation: Remove misleading examples of the barriers in wake_*()

2015-10-11 Thread Boqun Feng
On Tue, Oct 06, 2015 at 06:06:50PM +0200, Peter Zijlstra wrote: > On Thu, Sep 24, 2015 at 09:21:22PM +0800, Boqun Feng wrote: > > > Included in it are some of the details on this subject, because a wakeup > > > has two prior states that are of importance, the tasks own prior state > > > and the

Re: [PATCH v3] ALSA: bebob: constify various snd_bebob structures

2015-10-11 Thread Takashi Iwai
On Sun, 11 Oct 2015 14:29:30 +0200, Takashi Sakamoto wrote: > > On Oct 11 2015 15:10, Julia Lawall wrote: > > The structures of type snd_bebob_clock_spec, snd_bebob_rate_spec, > > snd_bebob_meter_spec, and snd_bebob_spec are never modified after they are > > initialized. Make them all const. > >

Re: thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020)

2015-10-11 Thread Darren Hart
On Sun, Oct 11, 2015 at 09:12:54AM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 10 Oct 2015, Darren Hart wrote: > > The Lenovo ThinkPad Yogo 12 has a button on the side by the power and volume > > keys with a padlock icon on it, I presume intended to be used as Screenlock. > > > > It emits

[PATCH] gpio: fix platform_no_drv_owner.cocci warnings

2015-10-11 Thread kbuild test robot
drivers/gpio/gpio-tps65218.c:153:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Nicolas Saenz Julienne Signed-off-by:

Re: [PATCH] gpio: add tps65218 gpio driver

2015-10-11 Thread kbuild test robot
Hi Nicolas, [auto build test WARNING on gpio/for-next -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/gpio/gpio-tps65218.c:153:3-8: No need to set .owner here. The core >> will do it. Please review and possibly fold the followup patch.

[PATCH 2/5] cpufreq: create cpu/cpufreq at boot time

2015-10-11 Thread Viresh Kumar
Later patches will need to create policy specific directories in /sys/devices/system/cpu/cpufreq/ directory and so the cpufreq directory wouldn't be ever empty. And so no fun creating/destroying it on need basis anymore. Create it once on system boot. Signed-off-by: Viresh Kumar

[PATCH 3/5] cpufreq: remove cpufreq_sysfs_{create|remove}_file()

2015-10-11 Thread Viresh Kumar
They don't do anything special now, remove the unnecessary wrapper. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 22 +- include/linux/cpufreq.h | 2 -- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git

  1   2   3   4   5   6   7   >