[RFC v4 6/6] sched/deadline: make GRUB a task's flag

2016-12-30 Thread Luca Abeni
From: Luca Abeni Signed-off-by: Luca Abeni --- include/uapi/linux/sched.h | 1 + kernel/sched/core.c| 3 ++- kernel/sched/deadline.c| 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/sched.h

[RFC v4 2/6] sched/deadline: improve the tracking of active utilization

2016-12-30 Thread Luca Abeni
From: Luca Abeni This patch implements a more theoretically sound algorithm for tracking active utilization: instead of decreasing it when a task blocks, use a timer (the "inactive timer", named after the "Inactive" task state of the GRUB algorithm) to decrease the active

Re: orinoco: Use shash instead of ahash for MIC calculations

2016-12-30 Thread Kalle Valo
Andrew Lutomirski wrote: > Eric Biggers pointed out that the orinoco driver pointed scatterlists > at the stack. > > Fix it by switching from ahash to shash. The result should be > simpler, faster, and more correct. > > Cc: sta...@vger.kernel.org # 4.9 only > Reported-by: Eric

[RFC v4 1/6] sched/deadline: track the active utilization

2016-12-30 Thread Luca Abeni
From: Luca Abeni Active utilization is defined as the total utilization of active (TASK_RUNNING) tasks queued on a runqueue. Hence, it is increased when a task wakes up and is decreased when a task blocks. When a task is migrated from CPUi to CPUj, immediately subtract the

[RFC v4 5/6] sched/deadline: do not reclaim the whole CPU bandwidth

2016-12-30 Thread Luca Abeni
From: Luca Abeni Original GRUB tends to reclaim 100% of the CPU time... And this allows a CPU hog to starve non-deadline tasks. To address this issue, allow the scheduler to reclaim only a specified fraction of CPU time. Signed-off-by: Luca Abeni ---

[RFC v4 4/6] sched/deadline: implement GRUB accounting

2016-12-30 Thread Luca Abeni
From: Luca Abeni According to the GRUB (Greedy Reclaimation of Unused Bandwidth) reclaiming algorithm, the runtime is not decreased as "dq = -dt", but as "dq = -Uact dt" (where Uact is the per-runqueue active utilization). Hence, this commit modifies the runtime accounting

[RFC v4 3/6] sched/deadline: fix the update of the total -deadline utilization

2016-12-30 Thread Luca Abeni
From: Luca Abeni Now that the inactive timer can be armed to fire at the 0-lag time, it is possible to use inactive_task_timer() to update the total -deadline utilization (dl_b->total_bw) at the correct time, fixing dl_overflow() and __setparam_dl(). Signed-off-by: Luca

[RFC v4 0/6] CPU reclaiming for SCHED_DEADLINE

2016-12-30 Thread Luca Abeni
From: Luca Abeni Hi all, here is a new version of the patchset implementing CPU reclaiming (using the GRUB algorithm[1]) for SCHED_DEADLINE. Basically, this feature allows SCHED_DEADLINE tasks to consume more than their reserved runtime, up to a maximum fraction of the CPU

Re: [PATCH] virtio-crypto: support crypto engine framework

2016-12-30 Thread Herbert Xu
On Tue, Dec 27, 2016 at 02:49:07PM +0800, Gonglei wrote: > crypto engine was introduced since 'commit 735d37b5424b ("crypto: engine > - Introduce the block request crypto engine framework")' which uses work > queue to realize the asynchronous processing for ablk_cipher and ahash. > > For

Re: [PATCH 0/2] Use macros to describe gpios on rockchip platform

2016-12-30 Thread Heiko Stuebner
Am Samstag, 22. Oktober 2016, 20:51:46 CET schrieb Andy Yan: > As patch 150696e2e3a4("Add GPIO pin index definition for rockchip pinctrl") > has been applied, now we can use these macros to describe the corresponding > gpio ranther than hard code numbers, this will make the dts easier to read >

Re: [patch] mm, thp: always direct reclaim for MADV_HUGEPAGE even when deferred

2016-12-30 Thread Mel Gorman
On Thu, Dec 22, 2016 at 01:05:27PM -0800, David Rientjes wrote: > On Thu, 22 Dec 2016, Michal Hocko wrote: > > > > Currently, when defrag is set to "madvise", thp allocations will direct > > > reclaim. However, when defrag is set to "defer", all thp allocations do > > > not attempt reclaim

Re: [PATCH v2 1/4] pinctrl: samsung: Fix the width of PINCFG_TYPE_DRV bitfields for Exynos5433

2016-12-30 Thread Linus Walleij
On Fri, Dec 30, 2016 at 5:14 AM, Andi Shyti wrote: > From: Chanwoo Choi > > This patch fixes the wrong width of PINCFG_TYPE_DRV bitfields for Exynos5433 > because PINCFG_TYPE_DRV of Exynos5433 has 4bit fields in the *_DRV > registers. Usually,

[no subject]

2016-12-30 Thread christina koch
Ciao, è un piacere conoscerti.Io sono Christina H. Koch, uno Stato ufficiale dell'Esercito da stati uniti d'America,ho una cosa importante da discutere con te, che può portare a un business partner o qualcos'altro, mi presento meglio e inviare le mie foto non appena ho ricevuto la tua mail.

[PATCH v2] ARM64: dts: meson-gx: Add reserved memory zone and usable memory range

2016-12-30 Thread Neil Armstrong
The Amlogic Meson GXBB/GXL/GXM secure monitor uses part of the memory space, this patch adds this reserved zone and redefines the usable memory range. Signed-off-by: Neil Armstrong --- Changes since v1 at [1] : - Renamed reg into linux,usable-memory to ovveride u-boot

Re: brcmfmac: fix spelling mistakes on "Ivalid"

2016-12-30 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fixes to spelling mistake "Ivalid" to "Invalid" in > brcmf_err error messages. > > Signed-off-by: Colin Ian King > Acked-by: Arend van Spriel

Re: [PATCH 1/3] ata: allow subsystem to be used on m68k arch

2016-12-30 Thread Christoph Hellwig
On Fri, Dec 30, 2016 at 03:01:16PM +0100, Bartlomiej Zolnierkiewicz wrote: > When libata was merged m68k lacked IOMAP support. This has not been > true for a long time now so allow subsystem to be used on m68k. Is that dependency needed at all anymore? What exact functionality is missing on

Re: [PATCH] ALSA: snd-usb: fix IRQ triggered NULL pointer dereference

2016-12-30 Thread Takashi Iwai
On Wed, 21 Dec 2016 11:38:54 +0100, Ioan-Adrian Ratiu wrote: > > >> > Please take the time to fully analyze my patch and let's have a > >> > discussion based on it, not reject it outright and replace it with > >> > a quick and dirty delay hack. > >> > >> OK. I'll deliberately check it again so

[PATCH][V3] rtlwifi: fix spelling mistake: "encrypiton" -> "encryption"

2016-12-30 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in RT_TRACE message Signed-off-by: Colin Ian King --- drivers/net/wireless/realtek/rtlwifi/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 3/4] ARM64: dts: exynos5433: use macros for pinctrl configuration on Exynos5433

2016-12-30 Thread Krzysztof Kozlowski
On Fri, Dec 30, 2016 at 02:32:39PM +0100, Linus Walleij wrote: > On Fri, Dec 30, 2016 at 5:14 AM, Andi Shyti wrote: > > > Use the macros defined in include/dt-bindings/pinctrl/samsung.h > > instead of hardcoded values. > > > > Signed-off-by: Andi Shyti

[PATCH linux 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add functions to send SCOM operations over I2C bus. The BMC can communicate with the Power8 host processor over I2C, but needs to use SCOM operations in order to access the OCC register space. Signed-off-by: Edward A. James

[PATCH linux 6/6] hwmon: occ: Add callbacks for parsing P9 OCC datastructures

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add functions to parse the data structures that are specific to the OCC on the POWER9 processor. These are the sensor data structures, including temperature, frequency, power, and "caps." Signed-off-by: Edward A. James

[PATCH linux 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2016-12-30 Thread eajames . ibm
From: "Edward A. James" Add code to tie the hwmon sysfs code and the POWER8 OCC code together, as well as probe the entire driver from the I2C bus. I2C is the communication method between the BMC and the P8 OCC. Signed-off-by: Edward A. James

[RFC PATCH 2/3] mmc: sdhci-msm: Implement platform_dumpregs callback in sdhci-msm

2016-12-30 Thread Ritesh Harjani
From: Sahitya Tummala Implement ->platform_dumpregs host operation to print the platform specific registers in addition to standard SDHC register during error conditions. Signed-off-by: Sahitya Tummala Signed-off-by: Ritesh Harjani

[RFC PATCH 0/3] mmc: sdhci: sdhci-msm: Add more debug logs

2016-12-30 Thread Ritesh Harjani
Below is a small set of patches which provide useful info for debugging issues. Patch 1 :- This provide callback mechanism for platform drivers to dump their necessary register info at the time of sdhci_dumpregs. Patch 2 :- This implements this callback (->platform_dumpregs) for sdhci-msm.

dmaengine: dw-dmac: Custom cyclic API (Why?)

2016-12-30 Thread Jose Abreu
Hi All, I am going to work with dw-dmac AHB controller and I wanted to use SND_DMAENGINE_PCM. In order to use this, a standard DMA driver with cyclic support is needed. I found out that dw-dmac is capable of cyclic transfers but instead of using the DMA engine standard cyclic API it uses a

[RFC PATCH 3/3] mmc: sdhci: Add more debug info in case of data error

2016-12-30 Thread Ritesh Harjani
print error log message and dump sdhc registers for debugging purpose in case of data errors (except when tuning commands generate CRC/timeout/end bit errors). Signed-off-by: Ritesh Harjani --- drivers/mmc/host/sdhci.c | 21 +++-- 1 file changed, 19

[RFC PATCH 1/3] mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.

2016-12-30 Thread Ritesh Harjani
From: Sahitya Tummala Add new host operation ->platform_dumpregs to provide a mechanism through which host drivers can dump platform specific registers in addition to SDHC registers during error conditions. Signed-off-by: Sahitya Tummala

Re: orinoco: Use shash instead of ahash for MIC calculations

2016-12-30 Thread Kalle Valo
Kalle Valo writes: > Andrew Lutomirski wrote: >> Eric Biggers pointed out that the orinoco driver pointed scatterlists >> at the stack. >> >> Fix it by switching from ahash to shash. The result should be >> simpler, faster, and more correct. >> >> Cc:

Re: [PATCH v2 4/8] PM / devfreq: exynos-ppmu: Show the registred device for ppmu device

2016-12-30 Thread Chanwoo Choi
2016-12-30 19:35 GMT+09:00 MyungJoo Ham : > On Wed, Dec 28, 2016 at 8:56 PM, Chanwoo Choi wrote: >> This patch just adds the simple log to show the PPMU device's registration >> during the kernel booting. >> >> Cc: Kukjin Kim >>

Re: [patch] mm, thp: always direct reclaim for MADV_HUGEPAGE even when deferred

2016-12-30 Thread Michal Hocko
On Fri 30-12-16 12:36:20, Mel Gorman wrote: [...] > I'll neither ack nor nak this patch. However, I would much prefer an > additional option be added to sysfs called defer-fault that would avoid > all fault-based stalls but still potentially stall for MADV_HUGEPAGE. Would you consider changing

[PATCH] net: stmmac: remove unused duplicate property snps,axi_all

2016-12-30 Thread Niklas Cassel
From: Niklas Cassel For core revision 3.x Address-Aligned Beats is available in two registers. The DT property snps,aal was created for AAL in the DMA bus register, which is a read/write bit. The DT property snps,axi_all was created for AXI_AAL in the AXI bus mode

Re: [PATCH 1/5] [media] ir-rx51: port to rc-core

2016-12-30 Thread Sean Young
Hi Ivo,, On Fri, Dec 30, 2016 at 01:30:01PM +0200, Ivaylo Dimitrov wrote: > On 20.12.2016 19:50, Sean Young wrote: > >This driver was written using lirc since rc-core did not support > >transmitter-only hardware at that time. Now that it does, port > >this driver. > > > >Compile tested only. > >

Re: [PATCH v2 2/4] pinctrl: dt-bindings: samsung: add drive strength macros for Exynos5433

2016-12-30 Thread Linus Walleij
On Fri, Dec 30, 2016 at 5:14 AM, Andi Shyti wrote: > Commit 5db7e3bb87df ("pinctrl: dt-bindings: samsung: Add header with > values used for configuration") has added a header file for defining the > pinctrl values in order to avoid hardcoded settings in the Exynos > DTS

Re: [PATCH 1/5] [media] ir-rx51: port to rc-core

2016-12-30 Thread Sean Young
On Fri, Dec 30, 2016 at 01:07:52PM +, Sean Young wrote: > Hi Ivo,, > > On Fri, Dec 30, 2016 at 01:30:01PM +0200, Ivaylo Dimitrov wrote: > > On 20.12.2016 19:50, Sean Young wrote: > > >This driver was written using lirc since rc-core did not support > > >transmitter-only hardware at that

[PATCH] pinctrl: add some comments to the hog/late init code

2016-12-30 Thread Linus Walleij
It confused me a bit so it may confuse others. Make it crystal clear what is going on here for any future readers. Cc: Tony Lindgren Signed-off-by: Linus Walleij --- drivers/pinctrl/core.c | 12 1 file changed, 12 insertions(+) diff

Re: rtlwifi: fix spelling mistake: "contry" -> "country"

2016-12-30 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in RT_TRACE message > > Signed-off-by: Colin Ian King > Acked-by: Larry Finger Patch applied to

Re: libertas: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ >

Re: [PATCH 2/5] pinctrl: core: Add generic pinctrl functions for managing groups

2016-12-30 Thread Linus Walleij
On Tue, Dec 27, 2016 at 6:20 PM, Tony Lindgren wrote: > We can add generic helpers for pin group handling for cases where the pin > controller driver does not need to use static arrays. > > Signed-off-by: Tony Lindgren Patch applied. > +config

Re: [PATCH 5/5] pinctrl: single: Use generic pinmux helpers for managing functions

2016-12-30 Thread Linus Walleij
On Tue, Dec 27, 2016 at 6:20 PM, Tony Lindgren wrote: > We can now drop the driver specific code for managing functions. > > Signed-off-by: Tony Lindgren Patch applied. > - select PINMUX > + select GENERIC_PINMUX Replaced this with

Re: sg_io HARDENED_USERCOPY_PAGESPAN trace

2016-12-30 Thread Christoph Hellwig
On Fri, Dec 30, 2016 at 10:01:39AM -0500, Dave Jones wrote: > I threw this debug printk into the pagespan code to see what exactly > it was complaining about.. > > ptr:88042614cff8 end:88042614d003 n:c > > so it was copying 12 bytes that spanned two pages. > >From my reading of the

Re: [PATCH 1/5] [media] ir-rx51: port to rc-core

2016-12-30 Thread Sean Young
Hi Ivo, On Fri, Dec 30, 2016 at 03:50:42PM +0200, Ivaylo Dimitrov wrote: > On 30.12.2016 15:30, Sean Young wrote: > >On Fri, Dec 30, 2016 at 01:07:52PM +, Sean Young wrote: > >Speaking of which, if you would please test this, that would be great. My > >N900 died many years ago. > > Will do,

[PATCH 0/5] Staging: comedi: Proc FS related cleanup

2016-12-30 Thread Cheah Kok Cheong
This series does trivial cleanup for COMEDI proc fs related stuff. Cheah Kok Cheong (5): Staging: comedi: comedi_fops: Avoid orphaned proc entry Staging: comedi: proc: Change file permission to read only Staging: comedi: proc: Add __init prefix Staging: comedi: proc: Add module owner

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-30 Thread Linus Walleij
n Thu, Dec 29, 2016 at 10:44 AM, Gary Bisson wrote: > On Tue, Dec 27, 2016 at 11:07 PM, Linus Walleij > wrote: >> >> On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson >> wrote: >> >> > This change is inspired

[RFC 0/4] x86: keep TASK_SIZE in sync with mm->task_size

2016-12-30 Thread Dmitry Safonov
At this moment, we have following task_size-related things: - TASK_SIZE_OF() macro, which is unused; - current->mm->task_size which is used in half and TASK_SIZE() macro which is used in the other half of code - TIF_ADDR32, which is used to detect 32-bit address space and is x86-specific,

[RFC 4/4] x86/arch_prctl: add ARCH_{GET,SET}_TASK_SIZE

2016-12-30 Thread Dmitry Safonov
Add arch_prctl getters/setters for size of virtual address space of task. This adds ability to change task's virtual address space limit. I need this for correctly restore virtual address space limits in CRIU. Currently, on x86 there are three task sizes: 3GB for some old 32 bit java apps, 4Gb for

Re: [Linux v4.10.0-rc1+] Still call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2016-12-30 Thread Sedat Dilek
On Fri, Dec 30, 2016 at 3:02 PM, Rafael J. Wysocki wrote: > On Fri, Dec 30, 2016 at 12:40 PM, Sedat Dilek wrote: >> Hi, >> >> I have already reported this issue in [1]. >> One of the issue was solved. >> Unfortunately, it looks like there is still a

Re: [Linux v4.10.0-rc1] call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2016-12-30 Thread Sedat Dilek
On Thu, Dec 29, 2016 at 12:58 PM, Mika Kuoppala wrote: > Sedat Dilek writes: > >> On Wed, Dec 28, 2016 at 11:32 PM, Rafael J. Wysocki >> wrote: >>> On Wed, Dec 28, 2016 at 11:00 AM, Sedat Dilek

Re: [PATCH v5 09/14] ACPI: platform: setup MSI domain for ACPI based platform device

2016-12-30 Thread Hanjun Guo
Hi Rafael, On 2016/12/26 9:31, Hanjun Guo wrote: [cut] > > + if (pdevinfo->pre_add_cb) > + pdevinfo->pre_add_cb(>dev); > + -> because it looks like this might be done in acpi_platform_notify() for platform devices. >>> It works and I just simply add the code below:

Re: [BUG] ARM64: amlogic: gxbb: unhandled level 2 translation fault (11)

2016-12-30 Thread Heinrich Schuchardt
On 12/30/2016 10:44 AM, Neil Armstrong wrote: > On 12/30/2016 09:51 AM, Neil Armstrong wrote: >> On 12/29/2016 10:18 PM, Heinrich Schuchardt wrote: >>> On 12/29/2016 10:07 AM, Neil Armstrong wrote: On 12/24/2016 03:00 PM, Heinrich Schuchardt wrote: > When trying to run sddm on an

Re: [RFC PATCH] mm, memcg: fix (Re: OOM: Better, but still there on)

2016-12-30 Thread Mel Gorman
On Fri, Dec 30, 2016 at 12:05:45PM +0100, Michal Hocko wrote: > On Fri 30-12-16 10:19:26, Mel Gorman wrote: > > On Mon, Dec 26, 2016 at 01:48:40PM +0100, Michal Hocko wrote: > > > On Fri 23-12-16 23:26:00, Nils Holland wrote: > > > > On Fri, Dec 23, 2016 at 03:47:39PM +0100, Michal Hocko wrote: >

Re: orinoco: Use shash instead of ahash for MIC calculations

2016-12-30 Thread Kalle Valo
Kalle Valo writes: > Kalle Valo writes: > >> Andrew Lutomirski wrote: >>> Eric Biggers pointed out that the orinoco driver pointed scatterlists >>> at the stack. >>> >>> Fix it by switching from ahash to shash. The result should be

Re: [PATCH V1] pinctrl:pxa:pinctrl-pxa2xx:- No need of devm functions

2016-12-30 Thread Linus Walleij
On Thu, Dec 29, 2016 at 8:20 AM, Robert Jarzmik wrote: > Linus Walleij writes: > >> On Thu, Dec 8, 2016 at 3:35 PM, Arvind Yadav >> wrote: >> >>> In functions pxa2xx_build_functions, the memory allocated for >>>

Re: net: wireless: ath: wil6210: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ >

Re: [PATCH 1/5] [media] ir-rx51: port to rc-core

2016-12-30 Thread Ivaylo Dimitrov
On 30.12.2016 15:30, Sean Young wrote: On Fri, Dec 30, 2016 at 01:07:52PM +, Sean Young wrote: Hi Ivo,, On Fri, Dec 30, 2016 at 01:30:01PM +0200, Ivaylo Dimitrov wrote: On 20.12.2016 19:50, Sean Young wrote: This driver was written using lirc since rc-core did not support

Re: [PATCH] leds: pca9532: fix device_node_continue.cocci warnings

2016-12-30 Thread Jacek Anaszewski
On 12/29/2016 10:39 PM, Julia Lawall wrote: > > > On Thu, 29 Dec 2016, Jacek Anaszewski wrote: > >> Hi Julia, >> >> This patch doesn't apply to current for-next branch >> of linux-leds.git. > > The information about where it comes from is below the ---. It's > automatically send to me by

[PATCH] ath9k: fix spelling mistake: "meaurement" -> "measurement"

2016-12-30 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in ath_err message Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath9k/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] pinctrl: stricten up generic group code

2016-12-30 Thread Linus Walleij
Rename the symbol PINCTRL_GENERIC to PINCTRL_GENERIC_GROUPS since it all pertains to groups. Replace everywhere. ifdef out the radix tree and the struct when not using the generic groups. Cc: Tony Lindgren Signed-off-by: Linus Walleij ---

Re: [PATCH 4/5] pinctrl: single: Use generic pinctrl helpers for managing groups

2016-12-30 Thread Linus Walleij
On Tue, Dec 27, 2016 at 6:20 PM, Tony Lindgren wrote: > We can now drop the driver specific code for managing groups. > > Signed-off-by: Tony Lindgren Patch applied! > + select GENERIC_PINCTRL Replaced this with GENERIC_PINCTRL_GROUPS Yours, Linus

Re: [PATCHv2 0/5] Add generic pinctrl helpers for managing groups and function

2016-12-30 Thread Tony Lindgren
* Gary Bisson [161230 07:43]: > Hi Linus, > > On Fri, Dec 30, 2016 at 3:39 PM, Linus Walleij > wrote: > > On Tue, Dec 27, 2016 at 6:19 PM, Tony Lindgren wrote: > > > >> Here are some changes to add generic helpers

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2016-12-30 Thread ayaka
BTW, Caesar have you ever met this at RK3288 at booting time? [8.430582] thermal thermal_zone1: critical temperature reached(125 C),shutting down [8.439038] thermal thermal_zone2: critical temperature reached(125 C),shutting down [8.456344] thermal thermal_zone1: critical

Re: [KERNEL] Re: Bug 4.9 and memorymanagement

2016-12-30 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Sorry, did reply only you.. Am Fr den 30. Dez 2016 um 12:11 schrieb Michal Hocko: > > If this turns out to be memory cgroup related then the patch from > > http://lkml.kernel.org/r/20161226124839.gb20...@dhcp22.suse.cz might > > help. > > Did you

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2016-12-30 Thread Michal Hocko
On Fri 30-12-16 17:37:42, Michal Hocko wrote: > On Sat 31-12-16 01:04:56, Minchan Kim wrote: [...] > > > - nr_rotated pages which tells us that we are hitting referenced > > > pages which are deactivated. If this is a large part of the > > > reported nr_deactivated pages then the active

Re: [PATCH 0/3] cpufreq: intel_pstate: Locking and limits fix-ups

2016-12-30 Thread Srinivas Pandruvada
On Fri, 2016-12-30 at 15:54 +0100, Rafael J. Wysocki wrote: > Hi, > > This series fixes a couple of possible locking issues and limits > synchronization > in intel pstate. > > [1/3] Add locking to intel_pstate_resume(). > [2/3] Add locking to intel_cpufreq_verify_policy(). > [3/3] Always keep

Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC

2016-12-30 Thread Linus Walleij
On Mon, Dec 26, 2016 at 3:33 PM, André Przywara wrote: > So while this patch technically looks correct, I was wondering if we > should really explore the possibility of making the whole of sunxi > pinctrl DT controlled. > I brought this up a while ago, but people weren't

Re: rtlwifi: rtl_usb: Fix missing entry in USB driver's private data

2016-12-30 Thread Kalle Valo
Larry Finger wrote: > These drivers need to be able to reference "struct ieee80211_hw" from > the driver's private data, and vice versa. The USB driver failed to > store the address of ieee80211_hw in the private data. Although this > bug has been present for a long

Re: [PATCH 2/2] ARM: dts: Add CPU OPPs for Exynos4412 Prime

2016-12-30 Thread Krzysztof Kozlowski
On Thu, Dec 29, 2016 at 04:06:20PM +0100, Bartlomiej Zolnierkiewicz wrote: > On Thursday, December 29, 2016 04:49:08 PM Krzysztof Kozlowski wrote: > > On Thu, Dec 29, 2016 at 02:36:51PM +0100, Bartlomiej Zolnierkiewicz wrote: > > > Add CPU operating points for Exynos4412 Prime (it supports > > >

[PULL] Two documentation fixes

2016-12-30 Thread Jonathan Corbet
The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repository at: git://git.lwn.net/linux.git tags/docs-4.10-rc1-fix for you to fetch changes up to 36f671be1db1b17d3d4ab0c8b47f81ccb1efcb75:

Re: [PATCH 0/4] PCI: exynos: use the PHY generic framework

2016-12-30 Thread Krzysztof Kozlowski
On Wed, Dec 28, 2016 at 07:34:50PM +0900, Jaehoon Chung wrote: > This patch is for using PHY generic framework. > When Exynos5440 had upstreamed, there was no PHY subsytem. > Now the using PHY framework is mandantory. > In future, Exynos variant should be supported in pci-exynos.c > > Theses

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2016-12-30 Thread Michal Hocko
On Sat 31-12-16 01:04:56, Minchan Kim wrote: [...] > > From 5f1bc22ad1e54050b4da3228d68945e70342ebb6 Mon Sep 17 00:00:00 2001 > > From: Michal Hocko > > Date: Tue, 27 Dec 2016 13:18:20 +0100 > > Subject: [PATCH] mm, vmscan: add active list aging tracepoint > > > > Our reclaim

Re: [PATCH 1/5] [media] ir-rx51: port to rc-core

2016-12-30 Thread Ivaylo Dimitrov
Hi, On 20.12.2016 19:50, Sean Young wrote: This driver was written using lirc since rc-core did not support transmitter-only hardware at that time. Now that it does, port this driver. Compile tested only. I guess after that change, there will be no more /dev/lircN device, right? Neither

Re: [PATCH 10/20] gpio: pca953x: Add optional reset gpio control

2016-12-30 Thread Linus Walleij
On Thu, Dec 29, 2016 at 11:27 PM, Steve Longerbeam wrote: > Add optional reset-gpios pin control. If present, de-assert the > specified reset gpio pin to bring the chip out of reset. > > Signed-off-by: Steve Longerbeam > Cc: Linus Walleij

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-30 Thread Linus Walleij
On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson wrote: > This change is inspired from the pinctrl-single architecture. > > The problem with current implementation is that it isn't possible > to add/remove functions and/or groups dynamically. The radix tree > offers

Re: [Linux v4.10.0-rc1+] Still call-traces after suspend-resume (pm? i915? cpu/hotplug?)

2016-12-30 Thread Rafael J. Wysocki
On Fri, Dec 30, 2016 at 12:40 PM, Sedat Dilek wrote: > Hi, > > I have already reported this issue in [1]. > One of the issue was solved. > Unfortunately, it looks like there is still a different problem here > (Ubuntu/precise AMD64). > > I tried v4.10-rc1 and latest Linus

[PATCH 1/3] ata: allow subsystem to be used on m68k arch

2016-12-30 Thread Bartlomiej Zolnierkiewicz
When libata was merged m68k lacked IOMAP support. This has not been true for a long time now so allow subsystem to be used on m68k. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2016-12-30 Thread Bartlomiej Zolnierkiewicz
Hi, This patchset adds m68k/Atari Falcon PATA support to libata. The major difference in the new libata's pata_falcon host driver when compared to legacy IDE's falconide host driver is that we are using polled PIO mode and thus avoiding the need for STDMA locking magic altogether. Tested under

[PATCH 3/3] ata: add Atari Falcon PATA controller driver

2016-12-30 Thread Bartlomiej Zolnierkiewicz
Add Atari Falcon PATA controller driver. The major difference when compared to legacy IDE's falconide host driver is that we are using polled PIO mode and thus avoiding the need for STDMA locking magic altogether. Tested under ARAnyM emulator. Signed-off-by: Bartlomiej Zolnierkiewicz

[PATCH 2/3] ata: pass queued command to ->sff_data_xfer method

2016-12-30 Thread Bartlomiej Zolnierkiewicz
For Atari Falcon PATA support we need to check the current command in its ->sff_data_xfer method. Update core code and all users accordingly. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz ---

Re: [PATCH 3/5] pinctrl: core: Add generic pinctrl functions for managing groups

2016-12-30 Thread Linus Walleij
On Tue, Dec 27, 2016 at 6:20 PM, Tony Lindgren wrote: > We can add generic helpers for function handling for cases where the pin > controller driver does not need to use static arrays. > > Signed-off-by: Tony Lindgren Patch applied. > +config GENERIC_PINMUX

Re: [PATCH v2] ARM64: dts: meson-gx: Add reserved memory zone and usable memory range

2016-12-30 Thread Heinrich Schuchardt
On 12/30/2016 02:40 PM, Neil Armstrong wrote: > The Amlogic Meson GXBB/GXL/GXM secure monitor uses part of the memory space, > this patch adds this reserved zone and redefines the usable memory range. > > Signed-off-by: Neil Armstrong > --- > Changes since v1 at [1] : >

Re: [PATCH v2 4/5] arm64: dts: exynos5433: Add bus dt node using VDD_INT for Exynos5433

2016-12-30 Thread Krzysztof Kozlowski
On Fri, Dec 30, 2016 at 09:59:17AM +0900, Chanwoo Choi wrote: > Hi Krzysztof, > > On 2016년 12월 09일 02:52, Krzysztof Kozlowski wrote: > > On Thu, Dec 08, 2016 at 01:58:10PM +0900, Chanwoo Choi wrote: > >> This patch adds the bus nodes using VDD_INT for Exynos5433 SoC. > >> Exynos5433 has the

[PATCH 0/3] cpufreq: intel_pstate: Locking and limits fix-ups

2016-12-30 Thread Rafael J. Wysocki
Hi, This series fixes a couple of possible locking issues and limits synchronization in intel pstate. [1/3] Add locking to intel_pstate_resume(). [2/3] Add locking to intel_cpufreq_verify_policy(). [3/3] Always keep all limits settings in sync. Thanks, Rafael

[PATCH 2/3] cpufreq: intel_pstate: Use locking in intel_cpufreq_verify_policy()

2016-12-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Race conditions are possible if intel_cpufreq_verify_policy() is executed in parallel with global limits updates from sysfs, so the invocation of intel_pstate_update_perf_limits() in it should be carried out under intel_pstate_limits_lock.

Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches

2016-12-30 Thread Jonathan Cameron
On 23/12/16 11:40, Lars-Peter Clausen wrote: > On 12/23/2016 10:07 AM, Geert Uytterhoeven wrote: >> BTW, I'm not an IIO expert, but from my limited knowledge, it looks like "O" >> support in IIO is limited to DACs? > > Depends on what you categorize as DACs. There are also >

Re: sg_io HARDENED_USERCOPY_PAGESPAN trace

2016-12-30 Thread Dave Jones
On Fri, Dec 30, 2016 at 05:37:12AM -0800, Christoph Hellwig wrote: > On Thu, Dec 29, 2016 at 10:43:51AM -0500, Dave Jones wrote: > > On Wed, Dec 28, 2016 at 11:56:42PM -0800, Christoph Hellwig wrote: > > > On Wed, Dec 28, 2016 at 04:40:16PM -0500, Dave Jones wrote: > > > > sg_io+0x113/0x470

[PATCH 1/3] cpufreq: intel_pstate: Use locking in intel_pstate_resume()

2016-12-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Theoretically, intel_pstate_resume() may be executed in parallel with intel_pstate_set_policy(), if the latter is invoked via cpufreq_update_policy() as a result of a notification, so use intel_pstate_limits_lock in there too to avoid race

[PATCH 3/3] cpufreq: intel_pstate: Always keep all limits settings in sync

2016-12-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make intel_pstate update per-logical-CPU limits when the global settings are changed to ensure that they are always in sync and users will not see confusing values in per-logical-CPU sysfs attributes. This also fixes the problem that setting

Re: [PATCH 2/2] iio: misc: add support for GPIO power switches

2016-12-30 Thread Jonathan Cameron
On 30/12/16 13:05, Linus Walleij wrote: > n Thu, Dec 29, 2016 at 5:29 PM, Sebastian Reichel wrote: >> On Wed, Dec 28, 2016 at 01:50:17PM +0100, Linus Walleij wrote: >>> On Sun, Dec 11, 2016 at 11:21 PM, Bartosz Golaszewski >>> wrote: >>> Some

Re: [PATCH 2/5] pinctrl: core: Add generic pinctrl functions for managing groups

2016-12-30 Thread Tony Lindgren
* Linus Walleij [161230 06:12]: > On Tue, Dec 27, 2016 at 6:20 PM, Tony Lindgren wrote: > > > We can add generic helpers for pin group handling for cases where the pin > > controller driver does not need to use static arrays. > > > > Signed-off-by:

Re: [PATCH 1/3] ata: allow subsystem to be used on m68k arch

2016-12-30 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, December 30, 2016 06:12:49 AM Christoph Hellwig wrote: > On Fri, Dec 30, 2016 at 03:01:16PM +0100, Bartlomiej Zolnierkiewicz wrote: > > When libata was merged m68k lacked IOMAP support. This has not been > > true for a long time now so allow subsystem to be used on m68k. > > Is

[PATCH] PM / domains: Fix 'may be used uninitialized' build warning

2016-12-30 Thread Augusto Mecking Caringi
This patch fixes the following gcc warning: drivers/base/power/domain.c: In function ‘genpd_runtime_resume’: drivers/base/power/domain.c:642:14: warning: ‘time_start’ may be used uninitialized in this function [-Wmaybe-uninitialized] elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)

Re: [PATCH] pinctrl: single: fix spelling mistakes on "Ivalid"

2016-12-30 Thread Linus Walleij
On Fri, Dec 23, 2016 at 1:47 AM, Colin King wrote: > From: Colin Ian King > > Trivial fixe to spelling mistake "Ivalid" to "Invalid" in > dev_err error message. > > Signed-off-by: Colin Ian King Patch applied with

Re: net: wireless: marvell: libertas: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ >

Re: [PATCH v2 3/4] ARM64: dts: exynos5433: use macros for pinctrl configuration on Exynos5433

2016-12-30 Thread Linus Walleij
On Fri, Dec 30, 2016 at 5:14 AM, Andi Shyti wrote: > Use the macros defined in include/dt-bindings/pinctrl/samsung.h > instead of hardcoded values. > > Signed-off-by: Andi Shyti These look fine, but that this and the other DTS patch through ARM

[PATCH v6 1/3] remoteproc: qcom: Compatible string based private resource initialization.

2016-12-30 Thread Avaneesh Kumar Dwivedi
MSS rproc loader need chip specific resources initialization during probe to load and boot modem firmware, this need compatible string based differentiation in resources to be initialized. This patch add and provide a template struct whose fields represent all those resources which are needed to

[PATCH v6 3/3] remoteproc: qcom: Initialize and enable proxy and active regulators.

2016-12-30 Thread Avaneesh Kumar Dwivedi
Certain regulators need voting by rproc on behalf of hexagon only during restart operation but certain regulator need to be voted till hexagon is up, these regulators are identified as proxy and active regulators respectively. This patch provide interface to initialize, enable and disable proxy

[PATCH v6 2/3] remoteproc: qcom: Initialize and enable proxy and active clocks.

2016-12-30 Thread Avaneesh Kumar Dwivedi
Certain clocks need voting by rproc on behalf of hexagon only during restart operation but certain clocks need to be voted till hexagon is up, these clocks are identified as proxy and active clocks respectively. This patch provide interface to initialize, enable and disable proxy and active clocks

[PATCH v6 0/3]remoteproc: qcom: Modification of MSS rproc driver for future platform support.

2016-12-30 Thread Avaneesh Kumar Dwivedi
This is patchset v6 having modifications as per comment on patchset v5. Major changes w.r.t. patchset v5 are as below. 1- Squashing into one the two different patches to initialize and enable the regulators and clocks. 2- Removal of certain unnecessary code and also cleaning of

Re: [PATCH v7 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC

2016-12-30 Thread M'boumba Cedric Madianga
Hi Linus, 2016-12-30 10:07 GMT+01:00 Linus Walleij : > On Fri, Dec 23, 2016 at 2:09 PM, M'boumba Cedric Madianga > wrote: >> 2016-12-22 20:11 GMT+01:00 Uwe Kleine-König : >>> On Thu, Dec 22, 2016 at 02:35:02PM

Re: [PATCH][V2] [media] gp8psk: fix spelling mistake: "firmare" -> "firmware"

2016-12-30 Thread Kalle Valo
Colin King writes: > From: Colin Ian King > > Trivial fix to spelling mistake in err message. Also change "don't" to > "does not". > > Signed-off-by: Colin Ian King > --- > drivers/media/usb/dvb-usb/gp8psk.c

[PATCH][V3] [media] gp8psk: fix spelling mistake: "firmare" -> "firmware"

2016-12-30 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in err message Signed-off-by: Colin Ian King --- drivers/media/usb/dvb-usb/gp8psk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/gp8psk.c

  1   2   3   4   5   6   7   >