[RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Simon A. F. Lund
An open-channel SSD exposes its geometry to the host. Allowing the host to know the boundaries of the LUNs, flash blocks, and flags pages, enabling the host to write to its physical media. The configuration information is kept within the kernel, and not exported to user-space for consumption. This

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-04-27 Thread Alan Stern
On Wed, 27 Apr 2016, Arnd Bergmann wrote: > I've looked at the usb HCD code now and see this: > > struct usb_hcd *usb_create_shared_hcd(const struct hc_driver *driver, > struct device *dev, const char *bus_name, > struct usb_hcd *primary_hcd) > { > ... >

[PATCH] mfd: vexpress: add !ARCH_USES_GETTIMEOFFSET dependency

2016-04-27 Thread Arnd Bergmann
The MFD_VEXPRESS_SYSREG driver selects CLKSRC_MMIO, which in turn conflicts with ARCH_USES_GETTIMEOFFSET, causing a harmless Kconfig warning when it is set: warning: (ARCH_MVEBU && ARCH_DIGICOLOR && ARCH_GEMINI && ARCH_KEYSTONE && ARCH_MOXART && ARCH_MXS && PLAT_SPEAR && ARCH_SUNXI && ARCH_TEGRA

Re: random(4) changes

2016-04-27 Thread Stephan Mueller
Am Montag, 25. April 2016, 12:35:32 schrieb Andi Kleen: Hi Andi, > > > > If it is the latter, can you explain where the scalability issue comes > > > > in? > > > > > > A single pool which is locked/written to does not scale. Larger systems > > > need multiple pools > > > > That would imply that

[PATCH v2] lib/mpi: Fix kernel unaligned access in mpi_write_to_sgl

2016-04-27 Thread Sowmini Varadhan
Commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") added mpi_write_to_sgl() which generates traps due to unaligned access on some platforms like sparc. Fix this by using the get_unaligned* and put_unaligned* functions. Fixes: 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") Signed-off-by: Sowmini

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-04-27 Thread Arnd Bergmann
On Wednesday 27 April 2016 19:53:51 Felipe Balbi wrote: > Arnd Bergmann writes: > > On Wednesday 27 April 2016 16:50:19 Catalin Marinas wrote: > >> On Wed, Apr 27, 2016 at 04:11:17PM +0200, Arnd Bergmann wrote: > >> > On Wednesday 27 April 2016 14:59:00 Catalin Marinas wrote: > >> > > > >> > > I

Re: [PATCH 1.1/2] xfs: abstract PF_FSTRANS to PF_MEMALLOC_NOFS

2016-04-27 Thread Andreas Dilger
On Apr 27, 2016, at 5:54 AM, Michal Hocko wrote: > > From: Michal Hocko > > xfs has defined PF_FSTRANS to declare a scope GFP_NOFS semantic quite > some time ago. We would like to make this concept more generic and use > it for other filesystems as well. Let's start by giving the flag a > more

Re: [RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Greg KH
On Wed, Apr 27, 2016 at 10:18:57AM -0700, Simon A. F. Lund wrote: > --- a/include/linux/lightnvm.h > +++ b/include/linux/lightnvm.h > @@ -174,6 +174,7 @@ struct nvm_id_group { > u16 cpar; > > struct nvm_id_lp_tbl lptbl; > + struct kobject kobj; > }; > > struct nvm_addr_for

Re: [f2fs-dev] [PATCH 7/7] f2fs: should check the remaining dentry bits

2016-04-27 Thread Jaegeuk Kim
Looks better. Merged. :) Thanks, On Wed, Apr 27, 2016 at 10:22:20PM +0800, Chao Yu wrote: > Hi Jaegeuk, Yunlei, > > On 2016/4/26 8:07, Jaegeuk Kim wrote: > > Let's consider a race condition between f2fs_add_regular_entry and > > find_target_dentry. > > > > 1. > > - f2fs_add_regular_entry update

Re: [PATCH V2 13/14] dt-bindings: arm-gic: Add documentation for Tegra210 AGIC

2016-04-27 Thread Mark Rutland
On Wed, Apr 27, 2016 at 04:34:53PM +0100, Jon Hunter wrote: > > On 22/04/16 12:22, Mark Rutland wrote: > > [snip] > > I am not sure if it will be popular to add Tegra specific clock names > to the GIC DT docs. However, in that case, then possibly the only > alternative is to move

Re: [PATCH 2/2 v6] ASoC: dwc: Update DOCUMENTATION for I2S Driver

2016-04-27 Thread Mark Brown
On Wed, Apr 27, 2016 at 06:32:42PM +0100, Jose Abreu wrote: > Hi Mark, > > Sorry. Follows bellow. > > On 27-04-2016 11:05, Jose Abreu wrote: I can't apply a quote of a patch, please resend. signature.asc Description: PGP signature

[RFC PATCH] lightnvm: expose configuration through sysfs

2016-04-27 Thread Simon A. F. Lund
Hi, Follow up on preparation patches, here is a patch exporting hardware attributes of open-channel SSDs and LightNVM configuration to user-space through sysfs. Thanks, Simon A. F. Lund (1): lightnvm: expose configuration through sysfs Documentation/ABI/testing/sysfs-lightnvm | 244 +++

[PATCH] drm/i915: Fix enc_to_dig_port() for MST encoders

2016-04-27 Thread Lyude
For MST encoders, the encoder struct is stored in the intel_dp_mst struct, not a intel_digital_port struct. This fixes issues with hotplugging MST displays that support MST audio, where hotplugging had a surprisingly good chance of accidentally overwriting other parts of the kernel leading to seem

Re: [PATCH 2/2 v6] ASoC: dwc: Update DOCUMENTATION for I2S Driver

2016-04-27 Thread Jose Abreu
Hi Mark, Sorry. Follows bellow. On 27-04-2016 11:05, Jose Abreu wrote: > This patch updates documentation for the Designware I2S > driver. > > Signed-off-by: Jose Abreu > Acked-by: Rob Herring > Cc: Rob Herring > Cc: Carlos Palminha > Cc: Alexey Brodkin > Cc: devicet...@vger.kernel.org > Cc:

Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number.

2016-04-27 Thread Lorenzo Pieralisi
On Wed, Apr 27, 2016 at 11:44:53AM -0500, Bjorn Helgaas wrote: > On Wed, Apr 27, 2016 at 12:17:58PM +0100, Lorenzo Pieralisi wrote: > > On Tue, Apr 26, 2016 at 09:26:49PM -0500, Bjorn Helgaas wrote: > > > On Fri, Apr 15, 2016 at 07:06:37PM +0200, Tomasz Nowicki wrote: > > > > As we now have valid P

[PATCH 1/3] lightnvm: do not free unused metadata on rrpc

2016-04-27 Thread Javier González
rrpc does not save any metadata on a given request. Thus, do not attempt to free the metadata dma region. Signed-off-by: Javier González --- drivers/lightnvm/rrpc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/lightnvm/rrpc.c b/drivers/lightnvm/rrpc.c index c7fef71..ffcfee6 10064

[PATCH 2/3] lightnvm: enable metadata to be sent to device

2016-04-27 Thread Javier González
Enable metadata to be sent to the device through the metadata field on the physical rw nvme command. When a single ppa is sent to the device, a 64-bit integer can be sent as metadata; when a ppa list is sent, a 64-bit integer list mapping to the ppa list can be used to send metadata. Signed-off-by

[PATCH 3/3] lightnvm: rename dma helper functions

2016-04-27 Thread Javier González
Until now, the dma pool have been exclusively used to allocate the ppa list being sent to the device. In pblk (upcoming), we use these pools to allocate metadata too. Thus, we generalize the names of some variables on the dma helper functions to make the code more readable. Signed-off-by: Javier G

Re: [PATCH 3.16 098/217] s390/pci: enforce fmb page boundary rule

2016-04-27 Thread Sebastian Ott
On Wed, 27 Apr 2016, Ben Hutchings wrote: > 3.16.35-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Sebastian Ott > > commit 80c544ded25ac14d7cc3e555abb8ed2c2da99b84 upstream. > > The function measurement block must not cross a page boundar

Linux 3.12.59

2016-04-27 Thread Jiri Slaby
I'm announcing the release of the 3.12.59 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] tty: provide tty_name() even without CONFIG_TTY

2016-04-27 Thread Arnd Bergmann
On Wednesday 27 April 2016 12:20:02 Paul Moore wrote: > > diff --git a/include/linux/tty.h b/include/linux/tty.h > > index 3b09f235db66..17b247c94440 100644 > > --- a/include/linux/tty.h > > +++ b/include/linux/tty.h > > @@ -371,6 +371,7 @@ extern void proc_clear_tty(struct task_struct *p); > > ex

Re: [PATCH V4 16/18] coresight: tmc: implementing TMC-ETF AUX space API

2016-04-27 Thread Suzuki K Poulose
On 27/04/16 18:22, Mathieu Poirier wrote: On 27 April 2016 at 05:21, Suzuki K Poulose wrote: On 26/04/16 23:10, Mathieu Poirier wrote: This patch implement the AUX area interfaces required to use the TMC (configured as an ETF) from the Perf sub-system. The heuristic is heavily borrowed from

Re: [PATCH] x86/efi-bgrt: Switch all pr_err() to pr_debug() for invalid BGRT

2016-04-27 Thread Josh Boyer
On Wed, Apr 27, 2016 at 1:05 PM, Josh Triplett wrote: > On Wed, Apr 27, 2016 at 11:20:26AM -0400, Josh Boyer wrote: >> On Wed, Apr 27, 2016 at 10:57 AM, Môshe van der Sterre wrote: >> > >> > On 04/27/2016 03:56 PM, Josh Boyer wrote: >> >> >> >> On Wed, Apr 27, 2016 at 9:26 AM, Môshe van der Sterr

Re: [PATCH V4 16/18] coresight: tmc: implementing TMC-ETF AUX space API

2016-04-27 Thread Mathieu Poirier
On 27 April 2016 at 05:21, Suzuki K Poulose wrote: > On 26/04/16 23:10, Mathieu Poirier wrote: >> >> This patch implement the AUX area interfaces required to >> use the TMC (configured as an ETF) from the Perf sub-system. >> >> The heuristic is heavily borrowed from the ETB10 implementation. >> >>

[PATCH v5] mm: SLAB freelist randomization

2016-04-27 Thread Thomas Garnier
Provides an optional config (CONFIG_SLAB_FREELIST_RANDOM) to randomize the SLAB freelist. The list is randomized during initialization of a new set of pages. The order on different freelist sizes is pre-computed at boot for performance. Each kmem_cache has its own randomized freelist. Before pre-co

Re: [PATCH] mm/zswap: use workqueue to destroy pool

2016-04-27 Thread Dan Streetman
On Tue, Apr 26, 2016 at 8:58 PM, Sergey Senozhatsky wrote: > Hello, > > On (04/26/16 17:08), Dan Streetman wrote: > [..] >> -static void __zswap_pool_release(struct rcu_head *head) >> +static void __zswap_pool_release(struct work_struct *work) >> { >> - struct zswap_pool *pool = container_of(

[PULL REQUEST] i2c for 4.6

2016-04-27 Thread Wolfram Sang
Linus, I2C has one buildfix, one ABBA deadlock fix and three simple 'add ID' patches for you. Please pull. Thanks, Wolfram The following changes since commit bf16200689118d19de1b8d2a3c314fc21f5dc7bb: Linux 4.6-rc3 (2016-04-10 17:58:30 -0700) are available in the git repository at: gi

Re: [PATCH 1/3] DRA7: Fix clock data for gmac_gmii_ref_clk_div

2016-04-27 Thread Tony Lindgren
* Tony Lindgren [160427 09:39]: > * Tero Kristo [160427 04:22]: > > On 26/04/16 20:54, J.D. Schroeder wrote: > > >From: "J.D. Schroeder" > > > > > >This commit fixes the clock data inside the DRA7xx clocks device tree > > >structure for the gmac_gmii_ref_clk_div clock. This clock is actually > >

Re: [PATCH v2] net: Add Qualcomm IPC router

2016-04-27 Thread Bjorn Andersson
On Wed 27 Apr 09:22 PDT 2016, David Miller wrote: > From: Bjorn Andersson > Date: Tue, 26 Apr 2016 22:48:05 -0700 > > > + rc = qcom_smd_send(qdev->channel, skb->data, skb->len); > > I truly dislike adding networking protocols that depend upon some > piece of infrastructure that only some plat

[PATCH] Fix might sleep warning.

2016-04-27 Thread Pranay Kr. Srivastava
When an nbd request times out then the nbd_xmit_timeout tries to close the socket by taking a spin_lock over the socket. This however generates a warning on kernel_sock_shutdown. This patch fixes this issue. Pranay Kr. Srivastava (1): fix might_sleep warning on socket shutdown drivers/block/n

[PATCH] fix might_sleep warning on socket shutdown

2016-04-27 Thread Pranay Kr. Srivastava
This patch fixes the warning generated when a timeout occurs on the request and socket is closed from a non-sleep context by 1. Moving the socket closing on a timeout to nbd_thread_send 2. Make sock lock to be a mutex instead of a spin lock, since nbd_xmit_timeout doesn't need to hold it anymo

Re: [RFC PATCH v1 02/18] x86: Secure Memory Encryption (SME) build enablement

2016-04-27 Thread Borislav Petkov
On Wed, Apr 27, 2016 at 06:41:37PM +0200, Pavel Machek wrote: > Hey look, SME slowed down 30% since being initially merged into > kernel! How is that breaking bisection? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.

Re: mm: pages are not freed from lru_add_pvecs after process termination

2016-04-27 Thread Dave Hansen
On 04/27/2016 10:01 AM, Odzioba, Lukasz wrote: > Pieces of the puzzle: > A) after process termination memory is not getting freed nor accounted as free I don't think this part is necessarily a bug. As long as we have stats *somewhere*, and we really do "reclaim" them, I don't think we need to cal

Re: [PATCH] i2c: uniphier: add "\n" at the end of error log

2016-04-27 Thread Wolfram Sang
On Thu, Apr 21, 2016 at 03:12:44PM +0900, Masahiro Yamada wrote: > Just in case. > > Signed-off-by: Masahiro Yamada Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [RFC PATCH v1 02/18] x86: Secure Memory Encryption (SME) build enablement

2016-04-27 Thread Robin Murphy
On 27/04/16 17:41, Pavel Machek wrote: On Wed 2016-04-27 17:41:40, Borislav Petkov wrote: On Wed, Apr 27, 2016 at 05:30:10PM +0200, Pavel Machek wrote: Doing it early will break bisect, right? How exactly? Please do tell. Hey look, SME slowed down 30% since being initially merged into kerne

[PATCH] gitignore: Fix typo on the line about git files

2016-04-27 Thread Kyeongmin Cho
Git files are the files that we don't want to ignore even if they are dot-files. It must be "even if" but it says "even it". Signed-off-by: Kyeongmin Cho --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fd3a355..0c320bf 100644 --- a

Re: [PATCH] x86/efi-bgrt: Switch all pr_err() to pr_debug() for invalid BGRT

2016-04-27 Thread Josh Triplett
On Wed, Apr 27, 2016 at 11:20:26AM -0400, Josh Boyer wrote: > On Wed, Apr 27, 2016 at 10:57 AM, Môshe van der Sterre wrote: > > > > On 04/27/2016 03:56 PM, Josh Boyer wrote: > >> > >> On Wed, Apr 27, 2016 at 9:26 AM, Môshe van der Sterre > >> wrote: > >>> > >>> (additionally CC-ing Josh Triplett

mm: pages are not freed from lru_add_pvecs after process termination

2016-04-27 Thread Odzioba, Lukasz
Hi, I encounter a problem which I'd like to discuss here (tested on 3.10 and 4.5). While running some workloads we noticed that in case of "improper" application exit (like SIGTERM) quite a bit (a few GBs) of memory is not being reclaimed after process termination. Executing echo 1 > /proc/sys/vm

[PATCH V2 0/3] Urgent fixes for Intel CQM/MBM counting

2016-04-27 Thread Vikas Shivappa
Sending some urgent fixes for the MBM(memory b/w monitoring) which is upstreamed from 4.6-rc1. Patches apply on 4.6-rc1. CQM and MBM counters reported some incorrect counts for different scenarios like interval mode or for multiple perf instances. An updated V2 as per Peter feedback: fixing a fe

[PATCH 1/3] perf/x86/cqm,mbm: Store cqm,mbm count for all events when RMID is recycled

2016-04-27 Thread Vikas Shivappa
During RMID recycling, when an event loses the RMID we saved the counter for group leader but it was not being saved for all the events in an event group. This would lead to a situation where if 2 perf instances are counting the same PID one of them would not see the updated count which other perf

[PATCH 2/3] perf/x86/mbm: Store bytes counted for mbm during recycle

2016-04-27 Thread Vikas Shivappa
For MBM, since we report total bytes for the duration the perf counts, we need to keep the total bytes counted every time we loose an RMID. Introduce rc_count(recycle count) per event keep this history count(all bytes counted before the current RMID). If we do not keep this count separately then w

[PATCH] tpm: Fix IRQ unwind ordering in TIS

2016-04-27 Thread Jason Gunthorpe
The devm for the IRQ was placed on the chip, not the pdev. This can cause the irq to be still callable after the pdev has been cleaned up (eg priv kfree'd). Found by CONFIG_DEBUG_SHIRQ=y Reported-by: Stefan Berger Fixes: 233a065e0cd0 ("tpm: Get rid of chip->pdev") Signed-off-by: Jason Gunthorpe

[PATCH 3/3] perf/x86/mbm: Fix mbm counting when RMIDs are reused

2016-04-27 Thread Vikas Shivappa
When multiple instances of perf reuse RMID for the same PID, then we need to start counting from zero for each new event, rather than reporting the current RMID count. This patch adds a st_count(start count) 'per event' to track the same. Note that this is different from the 'per rmid' start count

Re: [PATCH] iio: tmp006: Set correct iio name

2016-04-27 Thread Crestez Dan Leonard
On 04/26/2016 06:21 PM, Daniel Baluta wrote: > On Tue, Apr 26, 2016 at 4:14 PM, Yong Li wrote: >> I am thinking if there is any application is using this incorrect >> name, the application should be fix too > > The rule is: "Don't break the userspace ABI". So, if we got this wrong > from the begi

Re: [PATCH v4 2/7] regulator: rk808: Migrate to regulator core's simplified DT parsing code

2016-04-27 Thread Mark Brown
On Tue, Apr 26, 2016 at 04:54:05PM +0200, Wadim Egorov wrote: > A common simplified DT parsing code for regulators was introduced in > commit a0c7b164ad11 ("regulator: of: Provide simplified DT parsing > method") Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH] physmap_of: ensure versatile code is reachable

2016-04-27 Thread Brian Norris
On Tue, Apr 26, 2016 at 01:04:38AM +0200, Arnd Bergmann wrote: > With the newly added physmap_of_versatile code, we get a build error > when physmap_of is in a module, because of_flash_probe_versatile > is not exported: > > ERROR: "of_flash_probe_versatile" [drivers/mtd/maps/physmap_of.ko] undefin

Re: [GIT PULL] platform-drivers-x86 for 4.6-3

2016-04-27 Thread Darren Hart
On Wed, Apr 27, 2016 at 09:08:01AM -0700, Linus Torvalds wrote: > On Tue, Apr 26, 2016 at 10:02 PM, Darren Hart wrote: > > > > Found myself not wanting to send a one patch pull request, but not wanting > > to > > wait until RC6 and possibly miss 4.6. > > > > Do you have a preference during the RC

Re: [PATCH net-next v2] taskstats: fix nl parsing in accounting/getdelays.c

2016-04-27 Thread David Miller
From: Nicolas Dichtel Date: Wed, 27 Apr 2016 17:53:08 +0200 > The type TASKSTATS_TYPE_NULL should always be ignored. > > When jumping to the next attribute, only the length of the current > attribute should be added, not the length of all nested attributes. > This last bug was not visible before

Re: [PATCH] i2c: octeon: Add workaround for broken irqs on CN3860

2016-04-27 Thread Wolfram Sang
On Wed, Apr 27, 2016 at 11:44:39AM +0200, Jan Glauber wrote: > From: David Daney > > CN3860 does not interrupt the CPU when the i2c status changes. If > we get a timeout, and see the status has in fact changed, we know we > have this problem, and drop back to polling. > > Signed-off-by: David Da

Re: [PATCH 0/2 v6] Add I2S audio support for ARC AXS10x boards

2016-04-27 Thread Mark Brown
On Wed, Apr 27, 2016 at 11:05:18AM +0100, Jose Abreu wrote: > ARC AXS10x platforms consist of a mainboard with several peripherals. > One of those peripherals is an HDMI output port controlled by the ADV7511 > transmitter. > > This patch set adds I2S audio for the AXS10x platform. I don't seem to

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-04-27 Thread Felipe Balbi
Hi, Arnd Bergmann writes: > On Wednesday 27 April 2016 16:50:19 Catalin Marinas wrote: >> On Wed, Apr 27, 2016 at 04:11:17PM +0200, Arnd Bergmann wrote: >> > On Wednesday 27 April 2016 14:59:00 Catalin Marinas wrote: >> > > >> > > I would be in favour of a dma_inherit() function as well. We cou

Re: [PATCH] can: m_can: fix bitrate setup on latest silicon

2016-04-27 Thread Florian Vallée
On 26 April 2016 at 21:11, Oliver Hartkopp wrote: > > I wonder whether this small change covers the updates made between > v3.0.1 and v3.1.0. > Probably not, I was mainly interested in fixing basic functionality here :) (ie: with the default settings we can exchange data frames with another contr

Re: [BUG] set_pte_at: racy dirty state clearing warning

2016-04-27 Thread Shi, Yang
On 4/21/2016 1:49 AM, Catalin Marinas wrote: On Wed, Apr 20, 2016 at 04:01:39PM -0700, Shi, Yang wrote: When I enable memory comact via # echo 1 > /proc/sys/vm/compact_memory I got the below WARNING: set_pte_at: racy dirty state clearing: 0x006899371bd3 -> 0x006899371fd3 [

Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number.

2016-04-27 Thread Bjorn Helgaas
On Wed, Apr 27, 2016 at 12:17:58PM +0100, Lorenzo Pieralisi wrote: > On Tue, Apr 26, 2016 at 09:26:49PM -0500, Bjorn Helgaas wrote: > > On Fri, Apr 15, 2016 at 07:06:37PM +0200, Tomasz Nowicki wrote: > > > As we now have valid PCI host bridge device reference we can > > > introduce code that is goi

Re: [PATCH] media: fix media_ioctl use-after-free when driver unbinds

2016-04-27 Thread Lars-Peter Clausen
Looks mostly good, a few comments. On 04/27/2016 05:08 AM, Shuah Khan wrote: [...] > @@ -428,7 +428,7 @@ static long media_device_ioctl(struct file *filp, > unsigned int cmd, > unsigned long arg) > { > struct media_devnode *devnode = media_devnode_data(filp); >

Re: [RFC PATCH v1 02/18] x86: Secure Memory Encryption (SME) build enablement

2016-04-27 Thread Pavel Machek
On Wed 2016-04-27 17:41:40, Borislav Petkov wrote: > On Wed, Apr 27, 2016 at 05:30:10PM +0200, Pavel Machek wrote: > > Doing it early will break bisect, right? > > How exactly? Please do tell. Hey look, SME slowed down 30% since being initially merged into kernel!

Re: Applied "regulator: rk808: remove linear range definitions with a single range" to the regulator tree

2016-04-27 Thread Mark Brown
On Wed, Apr 27, 2016 at 03:56:56PM +0200, Heiko Stübner wrote: > Am Mittwoch, 27. April 2016, 14:50:48 schrieb Mark Brown: > > Any ETA on a fix or should I revert? > I guess > [PATCH v4 1/7] regulator: rk808: Add rk808_reg_ops_ranges for LDO3 > from yesterday [0] might be the fix? At least

Re: [PATCH net-next 9/9] taskstats: use the libnl API to align nlattr on 64-bit

2016-04-27 Thread David Miller
From: Balbir Singh Date: Wed, 27 Apr 2016 22:29:22 +1000 > My concern is ABI breakage of user space. The "ABI" is that unrecognized attributes must be silently ignored by userspace.

Re: Double-Fetch bug in Linux-4.5/drivers/scsi/aacraid/commctrl.c

2016-04-27 Thread Kees Cook
On Wed, Apr 27, 2016 at 1:07 AM, Julia Lawall wrote: > > > On Wed, 27 Apr 2016, Dan Carpenter wrote: > >> On Wed, Apr 27, 2016 at 07:42:04AM +0200, Julia Lawall wrote: >> > >> > >> > On Tue, 26 Apr 2016, Kees Cook wrote: >> > >> > > On Mon, Apr 25, 2016 at 7:50 AM, Pengfei Wang >> > > wrote: >>

Applied "ASoC: wm_adsp: factor out freeing of alg regions" to the asoc tree

2016-04-27 Thread Mark Brown
The patch ASoC: wm_adsp: factor out freeing of alg regions has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Applied "ASoC: wm_adsp: free memory when unloaded or closed" to the asoc tree

2016-04-27 Thread Mark Brown
The patch ASoC: wm_adsp: free memory when unloaded or closed has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: [PATCH 1/3] DRA7: Fix clock data for gmac_gmii_ref_clk_div

2016-04-27 Thread Tony Lindgren
* Tero Kristo [160427 04:22]: > On 26/04/16 20:54, J.D. Schroeder wrote: > >From: "J.D. Schroeder" > > > >This commit fixes the clock data inside the DRA7xx clocks device tree > >structure for the gmac_gmii_ref_clk_div clock. This clock is actually > >the GMAC_MAIN_CLK and has nothing to do with

Applied "ASoC: arizona: call wm_adsp2_remove when codec driver is removed" to the asoc tree

2016-04-27 Thread Mark Brown
The patch ASoC: arizona: call wm_adsp2_remove when codec driver is removed has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "ASoC: bcm2835: Add S16_LE support via packed DMA transfers" to the asoc tree

2016-04-27 Thread Mark Brown
The patch ASoC: bcm2835: Add S16_LE support via packed DMA transfers has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: add TA5720 digital amplifier DT bindings" to the asoc tree

2016-04-27 Thread Mark Brown
The patch ASoC: add TA5720 digital amplifier DT bindings has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: dmaengine_pcm: Add support for packed transfers" to the asoc tree

2016-04-27 Thread Mark Brown
The patch ASoC: dmaengine_pcm: Add support for packed transfers has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Applied "regulator: axp20x: Fix axp22x ldo_io voltage ranges" to the regulator tree

2016-04-27 Thread Mark Brown
The patch regulator: axp20x: Fix axp22x ldo_io voltage ranges has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "regulator: axp20x: Fix axp22x ldo_io voltage ranges" to the regulator tree

2016-04-27 Thread Mark Brown
The patch regulator: axp20x: Fix axp22x ldo_io voltage ranges has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "regulator: core: Add early supply resolution for regulators" to the regulator tree

2016-04-27 Thread Mark Brown
The patch regulator: core: Add early supply resolution for regulators has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "regulator: rk808: Add rk808_reg_ops_ranges for LDO3" to the regulator tree

2016-04-27 Thread Mark Brown
The patch regulator: rk808: Add rk808_reg_ops_ranges for LDO3 has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "ASoC: atmel_ssc_dai: read DSP mode A data on rising edges of bclk" to the asoc tree

2016-04-27 Thread Mark Brown
The patch ASoC: atmel_ssc_dai: read DSP mode A data on rising edges of bclk has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision

2016-04-27 Thread Dall, Betty
On 04/26/2016 02:39 PM, Rafael J. Wysocki wrote: > On Wednesday, April 13, 2016 08:48:14 AM Betty Dall wrote: >> The ACPI _HRV object on the device is used to supply Linux with >> the device's hardware revision. This is an optional object. Add >> sysfs support for the _HRV object if it exists on th

[for-next][PATCH 0/5] tracing: More updates for 4.7

2016-04-27 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 4afe6495e5cb3c352d95f07512cbb227e607e2ce Dan Carpenter (1): tracing: checking for NULL instead of IS_ERR() Steven Rostedt (Red Hat) (1): tracing: Do not inherit event-fork option for instance

[PATCH 03/12] staging/android: move sync_file functions comments to sync.c

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan To keep comments in line with drivers/dma-buf/ move all sync_file comments to sync.c. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 26 +- drivers/staging/android/sync.h | 31 --- 2 files changed, 2

[PATCH 12/12] Documentation: add Sync File doc

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan Add sync_file documentation on dma-buf-sync_file.txt --- Documentation/dma-buf-sync_file.txt | 65 + 1 file changed, 65 insertions(+) create mode 100644 Documentation/dma-buf-sync_file.txt diff --git a/Documentation/dma-buf-sync_file.tx

[PATCH 10/12] dma-buf/sync_file: de-stage sync_file

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan sync_file is useful to connect one or more fences to the file. The file is used by userspace to track fences between drivers that share DMA bufs. Signed-off-by: Gustavo Padovan --- drivers/Kconfig | 2 ++ drivers/dma-buf/Kconfig

[PATCH 04/12] staging/android: make sync_file_merge() static

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan There is no plan in the near future to use this function outside of this file so keep it as static. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 4 ++-- drivers/staging/android/sync.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --

[GIT PULL] workqueue fixes for v4.6-rc5

2016-04-27 Thread Tejun Heo
Hello, Linus. So, it turns out we had a silly bug in the most fundamental part of workqueue for a very long time. AFAICS, this dates back to pre-git era and has quite likely been there from the time workqueue was first introduced. A work item uses its PENDING bit to synchronize multiple queuers.

[PATCH 08/12] staging/android: style fix: alignment to match the open parenthesis

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan Fix checks reported by checkpatch.pl. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync_file.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/android/sync_file.c b/drivers/staging/android/sync_file.c index 5d77c0

[PATCH 11/12] Documentation: include sync_file into DocBook

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan Add entry in device-drivers.tmpl for sync_file documentation. Signed-off-by: Gustavo Padovan --- Documentation/DocBook/device-drivers.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drive

[PATCH 07/12] staging/android: improve documentation for sync_file

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan num_fences was missing a colon mark and sync_file_create() now have better description. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync_file.c | 3 ++- drivers/staging/android/sync_file.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 05/12] staging/android: make sync_file_fdget() static

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan There is no plan in the near future to use this function outside of this file so keep it as static. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 3 +-- drivers/staging/android/sync.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 06/12] staging/android: prepare sync_file for de-staging

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan Move its functions and structs to their own file. Also moves function's docs to the .c file. Signed-off-by: Gustavo Padovan --- drivers/staging/android/Makefile | 2 +- drivers/staging/android/sync.c | 373 --- drive

[for-next][PATCH 4/5] tracing: Handle tracing_map_alloc_elts() error path correctly

2016-04-27 Thread Steven Rostedt
From: Tom Zanussi If tracing_map_elt_alloc() fails, it will return ERR_PTR() instead of NULL, so change the check to IS_ERROR(). We also need to set the failed entry in the map->elts array to NULL instead of ERR_PTR() so tracing_map_free_elts() doesn't try freeing an ERR_PTR(). tracing_map_free

[for-next][PATCH 5/5] tracing: Dont use the address of the buffer array name in copy_from_user

2016-04-27 Thread Steven Rostedt
From: Wang Xiaoqiang With the following code snippet: ... char buf[64]; ... if (copy_from_user(&buf, ubuf, cnt)) ... Even though the value of "&buf" equals "buf", but there is no need to get the address of the "buf" again. Use "buf" instead of "&buf". Link: http://lkml.kern

[for-next][PATCH 1/5] tracing: Do not inherit event-fork option for instances

2016-04-27 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" As the event-fork option requires doing work when enabled and disabled, it can not be passed down to created instances. The instance must clear this flag when it is created, and must clear it when its removed. As more options may be created with this need, a macr

[for-next][PATCH 3/5] tracing: Add check for NULL event field when creating hist field

2016-04-27 Thread Steven Rostedt
From: Tom Zanussi Smatch flagged create_hist_field() as possibly being able to dereference a NULL pointer, although the current code exits in all cases where the event field could be NULL, so it's not actually a problem. Still, to prevent future changes to the code from overlooking new cases, ma

[for-next][PATCH 2/5] tracing: checking for NULL instead of IS_ERR()

2016-04-27 Thread Steven Rostedt
From: Dan Carpenter tracing_map_elt_alloc() returns ERR_PTRs on error, never NULL. Fixes: 08d43a5fa063 ('tracing: Add lock-free tracing_map') Link: http://lkml.kernel.org/r/20160423102347.GA11136@mwanda Acked-by: Tom Zanussi Signed-off-by: Dan Carpenter Signed-off-by: Steven Rostedt --- ker

Re: [PATCH 1/2] regulator: core: Allow use of "status = disabled" in regulator dts nodes

2016-04-27 Thread Mark Brown
On Wed, Apr 27, 2016 at 05:54:48PM +0200, Hans de Goede wrote: > On 27-04-16 17:52, Hans de Goede wrote: > >On 27-04-16 17:50, Maxime Ripard wrote: > >>On Wed, Apr 27, 2016 at 04:01:08PM +0100, Mark Brown wrote: > >>>To repeat you really shouldn't have *any* DT nodes for regulators that > >>>aren'

[PATCH 01/12] staging/android: remove redundant comments on sync_merge_data

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan struct sync_merge_data already have documentation on top of the struct definition. No need to duplicate it. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst --- drivers/staging/android/uapi/sync.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions

Re: [PATCH v2 3/3] regulator: axp20x: Fix axp22x ldo_io registration error on cold boot

2016-04-27 Thread Mark Brown
On Wed, Apr 27, 2016 at 06:04:53PM +0200, Hans de Goede wrote: > On 27-04-16 17:48, Mark Brown wrote: > >Well, I guess someone can just measure what happens? > What happens will likely depend on the pmic input voltage, > which can be either 5V from a charger / usb or can be approx > 3.8V from a l

[PATCH 09/12] dma-buf/sync_file: de-stage sync_file headers

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan Move sync_file headers file to include/ dir. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.h | 4 ++-- drivers/staging/android/sync_debug.c | 2 +- drivers/staging/android/sync_file.c

Re: [PATCH] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision

2016-04-27 Thread Dall, Betty
On 04/26/2016 02:33 PM, Rafael J. Wysocki wrote: > On Wednesday, April 13, 2016 08:48:14 AM Betty Dall wrote: >> The ACPI _HRV object on the device is used to supply Linux with >> the device's hardware revision. This is an optional object. Add >> sysfs support for the _HRV object if it exists on th

Re: [tpmdd-devel] [PATCH v11 0/4] Multi-instance vTPM proxy driver

2016-04-27 Thread Stefan Berger
On 04/27/2016 08:56 AM, Jarkko Sakkinen wrote: On Tue, Apr 26, 2016 at 07:30:26AM -0400, Stefan Berger wrote: On 04/26/2016 05:28 AM, Jarkko Sakkinen wrote: On Fri, Apr 22, 2016 at 07:54:27PM +0300, Jarkko Sakkinen wrote: On Mon, Apr 18, 2016 at 01:26:12PM -0400, Stefan Berger wrote: The foll

[PATCH 02/12] staging/android: drop sync_file_install() and sync_file_put()

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan These two functions are just wrappers for one line functions, they call fd_install() and fput() respectively, so just get rid of them and use fd_install() and fput() directly for more simplicity. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 20

[PATCH 00/12] De-stage Sync File Framework

2016-04-27 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This patchset sits on top of Sync ABI Rework v13: https://www.spinics.net/lists/dri-devel/msg105667.html The first eight clean up and prepare sync_file for de-staging. The last four patches do the de-staging, moving files to drivers/dma-buf/ and include/linux/ plus ad

Re: [PATCH/RFC v3] perf core: Allow setting up max frame stack depth via sysctl

2016-04-27 Thread David Ahern
On 4/27/16 10:09 AM, Frederic Weisbecker wrote: I first thought that this should be a tunable per event instead of a global sysctl Yeah, I'll work on that too. There is no rush though. The sysfs limit will probably be enough for most users. Unless someone requested it? I have. I spent ti

Re: [PATCH v1] ARM: clocksource: make ARM_GLOBAL_TIMER selectable

2016-04-27 Thread Tony Lindgren
* Grygorii Strashko [160427 06:32]: > Hi Russell, > > On 04/27/2016 01:41 PM, Russell King - ARM Linux wrote: > > On Tue, Apr 26, 2016 at 10:35:08PM +0300, Grygorii Strashko wrote: > >> On 04/26/2016 07:02 PM, Liviu Dudau wrote: > >>> Well, SoC-B has the GT *and* the DT node, so what is the probl

Re: [PATCH] ASoC: atmel_ssc_dai: note buggy I2S support when the codec masters LRCLK

2016-04-27 Thread Mark Brown
On Wed, Apr 27, 2016 at 11:06:33AM +0200, Peter Rosin wrote: > While the start condition is correct for the left channel word in the I2S > case, it is not correct that the right channel word follows immediately > after the left channel word. The start of the right channel word should > be triggere

Re: [PATCH v2] net: Add Qualcomm IPC router

2016-04-27 Thread David Miller
From: Bjorn Andersson Date: Tue, 26 Apr 2016 22:48:05 -0700 > + rc = qcom_smd_send(qdev->channel, skb->data, skb->len); I truly dislike adding networking protocols that depend upon some piece of infrastructure that only some platforms can enable, it's even worse when that set of platforms do

<    1   2   3   4   5   6   7   8   9   10   >