Re: [PATCH v3 3/6] pwm: imx: support output polarity inversion

2016-10-22 Thread Lukasz Majewski
Hi Boris, > > > > Could you be more specific here? > > > > As I mentioned before, the problem is not with the lack of > > "atomic" API. > > Below is a quick and dirty I made on top of this patch to show you how > atomic update can be implemented in this driver. Thank you for example patch.

Re: IA64-sn2_smp: Combine two seq_printf() calls into one call in sn2_ptc_seq_show()

2016-10-22 Thread SF Markus Elfring
>> Would you prefer to use this function also at this source code place? > > I think that he is expecting that you will figure out the answer by yourself. I know some answer possibilities for the potential usage of the function "seq_puts" also within the implementation of the function "sn2_ptc_s

Re: Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-22 Thread SF Markus Elfring
Am 21.10.2016 um 19:53 schrieb Theodore Ts'o: > On Fri, Oct 21, 2016 at 07:33:30PM +0200, SF Markus Elfring wrote: >> >>> but (a) this isn't performance critical, >> >> This can be. > > In this case, no, it really can't possibly be performance critical. > If you can't see why, you have no business

make[2]: *** No rule to make target 'alchemy/devboards/'.

2016-10-22 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: cf2a5e0bb4c66e8c43caf9f1be93a1bd7fd07b17 MIPS: Support generating Flattened Image Trees (.itb) date: 2 week

Re: [PATCH 6/6] IA64-sn2_smp: Combine two seq_printf() calls into one call in sn2_ptc_seq_show()

2016-10-22 Thread Julia Lawall
On Sat, 22 Oct 2016, SF Markus Elfring wrote: > >> @@ -494,12 +494,11 @@ static int sn2_ptc_seq_show(struct seq_file *file, > >> void *data) > >>int cpu; > >> > >>cpu = *(loff_t *) data; > >> - > >> - if (!cpu) { > >> + if (!cpu) > >>seq_printf(file, > >> -

cc1: error: '-march=r3900' requires '-mfp32'

2016-10-22 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 12 days ago config: mi

arch/mips/kernel/mips-cpc.c:47: undefined reference to `mips_cpc_default_phys_base'

2016-10-22 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: eed0eabd12ef061821cbfa20d903476e07645320 MIPS: generic: Introduce generic DT-based board support date: 2 we

Re: [V4,2/3] Revert "ACPI,PCI,IRQ: remove SCI penalize function"

2016-10-22 Thread Jonathan Liu
On 20 October 2016 at 09:21, Sinan Kaya wrote: > The SCI penalize function was removed in two steps (first refactor > and then remove) and these changes are reverted here in one go. > > The commit 103544d86976 ("ACPI,PCI,IRQ: reduce resource requirements") > refactored the original code so that SC

Re: [V4,3/3] Revert "ACPI,PCI,IRQ: separate ISA penalty calculation"

2016-10-22 Thread Jonathan Liu
On 20 October 2016 at 09:21, Sinan Kaya wrote: > This reverts commit f7eca374f000 ("ACPI,PCI,IRQ: separate ISA penalty > calculation") and commit 487cf917ed0d ("revert "ACPI, PCI, IRQ: remove > redundant code in acpi_irq_penalty_init()""). > > Now that we understand the real issue (SCI and ISA pen

Re: [V4, 1/3] ACPI, PCI, IRQ: assign ISA IRQ directly during early boot stages

2016-10-22 Thread Jonathan Liu
On 20 October 2016 at 09:21, Sinan Kaya wrote: > The penalty determination of ISA IRQ goes through 4 paths. > 1. assign PCI_USING during power up via acpi_irq_penalty_init. > 2. update the penalty with acpi_penalize_isa_irq function based on the > active parameter. > 3. kernel command line penalty

[PATCH v2 2/7] iio: mcp4531: provide range of available raw values

2016-10-22 Thread Peter Rosin
Signed-off-by: Peter Rosin --- drivers/iio/potentiometer/mcp4531.c | 104 +--- 1 file changed, 62 insertions(+), 42 deletions(-) diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c index 13b6ae2fcf7b..0d1bcf89ae17 100644 --- a/d

[PATCH v2 7/7] iio: envelope-detector: ADC driver based on a DAC and a comparator

2016-10-22 Thread Peter Rosin
The DAC is used to find the peak level of an alternating voltage input signal by a binary search using the output of a comparator wired to an interrupt pin. Like so: _ | \ input +-->---|+ \ | \ .---

{standard input}:199: Error: unknown opcode

2016-10-22 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: b4214e41b7152b1964a3421a40251d202ae2d2c0 sh: add SMP support for J2 date: 3 months ago config: sh-j2_defconf

Re: [PATCH v3] pinctrl: Add SX150X GPIO Extender Pinctrl Driver

2016-10-22 Thread Andrey Smirnov
On Fri, Oct 21, 2016 at 2:09 AM, Neil Armstrong wrote: > Since the I2C sx150x GPIO expander driver uses platform_data to manage > the pins configurations, rewrite the driver as a pinctrl driver using > pinconf to get/set pin configurations from DT or debugfs. > > The pinctrl driver is functionnall

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-10-22 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 9 months ago config:

[GIT PULL] target fixes for v4.9-rc2

2016-10-22 Thread Nicholas A. Bellinger
Hello Linus, Here are the outstanding target-pending fixes for v4.9-rc2. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This includes: - Fix v4.1.y+ reference leak regression with concurrent TMR ABORT_TASK + session shutdown.

cc1: error: '-march=r3000' requires '-mfp32'

2016-10-22 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 12 days ago config: mips-decstation_defconfig (attached as .config) comp

Re: [PATCH v4 2/5] drivers/of: do not add memory for unavailable nodes

2016-10-22 Thread Reza Arbab
Hi Alistair, On Fri, Oct 21, 2016 at 05:22:54PM +1100, Alistair Popple wrote: From what I can tell it seems that kernels without this patch will try and use this memory even if it is marked in the device-tree as status="disabled" which could lead to problems for older kernels when we start exp

Email blocked due to detection of unsafe file attachment

2016-10-22 Thread ITSupport
Your e-mail has been blocked due to detection of unsafe file attachment. --- Additional Information ---: Subject: Sender: linux-kernel@vger.kernel.org Time received: 10/22/2016 11:14:24 PM Message ID:<147717805956.1197.11354522112670710...@173-13-69-253-newengland.hfc.comcastbusiness.net> Detec

Re: [PATCH net-next v2 7/9] net: use core MTU range checking in misc drivers

2016-10-22 Thread Jarod Wilson
On Sat, Oct 22, 2016 at 09:27:59PM +0200, Stefan Richter wrote: > Adding Cc: linux1394-devel, dropping several Ccs, no additional comment. > > On Oct 22 Stefan Richter wrote: > > On Oct 20 Jarod Wilson wrote: > > > firewire-net: > > > - set min/max_mtu > > > - remove fwnet_change_mtu > > [...] >

[PATCH v2 4/7] dt-bindings: iio: document dpot-dac bindings

2016-10-22 Thread Peter Rosin
Signed-off-by: Peter Rosin --- .../devicetree/bindings/iio/dac/dpot-dac.txt | 41 ++ MAINTAINERS| 6 2 files changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/dpot-dac.txt diff --git a/D

[PATCH v2 6/7] dt-bindings: iio: document envelope-detector bindings

2016-10-22 Thread Peter Rosin
Signed-off-by: Peter Rosin --- .../bindings/iio/adc/envelope-detector.txt | 55 ++ MAINTAINERS| 6 +++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/envelope-detector.txt diff

[PATCH v2 0/7] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-22 Thread Peter Rosin
Hi! These two drivers share the fact that they wrap another iio channel, and I use the first in combination with the second, which is why I'm submitting them as a pair. The first driver is a simple wrapper converting an iio dpot into an iio dac. It only changes the unit and scale. It also does no

[PATCH v2 5/7] iio: dpot-dac: DAC driver based on a digital potentiometer

2016-10-22 Thread Peter Rosin
It is assumed the that the dpot is used as a voltage divider between the current dpot wiper setting and the maximum resistance of the dpot. The divided voltage is provided by a vref regulator. .--. .---. | | | vref |--'.---. | regulator |--.

[PATCH v2 3/7] dt-bindings: add axentia to vendor-prefixes

2016-10-22 Thread Peter Rosin
Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index f0a48ea78659..a437120a7eee 100644 --- a/Doc

Re: [PATCH] batman-adv: Revert "use core MTU range checking in misc drivers"

2016-10-22 Thread Jarod Wilson
On Sat, Oct 22, 2016 at 09:46:24AM +0200, Sven Eckelmann wrote: > The maximum MTU is defined via the slave devices of an batman-adv > interface. Thus it is not possible to calculate the max_mtu during the > creation of the batman-adv device when no slave devices are attached. Doing > so would for e

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'

2016-10-22 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'

2016-10-22 Thread kbuild test robot
Hi Vincent, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: 3194c6870158e305dac2af52f83681e9cb67280f NFC: nfcmrvl: add firmware download support date: 12 months ago

arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-10-22 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c2b6dc4fd4fa13796b319aae969a009f03222c6 commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 12 months ago config:

[RFC/RFT][PATCH] cpufreq: intel_pstate: Generic governors support

2016-10-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There may be reasons to use generic cpufreq governors (eg. schedutil) on Intel platforms instead of the intel_pstate driver's internal governor. However, that currently can only be done by disabling intel_pstate altogether and using the acpi-cpufreq driver instead of it,

Re: [PATCH] acpi/apei: Fix in-correct return value

2016-10-22 Thread Rafael J. Wysocki
On Saturday, October 22, 2016 06:37:35 PM Borislav Petkov wrote: > On Fri, Oct 21, 2016 at 11:28:29PM +0200, Rafael J. Wysocki wrote: > > Boris, all fine here? > > Short answer: Yeah, looks ok to me. > > Longer answer: I mean, this way ghes_proc() *actually* propagates the > return value of ghes_

Re: [PATCH V4 3/3] Revert "ACPI, PCI, IRQ: separate ISA penalty calculation"

2016-10-22 Thread Bjorn Helgaas
On Thu, Oct 20, 2016 at 07:58:57PM -0700, Sinan Kaya wrote: > On 10/20/2016 7:31 PM, Bjorn Helgaas wrote: > ... > > And I don't think it fixes a user-visible problem, so it doesn't need > > to be applied immediately. I'm not sure this is worth doing by > > itself; maybe it should wait until we can

Re: [PATCH V3 1/3] ACPI, PCI IRQ: add PCI_USING penalty for ISA interrupts

2016-10-22 Thread Bjorn Helgaas
On Sat, Oct 15, 2016 at 12:31:05AM -0400, Sinan Kaya wrote: > The change introduced in commit 103544d86976 ("ACPI,PCI,IRQ: reduce > resource requirements") removed PCI_USING penalty from > acpi_pci_link_allocate function as there is no longer a fixed size penalty > array for both PCI interrupts gre

Re: [PATCH 4.8 00/57] 4.8.4-stable review

2016-10-22 Thread Rafael J. Wysocki
On Saturday, October 22, 2016 11:58:51 AM Greg Kroah-Hartman wrote: > On Fri, Oct 21, 2016 at 11:02:13PM +0200, Rafael J. Wysocki wrote: > > On Friday, October 21, 2016 11:17:23 AM Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.8.4 release. > > > There are 57

[ANNOUNCE] /dev/random - a new approach code for 4.9-rc1

2016-10-22 Thread Stephan Mueller
Hi, The patch set that can be downloaded at [1] provides a different approach to / dev/random which I call Linux Random Number Generator (LRNG) to collect entropy within the Linux kernel. The main improvements compared to the legacy /dev/random is to provide sufficient entropy during boot time a

Re: [PATCH V4 2/3] Revert "ACPI,PCI,IRQ: remove SCI penalize function"

2016-10-22 Thread Bjorn Helgaas
On Thu, Oct 20, 2016 at 08:58:14PM -0500, Bjorn Helgaas wrote: > On Wed, Oct 19, 2016 at 06:21:03PM -0400, Sinan Kaya wrote: > > The SCI penalize function was removed in two steps (first refactor > > and then remove) and these changes are reverted here in one go. > > > > The commit 103544d86976 ("

[PATCH] video: backlight: pwm_bl: Initialize fb_bl_on[x] and use_count during pwm_backlight_probe()

2016-10-22 Thread Lukasz Majewski
The commit: a55944ca82d287ca099ca90413af857af9086773 has posed some extra restrictions on blanking and unblanking frame buffer device. Unfortunately, pwm_bl driver's probe did not initialize members of struct backlight_device necessary for further blank/unblank operation. This code in case of ini

Re: Disabling an interrupt in the handler locks the system up

2016-10-22 Thread Mason
On 22/10/2016 13:37, Marc Zyngier wrote: > Mason wrote: > >> In my mental picture of interrupts (which is obviously so >> incomplete as to be wrong) interrupts are a way for hardware >> to tell the CPU that they urgently need the CPU's attention. > > That's how the CPU interprets it, but this is

[PATCH v2 1/7] iio:core: add a callback to allow drivers to provide _available attributes

2016-10-22 Thread Peter Rosin
From: Jonathan Cameron A large number of attributes can only take a limited range of values. Currently in IIO this is handled by directly registering additional *_available attributes thus providing this information to userspace. It is desirable to provide this information via the core for much

Re: [PATCH v7] net: ip, diag -- Add diag interface for raw sockets

2016-10-22 Thread David Miller
From: Cyrill Gorcunov Date: Fri, 21 Oct 2016 13:03:44 +0300 > In criu we are actively using diag interface to collect sockets > present in the system when dumping applications. And while for > unix, tcp, udp[lite], packet, netlink it works as expected, > the raw sockets do not have. Thus add it.

Re: [PATCH v2 0/9] mtd: spi-nor: parse SFDP tables to setup (Q)SPI memories

2016-10-22 Thread Marek Vasut
On 10/22/2016 01:00 PM, Jagan Teki wrote: > On Wed, Oct 5, 2016 at 5:30 PM, Cyrille Pitchen > wrote: >> Hi all, >> >> This series extends support of SPI protocols to new protocols such as >> SPI x-2-2 and SPI x-4-4. Also spi_nor_scan() tries now to select the right >> op codes, timing parameters (

[PATCH] miscdevice: introduce builtin_misc_device

2016-10-22 Thread Paul Gortmaker
This is basically the same as module_misc_device but without the presence of an exit/remove function. Similar in nature to the commit f309d4443130bf814e991f836e919dca22df37ae ("platform_device: better support builtin boilerplate avoidance"). Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Signed-off-

[PATCH] dma: tegra210-adma: convert TEGRA210_ADMA from bool to tristate

2016-10-22 Thread Paul Gortmaker
This driver currently uses modular infrastructure but is controlled by a bool Kconfig. There is a general consensus from the DMA reviewers and maintainers that "if it can be modular, it should be modular" in order to keep the bzImage size under control for multi platform kernels. Build tested onl

Re: [PATCH 0/5] reset: make non-modular drivers really non modular

2016-10-22 Thread Paul Gortmaker
[[PATCH 0/5] reset: make non-modular drivers really non modular] On 13/06/2016 (Mon 14:03) Paul Gortmaker wrote: > For anyone new to the underlying goal of this cleanup, we are trying to > not use module support for code that can never be built as a module since: Hi Philipp, I sent this several

Re: [PATCH v2 4/4] cpufreq: pxa: convert to clock API

2016-10-22 Thread Robert Jarzmik
Viresh Kumar writes: > On 15-10-16, 21:57, Robert Jarzmik wrote: >> As the clock settings have been introduced into the clock pxa drivers, >> which are now available to change the CPU clock by themselves, remove >> the clock handling from this driver, and rely on pxa clock drivers. >> >> Signed-

Re: [PATCH] net: skip genenerating uevents for network namespaces that are exiting

2016-10-22 Thread David Miller
From: Andrei Vagin Date: Thu, 20 Oct 2016 19:46:26 -0700 > @@ -1525,6 +1530,9 @@ void netdev_unregister_kobject(struct net_device *ndev) > { > struct device *dev = &(ndev->dev); > > + if (!list_empty(&dev_net(ndev)->exit_list)) > + dev->kobj.uevent_suppress = 1; > + Plea

Re: [PATCH 6/6] IA64-sn2_smp: Combine two seq_printf() calls into one call in sn2_ptc_seq_show()

2016-10-22 Thread SF Markus Elfring
>> @@ -494,12 +494,11 @@ static int sn2_ptc_seq_show(struct seq_file *file, >> void *data) >> int cpu; >> >> cpu = *(loff_t *) data; >> - >> -if (!cpu) { >> +if (!cpu) >> seq_printf(file, >> - "# cpu ptc_l newrid ptc_flushes nodes_flushed >>

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-22 Thread H. Nikolaus Schaller
Hi Jonathan, > Am 22.10.2016 um 20:33 schrieb Jonathan Cameron : > > On 17/10/16 14:57, H. Nikolaus Schaller wrote: >> The tsc2007 chip not only has a resistive touch screen controller but >> also an external AUX adc imput which can be used for an ambient >> light sensor, battery voltage monitori

[PATCH] iio: dac: mcp4725: fix odd_ptr_err.cocci warnings

2016-10-22 Thread Julia Lawall
PTR_ERR should access the value just tested by IS_ERR Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci CC: Tomas Novotny Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- Please take the patch only if it's a positive warning. Thanks! Not checked at all. This is being repor

Re: [PATCH net 0/2] net: dsa: bcm_sf2: Do not rely on kexec_in_progress

2016-10-22 Thread David Miller
From: Florian Fainelli Date: Fri, 21 Oct 2016 14:21:54 -0700 > These are the two patches following the discussing we had on > kexec_in_progress. > > Feel free to apply or discard them, thanks! Applied, thanks.

Re: [PATCH 6/6] IA64-sn2_smp: Combine two seq_printf() calls into one call in sn2_ptc_seq_show()

2016-10-22 Thread Joe Perches
On Sat, 2016-10-22 at 21:58 +0200, SF Markus Elfring wrote: > Some data were printed into a sequence by two separate function calls. > Print the same data by a single function call instead. [] > diff --git a/arch/ia64/sn/kernel/sn2/sn2_smp.c > b/arch/ia64/sn/kernel/sn2/sn2_smp.c [] > @@ -494,12 +4

[PATCH 6/6] IA64-sn2_smp: Combine two seq_printf() calls into one call in sn2_ptc_seq_show()

2016-10-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 22 Oct 2016 21:19:03 +0200 Some data were printed into a sequence by two separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/ia64/sn/ker

[PATCH 5/6] IA64-sn_hwperf: Use seq_puts() in sn_topology_show()

2016-10-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 22 Oct 2016 20:53:38 +0200 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch

[PATCH 4/6] IA64-setup: Use seq_putc() in show_cpuinfo()

2016-10-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 22 Oct 2016 20:42:20 +0200 A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/ia64/kernel/setup.c | 3 +-

[PATCH] Fix: perf data convert: leak of bt_ctf_field_type

2016-10-22 Thread Jérémie Galarneau
The ctf_writer structure contains an union of a structure containing 7 pointer members and an array of 6 struct bt_ctf_field_type*, which are used to release the references to these objects in ctf_writer__cleanup_data(). 26812d46 introduced the u32_hex member and should have increased the array's

[PATCH 3/6] IA64-simserial: Use seq_puts() in rs_proc_show()

2016-10-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 22 Oct 2016 20:35:28 +0200 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch

[PATCH 2/6] IA64-sba_iommu: Combine four seq_printf() calls into two calls in ioc_show()

2016-10-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 22 Oct 2016 20:22:46 +0200 Some data were printed into a sequence by four separate function calls. Print the same data by two function calls instead. Signed-off-by: Markus Elfring --- arch/ia64/hp/common/sba_iommu.c | 14 ++ 1 file changed, 10 insert

[PATCH 1/6] IA64-sba_iommu: Use seq_puts() in ioc_show()

2016-10-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 22 Oct 2016 20:20:24 +0200 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch

Re: [PATCH] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-10-22 Thread Michal Marek
On Thu, Oct 20, 2016 at 03:33:27PM +0100, Russell King - ARM Linux wrote: > On Fri, Oct 21, 2016 at 01:20:17AM +1100, Nicholas Piggin wrote: > > Good catch, I'm surprised you're the first one who reported it. This patch > > seems to do the trick for me: > > And me, thanks, so... > > > > > From:

[PATCH 0/6] IA64: Fine-tuning for five function implementations

2016-10-22 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 22 Oct 2016 21:27:32 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (6): sba_iommu: Use seq_puts() in ioc_show() sba_iommu: Combine four seq_printf() calls into two calls in ioc_show() simserial: Use s

[RFC][PATCH v2] mount: In propagate_umount handle overlapping mount propagation trees

2016-10-22 Thread Eric W. Biederman
Andrei, This fixes the issue you have reported and through a refactoring makes the code simpler and easier to verify. That said I find your last test case very interesting. While looking at it in detail I have realized I don't fully understand why we have both lookup_mnt and lookup_mnt_last, s

Re: [PATCH net-next v2 7/9] net: use core MTU range checking in misc drivers

2016-10-22 Thread Stefan Richter
Adding Cc: linux1394-devel, dropping several Ccs, no additional comment. On Oct 22 Stefan Richter wrote: > On Oct 20 Jarod Wilson wrote: > > firewire-net: > > - set min/max_mtu > > - remove fwnet_change_mtu > [...] > > --- a/drivers/firewire/net.c > > +++ b/drivers/firewire/net.c > > @@ -1349,15

[PATCH] drm/rockchip: analogix_dp: add supports for regulators in edp IP

2016-10-22 Thread Randy Li
I found if eDP_AVDD_1V0 and eDP_AVDD_1V8 are not been power at RK3288, once trying to enable the pclk clock, the kernel would dead. This patch would try to enable them first. The eDP_AVDD_1V8 more likely to be applied to eDP phy, but I have no time to confirmed it yet. Signed-off-by: Randy Li ---

Re: [PATCH net-next v2 7/9] net: use core MTU range checking in misc drivers

2016-10-22 Thread Stefan Richter
On Oct 20 Jarod Wilson wrote: > firewire-net: > - set min/max_mtu > - remove fwnet_change_mtu [...] > --- a/drivers/firewire/net.c > +++ b/drivers/firewire/net.c [...] > @@ -1478,9 +1467,10 @@ static int fwnet_probe(struct fw_unit *unit, >* Use the RFC 2734 default 1500 octets or the maximu

Re: [RFC][PATCH] Add EXPORT_MACRO_SYMBOL() for asm

2016-10-22 Thread Steven Rostedt
On Sat, 22 Oct 2016 10:44:41 +1100 Nicholas Piggin wrote: > > #ifdef CONFIG_FUNCTION_GRAPH_TRACER > > diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h > > index 43199a049da5..cb86e746865e 100644 > > --- a/include/asm-generic/export.h > > +++ b/include/asm-generic/export.h

Re: [PATCH net-next 6/6] net: use core MTU range checking in misc drivers

2016-10-22 Thread Stefan Richter
On Oct 22 Stefan Richter wrote: > On Oct 19 Jarod Wilson wrote: > > On Thu, Oct 20, 2016 at 12:38:46AM +0200, Stefan Richter wrote: > > > On Oct 19 Sabrina Dubroca wrote: > > > > 2016-10-18, 22:33:33 -0400, Jarod Wilson wrote: [...] > > > > > @@ -1481,6 +1471,8 @@ static int fwnet_probe(struct

Re: [PATCH 2/3] z3fold: remove redundant locking

2016-10-22 Thread Vitaly Wool
On Thu, Oct 20, 2016 at 10:15 PM, Dan Streetman wrote: > On Wed, Oct 19, 2016 at 12:35 PM, Vitaly Wool wrote: >> The per-pool z3fold spinlock should generally be taken only when >> a non-atomic pool variable is modified. There's no need to take it >> to map/unmap an object. This patch introduces

Re: [PATCH v4 0/4] Add support for cros-ec-sensors

2016-10-22 Thread Jonathan Cameron
On 01/08/16 10:54, Enric Balletbo i Serra wrote: > Hi, > > This is the four patchset to add support for the sensors behind the ChromeOS > Embedded Controller. > > This version has only the patches to support common functions and 3d > contiguous sensors like Accelerometers, Gyroscope and Magnetome

Re: [PATCH v2] iio: light: ltr501: claim direct mode during raw writes

2016-10-22 Thread Jonathan Cameron
On 17/10/16 22:10, Peter Meerwald-Stadler wrote: > On Sun, 16 Oct 2016, Jonathan Cameron wrote: > >> On 16/10/16 06:02, Alison Schofield wrote: >>> Driver was checking for direct mode but not locking it. Use >>> claim/release helper functions to guarantee the device stays >>> in direct mode durin

Re: [PATCH v4] iio: humidity: hdc100x: add triggered buffer support for HDC100X

2016-10-22 Thread Jonathan Cameron
On 18/10/16 16:48, Alison Schofield wrote: > On Sat, Sep 03, 2016 at 08:37:27PM +0100, Jonathan Cameron wrote: >> On 02/09/16 18:23, Alison Schofield wrote: >>> Triggered buffer support uses the HDC100X's dual acquisition mode >>> to read both humidity and temperature in one shot. >>> >>> This patc

Re: [PATCH v4 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-10-22 Thread Jonathan Cameron
On 17/10/16 14:57, H. Nikolaus Schaller wrote: > The tsc2007 chip not only has a resistive touch screen controller but > also an external AUX adc imput which can be used for an ambient > light sensor, battery voltage monitoring or any general purpose. > > Additionally it can measure the chip tempe

Re: [PATCH 1/3] z3fold: make counters atomic

2016-10-22 Thread Vitaly Wool
On Thu, Oct 20, 2016 at 10:17 PM, Dan Streetman wrote: > On Wed, Oct 19, 2016 at 12:35 PM, Vitaly Wool wrote: >> This patch converts pages_nr per-pool counter to atomic64_t. >> It also introduces a new counter, unbuddied_nr, which is >> atomic64_t, too, to track the number of unbuddied (compactab

Re: [PATCH] flow_dissector: avoid uninitialized variable access

2016-10-22 Thread Tom Herbert
On Sat, Oct 22, 2016 at 8:57 AM, Eric Garver wrote: > On Sat, Oct 22, 2016 at 12:16:29AM +0200, Arnd Bergmann wrote: >> On Friday, October 21, 2016 11:05:45 PM CEST Arnd Bergmann wrote: >> > >> > Can you explain why "dissector_uses_key(flow_dissector, >> > FLOW_DISSECTOR_KEY_VLAN) && skb_vlan_tag_

Re: [PATCH] EDAC, altera: Disable IRQ while injecting SDRAM errors

2016-10-22 Thread Borislav Petkov
On Wed, Oct 19, 2016 at 02:53:47PM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Disable IRQs while injecting SDRAM errors. The RT patches exposed > a spinlock deadlock where the spinlock taken for the regmap write > deadlocked with the IRQ clear regmap write. > Error inject

[PATCH] x86/entry64: remove unused audit related macros

2016-10-22 Thread Alexander Kuleshov
which are ocured in the 86a1c34a929f commit (x86_64 syscall audit fast-path by Roland McGrath ) and now they are not used anymore. Signed-off-by: Alexander Kuleshov --- arch/x86/entry/entry_64.S | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/e

Re: [PATCH v4 0/4] Add support for cros-ec-sensors

2016-10-22 Thread Olof Johansson
[once more in plain text] On Tue, Oct 18, 2016 at 1:56 AM, Jonathan Cameron wrote: > > > On 18 October 2016 09:35:06 BST, Enric Balletbo Serra > wrote: >>Hi Jonathan, >> >>2016-09-03 19:21 GMT+02:00 Jonathan Cameron : >>> On 01/09/16 08:24, Lee Jones wrote: >> Given this dependency I'm

Re: [PATCH v3 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-22 Thread Jonathan Cameron
On 19/10/16 09:52, Mugunthan V N wrote: > On Sunday 09 October 2016 02:00 PM, Jonathan Cameron wrote: >> On 05/10/16 10:04, Mugunthan V N wrote: >>> This patch adds the required pieces to ti_am335x_adc driver for >>> DMA support >>> >>> Signed-off-by: Mugunthan V N >> Hi, >> >> Just the one questi

Talent Scout

2016-10-22 Thread Camilia Brunnet
Dear Concern, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

Talent Scout

2016-10-22 Thread Camilia Brunnet
Dear Concern, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

Re: Regression in 4.9-rc1 for PPC32 - bisected to commit 05fd007e4629

2016-10-22 Thread Larry Finger
On 10/20/2016 12:55 AM, Larry Finger wrote: Kernel 4.9-rc1 fails to boot on my PowerBook G4 Aluminum (32-bit PowerPC) with the following splat: Kernel Panic - not synching: Attempted to kill init: exitcode = 0x0200 Call trace: dump_stack+0x24/0x34 (unreliable) panic+0x110/0x2ac do_exit+0x4

Re: [Nouveau] [PATCH 01/17] drm/nouveau/core: add missing header dependencies

2016-10-22 Thread Karol Herbst
I think it would be better to squash those commits: 1. for the includes 2. for static declerations 2016-10-22 11:41 GMT+02:00 Baoyou Xie : > We get 2 warnings when building kernel with W=1: > drivers/gpu/drm/nouveau/nvkm/core/firmware.c:34:1: warning: no previous > prototype for 'nvkm_firmware_ge

Re: [PATCH 7/7] iio: light: tsl2583: fix concurrency issue in taos_get_lux()

2016-10-22 Thread Jonathan Cameron
On 19/10/16 11:32, Brian Masney wrote: > taos_get_lux() calls mutex_trylock(). If the lock could not be acquired, > then chip->als_cur_info.lux is returned. The issue is that this value > is updated while the mutex is held and could cause a half written value > to be returned to the caller. This pa

Re: [PATCH 6/7] iio: light: tsl2583: add locking to sysfs *_store() functions

2016-10-22 Thread Jonathan Cameron
On 19/10/16 12:37, Dan Carpenter wrote: > I appologize for laughing, but I am still secretly amused in my heart. > > regards, > dan carpenter > Fewer beers or less caffeine for Dan! Key take away here is keep things simple. The gotos in my mind would actually have made sense, but I wouldn't do

Re: [PATCH] acpi/apei: Fix in-correct return value

2016-10-22 Thread Borislav Petkov
On Fri, Oct 21, 2016 at 11:28:29PM +0200, Rafael J. Wysocki wrote: > Boris, all fine here? Short answer: Yeah, looks ok to me. Longer answer: I mean, this way ghes_proc() *actually* propagates the return value of ghes_read_estatus() and we don't do any processing if it failed. Which doesn't real

Re: [PATCH 3/7] iio: light: tsl2583: use DEVICE_ATTR_{RO, RW, WO} macros

2016-10-22 Thread Jonathan Cameron
On 19/10/16 14:11, Dan Carpenter wrote: > On Wed, Oct 19, 2016 at 09:08:30AM -0400, Brian Masney wrote: >> On Wed, Oct 19, 2016 at 02:26:27PM +0300, Dan Carpenter wrote: >>> What does illuminance0_ mean? Can we remove that? >> >> I left the names of the existing sysfs attributes intact to not brea

Re: [PATCH 1/1] arm: dts: imx6ul: 14x14-evk: add the optee node

2016-10-22 Thread Fabio Estevam
Hi Jason, On Sat, Oct 22, 2016 at 12:57 PM, Jason Liu wrote: > This patch adds the optee node for the i.MX6UL 14x14 evk board > > Signed-off-by: Jason Liu > --- > arch/arm/boot/dts/imx6ul-14x14-evk.dts | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6ul-14x1

Re: [PATCH 1/7] iio: light: tsl2583: return proper error code

2016-10-22 Thread Jonathan Cameron
On 19/10/16 11:32, Brian Masney wrote: > taos_gain_store() and taos_als_calibrate() both have a code path where > -1 was returned. This patch changes the code so that a proper error code > is returned to make the code consistent with the error paths that are > present within those same functions. >

[PATCH v3 1/1] skd_main: use %*ph to dump small buffers

2016-10-22 Thread Andy Shevchenko
Replace custom approach by %*ph specifier to dump small buffers in hex format. Unfortunately we can't use print_hex_dump_bytes() here since tha gap is present, though one familiar with the code may change this. Signed-off-by: Andy Shevchenko --- drivers/block/skd_main.c | 16 1

Re: [serial: 8250_lpss] a13e19cf3d: BUG: kernel hang in boot stage

2016-10-22 Thread Andy Shevchenko
On Mon, 2016-09-05 at 18:15 +0300, Andy Shevchenko wrote: > +Heikki > > On Sat, 2016-09-03 at 16:25 +0800, kernel test robot wrote: > > Greetings, > > > > 0day kernel testing robot got the below dmesg and the first bad > > commit > > is > > Briefly tested I have hang issues *with* or *without* t

Re: mmiotracer hangs the system

2016-10-22 Thread Andy Shevchenko
On Fri, Oct 14, 2016 at 12:12 AM, Karol Herbst wrote: > sorry for the delay fixing that bug. I got occupied with other things > and didn't really got to the issue again, it is on my todo list as the > next item though and I hope I will be able to get a fix ready this > weekend. I think I might kno

Re: [PATCH] flow_dissector: avoid uninitialized variable access

2016-10-22 Thread Eric Garver
On Sat, Oct 22, 2016 at 12:16:29AM +0200, Arnd Bergmann wrote: > On Friday, October 21, 2016 11:05:45 PM CEST Arnd Bergmann wrote: > > > > Can you explain why "dissector_uses_key(flow_dissector, > > FLOW_DISSECTOR_KEY_VLAN) && skb_vlan_tag_present(skb)" implies > > "eth_type_vlan(proto))"? > > >

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-22 Thread Amir Goldstein
On Sat, Oct 22, 2016 at 10:24 AM, Amir Goldstein wrote: > On Fri, Oct 21, 2016 at 11:13 PM, Vivek Goyal wrote: >> On Fri, Oct 21, 2016 at 11:53:41AM +0300, Amir Goldstein wrote: >>> On Thu, Oct 20, 2016 at 11:54 PM, Vivek Goyal wrote: >>> > On Thu, Oct 20, 2016 at 04:46:30PM -0400, Vivek Goyal w

Re: [PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-22 Thread Krzysztof Kozlowski
On Sat, Oct 22, 2016 at 02:29:07PM +0200, Boris Brezillon wrote: > Hi Krzysztof, > > On Fri, 21 Oct 2016 21:27:10 +0300 > Krzysztof Kozlowski wrote: > > > On Thu, Oct 20, 2016 at 07:42:44PM -0200, Sergio Prado wrote: > > > Removing CONFIG_MTD_NAND_S3C2410_HWECC option and adding a ecc_mode > > >

Re: bio linked list corruption.

2016-10-22 Thread Dave Jones
On Fri, Oct 21, 2016 at 04:02:45PM -0400, Dave Jones wrote: > > It could be worth trying this, too: > > > > > https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/commit/?h=x86/vmap_stack&id=174531fef4e8 > > > > It occurred to me that the current code is a little bit fragile.

reduce latency in __purge_vmap_area_lazy

2016-10-22 Thread Christoph Hellwig
Hi all, this is my spin at sorting out the long lock hold times in __purge_vmap_area_lazy. It is based on the patch from Joel sent this week. I don't have any good numbers for it, but it survived an xfstests run on XFS which is a significant vmalloc user.

[PATCH 1/7] mm: remove free_unmap_vmap_area_noflush

2016-10-22 Thread Christoph Hellwig
Just inline it into the only caller. Signed-off-by: Christoph Hellwig Tested-by: Jisheng Zhang --- mm/vmalloc.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index f2481cb..45de736 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -

[PATCH 5/7] mm: mark all calls into the vmalloc subsystem as potentially sleeping

2016-10-22 Thread Christoph Hellwig
We will take a sleeping lock in later in this series, so this adds the proper safeguards. Signed-off-by: Christoph Hellwig Tested-by: Jisheng Zhang --- mm/vmalloc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index bcc1a64..0e7f523 10064

[PATCH 3/7] mm: refactor __purge_vmap_area_lazy

2016-10-22 Thread Christoph Hellwig
Move the purge_lock synchronization to the callers, move the call to purge_fragmented_blocks_allcpus at the beginning of the function to the callers that need it, move the force_flush behavior to the caller that needs it, and pass start and end by value instead of by reference. No change in behavi

[PATCH 7/7] mm: add preempt points into __purge_vmap_area_lazy

2016-10-22 Thread Christoph Hellwig
From: Joel Fernandes Use cond_resched_lock to avoid holding the vmap_area_lock for a potentially long time and thus creating bad latencies for various workloads. Signed-off-by: Joel Fernandes [hch: split from a larger patch by Joel, wrote the crappy changelog] Signed-off-by: Christoph Hellwig

[PATCH 2/7] mm: remove free_unmap_vmap_area_addr

2016-10-22 Thread Christoph Hellwig
Just inline it into the only caller. Signed-off-by: Christoph Hellwig Tested-by: Jisheng Zhang --- mm/vmalloc.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 45de736..cf1a5ab 100644 --- a/mm/vmalloc.c +++ b/mm/vmallo

  1   2   3   >