[PATCH v2 RESEND] usb: gadget: provide interface for legacy gadgets to get UDC name

2016-02-17 Thread Marek Szyprowski
Since commit 855ed04a3758b205e84b269f92d26ab36ed8e2f7 ("usb: gadget: udc-core: independent registration of gadgets and gadget drivers") gadget drivers can not assume that UDC drivers are already available on their initialization. This broke the HACK, which was used in gadgetfs driver, to get UDC co

[PATCH RESEND] usb: gadget: gadgetfs: unregister gadget only if it got successfully registered

2016-02-17 Thread Marek Szyprowski
Gadgetfs driver called usb_gadget_unregister_driver unconditionally, even if it didn't register it earlier due to other failures. This patch fixes this. Reported-by: Vegard Nossum Signed-off-by: Marek Szyprowski Tested-by: Vegard Nossum --- drivers/usb/gadget/legacy/inode.c | 7 +-- 1 file

Re: [PATCH v1 5/8] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-02-17 Thread Joonsoo Kim
2016-02-17 3:37 GMT+09:00 Alexander Potapenko : > On Mon, Feb 1, 2016 at 3:55 AM, Joonsoo Kim wrote: >> On Thu, Jan 28, 2016 at 02:27:44PM +0100, Alexander Potapenko wrote: >>> On Thu, Jan 28, 2016 at 1:51 PM, Alexander Potapenko >>> wrote: >>> > >>> > On Jan 28, 2016 8:40 AM, "Joonsoo Kim" wro

Re: [PATCH] x86/intel/quark: Parameterize the kernel's IMR lock logic

2016-02-17 Thread Ingo Molnar
* Bryan O'Donoghue wrote: > Currently when setting up an IMR around the kernel's .text area we lock > that IMR, preventing further modification. While superficially this appears > to be the right thing to do, in fact this doesn't account for a legitimate > change in the memory map such as when e

Re: [PATCH] lightnvm: generalize rrpc ppa calculations

2016-02-17 Thread Matias Bjørling
On 02/17/2016 12:00 PM, Javier González wrote: > In rrpc, some calculations assume a certain configuration (e.g., 1 LUN, > 1 sector per page). The reason behind this was that we have used a simple > configuration in QEMU to test core features generally in LightNVM, and > concretely in rrpc. This pa

[PATCH v2] serial: xuartps: Enable OF earlycon support

2016-02-17 Thread Michal Simek
Support early console setup via DT for all listed compatible strings. Remove EARLYCON_DECLARE which was done by: "Use common framework for earlycon declarations" (sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd) when OF_EARLYCON_DECLARE is defined. Signed-off-by: Michal Simek --- Changes in v2: -

Re: [PATCH] ovl: fix working on distributed fs as lower layer

2016-02-17 Thread Nikolay Borisov
On 01/31/2016 03:22 PM, Konstantin Khlebnikov wrote: > This adds missing .d_select_inode into alternative dentry_operations. > > Signed-off-by: Konstantin Khlebnikov > Fixes: 7c03b5d45b8e ("ovl: allow distributed fs as lower layer") > Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to

Re: [PATCH v8 0/2] Add Rockchip Inno-HDMI driver

2016-02-17 Thread Yakir Yang
Hi Mark, Thanks for your apply ;) - Yakir On 02/18/2016 02:12 PM, Mark yao wrote: On 2016年01月29日 14:42, Yakir Yang wrote: Here are a brief introduction to Innosilicon HDMI IP: - Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter - Support HDMI1.4 a/b 3D function de

письмо от Екатерины

2016-02-17 Thread Крылова Дарья
Приветствую Вас. У Вас нет заказов, телефоны молчат? Есть от всего этого отличное средство - наш сервис поиска клиентов. Обращайтесь не стесняйтесь 796 11 363521

Re: [patch 07/11] x86/perf/uncore: Track packages not per cpu data

2016-02-17 Thread Ingo Molnar
* Andi Kleen wrote: > > Do you have any data to back that up or is that just "believe" ? > > I've seen systems with discontiguous apic ids before. > > It is obvious if you consider setups with node hotplug. > > BTW reading this thread you don't seem interested in any code review > feedback,

Re: [PATCH] MAINTAINERS: Add co-maintainer for remoteproc subsystems

2016-02-17 Thread Ohad Ben-Cohen
On Sun, Feb 14, 2016 at 3:35 AM, Bjorn Andersson wrote: > > Add myself as co-maintainer for the remote processor related subsystems, > as agreed with Ohad. > > Signed-off-by: Bjorn Andersson Thank you Bjorn for the help! Acked-by: Ohad Ben-Cohen > --- > MAINTAINERS | 3 +++ > 1 file changed,

Re: [RFC][PATCH 12/12] perf: Collapse and fix event_function_call() users

2016-02-17 Thread Peter Zijlstra
On Wed, Feb 17, 2016 at 05:38:43PM -0500, Sasha Levin wrote: > Hey Peter, > > I seem to be hitting a warning added by this patch: > > [ 258.890172] WARNING: CPU: 5 PID: 14801 at kernel/events/core.c:226 > event_function+0x3a7/0x550() Yes, I've been chasing this one for the past few days. I ha

Re: [PATCH 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2016-02-17 Thread Joonsoo Kim
2016-02-16 10:16 GMT+09:00 Steven Rostedt : > On Tue, 16 Feb 2016 09:47:20 +0900 > Joonsoo Kim wrote: > >> > They return true when CONFIG_TRACEPOINTS is configured in and the >> > tracepoint is enabled, and false otherwise. >> >> This implementation is what you proposed before. Please refer below

Re: [PATCH 2/2] ARM: AM43XX: HWMOD: Add rtc hwmod

2016-02-17 Thread Keerthy
Hi Paul, On Thursday 18 February 2016 12:12 PM, Paul Walmsley wrote: Hi Keerthy On Thu, 18 Feb 2016, Keerthy wrote: The patch adds rtc hwmod. RTC module The RTC module is physically present on the AM438x SoC used on AM43X-EPOS-EVM, but it is permanently disabled. A secure RTC is used instead

[PATCH v3 1/1] ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list

2016-02-17 Thread John Dahlstrom
Some Lenovo ideapad models lack a physical rfkill switch. On Lenovo models ideapad Y700 Touch-15ISK and ideapad Y700-15ISK, ideapad-laptop would wrongly report all radios as blocked by hardware which caused wireless network connections to fail. Add these models without an rfkill switch to the no_

Re: [PATCH 5/6] hisi_sas: add hisi_sas_slave_configure()

2016-02-17 Thread Hannes Reinecke
On 02/16/2016 05:56 PM, John Garry wrote: > On 16/02/2016 15:33, Hannes Reinecke wrote: >> On 02/16/2016 01:22 PM, John Garry wrote: >>> In high-datarate aging tests, it is found that >>> the SCSI framework can periodically >>> issue lu resets to the device. This is because scsi >>> commands begin

Re: call_usermodehelper in containers

2016-02-17 Thread Ian Kent
On Thu, 2016-02-18 at 14:36 +0800, Ian Kent wrote: > On Thu, 2016-02-18 at 12:43 +0900, Kamezawa Hiroyuki wrote: > > On 2016/02/18 11:57, Eric W. Biederman wrote: > > > > > > Ccing The containers list because a related discussion is > > > happening > > > there > > > and somehow this thread has nev

linux-next: Tree for Feb 18

2016-02-17 Thread Stephen Rothwell
Hi all, Changes since 20160217: The mvebu tree gained a conflict against the arm-soc tree. The net-next tree gained a build failure so I used the version from next-20160217. The crypto tree lost its build failure. The block tree gained a conflict against Linus' tree. The char-misc

Re: [PATCH v8 3/3] tty: 8250_omap: Use software emulated RS485 direction control

2016-02-17 Thread Ильяс Гасанов
Also, forgot to mention that if serial8250_em485_init is called not upon uart startup but elsewhere (upon port register for example), and em485 is set, serial8250_do_startup should call serial8250_em485_rts_after_send, or else RTS might be in wrong state whenever the port device is opened, making i

RE: [PATCH] PCI: imx6:don't sleep in atomic context

2016-02-17 Thread Sharma, Sanjeev
-Original Message- From: Bjorn Helgaas [mailto:helg...@kernel.org] Sent: Thursday, January 07, 2016 3:35 AM To: Sharma, Sanjeev Cc: richard@freescale.com; l.st...@pengutronix.de; bhelg...@google.com; linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.k

Re: [PATCH 3/6] hisi_sas: use slot abort in v1 hw

2016-02-17 Thread Hannes Reinecke
On 02/16/2016 05:13 PM, John Garry wrote: > On 16/02/2016 15:31, Hannes Reinecke wrote: >> On 02/16/2016 01:22 PM, John Garry wrote: >>> When TRANS_TX_CREDIT_TIMEOUT_ERR or >>> TRANS_TX_CLOSE_NORMAL_ERR errors occur for a >>> command, the command should be re-attempted. >>> >>> Signed-off-by: John

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-17 Thread Felipe Balbi
Hi, Oliver Neukum writes: >> Oliver Neukum writes: >> >> > The API to user space. That is the point. We cannot break user space. >> >> > Once this sysfs API is upstream we are stuck with it. >> >> >> >> yeah, in fact I have been wondering if sysfs is the best interface to >> > >> > That is the

Re: [PATCH v2 2/5] ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS

2016-02-17 Thread Paul Walmsley
Hi Franklin On Wed, 17 Feb 2016, Franklin S Cooper Jr. wrote: > On 08/31/2015 10:51 AM, Paul Walmsley wrote: > > On Thu, 16 Jul 2015, R, Vignesh wrote: > >> On 07/16/2015 03:24 AM, Paul Walmsley wrote: > >>> On Wed, 3 Jun 2015, Vignesh R wrote: > >>> > Add hwmod entries for the PWMSS on DRA7

Re: [BUG] random kernel crashes after THP rework on s390 (maybe also on PowerPC and ARM)

2016-02-17 Thread Kirill A. Shutemov
On Wed, Feb 17, 2016 at 08:13:40PM +0100, Gerald Schaefer wrote: > On Sat, 13 Feb 2016 12:58:31 +0100 (CET) > Sebastian Ott wrote: > > > [ 59.875935] [ cut here ] > > [ 59.875937] kernel BUG at mm/huge_memory.c:2884! > > [ 59.875979] illegal operation: 0001 ilc:1 [#1

Re: V4L docs and docbook

2016-02-17 Thread Hans Verkuil
Hi Jon, On 02/17/2016 10:52 PM, Jonathan Corbet wrote: > Hey, Mauro, > > There's been a conversation going on that I keep meaning to bring you > into. In short, there's a fair amount of interest in improving our > formatted kernel documentation, and, in particular, making it easier to > write; I

Re: [PATCH] mm: add MM_SWAPENTS and page table when calculate tasksize in lowmem_scan()

2016-02-17 Thread Xishi Qiu
On 2016/2/17 8:35, David Rientjes wrote: > On Tue, 16 Feb 2016, Greg Kroah-Hartman wrote: > >> On Tue, Feb 16, 2016 at 05:37:05PM +0800, Xishi Qiu wrote: >>> Currently tasksize in lowmem_scan() only calculate rss, and not include >>> swap. >>> But usually smart phones enable zram, so swap space

Re: [tip:x86/urgent] hpet: Drop stale URLs

2016-02-17 Thread Andreas Mohr
Hi, On Wed, Feb 17, 2016 at 04:14:54AM -0800, tip-bot for Michael S. Tsirkin wrote: > Commit-ID: 4e7f9df25874cedbbc604a5c5c2e7a6efe662387 > Gitweb: http://git.kernel.org/tip/4e7f9df25874cedbbc604a5c5c2e7a6efe662387 > Author: Michael S. Tsirkin > AuthorDate: Thu, 11 Feb 2016 01:05:01 +020

Re: [PATCH 2/2] ARM: AM43XX: HWMOD: Add rtc hwmod

2016-02-17 Thread Paul Walmsley
Hi Keerthy On Thu, 18 Feb 2016, Keerthy wrote: > The patch adds rtc hwmod. RTC module The RTC module is physically > present on the AM438x SoC used on AM43X-EPOS-EVM, but it is permanently > disabled. A secure RTC is used instead on these devices, where needed. > . Hence adding it selectively usi

[PATCH v3 1/5] soc: qcom: smd: Introduce callback setter

2016-02-17 Thread Bjorn Andersson
From: Bjorn Andersson Introduce a setter for the callback function pointer to clarify the locking around the operation and to reduce some duplication. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- Changes since v2: - None Changes since v1: - New patch drivers/soc/qcom/s

[PATCH v3 2/5] soc: qcom: smd: Split discovery and state change work

2016-02-17 Thread Bjorn Andersson
From: Bjorn Andersson Split the two steps of channel discovery and state change handling into two different workers. This allows for new channels to be found while we're are probing, which is required as we introduce multi-channel support. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn And

[PATCH v3 4/5] soc: qcom: smd: Support multiple channels per sdev

2016-02-17 Thread Bjorn Andersson
From: Bjorn Andersson This patch allows chaining additional channels to a SMD device, enabling implementation of multi-channel SMD devies - like Bluetooth. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- Changes since v2: - None Changes since v1: - New patch drivers/soc/q

[PATCH v3 5/5] soc: qcom: smd: Support opening additional channels

2016-02-17 Thread Bjorn Andersson
From: Bjorn Andersson With the qcom_smd_open_channel() API we allow SMD devices to open additional SMD channels, to allow implementation of multi-channel SMD devices - like Bluetooth. Channels are opened from the same edge as the calling SMD device is tied to. Signed-off-by: Bjorn Andersson Si

[PATCH v3 3/5] soc: qcom: smd: Refactor channel open and close handling

2016-02-17 Thread Bjorn Andersson
From: Bjorn Andersson Refactor opening and closing of channels into two separate functions instead of open coding this in the various places. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- Changes since v2: - None Changes since v1: - New patch drivers/soc/qcom/smd.c | 62

[PATCH v3 0/5] Qualcomm SMD multi-channel client support

2016-02-17 Thread Bjorn Andersson
After trying to avoid implementing multi-channel support in SMD in v1 of the HCI driver for Qualcomm WCNSS BT, this new version includes the necessary SMD refactoring and additon of an API that allows SMD devices to call back into the SMD core to acquire additonal channels. The additional channels

Re: call_usermodehelper in containers

2016-02-17 Thread Ian Kent
On Thu, 2016-02-18 at 12:43 +0900, Kamezawa Hiroyuki wrote: > On 2016/02/18 11:57, Eric W. Biederman wrote: > > > > Ccing The containers list because a related discussion is happening > > there > > and somehow this thread has never made it there. > > > > Ian Kent writes: > > > > > On Mon, 2013-

[RESEND PATCH v3] isdn: divamnt: use y2038-safe ktime_get_ts64() for trace data timestamps

2016-02-17 Thread Alison Schofield
divamnt stores a start_time at module init and uses it to calculate elapsed time. The elapsed time, stored in secs and usecs, is part of the trace data the driver maintains for the DIVA Server ISDN cards. No change to the format of that time data is required. To avoid overflow on 32-bit systems us

Re: [PATCH v2 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420

2016-02-17 Thread Viresh Kumar
On 18-02-16, 14:13, Krzysztof Kozlowski wrote: > On Exynos5420 we support 8 cpufreq steps (600-1300 MHz) for LITTLE and > 12 steps for big core (700-1800 MHz). Add respective cooling cells. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Add cooling properties to all C

Re: [PATCH v2 3/3] ARM: dts: Don't overheat the Odroid XU3-Lite on high load

2016-02-17 Thread Viresh Kumar
On 18-02-16, 14:13, Krzysztof Kozlowski wrote: > After adding cpufreq-dt support to Exynos542x, the Odroid XU3-Lite can > be easily overheated when launching eight CPU-intensive tasks: > thermal thermal_zone3: critical temperature reached(121 C),shutting down > > This seems to be specific to

Re: [PATCH v2 2/3] ARM: dts: Add cooling levels for CPUs on exynos5422/5800

2016-02-17 Thread Viresh Kumar
On 18-02-16, 14:13, Krzysztof Kozlowski wrote: > On Exynos5422 and Exynos5800 we support 12 cpufreq steps (200-1300 MHz) for > LITTLE > and 18 steps for big core (200-1700 MHz). Add respective cooling cells. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Add cooling

Re: [PATCH 12/12] cpufreq: governor: Narrow down the dbs_data_mutex coverage

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:38, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since cpufreq_governor_dbs() is now always called with policy->rwsem > held, it cannot be executed twice in parallel for the same policy. > Thus it is not necessary to hold dbs_data_mutex around the invocations > of cpufre

Re: [PATCH 07/54] perf tools: Enable BPF object configure syntax

2016-02-17 Thread Wangnan (F)
On 2016/2/12 22:09, Jiri Olsa wrote: On Fri, Feb 05, 2016 at 02:01:32PM +, Wang Nan wrote: SNIP } | -PE_BPF_SOURCE +PE_BPF_SOURCE opt_event_config { struct parse_events_evlist *data = _data; struct list_head *list; ALLOC_LIST(list); - ABORT_ON(parse_eve

Re: [PATCH 1/4] block: bio: introduce helpers to get the 1st and last bvec

2016-02-17 Thread Ming Lei
Hi Kent, Thanks for your review. On Thu, Feb 18, 2016 at 12:24 PM, Kent Overstreet wrote: > On Mon, Feb 15, 2016 at 05:42:12PM +0800, Ming Lei wrote: >> Cc Kent and Keith. >> >> Follows another version which should be more efficient. >> Kent and Keith, I appreciate much if you may give a review

Re: [PATCH] regulator: s2mps11: Use local variable for number of regulators

2016-02-17 Thread Andi Shyti
Thanks, > Remove the s2mps11_info.rdev_num because it is not used outside of > probe. > > Suggested-by: Andi Shyti > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andi Shyti Andi

[PATCH v2] mtd: atmel_nand: move the hsmc_clk from nfc node to nand node

2016-02-17 Thread Wenyou Yang
From: Josh Wu For sama5d3, sama5d4 chip, the pmecc becomes a part of HSMC, they need the HSMC clock to be enabled to work. The NFC is a sub feature for current nand driver, it can be disabled. But if HSMC clock is controlled by NFC, so disable NFC will also disable the HSMC clock. then, it will m

Re: [PATCH v8 0/2] Add Rockchip Inno-HDMI driver

2016-02-17 Thread Mark yao
On 2016年01月29日 14:42, Yakir Yang wrote: Here are a brief introduction to Innosilicon HDMI IP: - Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter - Support HDMI1.4 a/b 3D function defined in HDMI 1.4 a/b spec - Digital video interface supports a pixel size of 24, 30,

Re: [PATCH 11/12] cpufreq: governor: Make dbs_data_mutex static

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:33, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > That mutex is only used by cpufreq_governor_dbs() and it doesn't > need to be exported to modules, so make it static and drop the > export incantation. > > No functional changes. > > Signed-off-by: Rafael J. Wysocki > -

Re: [PATCH 10/12] cpufreq: governor: Relocate definitions of tuners structures

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:32, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move the definitions of struct od_dbs_tuners and struct cs_dbs_tuners > from the common governor header to the ondemand and conservative > governor code, respectively, as they don't need to be in the common > header any mo

Re: [PATCH 9/12] cpufreq: governor: Move per-CPU data to the common code

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:31, Rafael J. Wysocki wrote: > @@ -464,21 +455,24 @@ static void od_set_powersave_bias(unsign > > get_online_cpus(); > for_each_online_cpu(cpu) { > + struct cpufreq_policy *policy; > struct policy_dbs_info *policy_dbs; > + struct d

Re: [PATCH 8/12] cpufreq: governor: Make governor private data per-policy

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:30, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Some fields in struct od_cpu_dbs_info_s and struct cs_cpu_dbs_info_s > are only used for a limited set of CPUs. Namely, if a policy is > shared between multiple CPUs, those fields will only be used for one > of them (poli

Re: [PATCH RESEND v3] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD

2016-02-17 Thread Oleksandr Natalenko
Thanks for your patience ;). On середа, 17 лютого 2016 р. 21:23:45 EET Darren Hart wrote: > On Wed, Feb 17, 2016 at 01:35:46PM +0200, Oleksandr Natalenko wrote: > > Wi-Fi on ASUS X75VD laptop does not work unless asus_nb_wmi module > > is loaded with wapf=4 option. Add quirk for this. > > > > Sig

[PATCH] proc: /proc//timerslack_ns permissions fixes

2016-02-17 Thread John Stultz
This patch adjusts the timerslack_ns file permissions to be 0666 but requires PTRACE_MODE_ATTACH_FSCREDS to read or write the value. This allows tasks with sufficient privledges (CAP_SYS_PTRACE) to be able to modify a the timerslack for proccesses owned by a different user. This patch also fixes

Re: [PATCH v6 4/5] videobuf2-dc: Let drivers specify DMA attrs

2016-02-17 Thread Tomasz Figa
Hi Hans, On Thu, Feb 18, 2016 at 2:00 AM, Hans Verkuil wrote: > Hi Doug, > > Is there any reason to think that different planes will need different > DMA attrs? I ask because this patch series of mine: > > http://www.spinics.net/lists/linux-media/msg97522.html > > does away with allocating alloca

[PATCH] regulator: s2mps11: Use local variable for number of regulators

2016-02-17 Thread Krzysztof Kozlowski
Remove the s2mps11_info.rdev_num because it is not used outside of probe. Suggested-by: Andi Shyti Signed-off-by: Krzysztof Kozlowski --- Rebased on my previous patch: [PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON --- drivers/regulator/s2mps11.c | 34

Re: [PATCH 7/12] cpufreq: ondemand: Rework the handling of powersave bias updates

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:28, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ondemand_powersave_bias_init() function used for resetting data > fields related to the powersave bias tunable of the ondemand governor > works by walking all of the online CPUs in the system and updating the > od_cpu_

Re: [PATCH v2 1/2] ideapad-laptop: Add ideapad Y700-15ISK to the no_hw_rfkill DMI list

2016-02-17 Thread Darren Hart
On Wed, Feb 17, 2016 at 04:33:43PM -0600, John Dahlstrom wrote: > Some Lenovo ideapad models lack a physical rfkill switch. > On a Lenovo ideapad Y700-15ISK, the ideapad-laptop module > would wrongly report all radios as blocked by hardware which > caused wireless network connections to fail. > >

Re: [PATCH 6/12] cpufreq: governor: Fix CPU load information updates via ->store

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:26, Rafael J. Wysocki wrote: > Index: linux-pm/drivers/cpufreq/cpufreq_ondemand.c > === > --- linux-pm.orig/drivers/cpufreq/cpufreq_ondemand.c > +++ linux-pm/drivers/cpufreq/cpufreq_ondemand.c > @@ -29,6 +29,7 @@ > >

Re: [PATCH 5/12] cpufreq: ondemand: Drop one more callback from struct od_ops

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:24, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ->powersave_bias_init_cpu callback in struct od_ops is only used > in one place and that invocation may be replaced with a direct call > to the function pointed to by that callback, so change the code > accordingly and

Re: [PATCH 4/12] cpufreq: governor: Drop unused governor callback and data fields

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:22, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After some previous changes, the ->get_cpu_dbs_info_s governor > callback and the "governor" field in struct dbs_governor (whose > value represents the governor type) are not used any more, so > drop them. > > Also drop t

Re: [PATCH] mfd: Add support for COMe-cSL6 and COMe-mAL10 to Kontron PLD driver

2016-02-17 Thread Darren Hart
On Wed, Feb 17, 2016 at 02:45:31PM +0100, Michael Brunner wrote: > This patch adds the DMI system ID of the Kontron COMe-cSL6 and > COME-mAL10 boards to the Kontron PLD driver. The list of supported > products in the module description is also updated. > > Signed-off-by: Michael Brunner > Acked-b

Re: [PATCH 3/12] cpufreq: governor: Add a ->start callback for governors

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:21, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > To avoid having to check the governor type explicitly in the common > code in order to initialize data structures specific to the governor > type properly, add a ->start callback to struct dbs_governor and > use it to init

Re: [PATCH] nvmem: core: fix error path in nvmem_add_cells()

2016-02-17 Thread Rasmus Villemoes
On Wed, Feb 17 2016, Srinivas Kandagatla wrote: >> err: >> -while (--i) >> +while (i--) >> nvmem_cell_drop(cells[i]); > No, this will not work. > > 3 issues, > > 1> If we enter this err path from nvmem_cell_info_to_nvmem_cell() > failures, you would be accessing already fre

Re: [PATCH 2/5] efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version

2016-02-17 Thread H. Peter Anvin
On February 12, 2016 3:27:09 AM PST, Matt Fleming wrote: >From: Peter Jones > >Translate EFI's UCS-2 variable names to UTF-8 instead of just assuming >all variable names fit in ASCII. > >Signed-off-by: Peter Jones >Acked-by: Matthew Garrett >Tested-by: "Lee, Chun-Yi" >Signed-off-by: Matt Flem

Re: [PATCH][RESEND] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD

2016-02-17 Thread Darren Hart
On Wed, Feb 17, 2016 at 12:37:38PM +0200, Giedrius Statkevičius wrote: > On Wed, Feb 17, 2016 at 09:45:05AM +0200, Oleksandr Natalenko wrote: > > Wi-Fi on ASUS X75VD laptop does not work unless asus_nb_wmi module > > is loaded with wapf=4 option. Add quirk for this. > > --- > > You forgot Signed-o

Re: [PATCH 3/3] thermal: exynos: Print a message about exceeded number of supported trip-points

2016-02-17 Thread Chanwoo Choi
On 2016년 02월 18일 14:14, Krzysztof Kozlowski wrote: > When DeviveTree contains more trip-points than SoC can configure > (usually more than four) and polling mode is not enabled, then the > remaining trip-points will be silently ignored. No interrupts will be > generated for them. > > This might be

[PATCH 0/2] arm: am43xx: Enable rtc

2016-02-17 Thread Keerthy
The patch adds rtc hwmod. This is present on gp and sk evm and not on epos evm. Hence adding it selectively using a seprate list. Keerthy (2): ARM: dts: am43x-epos-evm: Add the am438 compatible string ARM: AM43XX: HWMOD: Add rtc hwmod Documentation/devicetree/bindings/arm/omap/omap.txt | 2

[PATCH 2/2] ARM: AM43XX: HWMOD: Add rtc hwmod

2016-02-17 Thread Keerthy
The patch adds rtc hwmod. RTC module The RTC module is physically present on the AM438x SoC used on AM43X-EPOS-EVM, but it is permanently disabled. A secure RTC is used instead on these devices, where needed. . Hence adding it selectively using a seprate list to get RTC Module functional on the oth

Re: [PATCH][RESEND] ideapad-laptop: Add Lenovo ideapad Y700 Touch-15ISK and Lenovo ideapad Y700-15ISK to the no_hw_rfkill DMI list

2016-02-17 Thread Darren Hart
On Wed, Feb 17, 2016 at 05:55:49AM -0600, John Dahlstrom wrote: Hi John, Why the RESEND? Please update your subject to be less than 72 characters or so. It needs to display completely with git log on an 80 char terminal without getting truncated. Anything you can't fit there, please add to the c

[PATCH 1/2] ARM: dts: am43x-epos-evm: Add the am438 compatible string

2016-02-17 Thread Keerthy
The SoCs on am43x-epos-evm are named am438x. Hence add the compatibility string and remove the am4372 string. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/arm/omap/omap.txt | 2 +- arch/arm/boot/dts/am43x-epos-evm.dts| 2 +- 2 files changed, 2 insertions(+), 2 del

Re: [PATCH] add POWER Virtual Management Channel driver

2016-02-17 Thread Stewart Smith
Steven Royer writes: > On 2016-02-17 16:31, Greg Kroah-Hartman wrote: >> On Wed, Feb 17, 2016 at 03:18:26PM -0600, Steven Royer wrote: >>> On 2016-02-16 16:18, Greg Kroah-Hartman wrote: >>> >On Tue, Feb 16, 2016 at 02:43:13PM -0600, Steven Royer wrote: >>> >>From: Steven Royer >>> >> >>> >>The ib

[RESEND PATCH v2] scsi: gdth: replace struct timeval with ktime_get_real_seconds()

2016-02-17 Thread Alison Schofield
struct timeval will overflow on 32-bit systems in y2038 and is being removed from the kernel. Replace the use of struct timeval and do_gettimeofday() with ktime_get_real_seconds() which provides a 64-bit seconds value and is y2038 safe. gdth driver requires changes in two areas: 1) gdth_store_eve

Re: [PATCH 2/12] cpufreq: governor: Move io_is_busy to struct dbs_data

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:20, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The io_is_busy governor tunable is only used by the ondemand governor > and is located in the ondemand-specific data structure, but it is > looked at by the common governor code that has to do ugly things to > get to that

Re: [PATCH][RESEND] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD

2016-02-17 Thread Darren Hart
On Wed, Feb 17, 2016 at 09:45:05AM +0200, Oleksandr Natalenko wrote: > Wi-Fi on ASUS X75VD laptop does not work unless asus_nb_wmi module > is loaded with wapf=4 option. Add quirk for this. Point of terminology. It is not a RESEND if you made changes, even whitespace, it's v2, v3, etc. RESEND mean

Re: [PATCH 1/12] cpufreq: governor: Close dbs_data update race condition

2016-02-17 Thread Viresh Kumar
On 18-02-16, 02:19, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > It is possible for a dbs_data object to be updated after its > usage counter has become 0. That may happen if governor_store() > runs (via a govenor tunable sysfs attribute write) in parallel > with cpufreq_governor_exit(

Re: [PATCH RESEND v3] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD

2016-02-17 Thread Darren Hart
On Wed, Feb 17, 2016 at 01:35:46PM +0200, Oleksandr Natalenko wrote: > Wi-Fi on ASUS X75VD laptop does not work unless asus_nb_wmi module > is loaded with wapf=4 option. Add quirk for this. > > Signed-off-by: Oleksandr Natalenko Queued to testing, thanks. -- Darren Hart Intel Open Source Techn

[GIT PULL] drm/vc4: changes for drm-fixes

2016-02-17 Thread Eric Anholt
These changes have been on the list for over a week without comment, so I think it might be an appropriate time to pull (without an active development community, getting review will probably be hard). I'm also curious when your window for taking fixes would close -- the modesetting series I sent y

Re: [PATCH 2/3] thermal: exynos: Document number of supported trip-points

2016-02-17 Thread Chanwoo Choi
On 2016년 02월 18일 14:14, Krzysztof Kozlowski wrote: > Document the number of configurable temperature thresholds (for > trip-points in interrupt-driven mode). > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 8 > 1 file changed

[GIT PULL] drm/vc4: changes for drm-next.

2016-02-17 Thread Eric Anholt
These changes have been on the list for just under 2 weeks (and sitting under a lot of the other development I've been doing), so I think they're ready to go for -next. They're also a big deal for getting multiple encoders going, which I'm hoping will happen soon. The following changes since comm

Re: [PATCH 1/3] thermal: exynos: Document compatible for Exynos5433 TMU

2016-02-17 Thread Chanwoo Choi
On 2016년 02월 18일 14:14, Krzysztof Kozlowski wrote: > Commit 488c7455d74c ("thermal: exynos: Add the support for Exynos5433 > TMU") added new compatible but forgot to update documentation. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/thermal/exynos-thermal.txt

[PATCH v2 2/3] ARM: dts: Add cooling levels for CPUs on exynos5422/5800

2016-02-17 Thread Krzysztof Kozlowski
On Exynos5422 and Exynos5800 we support 12 cpufreq steps (200-1300 MHz) for LITTLE and 18 steps for big core (200-1700 MHz). Add respective cooling cells. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Add cooling properties to all CPUs (suggested by Viresh). --- arch/arm/boot/dt

[PATCH 1/3] thermal: exynos: Document compatible for Exynos5433 TMU

2016-02-17 Thread Krzysztof Kozlowski
Commit 488c7455d74c ("thermal: exynos: Add the support for Exynos5433 TMU") added new compatible but forgot to update documentation. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentati

Re: [PATCH v2 0/3] PCI: Revert "Implement pcibios_alloc_irq() and pcibios_free_irq()"

2016-02-17 Thread Мороз Олег
On 17.02.2016 21:36, Bjorn Helgaas wrote: These are clean reverts of 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()") and related changes. We have two reports of drivers broken in v4.3 by Jiang's change, 991de2e59090 ("PCI, x86: Implement pcibios_alloc_irq() and pc

[PATCH 2/3] thermal: exynos: Document number of supported trip-points

2016-02-17 Thread Krzysztof Kozlowski
Document the number of configurable temperature thresholds (for trip-points in interrupt-driven mode). Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings

Re: [PATCH 1/1] of/overlay: of overlay callbacks

2016-02-17 Thread Moritz Fischer
Hi Alan, a couple of nits below. On Wed, Feb 17, 2016 at 9:41 AM, Alan Tull wrote: > > +/* > + * Send overlay callbacks to handlers that match. This call is blocking. In Can we make this 'Invoke' instead of send? > @@ -370,6 +448,13 @@ int of_overlay_create(struct device_node *tree) >

[PATCH v2 3/3] ARM: dts: Don't overheat the Odroid XU3-Lite on high load

2016-02-17 Thread Krzysztof Kozlowski
After adding cpufreq-dt support to Exynos542x, the Odroid XU3-Lite can be easily overheated when launching eight CPU-intensive tasks: thermal thermal_zone3: critical temperature reached(121 C),shutting down This seems to be specific to Odroid XU3-Lite board which officially supports lower

Re: [PATCH] intel_telemetry_pltdrv: Change verbosity control bits

2016-02-17 Thread Darren Hart
On Wed, Feb 17, 2016 at 12:05:22PM +0530, Souvik Kumar Chakravarty wrote: > Due to a recent fix in the firmware, the Punit verbosity control bits > now adhere to the correct pattern. Hence remove the workaround and > do a read-mofiy-write of the register. > > Signed-off-by: Souvik Kumar Chakravart

[PATCH 3/3] thermal: exynos: Print a message about exceeded number of supported trip-points

2016-02-17 Thread Krzysztof Kozlowski
When DeviveTree contains more trip-points than SoC can configure (usually more than four) and polling mode is not enabled, then the remaining trip-points will be silently ignored. No interrupts will be generated for them. This might be quite dangerous when one provides DTB with a non-configurable

[PATCH v2 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420

2016-02-17 Thread Krzysztof Kozlowski
On Exynos5420 we support 8 cpufreq steps (600-1300 MHz) for LITTLE and 12 steps for big core (700-1800 MHz). Add respective cooling cells. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Add cooling properties to all CPUs (suggested by Viresh). --- arch/arm/boot/dts/exynos5420-cpus

Re: [PATCH] nes: handling failed allocation when creating workqueue

2016-02-17 Thread Leon Romanovsky
Please see my minor comments below. Reviewed-by: Leon Romanovsky On Wed, Feb 17, 2016 at 01:06:33PM -0500, Insu Yun wrote: > Since create_singlethread_workqueue uses kzalloc internally, > it can be failed in memory pressure, so need to handle it. s/can be failed/can fail/ > > Signed-off-by: I

Re: [RFC PATCH 3/3] mm/zsmalloc: change ZS_MAX_PAGES_PER_ZSPAGE

2016-02-17 Thread Sergey Senozhatsky
On (02/18/16 13:41), Sergey Senozhatsky wrote: > diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c > index 0c9f117..d5252d1 100644 > --- a/mm/zsmalloc.c > +++ b/mm/zsmalloc.c > @@ -73,12 +73,6 @@ > */ > #define ZS_ALIGN 8 > > -/* > - * A single 'zspage' is composed of up ZS_MAX_PAGES_PE

[Announce] sg3_utils-1.42 available

2016-02-17 Thread Douglas Gilbert
) and additions to many others, see the ChangeLog below. This version tracks various changes made by www.t10.org since May 2015 until January 2016. Changelog for sg3_utils-1.42 [20160217] [svn: r663] - sg_timestamp: new, to report or set timestamp - sg_read_attr: new, supported by tape drives

Re: [RFC PATCH 3/3] mm/zsmalloc: change ZS_MAX_PAGES_PER_ZSPAGE

2016-02-17 Thread Sergey Senozhatsky
On (02/18/16 13:41), Sergey Senozhatsky wrote: > I think we better switch to different logic here -- specify how many ->huge > classes we want to have, and let zsmalloc to calculate > ZS_MAX_PAGES_PER_ZSPAGE. > > > For example, if we want to have 20 ->huge classes, the 'smallest' (or the > last

Re: [PATCH v2 net-next 6/8] net: mvneta: bm: add support for hardware buffer management

2016-02-17 Thread David Miller
From: Gregory CLEMENT Date: Tue, 16 Feb 2016 16:33:41 +0100 > pp->dev = dev; > SET_NETDEV_DEV(dev, &pdev->dev); > > + dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO; > + dev->hw_features |= dev->features; > + dev->vlan_features |= dev->features; > + dev->

[PATCH v2] fusion-mptbase: handle failed allocation for workqueue

2016-02-17 Thread Insu Yun
the failure of ioc->reset_work_q is checked, but not ioc->fw_event_q. Signed-off-by: Insu Yun --- drivers/message/fusion/mptbase.c | 44 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fus

Re: [RFC 3/3] ARM: dts: Don't overheat the Odroid XU3-Lite on high load

2016-02-17 Thread Krzysztof Kozlowski
On 18.02.2016 11:36, Viresh Kumar wrote: >> >> BTW, I found the issue. The order of trip points in DT: >> thermal_zone0/trip_point_0_hyst:5000 >> thermal_zone0/trip_point_0_temp:5 >> thermal_zone0/trip_point_0_type:active >> thermal_zone0/trip_point_1_hyst:5000 >> thermal_zone0/trip_point_1_tem

Re: [RFC PATCH 3/3] mm/zsmalloc: change ZS_MAX_PAGES_PER_ZSPAGE

2016-02-17 Thread Sergey Senozhatsky
On (02/18/16 12:02), Sergey Senozhatsky wrote: [..] > --- > mm/zsmalloc.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c > index 61b1b35..0c9f117 100644 > --- a/mm/zsmalloc.c > +++ b/mm/zsmalloc.c > @@ -74,11 +74,10 @@ > #define ZS_A

Re: [PATCH] et131x: check return value of dma_alloc_coherent

2016-02-17 Thread David Miller
From: Insu Yun Date: Mon, 15 Feb 2016 21:23:47 -0500 > For error handling, dma_alloc_coherent's return value > needs to be checked, not argument. > > Signed-off-by: Insu Yun Applied, thanks.

Re: [PATCH 1/4] block: bio: introduce helpers to get the 1st and last bvec

2016-02-17 Thread Kent Overstreet
On Mon, Feb 15, 2016 at 05:42:12PM +0800, Ming Lei wrote: > Cc Kent and Keith. > > Follows another version which should be more efficient. > Kent and Keith, I appreciate much if you may give a review on it. > > diff --git a/include/linux/bio.h b/include/linux/bio.h > index 56d2db8..ef45fec 100644

[PATCH net-next 3/3] samples/bpf: offwaketime example

2016-02-17 Thread Alexei Starovoitov
This is simplified version of Brendan Gregg's offwaketime: This program shows kernel stack traces and task names that were blocked and "off-CPU", along with the stack traces and task names for the threads that woke them, and the total elapsed time from when they blocked to when they were woken up.

[PATCH net-next 0/3] bpf_get_stackid() and stack_trace map

2016-02-17 Thread Alexei Starovoitov
This patch set introduces new map type to store stack traces and corresponding bpf_get_stackid() helper. BPF programs already can walk the stack via unrolled loop of bpf_probe_read()s which is ok for simple analysis, but it's not efficient and limited to <30 frames after that the programs don't fit

[PATCH net-next 2/3] bpf: introduce BPF_MAP_TYPE_STACK_TRACE

2016-02-17 Thread Alexei Starovoitov
add new map type to store stack traces and corresponding helper bpf_get_stackid(ctx, map, flags) - walk user or kernel stack and return id @ctx: struct pt_regs* @map: pointer to stack_trace map @flags: bits 0-7 - numer of stack frames to skip bit 8 - collect user stack instead of kernel

  1   2   3   4   5   6   7   8   9   10   >