Re: block: Always check queue limits for cloned requests

2015-11-29 Thread Hannes Reinecke
On 11/29/2015 12:49 PM, Markus Trippelsdorf wrote: > On 2015.11.26 at 08:11 -0500, Mike Snitzer wrote: >> On Thu, Nov 26 2015 at 2:46am -0500, >> Hannes Reinecke wrote: >> >>> When a cloned request is retried on other queues it always needs >>> to be checked against the queue limits of that

Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory

2015-11-29 Thread Ingo Molnar
* PaX Team wrote: > On 29 Nov 2015 at 9:08, Ingo Molnar wrote: > > > > > * PaX Team wrote: > > > > > i don't see the compile time vs. runtime detection as 'competing' > > > approaches, > > > both have their own role. [...] > > > > That's true - but only as long as 'this can be solved in

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

2015-11-29 Thread Jonathan Cameron
On 25/11/15 03:52, Stefan Agner wrote: > Hi Haibo, > > Some comments below: > > On 2015-11-20 07:48, 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 >>

Re: gigaset: freeing an active object

2015-11-29 Thread Tilman Schmidt
Hi Sasha, thanks for the report. As the original author of the code in question, I am somewhat at a loss what to make of it. Am 27.11.2015 um 16:19 schrieb Sasha Levin: > Fuzzing with syzkaller on the latest -next kernel produced this error: Is there a way to know the actual sequence of events

Re: [PATCH] Staging: iio: frequency: use dev_get_platdata()

2015-11-29 Thread Jonathan Cameron
On 23/11/15 18:07, Nizam Haider wrote: > Use the wrapper function for retrieving the platform data instead of > accessing dev->platform_data directly. > > Signed-off-by: Nizam Haider applied > --- > drivers/staging/iio/frequency/ad9832.c | 2 +- > drivers/staging/iio/frequency/ad9834.c | 2 +- >

Re: [PATCH 00/30] tracing: 'hist' triggers

2015-11-29 Thread Namhyung Kim
On Mon, Nov 23, 2015 at 01:51:15PM -0600, Tom Zanussi wrote: > This is v12 of the 'hist triggers' patchset, incorporating suggestions > and fixing problems pointed out by Namhyung. Thanks for doing this work! This version looks good to me although I have a small nitpick in the 10/30. With that

Re: [PATCH] Staging: iio: light: tsl2x7x_core: use dev_get_platdata()

2015-11-29 Thread Jonathan Cameron
On 23/11/15 17:48, Nizam Haider wrote: > Use the wrapper function for retrieving the platform data instead of > accessing dev->platform_data directly. > > Signed-off-by: Nizam Haider Applied to the togreg branch of iio.git - initially pushed out as testing. Note that branch will get rebased

Re: [PATCH] Staging: iio: adc: use dev_get_platdata()

2015-11-29 Thread Jonathan Cameron
On 23/11/15 17:33, Nizam Haider wrote: > Use the wrapper function for retrieving the platform data instead of > accessing dev->platform_data directly. > > Signed-off-by: Nizam Haider The 7780 platform data has gone away in the meantime. Applied for the other 3. Thanks, Jonathan > --- >

Re: [RFC 6/9] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors

2015-11-29 Thread Jonathan Cameron
On 23/11/15 16:15, Marc Titinger wrote: > On 21/11/2015 19:13, Jonathan Cameron wrote: >> On 18/11/15 14:38, Marc Titinger wrote: >>> Basic support or direct IO raw read, with averaging attribute. >>> Values are RAW, INT_PLUS_MICRO (Volt/Ampere/Watt). >>> >>> Output of iio_info: >>> >>>

[PATCH 1/2] crypto: ghash-clmulni - Fix load failure

2015-11-29 Thread Rui Wang
ghash_clmulni_intel fails to load on Linux 4.3+ with the following message: "modprobe: ERROR: could not insert 'ghash_clmulni_intel': Invalid argument" After 8996eafdc ("crypto: ahash - ensure statesize is non-zero") all ahash drivers are required to implement import()/export(), and must have a

[PATCH 0/2] crypto: Fix driver load failure

2015-11-29 Thread Rui Wang
ghash_clmulni_intel fails to load on Linux 4.3+ with the following message: "modprobe: ERROR: could not insert 'ghash_clmulni_intel': Invalid argument" These two patches need to go together, for the driver to load correctly. Rui Wang (2): crypto: ghash-clmulni - Fix load failure crypto:

[PATCH 2/2] crypto: cryptd - Assign statesize properly

2015-11-29 Thread Rui Wang
cryptd_create_hash() fails by returning -EINVAL. It is because after 8996eafdc ("crypto: ahash - ensure statesize is non-zero") all ahash drivers must have a non-zero statesize. This patch fixes the problem by properly assigning the statesize. Signed-off-by: Rui Wang --- crypto/cryptd.c | 1 +

Re: [PATCH 4/5] iio: light: us8152d: Add power management support

2015-11-29 Thread Jonathan Cameron
On 24/11/15 10:59, Adriana Reus wrote: > Add power management for sleep as well as runtime pm. > > Signed-off-by: Adriana Reus Mostly fine, but a comment on a possible future tidy up inline. Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play

Re: [PATCH 5/5] iio: light: us5182d: Add interrupt support and events

2015-11-29 Thread Jonathan Cameron
On 24/11/15 10:59, Adriana Reus wrote: > Add interrupt support and events for proximity. > Add two threshold events to signal rising and falling directions. > > Signed-off-by: Adriana Reus A few bits and bobs inline... > --- > drivers/iio/light/us5182d.c | 272 >

Re: [PATCH v12 10/30] tracing: Add 'hist' event trigger command

2015-11-29 Thread Namhyung Kim
Hi Tom, On Mon, Nov 23, 2015 at 01:51:25PM -0600, Tom Zanussi wrote: > 'hist' triggers allow users to continually aggregate trace events, > which can then be viewed afterwards by simply reading a 'hist' file > containing the aggregation in a human-readable format. > > The basic idea is very

Re: [PATCH 2/5] Documentation: devicetree: Add property for controlling power saving mode for the us5182 als sensor

2015-11-29 Thread Jonathan Cameron
On 25/11/15 23:55, Rob Herring wrote: > On Wed, Nov 25, 2015 at 11:50:30AM +0200, Adriana Reus wrote: >> >> >> On 25.11.2015 02:01, Rob Herring wrote: >>> On Tue, Nov 24, 2015 at 12:59:49PM +0200, Adriana Reus wrote: Add a property to allow changing the default power-saving mode. By

Re: gigaset: freeing an active object

2015-11-29 Thread Dmitry Vyukov
On Sat, Nov 28, 2015 at 2:27 AM, Sasha Levin wrote: > On 11/27/2015 08:20 PM, Peter Hurley wrote: >> It would really help if you included the syzkaller-generated applet with >> the bug reports; state previously established by the applet can be >> crucial in understanding why the call stack looks

Re: [PATCH 4/4] ARM: dt: mvebu: ix4-300d: Add ECC properties to NAND flash

2015-11-29 Thread Thomas Petazzoni
Sebastian, Adding Ezequiel Garcia in Cc. On Sat, 28 Nov 2015 12:14:08 +0100, Sebastian Hesselbarth wrote: > The NAND device found on Lenovo ix4-300d uses 4-bit BCH ECC protection. > Add the corresponding properties to the NAND node. If the ONFI information from the NAND flash say that it

Re: [PATCH 1/5] iio: light: us5182d: Add property for choosing default power mode

2015-11-29 Thread Jonathan Cameron
On 24/11/15 10:59, Adriana Reus wrote: > This chip supports two power modes. > 1. "one-shot" mode - the chip activates and executes one complete > conversion loop and then shuts itself down. This is the default mode > chosen for raw reads. > 2. "continuous" mode - the chip takes continuous

Re: [PATCHv3] Save SMBIOS Type 9 System Slots during DMI Scan

2015-11-29 Thread Jean Delvare
Hi Jordan, On Fri, 27 Nov 2015 20:45:55 -0600, Jordan Hargrave wrote: > commit fdf6d7e7cf448b9482062d73a48895afaf38a458 > Author: Jordan Hargrave > Date: Fri Nov 27 20:39:59 2015 -0600 > > Fix spacing > Check invalid slot entry according to spec > > commit

[PATCH] perf report: Change default to use event group view

2015-11-29 Thread Namhyung Kim
The event group view feature is to see related events together. To use the group view, events should be recorded as a group with a dedicated syntax of surrounding events by braces (-e '{ evt1, evt2, ... }'). Also 'perf report' also requires the --group option to enable it. However it's almost

Re: [PATCH 2/2] dt-bindings: iio: adc: Update mcp342x binding for the mcp3421

2015-11-29 Thread Jonathan Cameron
On 27/11/15 20:15, Rob Herring wrote: > On Fri, Nov 27, 2015 at 02:52:52PM +0100, Sascha Hauer wrote: >> The mcp3421 is the single channel variant of the mcp342x family and >> can be supported by the mcp342x driver. >> >> Signed-off-by: Sascha Hauer >> Cc: devicet...@vger.kernel.org > >

Re: [PATCH 1/2] iio: adc: mcp3422: Add mcp3421 support

2015-11-29 Thread Jonathan Cameron
On 27/11/15 13:52, Sascha Hauer wrote: > The mcp3421 is the single channel variant of the mcp342x family. Support > is straight forward, only the channels array has to be added for this > chip. > > Signed-off-by: Sascha Hauer Thanks Applied to the togreg branch of iio.git - initially pushed out

[PATCH v2 0/2] um: Protect memory mapped file

2015-11-29 Thread Mickaël Salaün
This series protect the memory mapped file. Changes since v1; addressed Richard Weinberger's comments: * add attacker model to the patch description [1/2] * remove errno reset [2/2] Regards, Mickaël Mickaël Salaün (2): um: Set secure access mode for temporary file um: Use race-free

Re: [PATCH RESEND 2/2] drm/i915: prevent the vgacon from ever reloading

2015-11-29 Thread Emil Velikov
On 29 November 2015 at 12:47, Daniel Vetter wrote: > On Fri, Nov 27, 2015 at 07:37:53PM -0500, Ilia Mirkin wrote: >> On Fri, Nov 27, 2015 at 10:40 AM, Emil Velikov >> wrote: >> > On 27 November 2015 at 15:10, Daniel Vetter wrote: >> >> It only leads to bloodshed and tears - we don't bother to

[PATCH v2 1/2] um: Set secure access mode for temporary file

2015-11-29 Thread Mickaël Salaün
Replace the insecure mode 0777 with 0700 for temporary file to prohibit other users to change the executable mapped code. An attacker could gain access to the mapped file descriptor from the temporary file (before it is unlinked) in a read-only mode but it should not be accessible in write mode

[PATCH v2 2/2] um: Use race-free temporary file creation

2015-11-29 Thread Mickaël Salaün
Open the memory mapped file with the O_TMPFILE flag when available. Signed-off-by: Mickaël Salaün --- arch/um/os-Linux/mem.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/um/os-Linux/mem.c b/arch/um/os-Linux/mem.c index 798aeb4..6ee4233 100644 ---

[RFC] arch/ia64/kernel/palinfo.c: bitvector_process reading out of bounds

2015-11-29 Thread Geyslan Gregório Bem
Hello, I'm doing some static analysis and stumbled in this function static void bitvector_process(struct seq_file *m, u64 vector) { int i,j; static const char *units[]={ "", "K", "M", "G", "T" }; for (i=0, j=0; i < 64; i++ , j=i/10) { if (vector & 0x1)

Re: [PATCH 22/71] ncr5380: Eliminate selecting state

2015-11-29 Thread Geert Uytterhoeven
Hi Finn, On Sun, Nov 29, 2015 at 11:25 AM, Finn Thain wrote: > On Sun, 29 Nov 2015, Geert Uytterhoeven wrote: >> This still heavily depends on the processing time spent in >> NCR5380_read(). You should never use a value derived from >> loops_per_jiffy for a non-empty loop, > > Sure but the

Re: [PATCH 00/13] mvneta Buffer Management and enhancements

2015-11-29 Thread Marcin Wojtas
Hi Florian, > > Looking at your patches, it was not entirely clear to me how the buffer > manager on these Marvell SoCs work, but other networking products have > something similar, like Broadcom's Cable Modem SoCs (BCM33xx) FPM, and > maybe Freescale's FMAN/DPAA seems to do something similar. >

[PATCH] dm: constify crypt_iv_operations structures

2015-11-29 Thread Julia Lawall
The crypt_iv_operations are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/md/dm-crypt.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c

user-controllable kmalloc size in bpf syscall

2015-11-29 Thread Dmitry Vyukov
Hello, The following program triggers a WARNING in kmalloc: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #define SYS_bpf 321 #define BPF_MAP_CREATE0 #define BPF_MAP_UPDATE_ELEM2 union bpf_attr {

[PATCH] pwm: Fix of_pwm_get() for consistent return values

2015-11-29 Thread Alban Bedel
When of_pwm_get() is called without connection ID it returns -ENOENT when the 'pwms' property doesn't exists or is an empty entry. However when a connection ID is given and the 'pwm-names' property doesn't exists or doesn't contains the requested name it returns -ENODATA or -EINVAL. To get a

Re: [GIT PULL 00/10] perf/core improvements and fixes

2015-11-29 Thread Namhyung Kim
Hi Ingo, On Sat, Nov 28, 2015 at 10:50:19AM +0100, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo > > > > Hi Ingo, > > > > Please consider applying, > > > > - Arnaldo > > > > The following changes since commit

[PATCH] clkdev: Fix of_clk_get_by_name() for consistent return values

2015-11-29 Thread Alban Bedel
When of_clk_get_by_name() is called without name it returns -ENOENT when the 'clocks' property doesn't exists or is an empty entry. However when a name is given and the 'clock-names' property doesn't exists or doesn't contains the requested name it returns -EINVAL. To get a consistent return

undefined reference to `nf_conntrack_untracked'

2015-11-29 Thread kbuild test robot
Hi Pablo, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8003a573560ae96540bce2a698347c6d502e2997 commit: bbde9fc1824aab58bc78c084163007dd6c03fe5b netfilter: factor out packet duplication for IPv4/IPv6 date: 4

[PATCH] mailbox: constify mbox_chan_ops structure

2015-11-29 Thread Julia Lawall
This mbox_chan_ops structure is never modified, so declare it as const, like all the other mbox_chan_ops structures. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/mailbox/mailbox-sti.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH RESEND 1/2] vgacon: dummy implementation for vgacon_text_force

2015-11-29 Thread Daniel Vetter
On Fri, Nov 27, 2015 at 03:29:52PM +, Emil Velikov wrote: > On 27 November 2015 at 15:10, Daniel Vetter wrote: > > This allows us to ditch a ton of ugly #ifdefs from a bunch of drm modeset > > drivers. > > > > v2: Make the dummy function actually return a sane value, spotted by > > Ville. > >

Re: [PATCH RESEND 2/2] drm/i915: prevent the vgacon from ever reloading

2015-11-29 Thread Daniel Vetter
On Fri, Nov 27, 2015 at 07:37:53PM -0500, Ilia Mirkin wrote: > On Fri, Nov 27, 2015 at 10:40 AM, Emil Velikov > wrote: > > On 27 November 2015 at 15:10, Daniel Vetter wrote: > >> It only leads to bloodshed and tears - we don't bother to restore a > >> working legacy vga hw setup. > >> > >> On

[PATCH v6 5/5] Add ioctls to enable and disable local controls on an instrument

2015-11-29 Thread Dave Penkler
These ioctls provide support for the USBTMC-USB488 control requests for REN_CONTROL, GO_TO_LOCAL and LOCAL_LOCKOUT Signed-off-by: Dave Penkler --- drivers/usb/class/usbtmc.c | 71 include/uapi/linux/usb/tmc.h | 6 2 files changed, 77

[PATCH v6 4/5] Add ioctl to retrieve USBTMC-USB488 capabilities

2015-11-29 Thread Dave Penkler
This is a convenience function to obtain an instrument's capabilities from its file descriptor without having to access sysfs from the user program. Signed-off-by: Dave Penkler --- drivers/usb/class/usbtmc.c | 12 include/uapi/linux/usb/tmc.h | 21 ++--- 2 files

[PATCH v6 3/5] Add support for receiving USBTMC USB488 SRQ notifications via poll/select

2015-11-29 Thread Dave Penkler
Background: In many situations operations on multiple instruments need to be synchronized. poll/select provide a convenient way of waiting on a number of different instruments and other peripherals simultaneously. Signed-off-by: Dave Penkler --- drivers/usb/class/usbtmc.c | 23

[PATCH v6 2/5] Add support for USBTMC USB488 SRQ notification with fasync

2015-11-29 Thread Dave Penkler
Background: By configuring an instrument's event status register various conditions can be reported via an SRQ notification. This complements the synchronous polling approach using the READ_STATUS_BYTE ioctl with an asynchronous notification. Signed-off-by: Dave Penkler ---

[PATCH v6 1/5] Implement an ioctl to support the USMTMC-USB488 READ_STATUS_BYTE operation.

2015-11-29 Thread Dave Penkler
Background: When performing a read on an instrument that is executing a function that runs longer than the USB timeout the instrument may hang and require a device reset to recover. The READ_STATUS_BYTE operation always returns even when the instrument is busy permitting to poll for the

[PATCH v6 0/5] usb: usbtmc: Add support for missing functions in USBTMC-USB488 spec

2015-11-29 Thread Dave Penkler
Implement support for the USB488 defined READ_STATUS_BYTE ioctl (1/5) and SRQ notifications with fasync (2/5) and poll/select (3/5) in order to be able to synchronize with variable duration instrument operations. Add ioctls for other USB488 requests: REN_CONTROL, GOTO_LOCAL and LOCAL_LOCKOUT.

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-11-29 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ767650805给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line

[PATCH v11] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-29 Thread Bharat Kumar Gogada
Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri Acked-by: Rob Herring --- Changes for v11: -> Changed data types of bridge, pcie controller and ecam base address -> Added programming of E_BREG_BASE_HI,

Re: [PATCH v2 1/3] ARM: sunxi: Introduce Allwinner for A83T support

2015-11-29 Thread Vishnu Patekar
Hello, Sorry for delayed response. On Fri, Oct 23, 2015 at 9:37 AM, Chen-Yu Tsai wrote: > On Fri, Oct 23, 2015 at 7:46 AM, Vishnu Patekar > wrote: >> Allwinner A83T is octa-core cortex-a7 based SoC. >> It's clock control unit and prcm, pinmux are different from previous sun8i >> series. >> Its

Re: block: Always check queue limits for cloned requests

2015-11-29 Thread Markus Trippelsdorf
On 2015.11.26 at 08:11 -0500, Mike Snitzer wrote: > On Thu, Nov 26 2015 at 2:46am -0500, > Hannes Reinecke wrote: > > > When a cloned request is retried on other queues it always needs > > to be checked against the queue limits of that queue. > > Otherwise the calculations for nr_phys_segments

Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory

2015-11-29 Thread PaX Team
On 29 Nov 2015 at 9:08, Ingo Molnar wrote: > > * PaX Team wrote: > > > i don't see the compile time vs. runtime detection as 'competing' > > approaches, > > both have their own role. [...] > > That's true - but only as long as 'this can be solved in tooling!' is not > used as > an excuse

overriding ACPI _CRS method

2015-11-29 Thread Daniel J Blueman
In firmware that is loaded after the BIOS, I need to trim the root bus resource (0x4000-0xdfff) covering the MMIO window [1], so I can attach further PCI domains. One strategy is to override the BIOS's DSDT [2] _SB.PCI0._CRS method; even when my firmware appends the bytecode for a new

Re: [PATCH v2] hid: usbhid: hid-core: fix recursive deadlock

2015-11-29 Thread Ioan-Adrian Ratiu
On Fri, 20 Nov 2015 22:19:02 +0200 Ioan-Adrian Ratiu wrote: > The critical section protected by usbhid->lock in hid_ctrl() is too > big and because of this it causes a recursive deadlock. "Too big" means > the case statement and the call to hid_input_report() do not need to be > protected by the

Re: [PATCH 22/71] ncr5380: Eliminate selecting state

2015-11-29 Thread Finn Thain
On Sun, 29 Nov 2015, Geert Uytterhoeven wrote: > This still heavily depends on the processing time spent in > NCR5380_read(). You should never use a value derived from > loops_per_jiffy for a non-empty loop, Sure but the time-out condition isn't supposed to be precise. Plus/minus a jiffy is

Re: [PATCH 3/4] gpio: pxa: change the interrupt management

2015-11-29 Thread Robert Jarzmik
kbuild test robot writes: > Hi Robert, > > [auto build test ERROR on: gpio/for-next] > [also build test ERROR on: v4.4-rc2 next-20151127] > > url: > https://github.com/0day-ci/linux/commits/Robert-Jarzmik/gpio-pxa-integrate-with-pincontrol/20151129-054738 > base: ht

[RFC PATCH 75/71] ncr5380: Remove FLAG_DTC3181E

2015-11-29 Thread Ondrej Zary
The FLAG_DTC3181E is used to activate a work-around for arbitration lost condition that these chips see when ICR is written during arbitration. Move the ICR write (to set SEL and BSY) after the arbitration loss check and remove FLAG_DTC3181E. Signed-off-by: Ondrej Zary --- Weird, we now have

Re: [tpmdd-devel] [PATCH] base/platform: fix panic when probe function is NULL

2015-11-29 Thread Uwe Kleine-König
Hello Jarkko, On Sat, Nov 28, 2015 at 06:34:47PM +0200, Jarkko Sakkinen wrote: > On Thu, Nov 26, 2015 at 08:01:34PM +0100, martin.wi...@ts.fujitsu.com wrote: > > From: Martin Wilck > > > > Since b8b2c7d845d5, platform_drv_probe() is called for all platform > > devices. If drv->probe is NULL,

[RFC PATCH 73/71] ncr5380: Use runtime register mapping

2015-11-29 Thread Ondrej Zary
Convert compile-time C400_ register mapping to runtime mapping. This removes the weird negative register offsets and allows adding additional mappings. Signed-off-by: Ondrej Zary --- drivers/scsi/NCR5380.h | 13 +- drivers/scsi/g_NCR5380.c | 61

[RFC PATCH 74/71] ncr5380: Enable PDMA for NCR53C400A

2015-11-29 Thread Ondrej Zary
Add I/O register mapping for NCR53C400A and enable PDMA mode to improve performance and fix non-working IRQ. Tested with HP C2502 (and user-space enabler). Signed-off-by: Ondrej Zary --- drivers/scsi/g_NCR5380.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git

[git pull] m68k updates for 4.4 (take two)

2015-11-29 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: Linux 4.4-rc1 (2015-11-15 17:00:27 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

Re: [PATCH] IB/iser: constify iser_reg_ops structure

2015-11-29 Thread Sagi Grimberg
On 28/11/2015 17:52, Julia Lawall wrote: The iser_reg_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Thanks, Acked-by: Sagi Grimberg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 22/71] ncr5380: Eliminate selecting state

2015-11-29 Thread Geert Uytterhoeven
Hi Finn, On Thu, Nov 26, 2015 at 11:32 PM, Finn Thain wrote: >> The timekeeping warning does not appear when all 71 patches are applied. >> Reverse-bisected it - the warning disappears after: >> [PATCH 50/71] ncr5380: Change instance->host_lock to hostdata->lock >> > > Makes sense. I think that

Re: [PATCH 2/3] input: evdev: add new ioctl EVIOCSIFTYPE / EVIOCGIFTYPE

2015-11-29 Thread Pingbo Wen
> 在 2015年11月28日,00:59,Arnd Bergmann 写道: > > On Friday 27 November 2015 18:00:31 WEN Pingbo wrote: >> This patch depends on 'introduce new evdev interface'. >> >> Userspace cat set / get evdev interface type via the two ioctl >> commands. And default interface type is EV_IF_LEGACY, so the old

Re: [PATCH 0/3] introduce new evdev interface type

2015-11-29 Thread Pingbo Wen
Hi, Arnd > 在 2015年11月28日,00:58,Arnd Bergmann 写道: > > On Friday 27 November 2015 18:00:29 WEN Pingbo wrote: >> To solve the y2038 problem in input_event, I had some attempts before [1], >> and this is the second one. >> >> We can force userspace to use monotonic time in event timestamp, so the

Re: [PATCH 22/71] ncr5380: Eliminate selecting state

2015-11-29 Thread Ondrej Zary
On Sunday 29 November 2015 01:46:03 Finn Thain wrote: > > On Sun, 29 Nov 2015, Ondrej Zary wrote: > > > > [...] I think that this should solve the problem: > > > > Yes, it does! > > > > [ 48.119367] scsi host2: Generic NCR5380/NCR53C400 SCSI, io_port 0x0, > > n_io_port 0, base 0xd8000, irq

[tip:x86/efi] Documentation/x86: Update EFI memory region description

2015-11-29 Thread tip-bot for Matt Fleming
Commit-ID: ff3d0a12fb2dc123e2b46e9524ebf4e08de5c59c Gitweb: http://git.kernel.org/tip/ff3d0a12fb2dc123e2b46e9524ebf4e08de5c59c Author: Matt Fleming AuthorDate: Fri, 27 Nov 2015 21:09:35 + Committer: Ingo Molnar CommitDate: Sun, 29 Nov 2015 09:15:43 +0100 Documentation/x86: Update

[tip:x86/efi] x86/efi: Build our own page table structures

2015-11-29 Thread tip-bot for Matt Fleming
Commit-ID: 67a9108ed4313b85a9c53406d80dc1ae3f8c3e36 Gitweb: http://git.kernel.org/tip/67a9108ed4313b85a9c53406d80dc1ae3f8c3e36 Author: Matt Fleming AuthorDate: Fri, 27 Nov 2015 21:09:34 + Committer: Ingo Molnar CommitDate: Sun, 29 Nov 2015 09:15:42 +0100 x86/efi: Build our own

[tip:x86/efi] x86/efi: Map RAM into the identity page table for mixed mode

2015-11-29 Thread tip-bot for Matt Fleming
Commit-ID: b61a76f8850d2979550abc42d7e09154ebb8d785 Gitweb: http://git.kernel.org/tip/b61a76f8850d2979550abc42d7e09154ebb8d785 Author: Matt Fleming AuthorDate: Fri, 27 Nov 2015 21:09:32 + Committer: Ingo Molnar CommitDate: Sun, 29 Nov 2015 09:15:42 +0100 x86/efi: Map RAM into the

[tip:x86/efi] x86/efi: Hoist page table switching code into efi_call_virt()

2015-11-29 Thread tip-bot for Matt Fleming
Commit-ID: c9f2a9a65e4855b74d92cdad688f6ee4a1a323ff Gitweb: http://git.kernel.org/tip/c9f2a9a65e4855b74d92cdad688f6ee4a1a323ff Author: Matt Fleming AuthorDate: Fri, 27 Nov 2015 21:09:33 + Committer: Ingo Molnar CommitDate: Sun, 29 Nov 2015 09:15:42 +0100 x86/efi: Hoist page table

[tip:x86/efi] x86/mm/pat: Ensure cpa-> pfn only contains page frame numbers

2015-11-29 Thread tip-bot for Matt Fleming
Commit-ID: edc3b9129cecd0f0857112136f5b8b1bc1d45918 Gitweb: http://git.kernel.org/tip/edc3b9129cecd0f0857112136f5b8b1bc1d45918 Author: Matt Fleming AuthorDate: Fri, 27 Nov 2015 21:09:31 + Committer: Ingo Molnar CommitDate: Sun, 29 Nov 2015 09:15:42 +0100 x86/mm/pat: Ensure

[tip:x86/efi] x86/mm: Page align the '_end' symbol to avoid pfn conversion bugs

2015-11-29 Thread tip-bot for Matt Fleming
Commit-ID: 21cdb6b568435738cc0b303b2b3b82742396310c Gitweb: http://git.kernel.org/tip/21cdb6b568435738cc0b303b2b3b82742396310c Author: Matt Fleming AuthorDate: Fri, 27 Nov 2015 21:09:30 + Committer: Ingo Molnar CommitDate: Sun, 29 Nov 2015 09:15:42 +0100 x86/mm: Page align the

Re: [PATCH] drivers:pci:hotplug Fix space prohibited between function name and open parenthesis '('

2015-11-29 Thread sasa bogicevic
> On Nov 26, 2015, at 8:36 PM, Joe Perches wrote: > > On Thu, 2015-11-26 at 16:50 +0100, Bogicevic Sasa wrote: >> This fixes all errors "space prohibited between function name and >> open parenthesis '(' " in all files in drivers/pci/hotplug folder > > It's good when sending this sort of patch

[char-misc for v4.4] mei: fix fasync return value on error

2015-11-29 Thread Tomas Winkler
fasync should return a negative value on error and not poll mask POLLERR. Cc: # 4.3+ Reported-by: Al Viro Signed-off-by: Tomas Winkler --- drivers/misc/mei/main.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index

Re: [GIT PULL v4 0/6] EFI page table isolation

2015-11-29 Thread Ingo Molnar
* Matt Fleming wrote: > Folks, > > This patch series is a response to the report that the EFI region > mappings trigger warnings when booting with CONFIG_DEBUG_WX enabled. > They allocate a new page table structure and ensure that all the > mappings we require during EFI runtime calls are only

Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory

2015-11-29 Thread Ingo Molnar
* PaX Team wrote: > i don't see the compile time vs. runtime detection as 'competing' approaches, > both have their own role. [...] That's true - but only as long as 'this can be solved in tooling!' is not used as an excuse to oppose the runtime solution and we end up doing neither.

Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory

2015-11-29 Thread Ingo Molnar
* Andy Lutomirski wrote: > >> - print a warning and a backtrace, and just mark the page read-write > >> so that the machine survives, but we get notified and can fix whatever > >> broken code > > > > This seems very easy to add. Should I basically reverse the effects of > > mark_rodata_ro(),

[tip:x86/platform] x86/platform/calgary: Constify cal_chipset_ops structures

2015-11-29 Thread tip-bot for Julia Lawall
Commit-ID: d6b56b0bc68ba7927b286da86eda1d4d4dbe63f6 Gitweb: http://git.kernel.org/tip/d6b56b0bc68ba7927b286da86eda1d4d4dbe63f6 Author: Julia Lawall AuthorDate: Sat, 28 Nov 2015 16:58:15 +0100 Committer: Ingo Molnar CommitDate: Sun, 29 Nov 2015 08:50:58 +0100 x86/platform/calgary:

Re: [ovirt-devel] Networking fails for VM running on Centos6.7.Works on Centos6.5

2015-11-29 Thread Dan Kenigsberg
On Sat, Nov 28, 2015 at 08:10:06PM +0530, mad Engineer wrote: > hello all i am having strange network issue with vms that are running on > centos 6.7 ovirt nodes. > > I recently added one more ovirt node which is running centos6.7 and > upgraded from centos6.5 to centos6.7 on all other nodes. >

Re: [PATCH] staging: skein: Adds test vectors & cleans up maros

2015-11-29 Thread Gregkh
On Sun, Nov 29, 2015 at 12:51:30PM +, jp...@tutanota.de wrote: > The patch for cleaning up the Skein hash implementation is included below. > > The test & pass vectors for the hash function have been included, but not > checked as the competition is still ongoing,as the final specification

Re: [ovirt-users] [ovirt-devel] Networking fails for VM running on Centos6.7.Works on Centos6.5

2015-11-29 Thread Giorgio Bersano
2015-11-29 8:59 GMT+01:00 Dan Kenigsberg : > On Sat, Nov 28, 2015 at 08:10:06PM +0530, mad Engineer wrote: >> hello all i am having strange network issue with vms that are running on >> centos 6.7 ovirt nodes. >> >> I recently added one more ovirt node which is running centos6.7

Re: gigaset: freeing an active object

2015-11-29 Thread Paul Bolle
On zo, 2015-11-29 at 19:47 +0100, Tilman Schmidt wrote: > Btw I don't see a timer_list object in struct platform_device either. > Nor in the embedded struct device. I found two instances of struct timer_list, rather deep down struct ser_cardstate: struct ser_cardstate { struct

[RFC PATCH] af_unix: fix entry locking in unix_dgram_recvmsg

2015-11-29 Thread Rainer Weikusat
This will probably earn me a reputation as the most single-minded monomaniac on this planet (insofar there's still anything to earn in this respect) but this issue has been irking me "ever since". NB: This is somewhat loser formatted than a proper patch submission in order to explain the

Re: [PATCH] Improve Atheros ethernet driver not to do order 4 GFP_ATOMIC allocation

2015-11-29 Thread Sergei Shtylyov
Hello. On 11/28/2015 5:51 PM, Pavel Machek wrote: atl1c driver is doing order-4 allocation with GFP_ATOMIC priority. That often breaks networking after resume. Switch to GFP_KERNEL. Still not ideal, but should be significantly better. Signed-off-by: Pavel Machek diff --git

[PATCH 2.6.32 11/38] [PATCH 11/38] net: Clone skb before setting peeked flag

2015-11-29 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- commit 738ac1ebb96d02e0d23bc320302a6ea94c612dec upstream. Shared skbs must not be modified and this is crucial for broadcast and/or multicast paths where we use it as an optimisation to avoid

[PATCH 2.6.32 15/38] [PATCH 15/38] windfarm: decrement client count when unregistering

2015-11-29 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- commit fe2b592173ff0274e70dc44d1d28c19bb995aa7c upstream. wf_unregister_client() increments the client count when a client unregisters. That is obviously incorrect. Decrement that client count

[PATCH 2.6.32 27/38] [PATCH 27/38] x86/process: Add proper bound checks in 64bit get_wchan()

2015-11-29 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- commit eddd3826a1a0190e5235703d1e666affa4d13b96 upstream. Dmitry Vyukov reported the following using trinity and the memory error detector AddressSanitizer

[PATCH 2.6.32 25/38] [PATCH 25/38] net: add length argument to skb_copy_and_csum_datagram_iovec

2015-11-29 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- Without this length argument, we can read past the end of the iovec in memcpy_toiovec because we have no way of knowing the total length of the iovec's buffers. This is needed for stable kernels

[PATCH 2.6.32 07/38] [PATCH 07/38] ipc/sem.c: fully initialize sem_array before making it visible

2015-11-29 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- commit e8577d1f0329d4842e8302e289fb2c22156abef4 upstream. ipc_addid() makes a new ipc identifier visible to everyone. New objects start as locked, so that the caller can complete the

[PATCH 2.6.32 12/38] [PATCH 12/38] net: Fix skb_set_peeked use-after-free bug

2015-11-29 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- commit a0a2a6602496a45ae838a96db8b8173794b5d398 upstream. The commit 738ac1ebb96d02e0d23bc320302a6ea94c612dec ("net: Clone skb before setting peeked flag") introduced a use-after-free bug in

[PATCH 2.6.32 04/38] [PATCH 04/38] ipv6: addrconf: validate new MTU before applying it

2015-11-29 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- commit 77751427a1ff25b27d47a4c36b12c3c8667855ac upstream. Currently we don't check if the new MTU is valid or not and this allows one to configure a smaller than minimum allowed by RFCs or even

Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory

2015-11-29 Thread Mathias Krause
On 29 November 2015 at 16:39, Ingo Molnar wrote: > > * PaX Team wrote: > >> On 29 Nov 2015 at 9:08, Ingo Molnar wrote: >> >> > >> > * PaX Team wrote: >> > >> > > i don't see the compile time vs. runtime detection as 'competing' >> >

Re: [PATCH] drm/radeon: constify radeon_asic_ring structures

2015-11-29 Thread Christian König
On 29.11.2015 17:12, Julia Lawall wrote: The radeon_asic_ring structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Nice clean, patch is Reviewed-by: Christian König ---

Re: perf test unwind failing

2015-11-29 Thread Jiri Olsa
On Fri, Nov 27, 2015 at 01:17:40PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 27, 2015 at 01:03:11PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Nov 27, 2015 at 09:21:21AM +0100, Jiri Olsa escreveu: > > > On Thu, Nov 26, 2015 at 05:45:59PM -0300, Arnaldo Carvalho de Melo wrote:

kmod-hfsplus

2015-11-29 Thread Richard Thomas
Hi, I have version 0.0-2 of this installed on my CentOS machines. When I try to copy an entire hard drive that is formatted with the hfs+ file system to another, it makes my system completely freeze after a period of time. I have tried this on two different CentOS machines of mine and the same

[RFC] kvm - possible out of bounds

2015-11-29 Thread Geyslan Gregório Bem
Hello, I have found a possible out of bounds reading in arch/powerpc/kvm/book3s_64_mmu.c (kvmppc_mmu_book3s_64_xlate function). pteg[] array could be accessed twice using the i variable after the for iteration. What happens is that in the last iteration the i index is incremented to 16, checked

Re: Adding VIRTIO to the multi_v7_defconfig

2015-11-29 Thread Arnd Bergmann
On Sunday 29 November 2015 14:18:24 Peter Crosthwaite wrote: > > I started a small project to test as many QEMU emulated ARM boards > using the multi_v7 defconfig: > > https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg00755.html > > One thing that came up was we cannot use the virt board

Re: gigaset: freeing an active object

2015-11-29 Thread Tilman Schmidt
Am 29.11.2015 um 19:22 schrieb Peter Hurley: >>> [ 413.536749] WARNING: CPU: 6 PID: 25400 at lib/debugobjects.c:263 >>> debug_print_object+0x1c4/0x1e0() >>> [ 413.538111] ODEBUG: free active (active state 0) object type: timer_list >>> hint: delayed_work_timer_fn+0x0/0x90 >> >> This message

[PATCH v6 3/9] watchdog: Make set_timeout function optional

2015-11-29 Thread Guenter Roeck
For some watchdogs, the hardware timeout is fixed, and the watchdog driver depends on the watchdog core to handle the actual timeout. In this situation, the watchdog driver might only set the 'timeout' variable but do nothing else. This can as well be handled by the infrastructure, so make the

[PATCH v6 4/9] watchdog: Add support for minimum time between heartbeats

2015-11-29 Thread Guenter Roeck
Some watchdogs require a minimum time between heartbeats. Examples are the watchdogs in DA9062 and AT91SAM9x. Signed-off-by: Guenter Roeck --- v6: Rebased to v4.4-rc2 v5: Rebased to v4.4-rc1 Fixed typo in documentation. v4: Added patch ---

Random VMs stuck in [drm] fb: depth 24,pitch 4096

2015-11-29 Thread kevin parrikar
Running centos 6.7 and trying to PXE boot centos 6.5 vms but some of them are stuck with this in boot message: [drm] fb: depth 24,pitch 4096 screenshot of vm console: http://snag.gy/7Bhyc.jpg tried restarting vms but its still stuck there rpm -qa |grep kvm

Re: [PATCH 01/04] pinctrl: sh-pfc: r8a7794: Add DU pin groups

2015-11-29 Thread Linus Walleij
On Tue, Nov 17, 2015 at 4:18 AM, Magnus Damm wrote: > From: Koji Matsuoka > > r8a7794 PFC DU support from the R-Car Gen2 v1.9.4 BSP > > Signed-off-by: Koji Matsuoka > Signed-off-by: Magnus Damm

<    1   2   3   4   5   6   7   8   >