[PATCH 0/2] staging: comedi: s526: add counter register macros

2015-11-19 Thread Ian Abbott
Add macros to describe the counter mode and counter control/status registers. In patch 1, the macros for the counter mode register replace the use of bitfield structure and union types. 1) staging: comedi: s526: replace counter mode bitfield struct 2) staging: comedi: s526: add macros for

[PATCH 2/2] staging: comedi: s526: add macros for counter control reg values

2015-11-19 Thread Ian Abbott
The driver writes a couple of literal values to the counter control/status register, 0x8000 to reset the counter, and 0x4000 to load the counter from preload register 0. Add a bunch of macros to define these values and other values for the register, based on the Sensoray 526 manual.

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-19 Thread Richard Weinberger
Am 19.11.2015 um 15:37 schrieb Colin Walters: > On Thu, Nov 19, 2015, at 02:53 AM, Richard Weinberger wrote: > >> Erm, I don't want this in the kernel. That's why I've proposed the lklfuse >> approach. > > I already said this before but just to repeat, since I'm confused: > > How would

Re: [PATCH 1/2] pinctrl: qcom: spmi-gpio: Add pm8994 gpio support

2015-11-19 Thread Rob Herring
On Tue, Nov 17, 2015 at 04:52:32PM -0800, Stephen Boyd wrote: > Update the binding and driver for pm8994-gpio devices. > > Cc: > Cc: "Ivan T. Ivanov" > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd Acked-by: Rob Herring > --- >

Re: [PATCH 2/2] pinctrl: qcom: spmi-mpp: Add pm8994 mpp support

2015-11-19 Thread Rob Herring
On Tue, Nov 17, 2015 at 04:52:33PM -0800, Stephen Boyd wrote: > Update the driver and binding for pm8994-mpp devices. > > Cc: > Cc: "Ivan T. Ivanov" > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd Acked-by: Rob Herring > --- >

Re: [PATCH v3 10/12] drm/panel: simple: Add support for BOE TV080WUM-NL0

2015-11-19 Thread Emil Velikov
Hi Chris, Missing Thierry from the To/Cc list ? His name/email should have popped up when using the get_mainteiners.pl script. On 19 November 2015 at 03:35, Chris Zhong wrote: > This adds support for the BOE TV080WUM-NL0 1200x1920 mipi panel to the > DRM simple panel driver. > > Signed-off-by:

Re: [PATCH] pinctrl: qcom: Add msm8996 pinctrl driver

2015-11-19 Thread Rob Herring
On Tue, Nov 17, 2015 at 04:35:46PM -0800, Stephen Boyd wrote: > From: Joonwoo Park > > Add initial pinctrl driver to support pin configuration with > pinctrl framework for msm8996. > > Cc: > Cc: Bjorn Andersson > Signed-off-by: Joonwoo Park > [sb...@codeaurora.org: Remove duplicate entries

Re: [PATCH v3 00/12] Add mipi dsi support for rk3288

2015-11-19 Thread Emil Velikov
On 19 November 2015 at 03:35, Chris Zhong wrote: > The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller > IP. This series adds support for a Synopsys DesignWare MIPI DSI host > controller DRM bridge driver and a rockchip MIPI DSI specific DRM > driver. > > This series also

Re: [PATCH 4/4] sched: add trace event for idle injection

2015-11-19 Thread Javi Merino
[ CCing Steve Rostedt for the tracing bits ] On Fri, Nov 13, 2015 at 11:53:07AM -0800, Jacob Pan wrote: > Trace events for idle injection can be used to determine > timer activities for checking synchronization. In addition they > also helps to determine when the runqueue is throttled. > >

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-19 Thread Colin Walters
On Thu, Nov 19, 2015, at 02:53 AM, Richard Weinberger wrote: > Erm, I don't want this in the kernel. That's why I've proposed the lklfuse > approach. I already said this before but just to repeat, since I'm confused: How would "lklfuse" be different from http://libguestfs.org/ which we at Red

[PATCH] [RESEND 2] SCSI: initio: remove duplicate module device table

2015-11-19 Thread Arnd Bergmann
The initio driver has for many years had two copies of the same module device table. One of them is also used for registering the other driver, the other one is entirely useless after the large scale cleanup that Alan Cox did back in 2007. The compiler warns about this whenever the driver is

Re: [PATCH] perf report: [WIP] Support '-F none' option to hide hist lines

2015-11-19 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 09, 2015 at 02:45:38PM +0900, Namhyung Kim escreveu: > For some reason, it sometimes wants to hide hist lines but only wants to > see callchains. To do that, add virtual 'none' field name to hide all > hist lines. It should be used solely and only meaningful on --stdio. > > WIP on

Re: [PATCH v6 3/6] dt/bindings: add bindings for optee

2015-11-19 Thread Rob Herring
On Thu, Nov 19, 2015 at 3:18 AM, Jens Wiklander wrote: > On Mon, Nov 16, 2015 at 11:01:10AM -0600, Rob Herring wrote: >> On Thu, Oct 29, 2015 at 09:21:25AM +0100, Jens Wiklander wrote: >> > Introduces optee prefix and adds bindings for ARM TrustZone based OP-TEE >> > implementation. >> > >> >

[PATCH] modpost: don't add a trailing wildcard for OF module aliases

2015-11-19 Thread Javier Martinez Canillas
Commit ac551828993ee ("modpost: i2c aliases need no trailing wildcard") removed the wildcard at the end of the I2C module aliases because I2C devices have no IDs so the aliases are just arbitrary device names. This is also true for OF modaliases since a compatible string is used to define a

Re: [PATCH] clk: si5351: Add setup steps

2015-11-19 Thread Belisko Marek
Hi Jacob, On Thu, Nov 19, 2015 at 2:40 PM, Jacob Siverskog wrote: > This is according to figure 12 ("I2C Programming Procedure") in > "Si5351A/B/C Data Sheet" > (https://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351-B.pdf). > > Without the PLL soft reset, we were unable to get three

Re: [PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-19 Thread Andrew Lunn
> > #ifdef CONFIG_OF > > +static void select_assert(void *context) > > +{ > > + struct eeprom_93xx46_dev *edev = context; > > + > > + gpiod_set_value_cansleep(gpio_to_desc(edev->pdata->select_gpio), 1); > > I would suggest to use gpio_set_value() Could you explain why? Maybe this gpio is

[PATCH v3] scsi: advansys needs ISA dma api for ISA support

2015-11-19 Thread Arnd Bergmann
The advansys drvier uses the request_dma function that is used on ISA machines for the internal DMA controller, which causes build errors on platforms that have ISA slots but do not provide the ISA DMA API: drivers/scsi/advansys.c: In function 'advansys_board_found':

[PATCH] mfd: as3722: Handle interrupts on suspend

2015-11-19 Thread Jon Hunter
The as3722 device is registered as an irqchip and the as3722-rtc interrupt is one of it's interrupt sources. When using the as3722-rtc as a wake-up device from suspend, the following is seen: PM: Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.001 seconds) done.

imx6dl clock setup incorrectness

2015-11-19 Thread Nikita Yushchenko
Hi While working with board with imx6s cpu, with kernel based on linux-imx imx_3.14.28_1.0.0_ga branch, I noticed this message in boot log: > failed to set parent of clk gpu2d_core_sel to pll2_pfd1_594m I looked into it and found that: - CCM_CBCMR register layout is different between

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-19 Thread Serge E. Hallyn
On Thu, Nov 19, 2015 at 08:53:26AM +0100, Richard Weinberger wrote: > Am 19.11.2015 um 08:47 schrieb James Morris: > > On Wed, 18 Nov 2015, Richard Weinberger wrote: > > > >> On Wed, Nov 18, 2015 at 4:13 PM, Al Viro wrote: > >>> On Wed, Nov 18, 2015 at 09:05:12AM -0600, Seth Forshee wrote: > >>>

[PATCH] ARM: tegra: Ensure entire dcache is flushed on entering LP0/1

2015-11-19 Thread Jon Hunter
Tegra support several low-power (LPx) states, which are: - LP0: CPU + Core voltage off and DRAM in self-refresh - LP1: CPU voltage off and DRAM in self-refresh - LP2: CPU voltage off When entering any of the above states the tegra_disable_clean_inv_dcache() function is called to flush the dcache.

Re: [PATCH v5 7/9] perf hists browser: Support folded callchains

2015-11-19 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 09, 2015 at 02:45:44PM +0900, Namhyung Kim escreveu: > The folded callchain mode is to print all chains in a single line. > Currently perf report --tui doesn't support folded callchains. Like > flat callchains, only leaf nodes are added to the final rbtree so it > should show entries

Re: [PATCH v3 RESEND_2] scsi: report 'INQUIRY result too short' once per host

2015-11-19 Thread Hannes Reinecke
On 11/19/2015 02:17 PM, Vitaly Kuznetsov wrote: > Some host adapters (e.g. Hyper-V storvsc) are known for not respecting the > SPC-2/3/4 requirement for 'INQUIRY data (see table ...) shall contain at > least 36 bytes'. As a result we get tons on 'scsi 0:7:1:1: scsi scan: > INQUIRY result too short

[PATCH RESEND v2] sata/mvebu: use #ifdef around suspend/resume code

2015-11-19 Thread Arnd Bergmann
The newly added suspend/resume implementation for ahci_mvebu causes a link error when CONFIG_PM_SLEEP is disabled: ERROR: "ahci_platform_suspend_host" [drivers/ata/ahci_mvebu.ko] undefined! ERROR: "ahci_platform_resume_host" [drivers/ata/ahci_mvebu.ko] undefined! This adds the same #ifdef here

Re: [PATCH 16/71] ncr5380: Proceed with next command after NCR5380_select() calls scsi_done

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > If a target disappears from the SCSI bus, NCR5380_select() may > subsequently fail with a time-out. In this situation, scsi_done is > called and NCR5380_select() returns 0. Both hostdata->connected and > hostdata->selecting are NULL and the main loop

Re: [PATCH 15/71] ncr5380: Always escalate bad target time-out in NCR5380_select()

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > Remove the restart_select and targets_present variables introduced in > Linux v1.1.38. The former was used only for a questionable debug printk > and the latter "so we can call a select failure a retryable condition". > Well, retrying select failure in

Re: [PATCH 14/71] ncr5380: Use return instead of goto in NCR5380_select()

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > The "failed" label in NCR5380_select() is not helpful. Some failures > return 0, others -1. Use return instead of goto to improve clarity and > brevity, like atari_NCR5380.c does. Fix the relevant comments. > > Signed-off-by: Finn Thain > > --- >

Re: [PATCH] tools build: Clean CFLAGS and LDFLAGS for fixdep

2015-11-19 Thread Jiri Olsa
On Thu, Nov 19, 2015 at 07:46:01AM +, Wang Nan wrote: SNIP > > This is because CFLAGS in perf building pollutes CFLAGS used for fixdep, > passes -fstack-protector-all to fixdep builder which is obviously not > required. Since fixdep is a small host side tool, we should keep its >

Re: [PATCH 13/71] ncr5380: Remove redundant register writes

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > Remove the duplicate write to the Select Enable Register that appeared > in v1.1.38. > > Also remove the redundant write to Initiator Command Register prior to > calling do_abort(). > > Signed-off-by: Finn Thain > > --- Reviewed-by: Hannes Reinecke

Re: [PATCH] staging: speakup: (coding style) Add spaces around operands (checkpatch checks)

2015-11-19 Thread Luis de Bethencourt
Hi al, Looks good and silences the checkpatch warnings. Christian, There are more checkpatch warnings in this file. Could you fix them as well? Reviewed-by: Luis de Bethencourt On Thu, Nov 19, 2015 at 02:40:59PM +0100, Christian Colic wrote: > Fix checkpatch check: CHECK: spaces preferred

Re: [PATCH 12/71] ncr5380: Remove unused hostdata->aborted flag

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > The aborted flag was introduced in v1.1.38 but never used. Remove it. > > Signed-off-by: Finn Thain > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes ReineckezSeries & Storage h...@suse.de

Re: Linux 4.4-rc1

2015-11-19 Thread Shuah Khan
On Wed, Nov 18, 2015 at 9:17 AM, Linus Torvalds wrote: > On Wed, Nov 18, 2015 at 6:46 AM, Shuah Khan wrote: >> >> I am hoping the fix gets into 4.4-rc2 as well as 4.3.1 >> >> http://patchwork.ozlabs.org/patch/544307/ >> >> I tested the fix on 4.3 and 4.4-rc1 on my VPN setup > > That should be

[PATCH v4 2/5] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator

2015-11-19 Thread Georgi Djakov
Currently the rates of the xo and sleep clocks are hard-coded in the GCC driver, but this is a board layout description that actually should be in the DT. Moving them into DT also allows us to insert the RPM controlled clocks between the DT and GCC clocks. Signed-off-by: Georgi Djakov ---

Re: A new, fast and "unbreakable" encryption algorithm

2015-11-19 Thread Ismail Kizir
Lukasz, Clemens, Herald, Others Linux and Open Source Enthusiasts: You are all invited to collaboratively improve our encryption algorithm at: https://github.com/ikizir/HohhaDynamicXOR Write down every weaknesses you find, every idea to improve; every code piece you think necessary. Let us not

Re: A new, fast and "unbreakable" encryption algorithm

2015-11-19 Thread Łukasz Stelmach
It was <2015-11-19 czw 13:31>, when Ismail Kizir wrote: > On Thu, Nov 19, 2015 at 2:12 PM, Łukasz Stelmach > wrote: >> It was <2015-11-18 śro 06:25>, when Ismail Kizir wrote: >>> Hello, >>> >>> I've developed a new encryption algorithm, which dynamically changes >>> the key according to

[PATCH 1/2] perf tools: Always give options even it not compiled

2015-11-19 Thread Wang Nan
This patch keeps options of perf builtins same in all condition. If the option is disabled because of compiling options, users should be notified. This patch does it by introducing a series of new option macros, flags and field in struct options. For those options disabled by compiling,

[PATCH 2/2] perf record: Support custom vmlinux path

2015-11-19 Thread Wang Nan
From: He Kuang Make perf-record command support --vmlinux option if BPF_PROLOGUE is on. 'perf record' needs vmlinux as the source of DWARF info to generate prologue for BPF programs, so path of vmlinux should be specified. Short name 'k' has been taken by 'clockid'. This patch skips the short

[PATCH 0/2] perf tools: Builtin options related improvements

2015-11-19 Thread Wang Nan
This patch set is based on Arnaldo's perf/ebpf. According to his suggestion, patch 1/2 ensure options always there even if they are not build. Patch 2/2 add vmlinux option to perf record to support BPF argument fetching better. Without this patch vmlinux must be reside in standard path for BPF

[PATCH v3 0/2] ASoC: Add support for DA7217 and DA7218 audio codecs

2015-11-19 Thread Adam Thomson
This patch set adds DT and ASoC codec driver support for DA7217 and DA7218. Changes are based against v4.4-rc1 kernel version. Changes in v3: - At request of Rob Herring, added units suffix to applicable binding names. - Add changes for codec Kconfig and Makefile which were somehow missed from

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-19 Thread Andrew F. Davis
On 11/18/2015 11:50 PM, Vladimir Zapolskiy wrote: Hi Cory, On 19.11.2015 05:29, Cory Tusar wrote: This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar ---

[PATCH v3 1/2] ASoC: da7218: Add bindings documentation for DA7218 audio codec

2015-11-19 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/sound/da7218.txt | 104 + 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/da7218.txt diff --git a/Documentation/devicetree/bindings/sound/da7218.txt

[PATCH v4 0/5] Add initial support for RPM clocks

2015-11-19 Thread Georgi Djakov
This patchset adds initial support for the clocks controlled by the RPM (Resource Power Manager) processor on Qualcomm platforms. The RPM is a dedicated hardware engine for managing the shared SoC resources in order to keep the lowest power profile. It communicates with other hardware subsystems

Re: [PATCH v5 4/9] perf report: Add callchain value option

2015-11-19 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 09, 2015 at 02:45:41PM +0900, Namhyung Kim escreveu: > Now -g/--call-graph option supports how to display callchain values. > Possible values are 'percent', 'period' and 'count'. The percent is > same as before and it's the default behavior. The period displays the > raw period value

[PATCH v4 4/5] clk: qcom: Add RPM clock controller driver

2015-11-19 Thread Georgi Djakov
Add support for clocks that are controlled by the RPM processor on Qualcomm msm8916 based platforms. Signed-off-by: Georgi Djakov --- .../devicetree/bindings/clock/qcom,rpmcc.txt | 35 drivers/clk/qcom/Kconfig |8 + drivers/clk/qcom/Makefile

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Thomas Gleixner
On Thu, 19 Nov 2015, Marc Gonzalez wrote: > On 19/11/2015 12:14, Thomas Gleixner wrote: > > > So yes, the alignment of the clocksource struct is not longer > > relevant. The case where we access clocksource->max_cycles is when > > CONFIG_DEBUG_TIMEKEEPING is enabled, which imposes worse

[PATCH v4 1/5] clk: qcom: msm8916: Move xo and sleep clocks into DT

2015-11-19 Thread Georgi Djakov
Move the xo and sleep clocks to device-tree, instead of hard-coding them in the driver. This allows us to insert the RPM clocks (if they are enabled) in between the on-board oscillators and the actual clock. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c | 16 +++-

[PATCH v4 5/5] arm64: dts: qcom: msm8916: Add RPMCC DT node

2015-11-19 Thread Georgi Djakov
Add the RPM Clock Controller DT node and include the necessary header file for clocks. Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/msm8916.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi

[PATCH v4 3/5] clk: qcom: Add support for RPM Clocks

2015-11-19 Thread Georgi Djakov
This adds initial support for clocks controlled by the Resource Power Manager (RPM) processor found on some Qualcomm SoCs. The RPM is a dedicated hardware engine for managing the shared SoC resources in order to keep the lowest power profile. It communicates with other hardware subsystems via

Re: [PATCH 11/71] ncr5380: Simplify bus reset handlers

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > Make use of do_reset() in the bus reset handler in atari_NCR5380.c. The > version in NCR5380.c already does so. Keep them in sync. > > Signed-off-by: Finn Thain > > --- > > Bus reset handlers in both core drivers still have serious problems for > EH

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-19 Thread Jiri Kosina
On Thu, 12 Nov 2015, Simon Wood wrote: > When plugged in the Logitech G920 wheel starts with USBID 046d:c261 > and behaviors as a vendor specific class. If a 'magic' byte sequence > is sent the wheel will detach and reconnect as a HID device with the > USBID 046d:c262. > > Signed-off-by: Simon

Re: [PATCH 13/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

2015-11-19 Thread Michal Hocko
On Wed 18-11-15 16:48:22, Johannes Weiner wrote: [...] > So I ran perf record -g -a netperf -t TCP_STREAM multiple times inside > a memory-controlled cgroup, but mostly mem_cgroup_charge_skmem() does > not show up in the profile at all. Once it was there with 0.00%. OK, this sounds very good!

Re: Re: [PATCH] zram: Prevent page allocation failure during zcomp_strm_alloc

2015-11-19 Thread kyeongdon.kim
Hello, On 2015-11-19 오후 6:45, Sergey Senozhatsky wrote: > Hello, > > On (11/19/15 15:54), kyeongdon.kim wrote: >> When we use lzo/lz4 multi compression streams for zram, >> we might face page allocation failure. In order to make parallel >> compression private data, we should call kzalloc() with

Re: [PATCH] i2c: exynos5: register driver early in subsys initcall to avoid probe defer

2015-11-19 Thread Wolfram Sang
Hi Marek, > This problem is known for ages, there were number of attempts to add Yes, I heard of it, too. > support for deferred probe or solve the problem of deferred UDC driver > probe, but none got accepted so far: Then they need to be worked on. AFAIK the rejection is based on

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-11-19 Thread Michael S. Tsirkin
On Tue, Oct 27, 2015 at 11:38:57PM -0700, Andy Lutomirski wrote: > This switches virtio to use the DMA API unconditionally. I'm sure > it breaks things, but it seems to work on x86 using virtio-pci, with > and without Xen, and using both the modern 1.0 variant and the > legacy variant. So

Re: [PATCH v3 RESEND_2] scsi: report 'INQUIRY result too short' once per host

2015-11-19 Thread Martin K. Petersen
> "Vitaly" == Vitaly Kuznetsov writes: Vitaly> Some host adapters (e.g. Hyper-V storvsc) are known for not Vitaly> respecting the SPC-2/3/4 requirement for 'INQUIRY data (see Vitaly> table ...) shall contain at least 36 bytes'. As a result we get Vitaly> tons on 'scsi 0:7:1:1: scsi scan:

Re: [RFD] CAT user space interface revisited

2015-11-19 Thread Luiz Capitulino
On Thu, 19 Nov 2015 09:35:34 +0100 (CET) Thomas Gleixner wrote: > > Well any work on behalf of the important task, should have its cache > > protected as well (example irq handling threads). > > Right, but that's nothing you can do automatically and certainly not > from a random application.

Re: [PATCH v5 2/9] perf callchain: Abstract callchain print function

2015-11-19 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 09, 2015 at 02:45:39PM +0900, Namhyung Kim escreveu: > This is a preparation to support for printing other type of callchain > value like count or period. > > Acked-by: Brendan Gregg > Signed-off-by: Namhyung Kim > --- > tools/perf/ui/browsers/hists.c | 8 +--- >

[PATCH] staging: speakup: (coding style) Add spaces around operands (checkpatch checks)

2015-11-19 Thread Christian Colic
Fix checkpatch check: CHECK: spaces preferred around that '-' (ctx:VxV) Add spaces around operands to fix these warnings. Signed-off-by: Christian Colic --- drivers/staging/speakup/keyhelp.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

Re: [PATCH 0/8] iommu: Make core iommu-groups code more generic

2015-11-19 Thread Joerg Roedel
Hi Yong Wu, On Thu, Nov 19, 2015 at 04:13:21PM +0800, Yong Wu wrote: > (151119_13:39:37.472)WARNING: > at /proj/mtk40525/upstreamdev/v4.4/kernel/mediatek/drivers/iommu/iommu.c:1154 > (151119_13:39:37.472)Modules linked in: > (151119_13:39:37.472)CPU: 1 PID: 731 Comm: sh Not tainted 4.4.0-rc1+ >

Re: [PATCH 10/71] atari_NCR5380: Remove RESET_BOOT, CONFIG_ATARI_SCSI_TOSHIBA_DELAY and CONFIG_ATARI_SCSI_RESET_BOOT

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > The atari_NCR5380.c core driver now takes care of bus reset upon driver > initialization if required (same as NCR5380.c). Move the Toshiba CD-ROM > support into the core driver, enabled with a host flag, so that all > NCR5380 drivers can make use of it.

[PATCH] clk: si5351: Add setup steps

2015-11-19 Thread Jacob Siverskog
This is according to figure 12 ("I2C Programming Procedure") in "Si5351A/B/C Data Sheet" (https://www.silabs.com/Support%20Documents/TechnicalDocs/Si5351-B.pdf). Without the PLL soft reset, we were unable to get three outputs working at the same time. According to Silicon Labs support,

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-11-19 Thread Kishon Vijay Abraham I
Hi, On Tuesday 17 November 2015 01:41 PM, Alim Akhtar wrote: > Hi > Thanks again for looking into this. > > On 11/17/2015 11:46 AM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Monday 09 November 2015 10:56 AM, Alim Akhtar wrote: >>> From: Seungwon Jeon >>> >>> This patch introduces Exynos UFS

Re: [PATCH RESEND_2] scsi_sysfs: protect against double execution of __scsi_remove_device()

2015-11-19 Thread Christoph Hellwig
This looks fine to me. I wonder why we even bother returning deleted devices for a normal scsi_device_lookup, but let's get this isolated fix in for now and sort out the big picture later. Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH 09/71] atari_NCR5380: Reset bus on driver initialization if required

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > Merge the bus reset code from NCR5380.c into atari_NCR5380.c. This allows > for removal of a lot of duplicated code conditional on the RESET_BOOT > macro (in the next patch). > > The atari_NCR5380.c fork lacks the do_reset() and NCR5380_poll_politely()

Re: [PATCH v3 RESEND_2] scsi: report 'INQUIRY result too short' once per host

2015-11-19 Thread Christoph Hellwig
This looks like a good compromise: Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-19 Thread Arnd Bergmann
On Thursday 19 November 2015 14:21:16 Andreas Schwab wrote: > Arnd Bergmann writes: > > > On Wednesday 18 November 2015 00:16:54 Yury Norov wrote: > >> +#define sys_lseek sys_llseek > > > > This seems pointless, as there is no sys_lseek > > I think it should be the other

Re: [PATCH 08/71] ncr5380: Move NCR53C400-specific code

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > Move board-specific code like this, > NCR5380_write(C400_CONTROL_STATUS_REG, CSR_BASE); > from the core driver to the board driver. Eliminate the NCR53C400 macro > from the core driver. Removal of all macros like this one will be > necessary in

Re: [PATCH 07/71] ncr5380: Split NCR5380_init() into two functions

2015-11-19 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: > This patch splits the NCR5380_init() function into two parts, similar > to the scheme used with atari_NCR5380.c. This avoids two problems. > > Firstly, NCR5380_init() may perform a bus reset, which would cause the > chip to assert IRQ. The chip is

Re: [Openipmi-developer] [RESEND PATCH] char: ipmi: Drop owner assignment from i2c_driver

2015-11-19 Thread Corey Minyard
Ok, got it this time, queued for 4.5. Thanks, -corey On 11/18/2015 09:56 PM, Krzysztof Kozlowski wrote: > i2c_driver does not need to set an owner because i2c_register_driver() > will set it. > > Signed-off-by: Krzysztof Kozlowski > > --- > > The coccinelle script which generated the patch was

Re: [PATCH] [media] davinci: add i2c Kconfig dependencies

2015-11-19 Thread Lad, Prabhakar
On Thu, Nov 19, 2015 at 12:59 PM, Arnd Bergmann wrote: > All the davinci media drivers are using the i2c framework, and > fail to build if that is ever disabled, e.g.: > > media/platform/davinci/vpif_display.c: In function 'vpif_probe': > media/platform/davinci/vpif_display.c:1298:14: error:

Re: [PATCH] i2c: exynos5: register driver early in subsys initcall to avoid probe defer

2015-11-19 Thread Marek Szyprowski
Hello, On 2015-11-01 17:02, Wolfram Sang wrote: On Fri, Oct 30, 2015 at 03:23:28PM +0100, Marek Szyprowski wrote: i2c bus drivers should be registered earlier than typical drivers to let important i2c devices (like PMICs/regulators) get registered early enough to avoid probe defer of all

Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-19 Thread Andreas Schwab
Arnd Bergmann writes: > On Wednesday 18 November 2015 00:16:54 Yury Norov wrote: >> +#define sys_lseek sys_llseek > > This seems pointless, as there is no sys_lseek I think it should be the other way round. Why would you want to use llseek if you can pass loff_t in a

Re: [RFD] Functional dependencies between devices

2015-11-19 Thread Thierry Reding
On Tue, Nov 17, 2015 at 01:55:49PM +, Mark Brown wrote: > On Tue, Nov 17, 2015 at 01:49:17PM +0100, Andrzej Hajda wrote: > > On 10/27/2015 04:24 PM, Rafael J. Wysocki wrote: > > > this scenario: > > - many clock providers, irq domains are not provided by devices, > > That seems like

Re: Asterisk deadlocks since Kernel 4.1

2015-11-19 Thread Florian Weimer
On 11/19/2015 01:46 PM, Stefan Priebe - Profihost AG wrote: > I can try Kernel 4.4-rc1 next week. Or something else? I found this bug report which indicates that 4.1.10 works: But in your original report, you said that 4.1.13 is

[PATCH v3 RESEND_2] scsi: report 'INQUIRY result too short' once per host

2015-11-19 Thread Vitaly Kuznetsov
Some host adapters (e.g. Hyper-V storvsc) are known for not respecting the SPC-2/3/4 requirement for 'INQUIRY data (see table ...) shall contain at least 36 bytes'. As a result we get tons on 'scsi 0:7:1:1: scsi scan: INQUIRY result too short (5), using 36' messages on console. This can be

[PATCH v8] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-19 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard --- Changes: - make some variables unsigned --- drivers/net/ethernet/Kconfig |1 +

[PATCH RESEND_2] scsi_sysfs: protect against double execution of __scsi_remove_device()

2015-11-19 Thread Vitaly Kuznetsov
On some host errors storvsc module tries to remove sdev by scheduling a job which does the following: sdev = scsi_device_lookup(wrk->host, 0, 0, wrk->lun); if (sdev) { scsi_remove_device(sdev); scsi_device_put(sdev); } While this code seems correct the following crash is

[PATCHv2 4/3] perf tools: Add callchain order support for libdw DWARF unwinder

2015-11-19 Thread Jiri Olsa
On Thu, Nov 19, 2015 at 08:10:45PM +0800, Wangnan (F) wrote: SNIP > > load_elf_binary > > vm_brk > > do_brk > > vma_link > > __vma_link_rb > > __rb_insert_augmented > > >

[PATCH 5/5] fs/attr.c: is_sxid can be boolean

2015-11-19 Thread Yaowei Bai
This patch makes is_sxid return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/5] fs/bad_inode.c: is_bad_inode can be boolean

2015-11-19 Thread Yaowei Bai
This patch makes is_bad_inode return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- fs/bad_inode.c | 2 +- include/linux/fs.h | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH] [media] davinci: add i2c Kconfig dependencies

2015-11-19 Thread Arnd Bergmann
All the davinci media drivers are using the i2c framework, and fail to build if that is ever disabled, e.g.: media/platform/davinci/vpif_display.c: In function 'vpif_probe': media/platform/davinci/vpif_display.c:1298:14: error: implicit declaration of function 'i2c_get_adapter'

Re: [PATCH v3 2/5] dt-bindings: soc: add document for rockchip reboot notifier driver

2015-11-19 Thread Thierry Reding
On Thu, Nov 19, 2015 at 09:17:37AM +0800, Andy Yan wrote: > Hi Rob: > > On 2015年11月19日 06:59, Rob Herring wrote: > >On Wed, Nov 18, 2015 at 05:53:30PM +0800, Andy Yan wrote: > >>Add devicetree binding document for rockchip reboot nofifier driver > >Just reading the subject this is way too

[PATCH] netfilter: avoid harmless unnitialized variable warnings

2015-11-19 Thread Arnd Bergmann
Several ARM default configurations give us warnings on recent compilers about potentially uninitialized variables in the nfnetlink code in two functions: net/netfilter/nfnetlink_queue.c: In function 'nfqnl_build_packet_message': net/netfilter/nfnetlink_queue.c:519:19: warning: 'nfnl_ct' may be

Re: spi: OF module autoloading is still broken

2015-11-19 Thread Javier Martinez Canillas
Hello, On 11/18/2015 05:07 PM, Javier Martinez Canillas wrote: > Hello Brian and Mark, > > On 11/16/2015 06:32 PM, Javier Martinez Canillas wrote: >> On 11/16/2015 05:47 PM, Brian Norris wrote: >>> On Mon, Nov 16, 2015 at 05:00:43PM -0300, Javier Martinez Canillas wrote: On 11/16/2015 04:24

Re: Asterisk deadlocks since Kernel 4.1

2015-11-19 Thread Stefan Priebe - Profihost AG
Am 19.11.2015 um 13:41 schrieb Hannes Frederic Sowa: > On Thu, Nov 19, 2015, at 12:43, Stefan Priebe - Profihost AG wrote: >> >> Am 19.11.2015 um 12:41 schrieb Hannes Frederic Sowa: >>> On Thu, Nov 19, 2015, at 10:56, Stefan Priebe - Profihost AG wrote: OK it had a livelock again. It just

Re: [PATCH v3 18/22] IB/fmr_pool: Convert the cleanup thread into kthread worker API

2015-11-19 Thread Yuval Shaia
On Wed, Nov 18, 2015 at 02:25:23PM +0100, Petr Mladek wrote: > Kthreads are currently implemented as an infinite loop. Each > has its own variant of checks for terminating, freezing, > awakening. In many cases it is unclear to say in which state > it is and sometimes it is done a wrong way. > >

[PATCH] mm: include linux/pfn.h for PHYS_PFN definition

2015-11-19 Thread Arnd Bergmann
A change to asm-generic/memory_model.h caused a new build error in some configurations: mach-clps711x/common.c:39:10: error: implicit declaration of function 'PHYS_PFN' .pfn = __phys_to_pfn(CLPS711X_PHYS_BASE), This includes the linux/pfn.h header from the same file to avoid the error.

Re: [PATCH v3 01/22] timer: Allow to check when the timer callback has not finished yet

2015-11-19 Thread Petr Mladek
On Wed 2015-11-18 23:32:28, Thomas Gleixner wrote: > On Wed, 18 Nov 2015, Petr Mladek wrote: > > timer_pending() checks whether the list of callbacks is empty. > > Each callback is removed from the list before it is called, > > see call_timer_fn() in __run_timers(). > > > > Sometimes we need to

Re: [PATCH] clocksource: Store reg field within struct clocksource

2015-11-19 Thread Marc Gonzalez
On 19/11/2015 12:21, Russell King wrote: > When I wrote the MMIO clocksource implementation, there was no > cacheline_aligned on struct clocksource, and the arrangement I came > to for the structure put the 'reg' and 'read' within the same cache line > (note that the MMIO clocksource

Re: Asterisk deadlocks since Kernel 4.1

2015-11-19 Thread Hannes Frederic Sowa
On Thu, Nov 19, 2015, at 12:43, Stefan Priebe - Profihost AG wrote: > > Am 19.11.2015 um 12:41 schrieb Hannes Frederic Sowa: > > On Thu, Nov 19, 2015, at 10:56, Stefan Priebe - Profihost AG wrote: > >> OK it had a livelock again. It just took more time. > >> > >> So here is the data: > > > >

[PATCH 2/2] crypto: picoxcell: set [src|dst]_nents and nents as signed int

2015-11-19 Thread LABBE Corentin
The unsigned int variables [src|dst]_nents and nents can be assigned signed value (-EINVAL) from sg_nents_for_len(). Furthermore they are used only by dma_map_sg and dma_unmap_sg which wait for an signed int, so they must be set as int. Fixes: f051f95eb47b ("crypto: picoxcell - check return value

[PATCH 1/2] crypto: sahara: set nb_[in|out]_sg as signed int

2015-11-19 Thread LABBE Corentin
The two unsigned int variables nb_in_sg and nb_out_sg can be assigned signed value (-EINVAL) from sg_nents_for_len(). Furthermore they are used only by dma_map_sg and dma_unmap_sg which wait for an signed int, so they must be set as int. Fixes: 6c2b74d4774f ("crypto: sahara - check return value

[PATCH v11 7/8] Input: goodix - add sysfs interface to dump config

2015-11-19 Thread Irina Tirdea
Goodix devices have a configuration information register area that specify various parameters for the device. The configuration information has a specific format described in the Goodix datasheet. It includes X/Y resolution, maximum supported touch points, interrupt flags, various sesitivity

[PATCH v11 6/8] Input: goodix - add support for ESD

2015-11-19 Thread Irina Tirdea
Add ESD (Electrostatic Discharge) protection mechanism. The driver enables ESD protection in HW and checks a register to determine if ESD occurred. If ESD is signalled by the HW, the driver will reset the device. The ESD poll time (in ms) can be set through the sysfs property esd_timeout. If it

Re: [kbuild-all] [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-19 Thread Fengguang Wu
On Thu, Nov 19, 2015 at 09:23:41PM +0900, Tetsuo Handa wrote: > Fengguang Wu wrote: > > Hi David, > > > > On Wed, Nov 18, 2015 at 05:00:07PM -0800, David Rientjes wrote: > > > On Thu, 19 Nov 2015, kbuild test robot wrote: > > > > > > > Hi David, > > > > > > > > [auto build test ERROR on:

[PATCH] mm, vmstat: Allow WQ concurrency to discover memory reclaim doesn't make any progress

2015-11-19 Thread Michal Hocko
From: Michal Hocko Tetsuo Handa has reported that the system might basically livelock in OOM condition without triggering the OOM killer. The issue is caused by internal dependency of the direct reclaim on vmstat counter updates (via zone_reclaimable) which are performed from the workqueue

Re: A new, fast and "unbreakable" encryption algorithm

2015-11-19 Thread Ismail Kizir
Francly Lucasz, I am not an expert and never claimed it. And I accept it's vulnerable to side channel attacks like the one you mentioned. With this occasion, I want to emphasize one point: I don't claim that the my algorithm is perfect. But, take a look at this: But, I am sure, this "dynamic key

[PATCH v11 1/8] Input: goodix - use actual config length for each device type

2015-11-19 Thread Irina Tirdea
Each of the Goodix devices supported by this driver has a fixed size for the configuration information registers. The size varies depending on the device and is specified in the datasheet. Use the proper configuration length as specified in the datasheet for each device model, so we do not read

Re: [PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-11-19 Thread Enric Balletbo Serra
Hello Thierry, 2015-11-19 12:51 GMT+01:00 Thierry Reding : > On Tue, Nov 17, 2015 at 11:55:53PM +0100, Enric Balletbo Serra wrote: >> Hello Thierry, >> >> 2015-11-17 13:55 GMT+01:00 Thierry Reding : >> > On Mon, Nov 16, 2015 at 05:28:24PM +0100, Enric Balletbo Serra wrote: >> >> Hello Thierry, >>

[PATCH v11 4/8] Input: goodix - add power management support

2015-11-19 Thread Irina Tirdea
Implement suspend/resume for goodix driver. The suspend and resume process uses the gpio pins. If the device ACPI/DT information does not declare gpio pins, suspend/resume will not be available for these devices. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver

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