Re: [PATCH 0/5] Initial support for polled IO

2015-11-07 Thread Christoph Hellwig
Hi Jens, this looks great. We're seeing some similarly good results. I don't think this is actually usable for applications as-is, but it's a) very useful for benchmarking, and b) allows us to develop the proper interfaces on top. So let's ship it! Acked-by: Christoph Hellwig --

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-11-07 Thread Dan Williams
On Sat, Nov 7, 2015 at 12:38 AM, Thomas Gleixner wrote: > On Sat, 7 Nov 2015, Dan Williams wrote: >> On Fri, Nov 6, 2015 at 10:50 PM, Thomas Gleixner wrote: >> > On Fri, 6 Nov 2015, H. Peter Anvin wrote: >> >> On 11/06/15 15:17, Dan Williams wrote: >> >>

Re: [PATCH] of: Provide static inline function for of_translate_address if needed

2015-11-07 Thread Arnd Bergmann
On Friday 06 November 2015 19:28:22 Guenter Roeck wrote: > If OF_ADDRESS is not configured, builds can fail with errors such as > > drivers/net/ethernet/hisilicon/hns_mdio.c: > In function 'hns_mdio_bus_name': > drivers/net/ethernet/hisilicon/hns_mdio.c:411:3: > error: implicit

Re: [PATCH] sound: fix check for error condition of register_chrdev()

2015-11-07 Thread Takashi Iwai
On Fri, 06 Nov 2015 23:56:05 +0100, Alexey Khoroshilov wrote: > > init_oss_soundcore() compares returned value of register_chrdev() > with -1, while other error codes can be returned. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov

[PATCH v2 03/19] clocksource: Add NPS400 timers driver

2015-11-07 Thread Noam Camus
From: Noam Camus Add internal tick generator which is shared by all cores. Each cluster of cores view it through dedicated address. This is used for SMP system where all CPUs synced by same clock source. Signed-off-by: Noam Camus Cc: Daniel Lezcano

Re: [BUG, PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-07 Thread Jarkko Sakkinen
On Fri, Nov 06, 2015 at 06:55:18PM -0800, Jeremiah Mahler wrote: > Jarkko, > > On Fri, Oct 16, 2015 at 09:40:22PM +0300, Jarkko Sakkinen wrote: > > Added a new function __compat_only_sysfs_link_group_to_kobj() that adds > > a symlink from attribute or group to a kobject. This needed for > >

[PATCH v2 04/19] irqchip: add nps Internal and external irqchips

2015-11-07 Thread Noam Camus
From: Noam Camus Adding EZchip NPS400 support. NPS internal interrupts are internally handled at Multi Thread Manager (MTM) that is signaled for deactivating an interrupt. External interrupts is handled also at Global Interrupt Controller (GIC) e.g. serial and network devices.

[PATCH v2 05/19] ARC: Set vmalloc size from configuration

2015-11-07 Thread Noam Camus
From: Noam Camus User space use lower 2G of the virtual address space. However kernel steals upper 512M of this space. This stolen space is used partially for vmalloc and the rest serves as gutter between kernel and user space. The vmalloc size is depend on NR_CPUS since "per

[PATCH v2 02/19] ARC: [plat-eznps] define IPI_IRQ

2015-11-07 Thread Noam Camus
From: Noam Camus We add IPI irq definition to be used later by any irqchip such NPS400 IC. Signed-off-by: Noam Camus --- arch/arc/include/asm/irq.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arc/include/asm/irq.h

[PATCH v2 00/19] eznps a new ARC platform

2015-11-07 Thread Noam Camus
From: Noam Camus v2: 1) Remove out of tree platform include path 2) Move atomic/bitop/cmpxchg for platform to end. Remove macro duplication. Fix some bad implementation. 3) define cpu_relax_lowlatency() for platform. 4) rename init_irq_cpu()

[PATCH v2 01/19] Documentation: Add EZchip vendor to binding list

2015-11-07 Thread Noam Camus
From: Noam Camus Add EZchip to vendor prefixes list. EZchip introduce the NPS platform for the ARC architecture. Signed-off-by: Noam Camus Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc:

[PATCH v2 06/19] ARC: rwlock: disable interrupts in !LLSC variant

2015-11-07 Thread Noam Camus
From: Noam Camus If we hold rwlock and interrupt occures we may end up spinning on it for ever during softirq. Note that this lock is an internal lock and since the lock is free to be used from any context, the lock needs to be IRQ-safe. Below you may see an example for

Re: [PATCH 1/3] Staging: lustre: module: Replace function calls

2015-11-07 Thread Dan Carpenter
On Fri, Nov 06, 2015 at 10:04:41PM +, Simmons, James A. wrote: > >From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > >Behalf Of Shivani Bhardwaj > >Sent: Friday, November 06, 2015 12:18 PM > >To: gre...@linuxfoundation.org > >Cc: oleg.dro...@intel.com;

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-07 Thread Laurent Vivier
Le 07/11/2015 00:32, Segher Boessenkool a écrit : > On Fri, Nov 06, 2015 at 04:55:49PM -0600, Segher Boessenkool wrote: >> On Fri, Nov 06, 2015 at 03:09:40PM -0600, Scott Wood wrote: >>> Why is GCC building ppc64 object files but telling the linker --oformat >>> elf32- >>> powerpcle? Are

[PATCH] tree wide: Use kvfree() than conditional kfree()/vfree()

2015-11-07 Thread Tetsuo Handa
There are many locations that do if (memory_was_allocated_by_vmalloc) vfree(ptr); else kfree(ptr); but kvfree() can handle both kmalloc()ed memory and vmalloc()ed memory using is_vmalloc_addr(). Unless callers have special reasons, we can replace this branch with kvfree().

Re: [PATCHv4 1/6] msi: Relax msi_domain_alloc() to support parentless MSI irqdomains

2015-11-07 Thread Thomas Gleixner
On Fri, 6 Nov 2015, Keith Busch wrote: > From: Liu Jiang ... > Signed-off-by: Jiang Liu > Signed-off-by: Liu Jiang Hehehe. Let me read that from/sob chain: Liu wrote the patch and then handed it over to Jiang

Re: [PATCHv4 5/6] x86/pci: Initial commit for new VMD device driver

2015-11-07 Thread Thomas Gleixner
Keith, On Fri, 6 Nov 2015, Keith Busch wrote: > + > +static DEFINE_SPINLOCK(list_lock); Can you please make that DEFINE_RAW_SPINLOCK as it nests into the irq descriptor lock. > + > +struct vmd_irq { > + struct list_headnode; > + struct rcu_head rcu;/* rcu callback

Re: [GIT PULL] MFD for v4.4

2015-11-07 Thread Lee Jones
On Fri, 06 Nov 2015, Linus Torvalds wrote: > On Fri, Nov 6, 2015 at 12:04 AM, Lee Jones wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git > > tags/mfd-for-linus-4.4 > > Ugh. > > Maintainers, *please* check new warnings you introduce. We don't

Re: [PATCH v2 2/3] tty: Implement default fallback serial8250_rs485_config

2015-11-07 Thread Peter Hurley
On 11/07/2015 08:51 AM, Matwey V. Kornilov wrote: > 2015-11-07 15:29 GMT+03:00 Peter Hurley : >> Hi Matwey, >> >> On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: >>> When 8250 driver doesn't have its own hardware RS485 support and doesn't >>> want to override

[PATCH 1/7] A couple of generated files

2015-11-07 Thread Sandy Harris
Signed-off-by: Sandy Harris --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index fd3a355..dd80bfd 100644 --- a/.gitignore +++ b/.gitignore @@ -112,3 +112,6 @@ all.config # Kdevelop4 *.kdev4 + +certs/x509_certificate_list

[PATCH 3/7] Initialise pools randomly if CONFIG_RANDOM_INIT=y

2015-11-07 Thread Sandy Harris
Signed-off-by: Sandy Harris --- drivers/char/random.c | 50 ++ 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index d0da5d8..e222e0f 100644 ---

Changes to underlying filesystems in overlayfs

2015-11-07 Thread Arseny Sher
Hi all, I have some questions regarding making changes to underlying filesystems in overlayfs. From the documentation: "Changes to the underlying filesystems while part of a mounted overlay filesystem are not allowed. If the underlying filesystem is changed, the behavior of the overlay is

Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context

2015-11-07 Thread Alan Stern
On Fri, 6 Nov 2015, Doug Anderson wrote: > You're talking to someone who has only been looking at the details of > USB for about 2 days now. :-P ...I'm trying to grok all of that, but > I'm not sure I got it all... > > I will say that "URB_ISO_ASAP" is not referenced anywhere in dwc2. >

[PATCH] dwc_eth_qos: Delete an unnecessary check before the function call "of_node_put"

2015-11-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Nov 2015 16:30:34 +0100 The of_node_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Peter Hurley
On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: > Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have > hardware support of line direction control. Since capabilities are not exported to user-space, how will user-space know if the port only provides emulated 485 (eg., where

Re: [PATCH v2 2/3] tty: Implement default fallback serial8250_rs485_config

2015-11-07 Thread Matwey V. Kornilov
2015-11-07 15:29 GMT+03:00 Peter Hurley : > Hi Matwey, > > On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: >> When 8250 driver doesn't have its own hardware RS485 support and doesn't >> want to override rs485_config callback, then default >> serial8250_rs485_config is

Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Peter Hurley
On 11/07/2015 07:39 AM, Matwey V. Kornilov wrote: > 2015-11-07 15:22 GMT+03:00 Peter Hurley : >> On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: >>> Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have >>> hardware support of line direction control. >>

Re: [PATCH v2 5/9] thermal: rockchip: Add the flag for adc value increment or decrement

2015-11-07 Thread Caesar Wang
Hello Eduardo, 在 2015年11月07日 03:11, Eduardo Valentin 写道: On Thu, Nov 05, 2015 at 01:18:01PM +0800, Caesar Wang wrote: The conversion table has the adc value and temperature. In fact, the adc value only has the increment or decrement mode in conversion table. Moment, we can add the flag to be

Re: [PATCH v2 03/19] clocksource: Add NPS400 timers driver

2015-11-07 Thread Thomas Gleixner
On Sat, 7 Nov 2015, Noam Camus wrote: > +/* > + * To get the value from the Global Timer Counter register proceed as > follows: > + * 1. Read the upper 32-bit timer counter register > + * 2. Read the lower 32-bit timer counter register > + * 3. Read the upper 32-bit timer counter register again.

Re: [PATCH v2 04/19] irqchip: add nps Internal and external irqchips

2015-11-07 Thread Thomas Gleixner
On Sat, 7 Nov 2015, Noam Camus wrote: > +#define NPS_MSU_EN_CFG 0x80 > + > +/* Messaging and Scheduling Unit: > + * Provides message management for a CPU cluster. > + */ > +static void __init eznps_configure_msu(void) > +{ > + int cpu; > + struct nps_host_reg_msu_en_cfg { > +

Re: [PATCH 04/14] genirq: Add new struct ipi_mask and helper functions

2015-11-07 Thread Thomas Gleixner
On Tue, 3 Nov 2015, Qais Yousef wrote: > /** > + * struct ipi_mask - IPI mask information > + * @nbits: number of bits in cpumask > + * @global: whether the mask is SMP IPI ie: subset of cpu_possible_mask or > not > + * @cpumask: cpumask to be used when the ipi_mask is global > + * @cpu_bitmap:

WARNING: CPU: 0 PID: 1 at fs/block_dev.c:58 __blkdev_put+0x16f/0x1b0()

2015-11-07 Thread Richard Weinberger
Hi! While playing with the Linux kernel library I run into this warning. Root cause of the warning is that the backing file on the host side is locked an therefore all IO on it results into -EIO. The question is whether ext4/jbd2 should abort earlier or not. The WARN_ON_ONCE in

Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to irq core

2015-11-07 Thread Thomas Gleixner
On Tue, 3 Nov 2015, Qais Yousef wrote: > Add a generic mechanism to dynamically allocate an IPI. > > With this change the user can call irq_reserve_ipi() to dynamically allocate > an > IPI and use the associated virq to send one to 1 or more cpus. Please move that to ipi.c as well. Thanks,

Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to irq core

2015-11-07 Thread Thomas Gleixner
On Tue, 3 Nov 2015, Qais Yousef wrote: > + > + /* always allocate a virq per cpu */ > + nr_irqs = ipi_mask_weight(dest); That's not really a good assumption. Not all architectures need seperate interrupt numbers / descriptors because they can allocate from a per cpu interrupt space. We

Re: [PATCH 3/4] nvdimm: Add IOCTL pass thru

2015-11-07 Thread Dmitry Krivenok
> + if (IS_ENABLED(CONFIG_ACPI_NFIT_DEBUG)) { > + dev_dbg(dev, "%s:%s cmd: %d input length: %d\n", __func__, > + dimm_name, cmd, in_buf.buffer.length); > + print_hex_dump_debug("cmd: ", DUMP_PREFIX_OFFSET, 4, > +

Re: [dm-devel] [PATCH 0/4] dm verity: add support for error correction

2015-11-07 Thread Mikulas Patocka
On Fri, 6 Nov 2015, Sami Tolvanen wrote: > On Fri, Nov 06, 2015 at 08:20:15PM +0100, Zdenek Kabelac wrote: > > i.e. you have 1G of space - you want to give 250MB as 'redundancy' - > > so create 4 partition > > We cannot afford to set aside 25% of read-only partition space for You can have

[PATCH] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq

2015-11-07 Thread Punit Vara
This patch is to the linux_wlan.c file that fixes up break found during make drivers/staging/wilc1000/linux_wlan.o Patch add following things to file : -struct wilc *wilc declaration -init_irq declaration -At preprocessor (!defined WILC_SDIO) to defination of init_irq -At preprocessor (!defined

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-07 Thread Laurent Vivier
Le 07/11/2015 00:12, Benjamin Herrenschmidt a écrit : > On Fri, 2015-11-06 at 15:09 -0600, Scott Wood wrote: >> On Thu, 2015-11-05 at 12:47 +0100, Laurent Vivier wrote: >>> When I try to cross compile a ppc64 kernel, it generally >>> fails on the VDSO stage. This is true for powerpc64 cross- >>>

Re: [BUG, PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-07 Thread Jarkko Sakkinen
On Sat, Nov 07, 2015 at 12:55:43PM +0200, Jarkko Sakkinen wrote: > On Fri, Nov 06, 2015 at 06:55:18PM -0800, Jeremiah Mahler wrote: > > Jarkko, > > > > On Fri, Oct 16, 2015 at 09:40:22PM +0300, Jarkko Sakkinen wrote: > > > Added a new function __compat_only_sysfs_link_group_to_kobj() that adds >

Re: [PATCH 3/3] PCI: pcie-rcar: Add support for R-Car H3.

2015-11-07 Thread Wolfram Sang
On Mon, Nov 02, 2015 at 04:36:15PM +, Phil Edworthy wrote: > From: Harunobu Kurokawa > > R-Car H3 device is r8a7795 > > Signed-off-by: Harunobu Kurokawa Acked-by: Wolfram Sang Tested-by:

Re: [PATCH 1/3] PCI: pcie-rcar: Convert to DT resource parsing API

2015-11-07 Thread Wolfram Sang
On Mon, Nov 02, 2015 at 04:36:13PM +, Phil Edworthy wrote: > The main purpose of this change is to avoid calling pci_ioremap_io() as > this is not available on arm64. However, instead of doing the range passing > in this driver we can utilise of_pci_get_host_bridge_resources(). > > This is

Re: [PATCH] mfd: wm8994: Add module description/author/license information

2015-11-07 Thread kbuild test robot
Hi Peter, [auto build test ERROR on: ljones-mfd/for-mfd-next] [also build test ERROR on: v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Peter-Robinson/mfd-wm8994-Add-module-description-author-license-information/20151107-203151 base: https://git.kernel.org/pub/scm/linux

Re: [PATCH] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq

2015-11-07 Thread Dan Carpenter
On Sat, Nov 07, 2015 at 05:01:49PM +0530, Punit Vara wrote: > int wilc1000_wlan_init(struct net_device *dev, perInterface_wlan_t *p_nic) > { > @@ -1791,6 +1794,7 @@ int wilc_netdev_init(struct wilc **wilc) > /*The 1st function called after module inserted*/ > static int __init

Re: [PATCH] PCI: pcie-rcar: Fix OF node passed to MSI irq domain

2015-11-07 Thread Wolfram Sang
On Tue, Nov 03, 2015 at 09:28:19AM +, Phil Edworthy wrote: > The OF node passed to irq_domain_add_linear() should be a > pointer to interrupt controller's device tree node, or NULL, > but not the PCI controller's node. > > This fixes an oops in msi_domain_alloc_irqs() when it tries > to call

[PATCH] ethernet-synopsys: Delete an unnecessary check before of_node_put()

2015-11-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Nov 2015 15:10:29 +0100 The of_node_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH 10/14] irqchip/mips-gic: Add a IPI hierarchy domain

2015-11-07 Thread Thomas Gleixner
On Tue, 3 Nov 2015, Qais Yousef wrote: > Add a new ipi domain on top of the normal domain. > > MIPS GIC now supports dynamic allocation of an IPI. I don't think you make use of the power of hierarchical irq domains. You just whacked the current code into submission. Let me explain it to you

Re: [PATCH] ethernet-synopsys: Delete an unnecessary check before of_node_put()

2015-11-07 Thread David Miller
From: SF Markus Elfring Date: Sat, 7 Nov 2015 15:15:24 +0100 > From: Markus Elfring > Date: Sat, 7 Nov 2015 15:10:29 +0100 > > The of_node_put() function tests whether its argument is NULL and then > returns immediately. Thus the

[PATCH] Staging: iio: Fix some character line limit coding style issues

2015-11-07 Thread Evan Hosseini
Resolved some character line limit warnings emitted by the checkpatch.pl tool in some ADI accelerometer modules. Signed-off-by: Evan Hosseini --- drivers/staging/iio/accel/adis16201.h | 157 drivers/staging/iio/accel/adis16203.h | 135

[PATCH] staging: lustre: obdclass: Move extern declarations to header files

2015-11-07 Thread Amitoj Kaur Chawla
This patch moves extern declarations to respective header files. This patch also removes extern keyword from function declarations since functions have the extern specifier by default. Signed-off-by: Amitoj Kaur Chawla ---

Re: [PATCH 0/4] dm verity: add support for error correction

2015-11-07 Thread Mikulas Patocka
On Fri, 6 Nov 2015, Sami Tolvanen wrote: > On Fri, Nov 06, 2015 at 12:23:29PM -0500, Mikulas Patocka wrote: > > I'm also wondering what is this patch useful for. Disks and flash > > controllers have their own error detection and correction > > I think I addressed this earlier. Some storage

Re: [PATCH v2 0/9] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-07 Thread Caesar Wang
Hi Eduardo, 在 2015年11月07日 02:47, Eduardo Valentin 写道: Caesar, On Thu, Nov 05, 2015 at 01:17:56PM +0800, Caesar Wang wrote: This series patchs are working for RK3368 on Rockchip platform. Good to see the perseverance! :-) I will send th patch [4-6] next version and another pacth(fix the

Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-07 Thread Laurent Vivier
Le 07/11/2015 00:24, Scott Wood a écrit : > On Fri, 2015-11-06 at 23:22 +0100, Laurent Vivier wrote: >> Le 06/11/2015 22:09, Scott Wood a écrit : >>> On Thu, 2015-11-05 at 12:47 +0100, Laurent Vivier wrote: When I try to cross compile a ppc64 kernel, it generally fails on the VDSO

Re: [PATCH 06/14] genirq: Add struct ipi_mapping and its helper functions

2015-11-07 Thread Thomas Gleixner
On Tue, 3 Nov 2015, Qais Yousef wrote: > struct ipi_mapping will provide a mechanism for irqchip code to fill out the > mapping at reservation and to look it up when sending. I'm fine with the code, but can you please move it to w new file, i.e. kernel/irq/ipi.c and make the compilation depend

Re: [PATCH 09/14] genirq: Implement irq_send_ipi() to be used by drivers

2015-11-07 Thread Thomas Gleixner
On Tue, 3 Nov 2015, Qais Yousef wrote: > --- a/kernel/irq/manage.c > +++ b/kernel/irq/manage.c > @@ -2013,7 +2013,6 @@ EXPORT_SYMBOL_GPL(irq_set_irqchip_state); > struct ipi_mapping *irq_alloc_ipi_mapping(unsigned int nr_cpus) > { > struct ipi_mapping *map; > - int i; That one wants

Re: [RFC PATCH 19/28] lkl tools: host lib: virtio block device

2015-11-07 Thread Richard Weinberger
On Tue, Nov 3, 2015 at 9:20 PM, Octavian Purdila wrote: > Host independent implementation for virtio block devices. The host > dependent part of the host library must provide an implementation for > lkl_dev_block_ops. > > Disks can be added to the LKL configuration via

Re: [PATCH v2 2/3] tty: Implement default fallback serial8250_rs485_config

2015-11-07 Thread Peter Hurley
Hi Matwey, On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: > When 8250 driver doesn't have its own hardware RS485 support and doesn't > want to override rs485_config callback, then default > serial8250_rs485_config is used. It just stores supplied by user-space > config. > > Signed-off-by:

[PATCH] mfd: wm8994: Add module description/author/license information

2015-11-07 Thread Peter Robinson
When compiled as a module we get a tainted kernel because of the lack of the module information and the following errors. Add details to fix the issue when wm8994_irq/wm8994_regmap are modular. wm8994_irq: module license 'unspecified' taints kernel. wm8994_irq: Unknown symbol

Re: [PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Matwey V. Kornilov
2015-11-07 15:22 GMT+03:00 Peter Hurley : > On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: >> Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have >> hardware support of line direction control. > > Since capabilities are not exported to user-space, how

Re: [PATCH] dmaengine: pl330: Fix race in residue reporting

2015-11-07 Thread Krzysztof Kozlowski
W dniu 06.11.2015 o 20:11, Sjoerd Simons pisze: > When a transfer completes there is a small window between the descriptor > being unset as the current active one in the thread and it being marked > as done. This causes the residue to be incorrectly set when > pl330_tx_status is run in that

Re: [PATCH v10 1/5] configfs: Allow dynamic group creation

2015-11-07 Thread Christoph Hellwig
On Fri, Nov 06, 2015 at 05:38:53PM +, Jonathan Cameron wrote: > Yup. I'd have no objection to a direct request to Linus to take this as a one > off. I'd appreciate if you could give it a try. > Or we can do an immutable branch and pull it into all relevant subtrees so all > users can hit

Re: [PATCH v2 6/9] thermal: rockchip: Support the RK3368 SoCs in thermal drivers

2015-11-07 Thread Caesar Wang
在 2015年11月07日 03:39, Andy Shevchenko 写道: On Thu, Nov 5, 2015 at 7:18 AM, Caesar Wang wrote: The RK3368 SoCs support to 2 channel TS-ADC, the temperature criteria of each channel can be configurable. The system has two Temperature Sensors, channel 0 is for CPU, and

[PATCH 4/7] Different version of driver using hash from AES-GCM Compiled if CONFIG_RANDOM_GCM=y

2015-11-07 Thread Sandy Harris
Signed-off-by: Sandy Harris --- drivers/char/random_gcm.c | 3716 + 1 file changed, 3716 insertions(+) create mode 100644 drivers/char/random_gcm.c diff --git a/drivers/char/random_gcm.c b/drivers/char/random_gcm.c new file

[PATCH 6/7] Produces generated/random_init.h for random driver

2015-11-07 Thread Sandy Harris
Signed-off-by: Sandy Harris --- scripts/gen_random.c | 260 +++ 1 file changed, 260 insertions(+) create mode 100644 scripts/gen_random.c diff --git a/scripts/gen_random.c b/scripts/gen_random.c new file mode 100644 index

[PATCH 5/7] Conditionals for CONFIG_RANDOM_INIT and CONFIG_RANDOM_GCM

2015-11-07 Thread Sandy Harris
Signed-off-by: Sandy Harris --- drivers/char/Makefile | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/drivers/char/Makefile b/drivers/char/Makefile index d8a7579..7d095e5 100644 --- a/drivers/char/Makefile +++

[PATCH 7/7] Create generated/random_init.h, used by random driver

2015-11-07 Thread Sandy Harris
Signed-off-by: Sandy Harris --- Kbuild | 21 + scripts/Makefile | 1 + 2 files changed, 22 insertions(+) diff --git a/Kbuild b/Kbuild index f55cefd..494c665 100644 --- a/Kbuild +++ b/Kbuild @@ -5,6 +5,7 @@ # 2) Generate timeconst.h # 3)

[PATCH 2/7] Two new CONFIG options for the random(4) driver

2015-11-07 Thread Sandy Harris
Signed-off-by: Sandy Harris --- drivers/char/Kconfig | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index a043107..0e0e6b5 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -603,5

Re: [PATCH v2 4/9] thermal: rockchip: improve the conversion function

2015-11-07 Thread Caesar Wang
Hello Eduardo, 在 2015年11月07日 03:00, Eduardo Valentin 写道: Hello Caesar, On Thu, Nov 05, 2015 at 01:18:00PM +0800, Caesar Wang wrote: We should make the conversion table in as a parameter since the different SoCs have the different conversionion table. Signed-off-by: Caesar Wang

Re: [PATCH 9/9] Staging: lustre: llite_internal: Remove function prototype

2015-11-07 Thread Shivani Bhardwaj
On Sat, Nov 7, 2015 at 4:15 PM, Dan Carpenter wrote: > This one should have been folded in with the last one. Really the whole > series could have been sent as one patch, but especially the last two > should have been folded together. > > regards, > dan carpenter >

Re: [dm-devel] [PATCH 0/4] dm verity: add support for error correction

2015-11-07 Thread Mikulas Patocka
On Fri, 6 Nov 2015, Sami Tolvanen wrote: > On Fri, Nov 06, 2015 at 10:05:24PM +0100, Zdenek Kabelac wrote: > > So how do you want to correctly 'restore' missing full sectors > > with just 0.8% data overhead ?? > > We use interleaving. Each byte in a 4k block is part of a different >

[PATCH 2/5] Staging: lustre: statahead: Remove sa_first_received_entry wrapper

2015-11-07 Thread Shivani Bhardwaj
Remove the function sa_first_received_entry() and replace all its calls with the function list_entry() that it wraps. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/statahead.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff

Re: [PATCH 00/13] High performance balancing logic for big.LITTLE

2015-11-07 Thread Peter Zijlstra
No, no, no, no. This is horrible and exactly what I've been telling people I do not want to see. This is very arch specific scheduler code, and very badly done. It doesn't even call the groups big and little, it goes so far as to put a7 and a15 in sched domain member names. It doesn't get

[no subject]

2015-11-07 Thread Denis Kirjanov
Hi, kernel v4.3-3155-g1b1050c, found the following WARNING at boot time: [ 15.363908] Freeing unused kernel memory: 628K (880001963000 - 880001a0) [ 15.370510] Freeing unused kernel memory: 1744K (880001e4c000 - 88000200) [ 15.380507] [ cut here

[PATCH 1/5] Staging: lustre: statahead: Remove ll_sa_entry_unhashed wrapper

2015-11-07 Thread Shivani Bhardwaj
Remove the function ll_sa_entry_unhashed() and replace all its calls with the function list_empty() that it wrapped. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/statahead.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

[PATCH 3/5] Staging: lustre: statahead: Remove agl_first_entry wrapper

2015-11-07 Thread Shivani Bhardwaj
Remove the wrapper function agl_first_entry() and replace its calls with the function list_entry() that it wraps. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/statahead.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-)

[PATCH 0/5] Remove wrappers from statahead

2015-11-07 Thread Shivani Bhardwaj
This patchset removes unnecessary wrapper functions as the purpose of clarifying the job of function is still served by the arguments in wrapped functions. Hence, all the calls to wrapper functions are replaced by the standard function they wrapped. After applying this patch, code becomes cleaner.

[PATCH v2 1/3] tty: Introduce UART_CAP_HW485

2015-11-07 Thread Matwey V. Kornilov
Introduce new capability UART_CAP_HW485 to mark 8250 UARTs which have hardware support of line direction control. Signed-off-by: Matwey V. Kornilov --- Changes since v1: - Commit message has been wrapped drivers/tty/serial/8250/8250.h | 1 +

[PATCH v2 3/3] tty: Add software emulated RS485 support for 8250

2015-11-07 Thread Matwey V. Kornilov
Implementation of software emulation of RS485 direction handling is based on omap-serial driver. It is acts as the following. At transmission start, RTS is set (if required) and receiver is off (if required). At transmission stop, RTS is set (if required) and fifo is flushed. Signed-off-by:

Re: [RESEND RFC PATCH 00/32] separate operations from flags in the bio/request structs

2015-11-07 Thread Christoph Hellwig
On Wed, Nov 04, 2015 at 04:07:57PM -0600, mchri...@redhat.com wrote: > Known issues: > - REQ_FLUSH is still a flag, but should probably be a operation. > For lower level drivers like SCSI where we only get a flush, it makes > more sense to be a operation. However, upper layers like filesystems >

[PATCH v2 2/3] tty: Implement default fallback serial8250_rs485_config

2015-11-07 Thread Matwey V. Kornilov
When 8250 driver doesn't have its own hardware RS485 support and doesn't want to override rs485_config callback, then default serial8250_rs485_config is used. It just stores supplied by user-space config. Signed-off-by: Matwey V. Kornilov ---

[PATCH v2 09/19] ARC: add CONFIG_CLKSRC_OF support to time_init()

2015-11-07 Thread Noam Camus
From: Noam Camus External clock source can be used if included by one of DTS file of a chosen platform. Signed-off-by: Noam Camus --- arch/arc/kernel/time.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arc/kernel/time.c

[PATCH v2 10/19] ARC: [plat-eznps] Add eznps board defconfig and dts

2015-11-07 Thread Noam Camus
From: Noam Camus Adding default configuration file and DTS file Signed-off-by: Noam Camus --- arch/arc/boot/dts/eznps.dts| 76 +++ arch/arc/configs/nps_defconfig | 85 2 files

Re: [GIT PULL] arm64 updates for 4.4

2015-11-07 Thread Hans Ulli Kroll
Hi On Fri, 6 Nov 2015, Arnd Bergmann wrote: > On Friday 06 November 2015 16:04:08 Catalin Marinas wrote: > > On Fri, Nov 06, 2015 at 10:57:58AM +0100, Arnd Bergmann wrote: > > > On Thursday 05 November 2015 18:27:18 Catalin Marinas wrote: > > > > On Wed, Nov 04, 2015 at 02:55:01PM -0800, Linus

[PATCH v2 07/19] ARC: rename smp operation init_irq_cpu() to init_per_cpu()

2015-11-07 Thread Noam Camus
From: Noam Camus This will better reflect its description i.e. "any needed setup..." and not just do an "IPI request". Signed-off-by: Noam Camus --- arch/arc/include/asm/smp.h |4 ++-- arch/arc/kernel/irq.c |4 ++-- arch/arc/kernel/mcip.c |

[PATCH v2 08/19] ARC: Mark secondary cpu online only after all HW setup is done

2015-11-07 Thread Noam Camus
From: Noam Camus In SMP setup, master loops for each_present_cpu calling cpu_up(). For ARC it returns as soon as new cpu's status becomes online, However secondary may still do HW initializing, machine or platform hook level. So turn secondary online only after all HW setup is

[PATCH] Staging: lustre: rw: Remove wrapper stride_page_count

2015-11-07 Thread Shivani Bhardwaj
Remove the function stride_page_count() and replace its calls with the function stride_pg_count() that it wraps. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/rw.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git

[tip:x86/urgent] x86/setup: Fix low identity map for >= 2GB kernel range

2015-11-07 Thread tip-bot for Krzysztof Mazur
Commit-ID: 68accac392d859d24adcf1be3a90e41f978bd54c Gitweb: http://git.kernel.org/tip/68accac392d859d24adcf1be3a90e41f978bd54c Author: Krzysztof Mazur AuthorDate: Fri, 6 Nov 2015 14:18:36 +0100 Committer: Thomas Gleixner CommitDate: Sat, 7 Nov

[PATCH 5/5] Staging: lustre: statahead: Remove agl_list_empty wrapper

2015-11-07 Thread Shivani Bhardwaj
Remove the function agl_list_empty() and replace its calls with the function it wrapped. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/statahead.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: x86/mm: Found insecure W+X mapping

2015-11-07 Thread Denis Kirjanov
On 11/7/15, Denis Kirjanov wrote: > Hi, > > kernel v4.3-3155-g1b1050c, > found the following WARNING at boot time: > > [ 15.363908] Freeing unused kernel memory: 628K (880001963000 - > 880001a0) > [ 15.370510] Freeing unused kernel memory: 1744K

[PATCH 4/5] Staging: lustre: statahead: Remove sa_received_empty wrapper

2015-11-07 Thread Shivani Bhardwaj
Remove the wrapper sa_received_empty() and replace its calls with the function it wrapped. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/statahead.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-07 Thread Richard W.M. Jones
I just pushed a (very early) WIP branch that contains changes to libguestfs to add an LKL backend: https://github.com/rwmjones/libguestfs/tree/lkl Read the README file in the libguestfs sources before starting, followed by the instructions in the commit message:

Re: [PATCH] Preserve task state in reentrant calls to ___wait_event

2015-11-07 Thread Peter Zijlstra
On Fri, Nov 06, 2015 at 08:44:08PM +, Chris Bainbridge wrote: > I am assuming here that wait_event_timeout() is supposed to support reentrant > calls. Not really. It is sort of allowed, provided the inner one will rarely block. And therefore the outer one will mostly work. > If not, perhaps

Re: [PATCH v3 0/3] sound: soc: Add audio support for Broadcom Cygnus SoC

2015-11-07 Thread Mark Brown
On Fri, Nov 06, 2015 at 06:22:42PM -0800, Simran Rai wrote: > Simran Rai (3): > dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio > sound: soc: Add Cygnus audio DAI driver > sound: soc: Add Cygnus audio DMA driver To repeat what I said last time: Please use subject lines

Re: [PATCH 1/3] context_tracking: remove duplicate enabled check

2015-11-07 Thread Paolo Bonzini
On 28/10/2015 06:19, Andy Lutomirski wrote: > On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini wrote: >> All calls to context_tracking_enter and context_tracking_exit >> are already checking context_tracking_is_enabled, except the >> context_tracking_user_enter and

Re: [PATCH 32/32] block: remove __REQ op defs and reduce bi_op/bi_rw sizes

2015-11-07 Thread Christoph Hellwig
I love this series! Also I think it's very good that we finally split the ioprio out to it's own field. Thanks a lot for doing this work. > I was not sure if or how much or where people wanted to stick things. > There also appears to be room in the bi_flags field. If bi_flags is > only using 13

Re: [dm-devel] [PATCH 19/32] block: add helper to get data dir from op

2015-11-07 Thread Christoph Hellwig
On Thu, Nov 05, 2015 at 11:34:07AM -0600, Mike Christie wrote: > I can do that. You are right in how they are used. I just did the above, > to follow the other *_data_dir calls. I think the *_data_dir calls are horrible interfaces. But your series already is huge, so if it makes your life easier

Re: [PATCH 9/9] Staging: lustre: llite_internal: Remove function prototype

2015-11-07 Thread Dan Carpenter
This one should have been folded in with the last one. Really the whole series could have been sent as one patch, but especially the last two should have been folded together. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: Kernel 4.3 breaks security in systems using capabilities

2015-11-07 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Guys, Am Fr den 6. Nov 2015 um 19:18 schrieb Serge E. Hallyn: > On Fri, Nov 06, 2015 at 06:56:20PM +0100, Klaus Ethgen wrote: > > Am Fr den 6. Nov 2015 um 16:53 schrieb Theodore Ts'o: > > > In the light of that, using things like ambient

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-11-07 Thread Thomas Gleixner
On Sat, 7 Nov 2015, Dan Williams wrote: > On Fri, Nov 6, 2015 at 10:50 PM, Thomas Gleixner wrote: > > On Fri, 6 Nov 2015, H. Peter Anvin wrote: > >> On 11/06/15 15:17, Dan Williams wrote: > >> >> > >> >> Is it really required to do that on all cpus? > >> > > >> > I believe it

[tip:x86/urgent] x86/AMD: Fix last level cache topology for AMD Fam17h systems

2015-11-07 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: 3849e91f571dcb48cf2c8143480c59137d44d6bc Gitweb: http://git.kernel.org/tip/3849e91f571dcb48cf2c8143480c59137d44d6bc Author: Aravind Gopalakrishnan AuthorDate: Wed, 4 Nov 2015 12:49:42 +0100 Committer: Thomas Gleixner

Re: [PATCH] x86/setup: fix low identity map for >= 2GB kernel range

2015-11-07 Thread Matt Fleming
On Fri, 06 Nov, at 03:11:39PM, Krzysztof Mazur wrote: > On Fri, Nov 06, 2015 at 02:27:33PM +0100, Borislav Petkov wrote: > > On Fri, Nov 06, 2015 at 02:18:36PM +0100, Krzysztof Mazur wrote: > > > diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c > > > index a3cccbf..37c8ea8 100644 > >

  1   2   3   4   5   6   7   >