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. > >

[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: Const

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(), o

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. Thanks,

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

[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 b

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

[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 cpa->pfn

[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 '_en

[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 i

[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 s

[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 E

[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 page

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 0

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 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 bi

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 t

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 t

[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 21d38

[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 a/d

[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 ++---

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, and

[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 two

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

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 no

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

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: [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 t

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 m

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 p

[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, E_ECAM_BAS

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

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

[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. (4/5

[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 appropriate

[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 --- drivers/usb/class/usb

[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 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 ch

[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 insertion

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 ha

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. > >

[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 a/drivers/ma

[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 value

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 mo

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 3f3b1a46bfdbce97dd3f9594d8a95

[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 consi

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 {

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 ind

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 time-o

[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) seq_printf(

[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 --- a/arch/um/os-Linux/mem.c

[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 to

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 r

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 temporar

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 > > Acked-by:

[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 alw

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 8a7fe87241b93c72cfd6ef818a68

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 measurem

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 require

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 defau

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 t

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 simpl

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 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 wi

[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 +

[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: crypt

[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 no

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: >>> >>> iio:d

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 > --- > drivers

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 short

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 f

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: 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 t

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: [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 t

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 queue

[PATCH] ALSA: pcm: constify action_ops structures

2015-11-29 Thread Julia Lawall
The action_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/core/pcm_native.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/sound/core/pcm_native.c b/sound/c

Re: [PATCH 3/5] iio: light: us5182d: Add functions for selectively enabling als and proximity

2015-11-29 Thread Jonathan Cameron
On 24/11/15 10:59, Adriana Reus wrote: > Keep track of the als and px enabled/disabled status in > order to enable them selectively. > > Signed-off-by: Adriana Reus Couple more nitpicks, but again fixed up during apply. > --- > drivers/iio/light/us5182d.c | 64 >

Re: [PATCH v2 02/13] bpf tools: Extract and collect map names from BPF object file

2015-11-29 Thread Namhyung Kim
Hi Wang, On Fri, Nov 27, 2015 at 08:47:36AM +, Wang Nan wrote: > This patch collects name of maps in BPF object files and saves them into > 'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is > introduced to retrive fd and definitions of a map through its name. > > Signed-of

Re: block: Always check queue limits for cloned requests

2015-11-29 Thread Markus Trippelsdorf
On 2015.11.29 at 16:43 +0100, Hannes Reinecke wrote: > 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 alwa

Re: RFC Re: [PATCH v2 04/13] perf tools: Add API to config maps in bpf object

2015-11-29 Thread Namhyung Kim
Hi Arnaldo, On Fri, Nov 27, 2015 at 10:10:54PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 27, 2015 at 08:47:38AM +, Wang Nan escreveu: > > bpf__config_obj() is introduced as a core API to config BPF object > > after loading. One configuration option of maps is introduced. After > > t

[PATCH] drm/radeon: constify radeon_asic_ring structures

2015-11-29 Thread Julia Lawall
The radeon_asic_ring structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/gpu/drm/radeon/radeon.h |2 - drivers/gpu/drm/radeon/radeon_asic.c | 38 +-- 2 files changed, 20 in

[PATCH v2] backlight: tps65217_bl: Add MODULE_DEVICE_TABLE.

2015-11-29 Thread Enric Balletbo i Serra
The device table is required to load modules based on modaliases. Signed-off-by: Enric Balletbo i Serra --- Changes since last version: - Use of_match_ptr (Lee Jones) drivers/video/backlight/tps65217_bl.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/video/backlight/tps65

Re: [PATCH 1/2] iio: ina2xx: add support for TI INA2xx Power Monitors

2015-11-29 Thread Jonathan Cameron
On 25/11/15 11:28, Marc Titinger wrote: > in SOFTWARE buffer mode, a kthread will capture the active scan_elements > into a kfifo, then compute the remaining time until the next capture tick > and do an active wait (udelay). > > This will produce a stream of up to fours channels plus a 64bits > ti

[PATCH v2] gpio: Add GPIO support for the ACCES 104-IDI-48

2015-11-29 Thread William Breathitt Gray
The ACCES 104-IDI-48 family of PC/104 utility boards feature 48 individually optically isolated digital inputs. Enabled inputs feature change-of-state detection capability; if change-of-state detection is enabled, an interrupt is fired off if a change of input level (low-to-high or high-to-low) is

Re: [PATCH 2/2] iio: ina2xx: provide a sysfs parameter to allow async readout of the ADCs

2015-11-29 Thread Jonathan Cameron
On 25/11/15 11:28, Marc Titinger wrote: > This can lead to repeated or skipped samples depending on the clock beat > between the capture thread and the chip sampling clock, but will also spare > reading/waiting for the Capture Ready Flag and improve the available i2c > bandwidth for reading measure

Re: block: Always check queue limits for cloned requests

2015-11-29 Thread Mike Snitzer
On Sun, Nov 29 2015 at 11:15am -0500, Markus Trippelsdorf wrote: > On 2015.11.29 at 16:43 +0100, Hannes Reinecke wrote: > > On 11/29/2015 12:49 PM, Markus Trippelsdorf wrote: > > > > > > I'm still seeing the issue (BUG at drivers/scsi/scsi_lib.c:1096!) even > > > with this patch applied. > > >

Re: [PATCH v2 1/1] serial: imx: fix a possible NULL dereference

2015-11-29 Thread Uwe Kleine-König
On Tue, Nov 24, 2015 at 03:36:57PM +0100, LABBE Corentin wrote: > of_match_device could return NULL, and so cause a NULL pointer > dereference later. > Even if the probability of this case is very low, fixing it made > static analyzers happy. > Solving this with of_device_get_match_data made also c

Re: block: Always check queue limits for cloned requests

2015-11-29 Thread Markus Trippelsdorf
On 2015.11.29 at 11:49 -0500, Mike Snitzer wrote: > On Sun, Nov 29 2015 at 11:15am -0500, > Markus Trippelsdorf wrote: > > > On 2015.11.29 at 16:43 +0100, Hannes Reinecke wrote: > > > On 11/29/2015 12:49 PM, Markus Trippelsdorf wrote: > > > > > > > > I'm still seeing the issue (BUG at drivers/sc

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

2015-11-29 Thread Jonathan Cameron
On 18/11/15 07:33, Jonathan Cameron wrote: > > > On 17 November 2015 23:47:16 GMT+00:00, Andrew Morton > wrote: >> On Sun, 15 Nov 2015 10:39:08 + Jonathan Cameron >> wrote: >> >>> On 11/11/15 06:43, Jonathan Cameron wrote: On 10 November 2015 21:12:37 GMT+00:00, Andrew Morto

Re: [PATCH BUGFIX 1/3] null_blk: set a separate timer for each command

2015-11-29 Thread Paolo Valente
Hi Jens, this is just to ask you whether you made any decision about these patches, including just not to apply them. Thanks, Paolo Il giorno 03/nov/2015, alle ore 10:01, Paolo Valente ha scritto: > > Il giorno 02/nov/2015, alle ore 17:14, Jens Axboe ha scritto: > >> On 11/02/2015 07:31 AM

[PATCH] ALSA: i2c: constify snd_i2c_ops structures

2015-11-29 Thread Julia Lawall
The snd_i2c_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- include/sound/i2c.h |2 +- sound/i2c/i2c.c |2 +- sound/pci/ice1712/delta.c |2 +- 3 files changed, 3 insertions(+), 3 deletion

Re: [PATCH 1/2] iio: ina2xx: add support for TI INA2xx Power Monitors

2015-11-29 Thread Guenter Roeck
On 11/29/2015 08:31 AM, Jonathan Cameron wrote: On 25/11/15 11:28, Marc Titinger wrote: in SOFTWARE buffer mode, a kthread will capture the active scan_elements into a kfifo, then compute the remaining time until the next capture tick and do an active wait (udelay). This will produce a stream o

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' >> > > approaches, >> > > both have their own role. [...] >> > >> >

Re: [PATCH v2 2/3] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-11-29 Thread Vishnu Patekar
Hello Maxime, Sorry for delayed response. On Mon, Oct 26, 2015 at 4:20 AM, Maxime Ripard wrote: > Hi, > > On Fri, Oct 23, 2015 at 07:46:16AM +0800, Vishnu Patekar wrote: >> + memory { >> + reg = <0x4000 0x8000>; >> + }; >> + >> + timer { >> + compatible

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-29 Thread Russell King - ARM Linux
On Sat, Nov 28, 2015 at 12:34:23PM -0500, Nicolas Pitre wrote: > Good. And Arnd likes the idea too. So we might be converging at last > which is a good thing. I disagree with the idea that there is convergence. There might be convergence towards an idea, but... Here's a mail extract, from July 7

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 is

[GIT PULL] RTC fixes for 4.4

2015-11-29 Thread Alexandre Belloni
Hi Linus, Here are two fixes for the ds1307 driver. I don't expect much more for this cycle. The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4: Linux 4.4-rc2 (2015-11-22 16:45:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/ker

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-29 Thread Pali Rohár
On Sunday 29 November 2015 19:09:39 Russell King - ARM Linux wrote: > On Sat, Nov 28, 2015 at 12:34:23PM -0500, Nicolas Pitre wrote: > > Good. And Arnd likes the idea too. So we might be converging at > > last which is a good thing. > > I disagree with the idea that there is convergence. There mi

  1   2   3   4   >