Re: [PATCH] sdhci: Add quirk and device tree parameter to force SD test mode

2016-08-24 Thread Adrian Hunter
On 24/08/16 01:14, Zach Brown wrote: > On Tue, Aug 23, 2016 at 09:22:29AM +0300, Adrian Hunter wrote: >> On 23/08/16 01:55, Zach Brown wrote: >>> From: Jaeden Amero >>> >>> On some devices, CD is broken so that we must force the SDHCI into test >>> mode and set CD, so that it always detects an SD

Re: Why do we need reset_control_get_optional() ?

2016-08-24 Thread Masahiro Yamada
Hi Philipp, 2016-08-16 23:36 GMT+09:00 Masahiro Yamada : > Hi Philipp, Arnd. > > > > 2016-08-09 1:39 GMT+09:00 Philipp Zabel : >> Am Freitag, den 05.08.2016, 17:50 +0200 schrieb Arnd Bergmann: >>> On Thursday, July 28, 2016 1:00:49 PM CEST Philipp Zabel wrote: >>> > Am Donnerstag, den 28.07.2016,

[PATCH] ASoC: tas5086: fix typo: "Inavlid" -> "Invalid"

2016-08-24 Thread Colin King
From: Colin Ian King trivial typo fix in dev_err message Signed-off-by: Colin Ian King --- sound/soc/codecs/tas5086.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/tas5086.c b/sound/soc/codecs/tas5086.c index c297b9f..b7de857 100644 --- a/sound/soc/codecs

Re: OOM detection regressions since 4.7

2016-08-24 Thread Joonsoo Kim
Looks like my mail client eat my reply so I resend. On Tue, Aug 23, 2016 at 09:33:18AM +0200, Michal Hocko wrote: > On Tue 23-08-16 13:52:45, Joonsoo Kim wrote: > [...] > > Hello, Michal. > > > > I agree with partial revert but revert should be a different form. > > Below change try to reuse shou

Re: OOM detection regressions since 4.7

2016-08-24 Thread Michal Hocko
On Wed 24-08-16 14:01:57, Joonsoo Kim wrote: > Looks like my mail client eat my reply so I resend. > > On Tue, Aug 23, 2016 at 09:33:18AM +0200, Michal Hocko wrote: > > On Tue 23-08-16 13:52:45, Joonsoo Kim wrote: > > [...] > > > Hello, Michal. > > > > > > I agree with partial revert but revert s

Re: [PATCH v2] PCI: altera: Retrain link in rootport mode only

2016-08-24 Thread Ley Foon Tan
On Mon, Aug 22, 2016 at 11:47 PM, Bjorn Helgaas wrote: > On Fri, Aug 19, 2016 at 04:24:38PM +0800, Ley Foon Tan wrote: >> Altera PCIe IP can be configured as rootport or device and they might have >> same vendor ID. It will cause the system hang issue if Altera PCIe is in >> endpoint mode and work

Re: of_clk_add_(hw_)providers multipule times for one node?

2016-08-24 Thread Masahiro Yamada
Hi Stephen, 2016-08-12 16:04 GMT+09:00 Masahiro Yamada : > 2016-08-11 8:08 GMT+09:00 Stephen Boyd : >> On 08/10, Masahiro Yamada wrote: >>> Hi Stephen, >>> >>> >>> >>> 2016-08-09 8:37 GMT+09:00 Stephen Boyd : >>> > On 08/08, Masahiro Yamada wrote: >>> >> Hi Stephen, >>> >> >>> >> >>> >> 2016-08-0

Re: [PATCH 5/5] arm64: Add uprobe support

2016-08-24 Thread Pratyush Anand
Hi Oleg, Thanks a lot for your review, and sorry for delayed response. On 09/08/2016:08:49:44 PM, Oleg Nesterov wrote: > On 08/02, Pratyush Anand wrote: > > > > This patch adds support for uprobe on ARM64 architecture. > > I know nothing about ARM, so I can't actually review this change. > But i

Re: [PATCH v2 1/4] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-24 Thread Milo Kim
Hi Andrzej, On 08/24/2016 02:28 PM, Andrzej Hajda wrote: Please use ddc property in hdmi node, instead of this legacy binding. See exynos4210-universal_c210.dts or exynos4412-odroid-common.dtsi for reference. Cool! I prefer this simple property. Thanks for the review. Best regards, Milo

RE: [PATCH v1 1/5] dma: Add QorIQ qDMA engine driver support

2016-08-24 Thread Yao Yuan
On Thu, Aug 18, 2016 at 05:16 PM +0800, Russell King wrote: > On Thu, Aug 18, 2016 at 02:38:44PM +0800, Yuan Yao wrote: > > + spin_lock(&fsl_comp->qchan->vchan.lock); > > + if (status == DMA_COMPLETE) > > + vchan_cookie_complete(&fsl_com

Re: [PATCH v2 3/4] gpu: drm: exynos_hdmi: Use consolidated function on binding DDC DT property

2016-08-24 Thread Milo Kim
Hi Andrzej, On 08/24/2016 02:55 PM, Andrzej Hajda wrote: This is mistake introduced by other patch, of_node_put should be called on np, after calling of_find_i2c_adapter_by_node. You can fix it in your patch as well. I think you can move of_find_i2c_adapter_by_node also to this function and ren

Re: [PATCH v2] serial: vt8500_serial: Fix a parameter of find_first_zero_bit.

2016-08-24 Thread Arnd Bergmann
On Wednesday, August 24, 2016 7:06:58 AM CEST Christophe JAILLET wrote: > The 2nd parameter of 'find_first_zero_bit' is the number of bits to search. > In this case, we are passing 'sizeof(vt8500_ports_in_use)'. > 'vt8500_ports_in_use' is an 'unsigned long'. So the sizeof is likely to > return 4 on

Re: [PATCH 0/5] ARM64: Uprobe support added

2016-08-24 Thread Pratyush Anand
Hi Will/Catalin, Do you have any specific comment for this patch set? ~Pratyush [1] https://lkml.org/lkml/2016/8/22/69 On 02/08/2016:11:00:04 AM, Pratyush Anand wrote: > ARM64 kprobe support is lying in torvalds/linux.git:master now. Therefore > sending my uprobe patches which were dependent on

Re: OOM detection regressions since 4.7

2016-08-24 Thread Joonsoo Kim
2016-08-24 16:04 GMT+09:00 Michal Hocko : > On Wed 24-08-16 14:01:57, Joonsoo Kim wrote: >> Looks like my mail client eat my reply so I resend. >> >> On Tue, Aug 23, 2016 at 09:33:18AM +0200, Michal Hocko wrote: >> > On Tue 23-08-16 13:52:45, Joonsoo Kim wrote: >> > [...] >> > > Hello, Michal. >> >

Re: [PATCH RFC RESEND] Perf: lookup dwarf unwind stack info in debug file pointed by .gnu_debuglink

2016-08-24 Thread Jiri Olsa
On Tue, Aug 23, 2016 at 06:18:10PM +0200, Matija Glavinic Pecotic wrote: SNIP > - ret = filename__read_debuglink(filename, debuglink, > -size - (debuglink - filename)); > + ret = filename__read_debuglink(filename, symfile, PATH_M

Re: [PATCH v2 03/22] usb: ulpi: Support device discovery via device properties

2016-08-24 Thread Heikki Krogerus
On Tue, Aug 23, 2016 at 12:58:07PM -0700, Stephen Boyd wrote: > On Fri, Aug 5, 2016 at 2:27 PM, Stephen Boyd wrote: > > Quoting Peter Chen (2016-07-08 02:04:58) > >> On Thu, Jul 07, 2016 at 03:20:54PM -0700, Stephen Boyd wrote: > >> > @@ -39,6 +42,10 @@ static int ulpi_match(struct device *dev, st

Re: [PATCH] x86/efi-bgrt: remove the check of the version field

2016-08-24 Thread Dave Young
On 08/22/16 at 04:49pm, Icenowy Zheng wrote: > > > 22.08.2016, 15:28, "Dave Young" : > > On 08/18/16 at 09:41pm, Matt Fleming wrote: > >>  On Wed, 17 Aug, at 01:44:13PM, Dave Young wrote: > >>  > > >>  > Could we add some quirk for these broken hardware instead of changing > >>  > the normal code

Re: [PATCH v4 2/3] ses: use scsi_is_sas_rphy instead of is_sas_attached

2016-08-24 Thread Johannes Thumshirn
On Mon, Aug 22, 2016 at 04:57:39PM +0800, kbuild test robot wrote: > Hi Johannes, > > [auto build test ERROR on scsi/for-next] > [also build test ERROR on v4.8-rc3] > [cannot apply to next-20160822] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the sys

[tip:timers/urgent] timekeeping: Cap array access in timekeeping_debug

2016-08-24 Thread tip-bot for John Stultz
Commit-ID: a4f8f6667f099036c88f231dcad4cf233652c824 Gitweb: http://git.kernel.org/tip/a4f8f6667f099036c88f231dcad4cf233652c824 Author: John Stultz AuthorDate: Tue, 23 Aug 2016 16:08:22 -0700 Committer: Thomas Gleixner CommitDate: Wed, 24 Aug 2016 09:34:32 +0200 timekeeping: Cap array a

[tip:timers/urgent] timekeeping: Avoid taking lock in NMI path with CONFIG_DEBUG_TIMEKEEPING

2016-08-24 Thread tip-bot for John Stultz
Commit-ID: 27727df240c7cc84f2ba6047c6f18d5addfd25ef Gitweb: http://git.kernel.org/tip/27727df240c7cc84f2ba6047c6f18d5addfd25ef Author: John Stultz AuthorDate: Tue, 23 Aug 2016 16:08:21 -0700 Committer: Thomas Gleixner CommitDate: Wed, 24 Aug 2016 09:34:31 +0200 timekeeping: Avoid takin

[PATCH v7 09/14] arm64/numa: support HAVE_SETUP_PER_CPU_AREA

2016-08-24 Thread Zhen Lei
To make each percpu area allocated from its local numa node. Without this patch, all percpu areas will be allocated from the node which cpu0 belongs to. Signed-off-by: Zhen Lei --- arch/arm64/Kconfig | 8 arch/arm64/mm/numa.c | 55

[PATCH v7 12/14] arm64/numa: remove the limitation that cpu0 must bind to node0

2016-08-24 Thread Zhen Lei
1. Currently only cpu0 set on cpu_possible_mask and percpu areas have not been initialized. 2. No reason to limit cpu0 must belongs to node0. Signed-off-by: Zhen Lei --- arch/arm64/mm/numa.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/arm64/mm/numa.c

[PATCH v7 05/14] arm64/numa: avoid inconsistent information to be printed

2016-08-24 Thread Zhen Lei
numa_init(of_numa_init) may returned error because of numa configuration error. So "No NUMA configuration found" is inaccurate. In fact, specific configuration error information should be immediately printed by the testing branch. Signed-off-by: Zhen Lei --- arch/arm64/mm/numa.c | 6 +++--- 1 fi

[PATCH v7 10/14] arm64/numa: define numa_distance as array to simplify code

2016-08-24 Thread Zhen Lei
1. MAX_NUMNODES is base on CONFIG_NODES_SHIFT, the default value of the latter is very small now. 2. Suppose the default value of MAX_NUMNODES is enlarged to 64, so the size of numa_distance is 4K, it's still acceptable if run the Image on other processors. 3. It will make function __node_

[PATCH v7 06/14] of_numa: Use of_get_next_parent to simplify code

2016-08-24 Thread Zhen Lei
From: Kefeng Wang Use of_get_next_parent() instead of open-code. Signed-off-by: Kefeng Wang Acked-by: Rob Herring --- drivers/of/of_numa.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c index 8723f64..ed103e6 100644 --- a/d

[PATCH v7 07/14] of_numa: Use pr_fmt()

2016-08-24 Thread Zhen Lei
From: Kefeng Wang Use pr_fmt to prefix kernel output. Signed-off-by: Kefeng Wang Acked-by: Rob Herring --- drivers/of/of_numa.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c index ed103e6..1234b4a 100644

[PATCH v7 08/14] arm64: numa: Use pr_fmt()

2016-08-24 Thread Zhen Lei
From: Kefeng Wang Use pr_fmt to prefix kernel output, and remove duplicated msg of NUMA turned off. Signed-off-by: Kefeng Wang --- arch/arm64/mm/numa.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm64/mm/numa.c b/arch/arm

[PATCH v7 13/14] of/numa: remove the constraint on the distances of node pairs

2016-08-24 Thread Zhen Lei
At present, the distances must equal in both direction for each node pairs. For example: the distance of node B->A must the same to A->B. But we really don't have to do this. End up fill default distances as below: 1. If both direction specified, keep no change. 2. If only one direction specified,

[PATCH v7 14/14] Documentation: remove the constraint on the distances of node pairs

2016-08-24 Thread Zhen Lei
Update documentation. This limit is unneccessary. Signed-off-by: Zhen Lei Acked-by: Rob Herring --- Documentation/devicetree/bindings/numa.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/numa.txt b/Documentation/devicetree/bindings/numa.txt index 21b350

[PATCH v7 01/14] of/numa: remove a duplicated pr_debug information

2016-08-24 Thread Zhen Lei
This information will be printed in the subfunction numa_add_memblk. They are not the same, but very similar. Signed-off-by: Zhen Lei Acked-by: Rob Herring --- drivers/of/of_numa.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c index ed5a097..

[PATCH v7 03/14] arm64/numa: add nid check for memory block

2016-08-24 Thread Zhen Lei
Use the same tactic to cpu and numa-distance nodes. Signed-off-by: Zhen Lei --- drivers/of/of_numa.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c index 7b3fbdc..afaeb9c 100644 --- a/drivers/of/of_numa.c +++ b/drivers/of/of_numa.c @@ -75,6 +

[PATCH v7 04/14] of/numa: remove a duplicated warning

2016-08-24 Thread Zhen Lei
This warning has been printed in of_numa_parse_cpu_nodes before. Signed-off-by: Zhen Lei Acked-by: Rob Herring --- drivers/of/of_numa.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c index afaeb9c..8723f64 100644 --- a/dr

[PATCH v7 11/14] arm64/numa: support HAVE_MEMORYLESS_NODES

2016-08-24 Thread Zhen Lei
Some numa nodes may have no memory. For example: 1. cpu0 on node0 2. cpu1 on node1 3. device0 access the momory from node0 and node1 take the same time. So, we can not simply classify device0 to node0 or node1, but we can define a node2 which distances to node0 and node1 are the same. Signed-off-

[PATCH v7 02/14] of/numa: fix a memory@ node can only contains one memory block

2016-08-24 Thread Zhen Lei
For a normal memory@ devicetree node, its reg property can contains more memory blocks. Because we don't known how many memory blocks maybe contained, so we try from index=0, increase 1 until error returned(the end). Signed-off-by: Zhen Lei Acked-by: Rob Herring --- drivers/of/of_numa.c | 29 +

[PATCH v7 00/14] fix some type infos and bugs for arm64/of numa

2016-08-24 Thread Zhen Lei
v6 -> v7: Fix a bug for this patch series when "numa=off" was set in bootargs, this modification only impact patch 12. Please refer https://lkml.org/lkml/2016/8/23/249 for more details. @@ -119,13 +115,13 @@ static void __init setup_node_to_cpumask_map(void) */ void numa_store_cpu_info(unsigne

[tip:x86/urgent] x86/apic: Do not init irq remapping if ioapic is disabled

2016-08-24 Thread tip-bot for Wanpeng Li
Commit-ID: 2e63ad4bd5dd583871e6602f9d398b9322d358d9 Gitweb: http://git.kernel.org/tip/2e63ad4bd5dd583871e6602f9d398b9322d358d9 Author: Wanpeng Li AuthorDate: Tue, 23 Aug 2016 20:07:19 +0800 Committer: Thomas Gleixner CommitDate: Wed, 24 Aug 2016 09:45:40 +0200 x86/apic: Do not init irq

Re: [PATCH 2/2] thermal: rcar-thermal: enable hwmon when thermal_zone

2016-08-24 Thread Zhang Rui
On 五, 2016-08-19 at 19:35 +0800, Zhang Rui wrote: > On 二, 2016-07-19 at 10:01 +, Kuninori Morimoto wrote: > > > > From: Kuninori Morimoto > > > > rcar-thermal is supporting both thermal_zone_of_sensor_register() > > and > > thermal_zone_device_register(). But > > thermal_zone_of_sensor_regis

Re: [PATCH] treewide: replace config_enabled() with IS_ENABLED() (2nd round)

2016-08-24 Thread Peter Oberparleiter
On 23.08.2016 18:45, Masahiro Yamada wrote: > Commit 97f2645f358b ("tree-wide: replace config_enabled() with > IS_ENABLED()") mostly killed config_enabled(), but some new users > have appeared for v4.8-rc1. They are all used for a boolean option, > so can be replaced with IS_ENABLED() safely. > >

Re: linux-next: build warning after merge of the thermal tree

2016-08-24 Thread Zhang Rui
On 三, 2016-08-24 at 13:38 +1000, Stephen Rothwell wrote: > Hi Zhang, > > After merging the thermal tree, today's linux-next build (powerpc > allyesconfig) produced this warning: > > warning: (HISI_THERMAL) selects STUB_CLK_HI6220 which has unmet > direct dependencies (COMMON_CLK && COMMON_CLK_HI6

Re: [PATCH] raid6: fix the input of raid6 algorithm

2016-08-24 Thread liuzhengyuan
Oh, get_random_*() is really expensive. Thanks for your tips. The boot log on my aarch64 showed bellow told it taked about 0.6 second to fill with disk data. [0.172831] DMA: preallocated 256 KiB pool for atomic allocations [0.788664] raid6: int64x1 gen() 121 MB/s [0.856613

[PATCH v3 1/2] input: misc: Add generic input driver to read encoded GPIO lines

2016-08-24 Thread Vignesh R
Add a driver to read group of GPIO lines and provide its status as a numerical value as input event to the system. This will help in interfacing devices, that can be connected over GPIOs, that provide input to the system by driving GPIO lines connected to them like a rotary dial or a switch. For e

[PATCH v3 0/2] AM335x-ICE: Add support for rotary switch

2016-08-24 Thread Vignesh R
This series adds support for rotary-switch on AM335x-ICE that is connected to TI PCA9536 I2C GPIO expander. First patch adds new generic driver to read status of group of GPIO lines and report the value as an input event. The second patch adds DT entries for the same. v2: https://lkml.org/lkml/201

[PATCH v3 2/2] ARM: dts: am335x-icev2: Add nodes for gpio-decoder

2016-08-24 Thread Vignesh R
AM335x ICE board has a rotary-switch connected to PCA9536 I2C GPIO expander. The position of the rotary-switch is reflected by status of GPIO lines. Add gpio-decoder node to read these GPIO line status via gpio-decoder driver and report it as an input event to the system. Signed-off-by: Vignesh R

Re: [PATCH 2/2] i2c: move locking operations to their own struct

2016-08-24 Thread Peter Rosin
On 2016-08-23 23:16, Wolfram Sang wrote: > On Fri, Jul 29, 2016 at 10:17:57AM +0200, Peter Rosin wrote: >> This makes it trivial to constify them, so do that. >> >> Signed-off-by: Peter Rosin > > Looks good. Could you rebase to i2c/for-next? Right, no problem! Cheers, Peter The following chang

Re: [PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-24 Thread Allen Hung
On 08/15/2016 05:55 PM, Allen Hung wrote: > On 08/03/2016 02:56 AM, Limonciello, Mario wrote: >>> -Original Message- >>> From: Jean Delvare [mailto:jdelv...@suse.de] >>> Sent: Tuesday, August 2, 2016 8:43 AM >>> To: Limonciello, Mario >>> Cc: Hung, Allen ; linux-kernel@vger.kernel.org >>>

Re: what is the purpose of SLAB and SLUB (was: Re: [PATCH v3] mm/slab: Improve performance of gathering slabinfo) stats

2016-08-24 Thread Michal Hocko
On Wed 24-08-16 10:15:02, Joonsoo Kim wrote: > On Tue, Aug 23, 2016 at 05:38:08PM +0200, Michal Hocko wrote: > > On Tue 23-08-16 11:13:03, Joonsoo Kim wrote: > > > On Thu, Aug 18, 2016 at 01:52:19PM +0200, Michal Hocko wrote: > > [...] > > > > I am not opposing the patch (to be honest it is quite n

Re: [PATCH] Make __xfs_xattr_put_listen preperly report errors.

2016-08-24 Thread Artem Savkov
On Wed, Aug 24, 2016 at 11:55:51AM +1000, Dave Chinner wrote: > On Tue, Aug 23, 2016 at 05:54:13PM +0200, Artem Savkov wrote: > > Commit "xfs: only return -errno or success from attr ->put_listent" changes > > the > > Please quote commits in --oneline format in changelogs - it makes it > much eas

Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-08-24 Thread Michal Hocko
On Tue 23-08-16 18:32:34, Oleg Nesterov wrote: > On 08/23, Michal Hocko wrote: > > > > --- a/kernel/fork.c > > +++ b/kernel/fork.c > > @@ -913,14 +913,11 @@ void mm_release(struct task_struct *tsk, struct > > mm_struct *mm) > > deactivate_mm(tsk, mm); > > > > /* > > -* If we're exiti

[PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation

2016-08-24 Thread Mike Looijmans
Add devicetree property for early initialization of the fan controller to prevent overheating, for example when resetting the board while the fan was completely turned off. Signed-off-by: Mike Looijmans --- Documentation/devicetree/bindings/hwmon/max6650.txt | 5 + 1 file changed, 5 insertio

[PATCH 1/2] hwmon: (max6650) Allow fan shutdown and initial rpm target

2016-08-24 Thread Mike Looijmans
The fan can be stopped by writing "3" to pwm1_enable in sysfs. Add devicetree property for early initialization of the fan controller to prevent overheating, for example when resetting the board while the fan was completely turned off. Also improve error reporting, I2C failures were ignored while

[PATCH v2] gpu: ipu-v3: fix a possible NULL dereference

2016-08-24 Thread LABBE Corentin
of_match_device could return NULL, and so cause a NULL pointer dereference later. For fixing this problem, we use of_device_get_match_data(), this will simplify the code a little by using a standard function for getting the match data. Testing the return value of of_device_get_match_data is also

Re: [RFC/PATCHSET 0/3] virtio: Implement virtio pstore device (v3)

2016-08-24 Thread Joel
Hi Namhyung, > On Aug 23, 2016, at 8:20 AM, Namhyung Kim wrote: > > Hi Joel, > > On Tue, Aug 23, 2016 at 7:25 PM, Joel Fernandes wrote: >> From: Namhyung Kim > >> >> Any thoughts on what you think about it? In your approach though, you >> wouldn't need a backing mem-path file which is the s

Re: [PATCH] staging: android: ion: ion.c fix parenthesis alignment

2016-08-24 Thread Sudip Mukherjee
On Wed, Aug 24, 2016 at 03:56:32AM +0700, Didik Setiawan wrote: > Fix checkpatch.pl warning about "Alignment should match open parenthesis". > --- you missed the Signed-off-by: line. regards sudip

Re: chipidea: udc: kernel panic in isr_setup_status_phase

2016-08-24 Thread Peter Chen
On Tue, Aug 23, 2016 at 02:36:30AM +0200, Clemens Gruber wrote: > Hi, > > I am using an i.MX6Q embedded board, acting as a (ethernet) gadget with > RNDIS function, connected over an USB OTG cable to a PC. > Most of the time it works fine, but in some mysterious circumstances, > a kernel panic occu

Re: [PATCH v2 1/2] kexec: Introduce "/sys/kernel/kexec_crash_low_size"

2016-08-24 Thread Dave Young
On 08/23/16 at 06:11pm, Yinghai Lu wrote: > On Wed, Aug 17, 2016 at 1:20 AM, Dave Young wrote: > > On 08/17/16 at 09:50am, Xunlei Pang wrote: > >> "/sys/kernel/kexec_crash_size" only handles crashk_res, it > >> is fine in most cases, but sometimes we have crashk_low_res. > >> For example, when "cr

Re: what is the purpose of SLAB and SLUB (was: Re: [PATCH v3] mm/slab: Improve performance of gathering slabinfo) stats

2016-08-24 Thread Mel Gorman
On Tue, Aug 23, 2016 at 05:38:08PM +0200, Michal Hocko wrote: > Do we have any documentation/study about which particular workloads > benefit from which allocator? It seems that most users will use whatever > the default or what their distribution uses. E.g. SLES kernel use SLAB > because this is w

Re: [PATCH 2/2] thermal: rcar-thermal: enable hwmon when thermal_zone

2016-08-24 Thread Kuninori Morimoto
Hi Zhang > > > From: Kuninori Morimoto > > > > > > rcar-thermal is supporting both thermal_zone_of_sensor_register() > > > and > > > thermal_zone_device_register(). But > > > thermal_zone_of_sensor_register() > > > doesn't enable hwmon as default. > > > This patch enables it to keep compatibili

Re: [PATCH v3 2/5] firmware: annotate thou shalt not request fw on init or probe

2016-08-24 Thread Gabriel Paubert
On Tue, Aug 23, 2016 at 05:45:04PM -0700, mcg...@kernel.org wrote: [snip] > --- > Documentation/firmware_class/README| 20 > drivers/base/Kconfig | 2 +- > .../request_firmware-avoid-init-probe-init.cocci | 130 > + > 3

Re: [PATCH v5 19/19] iommu/dma: Add support for mapping MSIs

2016-08-24 Thread Thomas Gleixner
On Tue, 23 Aug 2016, Robin Murphy wrote: > + cookie = domain->iova_cookie; > + iovad = &cookie->iovad; > + > + spin_lock(&cookie->msi_lock); > + list_for_each_entry(msi_page, &cookie->msi_page_list, list) > + if (msi_page->phys_hi == msg->address_hi && > +

[PATCH 40/41] staging: r8188eu: remove some structure definitions from rtw_event.h

2016-08-24 Thread Ivan Safonov
addba_event, event_node and c2hevent_queue structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_event.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_event.h b/drivers/staging/rtl8188eu/inc

[PATCH 33/41] staging: r8188eu: remove some structure definitions from wlan_bssdef.h

2016-08-24 Thread Ivan Safonov
ndis_802_11_ai_reqfi, ndis_802_11_ai_resfi, ndis_802_11_assoc_info, ndis_802_11_remove_key, ndis_802_11_auth_req, ndis_802_11_status_ind, ndis_802_11_auth_evt, ndis_802_11_test, pmkid_candidate, ndis_802_11_pmkid_list, ndis_802_11_auth_encrypt and ndis_802_11_cap structures are not used. Signed-of

[PATCH 20/41] staging: r8188eu: change rtw_ieee80211_ht_cap type of structures members to ieee80211_ht_cap

2016-08-24 Thread Ivan Safonov
Also cap_info member of ieee80211_ht_cap wrapped by le16_to_cpu function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 15 ++- drivers/staging/rtl8188eu/include/ieee80211.h | 4 ++-- drivers/staging/rtl8188eu/include/rtw_ht.h| 4 ++-- 3 files

[PATCH 27/41] staging: r8188eu: remove rx_ampdu_maxlen member of ht_priv

2016-08-24 Thread Ivan Safonov
rx_ampdu_maxlen used only once for assigning value. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 1 - drivers/staging/rtl8188eu/include/rtw_ht.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8

[PATCH] mm: memcontrol: avoid unused function warning

2016-08-24 Thread Arnd Bergmann
A bugfix in v4.8-rc2 introduced a harmless warning when CONFIG_MEMCG_SWAP is disabled but CONFIG_MEMCG is enabled: mm/memcontrol.c:4085:27: error: 'mem_cgroup_id_get_online' defined but not used [-Werror=unused-function] static struct mem_cgroup *mem_cgroup_id_get_online(struct mem_cgroup *memcg

[PATCH 05/41] staging: r8188eu: remove issue_action_spct_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c| 60 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 - 2 files changed, 62 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c

[PATCH 38/41] staging: r8188eu: remove some structure definitions from wlan_bssdef.h

2016-08-24 Thread Ivan Safonov
cmd_msg_parm, H2C_SS_RFOFF_PARAM, joinbssrpt_parm, P2P_PS_Offload_t and P2P_PS_CTWPeriod_t structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtl8188e_cmd.h | 30 1 file changed, 30 deletions(-) diff --git a/drivers/staging/rtl818

[PATCH 02/41] staging: r8188eu: remove rtw_get_ie_ex function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 44 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 46 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c

[PATCH 06/41] staging: r8188eu: remove hal_ch_offset_to_secondary_ch_offset function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 12 drivers/staging/rtl8188eu/include/ieee80211.h | 1 - 2 files changed, 13 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/sta

[PATCH 35/41] staging: r8188eu: remove sha256_state structure

2016-08-24 Thread Ivan Safonov
This structure does not used in driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_security.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_security.h b/drivers/staging/rtl8188eu/include/rtw_security.h index ca1247

Re: [PATCH 2/2] thermal: rcar-thermal: enable hwmon when thermal_zone

2016-08-24 Thread Zhang Rui
On 三, 2016-08-24 at 08:17 +, Kuninori Morimoto wrote: > Hi Zhang > > > > > > > > > > > > > > From: Kuninori Morimoto > > > > > > > > rcar-thermal is supporting both > > > > thermal_zone_of_sensor_register() > > > > and > > > > thermal_zone_device_register(). But > > > > thermal_zone_of_se

[PATCH 07/41] staging: r8188eu: remove rtw_set_ie_secondary_ch_offset function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 5 - drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8

[PATCH 30/41] staging: r8188eu: remove some structure definitions from include/ieee80211.h

2016-08-24 Thread Ivan Safonov
ieee_ibss_seq, rtw_ieee80211_hdr_qos, eapol, ieee80211_rx_stats, ieee80211_frag_entry, ieee80211_stats, ieee80211_softmac_stats, ieee80211_security, ieee80211_header_data, ieee80211_info_element_hdr, ieee80211_info_element, ieee80211_authentication, ieee80211_probe_response, ieee80211_probe_request

[PATCH 24/41] staging: r8188eu: replace HT_caps_element with ieee80211_ht_cap structure

2016-08-24 Thread Ivan Safonov
HT_caps_element is reimplementation of ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 10 - drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- drivers/staging/rtl8188eu/core/rtw_mlme.c| 12 +-- drivers/stagi

[PATCH 15/41] staging: r8188eu: replace rtw_ieee80211_ht_cap with ieee80211_ht_cap type in rtw_check_beacon_data function

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap is reimplementation of the ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c i

[PATCH 19/41] staging: r8188eu: change rtw_ieee80211_ht_cap type of local variables to ieee80211_ht_cap

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap is reimplementation of the ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 9 drivers/staging/rtl8188eu/core/rtw_mlme.c | 31 +- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 7 +++-

[PATCH] fb: udl: fix build without CONFIG_FB_DEFERRED_IO

2016-08-24 Thread Arnd Bergmann
A cleanup in v4.8 dropped several dependencies, but caused the udl driver to fail building when CONFIG_FB_DEFERRED_IO is not set: drivers/gpu/drm/udl/udl_fb.c: In function 'udl_fb_open': drivers/gpu/drm/udl/udl_fb.c:206:23: error: 'struct fb_info' has no member named 'fbdefio' if (fb_defio && (

[PATCH 12/41] staging: r8188eu: remove rtw_action_frame_parse function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 29 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 31 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c

[PATCH 09/41] staging: r8188eu: remove rtw_set_ie_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 11 --- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/sta

[PATCH 37/41] staging: r8188eu: remove odm_sta_info structure

2016-08-24 Thread Ivan Safonov
odm_sta_info structure does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/odm.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/odm.h b/drivers/staging/rtl8188eu/include/odm.h index dbebf17..21fb4225 100644 ---

[PATCH 29/41] staging:r8188eu: remove unnecessary include from include/rtw_ht.h

2016-08-24 Thread Ivan Safonov
osdep_service.h does not required in include/rtw_ht.h. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_ht.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ht.h b/drivers/staging/rtl8188eu/include/rtw_ht.h index 0ee11ef..d842ead 100

[PATCH 13/41] staging: r8188eu: remove action_public_str function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Also _action_public_str array removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 26 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 28 deletions(-) diff --git a/drivers

[PATCH] serial: 8250_dw: Check the data->pclk when get apb_pclk

2016-08-24 Thread Kefeng Wang
It should check the data->pclk, not data->clk when get apb_pclk. Fixes: c8ed99d4f6a8("serial: 8250_dw: Add support for deferred probing") Signed-off-by: Kefeng Wang --- drivers/tty/serial/8250/8250_dw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8

Re: [REGRESSION] Select hang with zero sized UDP packets

2016-08-24 Thread Dan Akunis
When select wakes up on a UDP socket, user is expecting to get data. Getting 0 from recvfrom() or whatever read function she uses, is a wrong attitude. I agree with David. The unit test that expects select to wake up is wrong and should be changed. -Original Message- From: David Miller

Re: [PATCH v3 3/3] serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 soc

2016-08-24 Thread Kefeng Wang
On 2016/8/22 22:05, Heikki Krogerus wrote: > Hi, > > On Mon, Aug 22, 2016 at 02:24:14PM +0300, Andy Shevchenko wrote: >> On Fri, 2016-07-15 at 19:01 +0800, Kefeng Wang wrote: >>> Use built-in device properties to set device parameters for the >>> existing device probed by acpi. >> >> acpi -> ACP

[PATCH 21/41] staging: r8188eu: remove rtw_ieee80211_ht_cap structure

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/wifi.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188eu/include/wifi.h index e7c5121..e049eed 100644 ---

[PATCH 17/41] staging: r8188eu: replace sizeof(struct rtw_ieee80211_ht_cap) with sizeof(struct ieee80211_ht_cap)

2016-08-24 Thread Ivan Safonov
Values of this expressions are equal, but ieee80211_ht_cap is library type. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 5 +++-- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 8 +--- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 6 -- 3 files ch

Re: [PATCH RFC RESEND] Perf: lookup dwarf unwind stack info in debug file pointed by .gnu_debuglink

2016-08-24 Thread Matija Glavinic Pecotic
On 24/08/16 09:30, Jiri Olsa wrote: > On Tue, Aug 23, 2016 at 06:18:10PM +0200, Matija Glavinic Pecotic wrote: >> -ret = filename__read_debuglink(filename, debuglink, >> - size - (debuglink - filename)); >> +ret = filename__read_debu

[PATCH 23/41] staging: r8188eu: simplify HT_caps_element structure

2016-08-24 Thread Ivan Safonov
Now HT_caps_element structure is similar to ieee80211_ht_caps. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c| 6 +++--- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- drivers/staging/rtl8188eu/core/rtw_mlme.c | 8 drivers/staging/rtl

[PATCH 26/41] staging: r8188eu: remove unused members of ht_priv structure

2016-08-24 Thread Ivan Safonov
tx_amsdu_enable and tx_amdsu_maxlen are not used in driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_ht.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ht.h b/drivers/staging/rtl8188eu/include/rtw_ht.h index 7beb0b1.

[PATCH 18/41] staging: r8188eu: remove dead code from rtw_get_cur_max_rate function

2016-08-24 Thread Ivan Safonov
Values assugned to pht_capie and mcs_rate variables, but variables does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c b/drivers/staging/rtl8188eu/c

[PATCH 01/41] staging: r8188eu: remove rtw_ies_remove_ie function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 47 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 49 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c

[PATCH 08/41] staging: r8188eu: remove rtw_set_ie_mesh_ch_switch_parm function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 13 - drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/s

Re: [PATCH][RFC] printk: make pr_cont buffer per-cpu

2016-08-24 Thread Petr Mladek
On Wed 2016-08-24 10:14:20, Sergey Senozhatsky wrote: > Hello, > > On (08/23/16 13:47), Petr Mladek wrote: > [..] > > > if (!(lflags & LOG_NEWLINE)) { > > > + if (!this_cpu_read(cont_printing)) { > > > + if (system_state == SYSTEM_RUNNING) { > > > +

[PATCH 41/41] staging: r8188eu: remove some structures definitions from rtw_ioctl.h

2016-08-24 Thread Ivan Safonov
oid_funs_node and oid_obj_priv structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_ioctl.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ioctl.h b/drivers/staging/rtl8188eu/include/rtw_ioctl.h

[PATCH 31/41] staging: r8188eu: remove some structure definitions from Hal8188EPhyCfg.h

2016-08-24 Thread Ivan Safonov
ant_sel_ofdm and ant_sel_cck structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h b/drivers/staging/rtl8188eu/include/

[PATCH 11/41] staging: r8188eu: remove dump_wps_ie function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 21 - drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 23 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/d

[PATCH 14/41] staging: r8188eu: remove for_each_ie macro

2016-08-24 Thread Ivan Safonov
for_each_ie does not used in the driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/ieee80211.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h b/drivers/staging/rtl8188eu/include/ieee80211.h index ddb9db4.

[PATCH 34/41] staging: r8188eu: remove agg_pkt_info structure

2016-08-24 Thread Ivan Safonov
This structure does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_xmit.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_xmit.h b/drivers/staging/rtl8188eu/include/rtw_xmit.h index 7895008..cb49aca 100644 --- a/driv

Re: [PATCH 2/2] thermal: rcar-thermal: enable hwmon when thermal_zone

2016-08-24 Thread Kuninori Morimoto
Hi Zhang > > > > > From: Kuninori Morimoto > > > > > > > > > > rcar-thermal is supporting both > > > > > thermal_zone_of_sensor_register() > > > > > and > > > > > thermal_zone_device_register(). But > > > > > thermal_zone_of_sensor_register() > > > > > doesn't enable hwmon as default. > > > > >

[PATCH 03/41] staging: r8188eu: remove rtw_ap_inform_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c| 34 -- drivers/staging/rtl8188eu/include/rtw_ap.h | 1 - 2 files changed, 35 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/

  1   2   3   4   5   6   7   8   9   >