Re: [PATCH] drivers :staging: android: make alignment match open parenthesis

2015-10-12 Thread Greg KH
On Tue, Oct 13, 2015 at 11:32:31AM +0800, Liao Tonglang wrote: > Cleanup for checkpatch.pl warn below: > CHECK: Alignment should match open parenthesis > #836: FILE: drivers/staging/android/ashmem.c:836: > by split three lines to four. > > Signed-off-by: Liao Tonglang > --- >

Re: [PATCH 3/3] fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000

2015-10-12 Thread Mike Looijmans
On 12-10-15 14:38, Michal Simek wrote: Hi Mike, On 10/12/2015 02:22 PM, Mike Looijmans wrote: On 12-10-15 13:16, Michal Simek wrote: +static int zynq_fpga_ops_write(struct fpga_manager *mgr, +const char *buf, size_t count) +{ + struct zynq_fpga_priv *priv; +

[PATCH] arm, omap2, sram: On HS/EMU devices, only 64K internal SRAM is available.

2015-10-12 Thread Heiko Schocher
Of this, secure content (including PPA) uses initial portion of the SRAM. This chunk is not (and shouldn't be) accessible from the public code. The minimum size of this chunk (0x350) is used in this patch. Available size is rounded off to 63K. Both values would require a change if size of secure

Re: [PATCH v2] thp: use is_zero_pfn only after pte_present check

2015-10-12 Thread Greg Kroah-Hartman
On Tue, Oct 13, 2015 at 11:38:38AM +0900, Minchan Kim wrote: > Use is_zero_pfn on pteval only after pte_present check on pteval > (It might be better idea to introduce is_zero_pte where checks > pte_present first). Otherwise, it could work with swap or > migration entry and if pte_pfn's result is

Re: [PATCH] staging: wilc1000: remove WILC1000_DYNAMICALLY_ALLOCATE_MEMROY

2015-10-12 Thread Greg KH
On Sat, Oct 10, 2015 at 03:41:54PM +0300, Stanislav Kholmanskikh wrote: > The config option in the subject may be removed, because, > indeed, it only serves as the 'n' value for > CONFIG_WILC1000_PREALLOCATE_AT_LOADING_DRIVER > > Signed-off-by: Stanislav Kholmanskikh > --- >

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

2015-10-12 Thread Hannes Reinecke
On 10/12/2015 05:10 PM, Arnd Bergmann wrote: > The advansys drvier uses the request_dma function that is used on ISA > machines for the internal DMA controller, which causes build errors > on platforms that have ISA slots but do not provide the ISA DMA API: > > drivers/scsi/advansys.c: In

Re: [PATCH] iio: Move IIO Dummy Driver out of staging

2015-10-12 Thread Jonathan Cameron
On 12 October 2015 18:59:57 BST, Daniel Baluta wrote: > > >>> +static unsigned instances = 1; >>> +module_param(instances, uint, 0); > >One concern about this. We will still create a default number of >'instances' >when using configuration via configfs? > >I'm not sure we can remove this

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-12 Thread Yinghai Lu
On Mon, Oct 12, 2015 at 10:06 PM, Meelis Roos wrote: >> >> > sparc64 machines: >> >> >> >> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git >> >> for-pci-v4.4-next >> >> >> >> It should fix some "no compatible bridge window" >> > >> > Blade 100: still has 2 address

Re: [PATCH 2/3] staging: rtl8188eu: bugfix: correct channels range is set in Hal_ReadTxPowerInfo88E

2015-10-12 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2015 at 01:27:00PM +0700, Ivan Safonov wrote: > Correct channels range is 1..14 (numbering from 1) but not 0..13. Why? Have you tested this? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCHv4 1/2] staging: rtl8192u: r8192U_core: add temporary variables to keep lines under 80 characters

2015-10-12 Thread Greg Kroah-Hartman
On Sun, Oct 04, 2015 at 06:55:57PM -0400, Raphaël Beamonte wrote: > Add some temporary variables to reduce line length under the maximum > of 80 characters, as per the kernel code style. > > Signed-off-by: Raphaël Beamonte > --- > drivers/staging/rtl8192u/r8192U_core.c | 130 >

Re: [PATCH 1/3] staging: rtl8188eu: 5 GHz channel groups removed from /hal/rtl8188e_hal_init.c

2015-10-12 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2015 at 01:23:13PM +0700, Ivan Safonov wrote: > Unnecessary channel groups for 5 GHz removed from Hal_GetChnlGroup88E > and it transformed to pretty get_channel_group(const u8 channel). > > Also removed code for 5 GHz frequency in Hal_ReadPowerValueFromPROM_8188E. Why did you do

Re: [PATCH 3/3] staging: rtl8188eu: BITn macro replaced by BIT(n) in hal/rtl8188e_hal_init.c

2015-10-12 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2015 at 01:28:34PM +0700, Ivan Safonov wrote: > This patch replace BITn macro to BIT(n). Why? Have you deleted the BITn macros? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v2 2/4] Staging: rtl8712: Use ether_addr_equal() over memcmp()

2015-10-12 Thread Greg KH
On Tue, Oct 13, 2015 at 12:19:12AM +0530, punit vara wrote: > On Tue, Oct 13, 2015 at 12:16 AM, Punit Vara wrote: > > This patch is to the rtl871x_ioctl_linux.c file that fixes up following > > warning reported by checkpatch.pl : > > > > -Prefer ether_addr_equal() or ether_addr_equal_unaligned()

Re: [PATCH v5 1/2] arm64: kvm: allows kvm cpu hotplug

2015-10-12 Thread AKASHI Takahiro
On 10/12/2015 10:28 PM, James Morse wrote: On 29/05/15 06:38, AKASHI Takahiro wrote: The current kvm implementation on arm64 does cpu-specific initialization at system boot, and has no way to gracefully shutdown a core in terms of kvm. This prevents, especially, kexec from rebooting the system

[PATCH] mmc: omap_hsmmc: fix initialization order of mmc block devices

2015-10-12 Thread Heiko Schocher
On embedded devices, often there is a combination of removable mmc devices (e.g. MMC/SD cards) and hard wired ones (e.g. eMMC). Depending on the hardware configuration, the 'mmcblkN' node might change if the removable device is available or not at boot time. E.g. if the removable device is

[PATCH Resend] cpufreq: Drop redundant check for inactive policies

2015-10-12 Thread Viresh Kumar
We just made sure policy->cpu is online and this check will always fail as the policy is active. Drop it. Signed-off-by: Viresh Kumar Acked-by: Saravana Kannan --- Resending as a separate patch. drivers/cpufreq/cpufreq.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH] block-mq:Fix the null memory access while setting tags cpumask

2015-10-12 Thread Raghavendra K T
In nr_hw_queues >1 cases when certain number of cpus are onlined/or offlined, that results change in request_queue map in block-mq layer, we see the kernel dumping like: BUG: unable to handle kernel NULL pointer dereference at 0080 IP: [] cpumask_set_cpu+0x6/0xd PGD 6d957067 PUD

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-12 Thread Richard Cochran
On Mon, Oct 12, 2015 at 11:45:19AM -0700, Christopher S. Hall wrote: > +int get_correlated_timestamp(struct correlated_ts *crt, > + struct correlated_cs *crs) > +{ > + struct timekeeper *tk = _core.timekeeper; > + unsigned long seq; > + cycles_t cycles,

Re: Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-12 Thread Kees Cook
On Tue, Oct 6, 2015 at 3:06 AM, Grant Likely wrote: > [Resending because I messed up the first one] > > The elections for five of the ten members of the Linux Foundation > Technical Advisory Board (TAB) are held every year[1]. This year the > election will be at the 2015 Kernel Summit in Seoul,

Re: [PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-12 Thread Thomas Hellstrom
Hi! On 10/13/2015 12:35 AM, Dan Williams wrote: > Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the driver > expects the fifo registers to be cacheable. In preparation for > deprecating ioremap_cache() convert its usage in vmwgfx to memremap(). > > Cc: David Airlie > Cc: Thomas

[PATCH] leds: leds-gpio: add shutdown function

2015-10-12 Thread Heiko Schocher
add a shutdown function for setting the gpio-leds into off state when shuting down. Signed-off-by: Heiko Schocher --- drivers/leds/leds-gpio.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index af1876a..5db4515 100644

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 9:34 PM, Wangnan (F) wrote: On 2015/10/13 12:16, Alexei Starovoitov wrote: On 10/12/15 8:51 PM, Wangnan (F) wrote: why 'set disable' is needed ? the example given in cover letter shows the use case where you want to receive samples only within sys_write() syscall. The example

[PATCH] net: phy: smsc: disable energy detect mode

2015-10-12 Thread Heiko Schocher
On some boards the energy enable detect mode leads in trouble with some switches, so make the enabling of this mode configurable through DT. Signed-off-by: Heiko Schocher --- .../devicetree/bindings/net/smsc-lan87xx.txt | 19 + drivers/net/phy/smsc.c

videobuf2-core.c:undefined reference to `__tracepoint_vb2_buf_queue'

2015-10-12 Thread kbuild test robot
Hi Philipp, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 25cb62b76430a91cc6195f902e61c2cb84ade622 commit: 2091f5181c66b3617a977e79843aba10e087be6c [media] videobuf2: add trace events date: 3 months ago config:

[PATCH] rtc: pcf8563: disable CLKOUT

2015-10-12 Thread Heiko Schocher
Disable the CLKOUT of the RTC after power-up. After power-up/reset of the RTC, CLKOUT is enabled by default, with CLKOUT enabled the RTC chip has 2-3 times higher power consumption. If you do not need CLKOUT, you can disable the CLKOUT with setting "disable-clkout" property. Signed-off-by: Heiko

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-12 Thread Meelis Roos
> >> > sparc64 machines: > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git > >> for-pci-v4.4-next > >> > >> It should fix some "no compatible bridge window" > > > > Blade 100: still has 2 address conflicts: > > http://kodu.ut.ee/~mroos/dm/dm.sb100+patch > > > >

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-12 Thread Richard Cochran
On Mon, Oct 12, 2015 at 11:45:19AM -0700, Christopher S. Hall wrote: > Another representative use case of time sync and the correlated > clocksource (in addition to PTP noted above) is PTP synchronized > audio. The added explanations of the audio use case do help. However, you did not address my

Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller'

2015-10-12 Thread Namhyung Kim
On Mon, Oct 05, 2015 at 06:03:35PM -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Which is the most common default found in other similar tools. I think it's more useful to change the default only when --children is used. And there's a related issue too - please

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Wangnan (F)
On 2015/10/13 12:16, Alexei Starovoitov wrote: On 10/12/15 8:51 PM, Wangnan (F) wrote: why 'set disable' is needed ? the example given in cover letter shows the use case where you want to receive samples only within sys_write() syscall. The example makes sense, but sys_write() is running on

Re: 4.3 group scheduling regression

2015-10-12 Thread Yuyang Du
On Tue, Oct 13, 2015 at 06:08:34AM +0200, Mike Galbraith wrote: > It sounded like you wanted me to run the below alone. If so, it's a nogo. Yes, thanks. Then it is the sad fact that after migrate and removed_load_avg is added in migrate_task_rq_fair(), we don't get a chance to update the tg

Re: Updated scalable urandom patchkit

2015-10-12 Thread Raymond Jennings
On Mon, Oct 12, 2015 at 7:46 PM, Theodore Ts'o wrote: On Mon, Oct 12, 2015 at 04:30:59PM -0400, George Spelvin wrote: > Segregating abusers solves both problems. If we do this then we don't > need to drop the locks from the nonblocking pool, which solves the > security problem. Er,

Re: [PATCH] regulator: qcom-smd: Correct set_load() unit

2015-10-12 Thread Andy Gross
On Mon, Oct 12, 2015 at 05:49:52PM -0700, Bjorn Andersson wrote: > The set_load() op deals with uA while the SMD packets used mA, so > convert as we're building the packet. > > Signed-off-by: Bjorn Andersson > --- Looks fine to me. Thanks for the fix. -- Qualcomm Innovation Center, Inc. The

Re: [PATCH v2] ARM: OMAP: Change all cpu_is_* occurences to soc_is_*

2015-10-12 Thread Keerthy
On Monday 12 October 2015 10:59 PM, Tony Lindgren wrote: * Tony Lindgren [151012 10:17]: * Keerthy [150901 17:24]: On Tuesday 01 September 2015 11:33 PM, Tony Lindgren wrote: * Keerthy [150901 10:22]: On Wednesday 26 August 2015 09:29 AM, Keerthy wrote: Currently apart from dra7,

Re: [PATCH v3] fsl-ifc: add missing include on ARM64

2015-10-12 Thread Lijun Pan
Dear Arnd, I would like to have your feedback on this patch. If it is good now, can you accept it? Lijun On 10/1/15, 4:14 PM, "Lijun Pan" wrote: >Need to include sched.h to fix the following compilation error >if FSL_IFC is enabled on ARM64 machine. > >In file included from

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 8:51 PM, Wangnan (F) wrote: why 'set disable' is needed ? the example given in cover letter shows the use case where you want to receive samples only within sys_write() syscall. The example makes sense, but sys_write() is running on this cpu, so just disabling it on the current one

Re: 4.3 group scheduling regression

2015-10-12 Thread Mike Galbraith
On Tue, 2015-10-13 at 03:55 +0800, Yuyang Du wrote: > On Mon, Oct 12, 2015 at 12:23:31PM +0200, Mike Galbraith wrote: > > On Mon, 2015-10-12 at 10:12 +0800, Yuyang Du wrote: > > > > > I am guessing it is in calc_tg_weight(), and naughty boys do make them > > > more > > > favored, what a

Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-12 Thread Anand Moon
Hi Jaehoon, On 13 October 2015 at 07:36, Jaehoon Chung wrote: > Dear, Anand. > > > On 10/13/2015 09:12 AM, Krzysztof Kozlowski wrote: >> On 12.10.2015 23:47, Anand Moon wrote: Anand, You essentially reverted here af6ad88acbd6 ("ARM: dts: Mux XMMCnDATA[0] pad correctly

Re: [Linaro-acpi] [PATCH v5 0/5] Provide better MADT subtable sanity checks

2015-10-12 Thread Pat Erley
On 10/12/2015 01:52 PM, Al Stone wrote: On 10/11/2015 09:58 PM, Pat Erley wrote: On 10/11/2015 08:49 PM, Hanjun Guo wrote: On 10/12/2015 11:08 AM, Pat Erley wrote: On 10/05/2015 10:12 AM, Al Stone wrote: On 10/05/2015 07:39 AM, Rafael J. Wysocki wrote: On Wednesday, September 30, 2015

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Wangnan (F)
On 2015/10/13 11:39, Alexei Starovoitov wrote: On 10/12/15 8:27 PM, Wangnan (F) wrote: Then how to avoid racing? For example, when one core disabling all events in a map, another core is enabling all of them. This racing may causes sereval perf events in a map dump samples while other events

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 09:13, Krzysztof Kozlowski wrote: > On 13.10.2015 12:08, Anand Moon wrote: >> Hi Krzysztof, >> >> On 13 October 2015 at 05:44, Krzysztof Kozlowski >> wrote: >>> On 13.10.2015 00:32, Anand Moon wrote: Hi Krzysztof, On 12 October 2015 at 11:14,

Re: [PATCH 4/4] debugfs: Add read-only/write-only bool file ops

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > There aren't any read-only or write-only bool file ops, but there > is a caller of debugfs_create_bool() that calls it with mode > equal to 0400. This leads to the possibility of userspace > modifying the file, so let's use the newly created >

Re: [PATCH 3/4] debugfs: Add read-only/write-only size_t file ops

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > There aren't any read-only or write-only size_t file ops, but there > is a caller of debugfs_create_size_t() that calls it with mode > equal to 0400. This leads to the possibility of userspace > modifying the file, so let's use the newly created >

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Krzysztof Kozlowski
On 13.10.2015 12:08, Anand Moon wrote: > Hi Krzysztof, > > On 13 October 2015 at 05:44, Krzysztof Kozlowski > wrote: >> On 13.10.2015 00:32, Anand Moon wrote: >>> Hi Krzysztof, >>> >>> On 12 October 2015 at 11:14, Krzysztof Kozlowski >>> wrote: On 12.10.2015 00:46, Anand Moon wrote: >

Re: [PATCH 2/4] debugfs: Add read-only/write-only x64 file ops

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > There aren't any read-only or write-only x64 file ops, but there > is a caller of debugfs_create_x64() that calls it with mode equal > to S_IRUGO. This leads to the possibility of userspace modifying > the file, so let's use the newly created

Re: [PATCH 1/4] debugfs: Consolidate file mode checks in debugfs_create_*()

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > The code that creates debugfs file with different file ops based > on the file mode is duplicated in each debugfs_create_*() API. > Consolidate that code into debugfs_create_mode(), that takes > three file ops structures so that we don't have to keep >

Re: 4.3 group scheduling regression

2015-10-12 Thread Yuyang Du
On Mon, Oct 12, 2015 at 12:23:31PM +0200, Mike Galbraith wrote: > On Mon, 2015-10-12 at 10:12 +0800, Yuyang Du wrote: > > > I am guessing it is in calc_tg_weight(), and naughty boys do make them more > > favored, what a reality... > > > > Mike, beg you test the following? > > Wow, that was

RE: [PATCH] qlcnic: constify qlcnic_mbx_ops structure

2015-10-12 Thread Sony Chacko
> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Julia Lawall > Sent: Sunday, October 11, 2015 4:48 AM > To: Dept-GE Linux NIC Dev > Cc: kernel-janit...@vger.kernel.org; netdev ; linux- > kernel > Subject: [PATCH] qlcnic: constify

Re: [PATCH 4/5] cpufreq: create cpu/cpufreq/policyX directories

2015-10-12 Thread Viresh Kumar
On 12-10-15, 12:31, Saravana Kannan wrote: > Can we use the first CPU in the related CPUs mask? Instead of the > first CPU that the policy got created on? The policyX numbering > would be a bit more consistent that way. Okay.. > Suggested-by: ? Will add. Though me/Rafael thought about it long

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 8:27 PM, Wangnan (F) wrote: Then how to avoid racing? For example, when one core disabling all events in a map, another core is enabling all of them. This racing may causes sereval perf events in a map dump samples while other events not. To avoid such racing I think some locking

Re: [PATCH] vf610_adc: Fix internal temperature calculation

2015-10-12 Thread Bhuvanchandra
Hi Stefan, Sorry! for the delay. On 10/08/2015 11:46 AM, Stefan Agner wrote: Hi Bhuvan, On 2015-09-23 06:43, Bhuvanchandra DV wrote: There is an observed temperature difference of ~20°C with the internal temperature reading and the temperature measured on SoC package. Existing calculations

[PATCH] drivers :staging: android: make alignment match open parenthesis

2015-10-12 Thread Liao Tonglang
Cleanup for checkpatch.pl warn below: CHECK: Alignment should match open parenthesis #836: FILE: drivers/staging/android/ashmem.c:836: by split three lines to four. Signed-off-by: Liao Tonglang --- drivers/staging/android/ashmem.c | 7 --- 1 file changed, 4 insertions(+), 3

RE: [f2fs-dev] [PATCH 1/2] f2fs: add F2FS_GOING_DOWN_METAFLUSH to test power-failure

2015-10-12 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, October 13, 2015 4:37 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: add

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Wangnan (F)
On 2015/10/13 3:29, Alexei Starovoitov wrote: On 10/12/15 2:02 AM, Kaixu Xia wrote: +extern const struct bpf_func_proto bpf_perf_event_sample_enable_proto; +extern const struct bpf_func_proto bpf_perf_event_sample_disable_proto; externs are unnecessary. Just make them static. Also I prefer

Re: [PATCH 1/5] cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask

2015-10-12 Thread Viresh Kumar
On 12-10-15, 12:12, Saravana Kannan wrote: > > if (new_policy) { > > /* related_cpus should at least include policy->cpus. */ > >-cpumask_or(policy->related_cpus, policy->related_cpus, > >policy->cpus); > >+cpumask_copy(policy->related_cpus, policy->cpus);

Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-12 Thread Anand Moon
Hi Jaehoon Chung, On 13 October 2015 at 07:36, Jaehoon Chung wrote: > Dear, Anand. > > > On 10/13/2015 09:12 AM, Krzysztof Kozlowski wrote: >> On 12.10.2015 23:47, Anand Moon wrote: Anand, You essentially reverted here af6ad88acbd6 ("ARM: dts: Mux XMMCnDATA[0] pad

Re: 4.3 group scheduling regression

2015-10-12 Thread Yuyang Du
On Mon, Oct 12, 2015 at 01:47:23PM +0200, Peter Zijlstra wrote: > > Also, should we do the below? At this point se->on_rq is still 0 so > reweight_entity() will not update (dequeue/enqueue) the accounting, but > we'll have just accounted the 'old' load.weight. > > Doing it this way around we'll

Re: GPF in shm_lock ipc

2015-10-12 Thread Davidlohr Bueso
On Mon, 12 Oct 2015, Bueso wrote: On Mon, 12 Oct 2015, Kirill A. Shutemov wrote: On Mon, Oct 12, 2015 at 10:49:45AM -0700, Davidlohr Bueso wrote: diff --git a/ipc/shm.c b/ipc/shm.c index 4178727..9615f19 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -385,9 +385,25 @@ static struct mempolicy

Re: [RFC PATCH 1/2] perf: Add the flag sample_disable not to output data on samples

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 7:30 PM, xiakaixu wrote: The proper perf_event_enable/disable are so heavy that another >mechanism needed? cpu_function_call is probably too much to do >from bpf program, but that can be simplified? >Based on the use case from cover letter, sounds like you want >something like

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 05:44, Krzysztof Kozlowski wrote: > On 13.10.2015 00:32, Anand Moon wrote: >> Hi Krzysztof, >> >> On 12 October 2015 at 11:14, Krzysztof Kozlowski >> wrote: >>> On 12.10.2015 00:46, Anand Moon wrote: Added support for UHS-I bus speed 50MB/s (SDR50,

Re: [PATCH v2] extcon: gpio: Add the support for Device tree bindings

2015-10-12 Thread Chanwoo Choi
Hi Mark, On 2015년 10월 05일 20:13, Mark Rutland wrote: > On Mon, Oct 05, 2015 at 03:58:19PM +0900, Chanwoo Choi wrote: >> This patch adds the support for Device tree bindings of extcon-gpio driver. >> The extcon-gpio device tree node must include the both 'extcon-id' and >> 'extcon-gpio' property.

Re: [PATCH v2 3/3] leds: rt5033: Add RT5033 Flash led device driver

2015-10-12 Thread Ingi Kim
Hi Jacek, Thanks for your kind comments I also append reply below On 2015년 10월 13일 00:10, Jacek Anaszewski wrote: > Hi Ingi, > > Thanks for the update. Few comments below. > > On 10/12/2015 03:12 PM, Ingi Kim wrote: >> This patch adds device driver of Richtek RT5033 PMIC. >> The driver

[PATCH v2] thp: use is_zero_pfn only after pte_present check

2015-10-12 Thread Minchan Kim
Use is_zero_pfn on pteval only after pte_present check on pteval (It might be better idea to introduce is_zero_pte where checks pte_present first). Otherwise, it could work with swap or migration entry and if pte_pfn's result is equal to zero_pfn by chance, we lose user's data in

Re: Updated scalable urandom patchkit

2015-10-12 Thread Theodore Ts'o
On Mon, Oct 12, 2015 at 04:30:59PM -0400, George Spelvin wrote: > > Segregating abusers solves both problems. If we do this then we don't > > need to drop the locks from the nonblocking pool, which solves the > > security problem. > > Er, sort of. I still think my points were valid, but they're

Re: [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-12 Thread Anand Moon
Hi Jaehoon Chung, On 13 October 2015 at 08:09, Jaehoon Chung wrote: > On 10/13/2015 11:29 AM, Anand Moon wrote: >> Hi Krzysztof, >> >> On 13 October 2015 at 05:40, Krzysztof Kozlowski >> wrote: >>> On 12.10.2015 23:33, Anand Moon wrote: Hi Krzysztof, On 12 October 2015 at 17:43,

Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 05:42, Krzysztof Kozlowski wrote: > On 12.10.2015 23:47, Anand Moon wrote: >>> >>> Anand, >>> >>> You essentially reverted here af6ad88acbd6 ("ARM: dts: Mux XMMCnDATA[0] >>> pad correctly for Exynos5420 boards"). Why? There is no explanation in >>> the commit

Re: [PATCH 1/2] atm: iphase: return -ENOMEM instead of -1 in case of failed kmalloc()

2015-10-12 Thread David Miller
From: Tillmann Heidsieck Date: Sat, 10 Oct 2015 21:47:18 +0200 > Smatch complains about returning hard coded error codes, silence this > warning. > > drivers/atm/iphase.c:115 ia_enque_rtn_q() warn: returning -1 instead of > -ENOMEM is sloppy > > Signed-off-by: Tillmann Heidsieck Applied to

Re: [PATCH 2/2] atm: iphase: fix misleading indention

2015-10-12 Thread David Miller
From: Tillmann Heidsieck Date: Sat, 10 Oct 2015 21:47:19 +0200 > Fix a smatch warning: > drivers/atm/iphase.c:1178 rx_pkt() warn: curly braces intended? > > The code is correct, the indention is misleading. In case the allocation > of skb fails, we want to skip to the end. > > Signed-off-by:

Re: [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-12 Thread Jaehoon Chung
On 10/13/2015 11:29 AM, Anand Moon wrote: > Hi Krzysztof, > > On 13 October 2015 at 05:40, Krzysztof Kozlowski > wrote: >> On 12.10.2015 23:33, Anand Moon wrote: >>> Hi Krzysztof, >>> >>> On 12 October 2015 at 17:43, Krzysztof Kozlowski >>> wrote: W dniu 12.10.2015 o 20:08, Anand Moon

Re: [PATCH net-next] net: hns: fix the unknown phy_nterface_t type error

2015-10-12 Thread David Miller
From: huangdaode Date: Sat, 10 Oct 2015 17:20:38 +0800 > This patch fix the building error reported by Jiri Pirko > > drivers/net/ethernet/hisilicon/hns/hnae.h:465:2: error: unknown type > name 'phy_interface_t' > phy_interface_t phy_if; > ^ > the full build log is on

Re: [PATCH] perf hists browser: Add 'm' key for context menu display

2015-10-12 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 13, 2015 at 09:02:01AM +0900, Namhyung Kim escreveu: > With horizontal scrolling, the left/right arrow keys are used to > scroll columns and ENTER/ESC keys are used to enter/exit menu. > However if callchain is recorded, the ENTER key is used to toggle > callchain expansion so there's

Re: [RFC PATCH 1/2] perf: Add the flag sample_disable not to output data on samples

2015-10-12 Thread xiakaixu
于 2015/10/13 3:20, Alexei Starovoitov 写道: > On 10/12/15 2:02 AM, Kaixu Xia wrote: >> diff --git a/include/linux/bpf.h b/include/linux/bpf.h >> index f57d7fe..25e073d 100644 >> --- a/include/linux/bpf.h >> +++ b/include/linux/bpf.h >> @@ -39,6 +39,7 @@ struct bpf_map { >> u32 max_entries; >>

Re: [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 05:40, Krzysztof Kozlowski wrote: > On 12.10.2015 23:33, Anand Moon wrote: >> Hi Krzysztof, >> >> On 12 October 2015 at 17:43, Krzysztof Kozlowski >> wrote: >>> W dniu 12.10.2015 o 20:08, Anand Moon pisze: Hi Krzysztof, On 12 October 2015 at

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Jaehoon Chung
On 10/12/2015 10:16 PM, Krzysztof Kozlowski wrote: > W dniu 12.10.2015 o 22:04, Jaehoon Chung pisze: >> On 10/12/2015 09:42 PM, Krzysztof Kozlowski wrote: >>> W dniu 12.10.2015 o 19:46, Anand Moon pisze: Hi Krzysztof, On 12 October 2015 at 11:14, Krzysztof Kozlowski wrote:

Re: 4.3 group scheduling regression

2015-10-12 Thread Mike Galbraith
On Mon, 2015-10-12 at 13:47 +0200, Peter Zijlstra wrote: > Also, should we do the below? Ew. Box said "Either you quilt pop/burn, or I boot windows." ;-) -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH RFC 1/2] dt-bindings: simplefb: Support a list of regulator supply properties

2015-10-12 Thread Chen-Yu Tsai
On Tue, Oct 13, 2015 at 1:10 AM, Mark Rutland wrote: > On Tue, Oct 13, 2015 at 01:04:17AM +0800, Chen-Yu Tsai wrote: >> The physical display tied to the framebuffer may have regulators >> providing power to it, such as power for LCDs or interface conversion >> chips. >> >> The number of

Re: [PATCH v2 0/3] Fix random hang up issue while kernel init

2015-10-12 Thread James Liao
Hi Matthias, On Mon, 2015-10-12 at 18:32 +0200, Matthias Brugger wrote: > > On 07/10/15 11:14, James Liao wrote: > > This patch is based on v4.3-rc4, to fix system hanging up issue > > while disabling unused clocks. > > > > There is nothing different in mtk-scpsys.c and mt8173.dtsi from v1 [1].

[PATCH] EDAC: use debugfs_remove_recursive instead of debugfs_remove

2015-10-12 Thread Tan Xiaojun
debugfs_remove is used to remove a file or an empty directory from the debugfs filesystem, but mci->debugfs is not empty. This is not easily discovered, because debugfs_remove return nothing when failed. Reported-by: Yun Wu (Abel) Signed-off-by: Tan Xiaojun --- drivers/edac/edac_mc_sysfs.c |

Re: [PATCH v4 4/4] Adds hardware supported cross timestamp

2015-10-12 Thread David Miller
From: "Christopher S. Hall" Date: Mon, 12 Oct 2015 11:45:22 -0700 > @@ -25,6 +25,8 @@ > */ > > #include "e1000.h" > +#include You cannot include an architecture specific header file in a driver that's compiled on several architectures. -- To unsubscribe from this list: send the line

Re: bindeb-pkg error (was Re: kbuild misc changes for v4.3-rc1 )

2015-10-12 Thread Pranith Kumar
On Mon, Oct 12, 2015 at 1:04 AM, Jim Davis wrote: > On Sun, Oct 11, 2015 at 7:58 PM, Pranith Kumar > wrote: >> >> >> ../linux-firmware-image-4.3.0-rc4_4.3.0-rc4-7_powerpc.deb: No such >> file or directory >> scripts/package/Makefile:97: recipe for target 'bindeb-pkg' failed >> make[1]: ***

Re: [PATCH v4 4/4] Adds hardware supported cross timestamp

2015-10-12 Thread kbuild test robot
Hi Christopher, [auto build test ERROR on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url:

Re: [PATCH] mm: cma: Fix incorrect type conversion for size during dma allocation

2015-10-12 Thread Greg Kroah-Hartman
On Mon, Oct 12, 2015 at 05:00:47PM -0700, Rohit Vaswani wrote: > This was found during userspace fuzzing test when a large size > dma cma allocation is made by driver(like ion) through userspace. > > show_stack+0x10/0x1c > dump_stack+0x74/0xc8 > kasan_report_error+0x2b0/0x408 >

Re: [PATCH v4 4/4] Adds hardware supported cross timestamp

2015-10-12 Thread kbuild test robot
Hi Christopher, [auto build test ERROR on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url:

linux-next: manual merge of the tip tree with the arm64 tree

2015-10-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/arm64/include/asm/atomic.h between commit: 305d454aaa29 ("arm64: atomics: implement native {relaxed, acquire, release} atomics") from the arm64 tree and commit: 62e8a3258bda ("atomic, arch: Audit

Re: [PATCH] ARM:mm: fix kmap_atomic_to_page

2015-10-12 Thread Jongsung Kim
On 10/12/2015 06:27 PM, Arnd Bergmann wrote: > How about changing the zcomp code to pass the page pointer instead of the > kernel space pointer? That would avoid having to do the kmap_atomic, which > can itself be expensive on 32-bit machines and should not be needed here if > you have a HW DMA

Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-12 Thread Jaehoon Chung
Dear, Anand. On 10/13/2015 09:12 AM, Krzysztof Kozlowski wrote: > On 12.10.2015 23:47, Anand Moon wrote: >>> >>> Anand, >>> >>> You essentially reverted here af6ad88acbd6 ("ARM: dts: Mux XMMCnDATA[0] >>> pad correctly for Exynos5420 boards"). Why? There is no explanation in >>> the commit

Re: [PATCH v2 net-next 0/3] bpf: unprivileged

2015-10-12 Thread David Miller
From: Alexei Starovoitov Date: Wed, 7 Oct 2015 22:23:20 -0700 > v1-v2: > - this set logically depends on cb patch > "bpf: fix cb access in socket filter programs": > http://patchwork.ozlabs.org/patch/527391/ > which is must have to allow unprivileged programs. > Thanks Daniel for

Re: [PATCH v4 2/4] Always running timer correlated clocksource

2015-10-12 Thread kbuild test robot
Hi Christopher, [auto build test ERROR on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url:

Re: [PATCH v2] HID: hiddev: change hiddev_connect() to return bool

2015-10-12 Thread Krzysztof Kozlowski
2015-10-09 22:00 GMT+09:00 Luis de Bethencourt : > Since hid_connect() only cares about hiddev_connect() succeeding or > failing, there is no need for this function to return an int and it can > return a bool instead. It can return bool but it would not be in line with kernel coding style. The

[PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-12 Thread Christopher S. Hall
From: Thomas Gleixner Modern Intel hardware provides the so called Always Running Timer (ART). The TSC which is usually used for timekeeping is derived from ART and runs with a fixed frequency ratio to it. ART is routed to devices and allows to take atomic timestamp samples from the device clock

[PATCH v4 2/4] Always running timer correlated clocksource

2015-10-12 Thread Christopher S. Hall
On modern Intel systems TSC is derived from the new Always Running Timer (ART). In addition, ART can be captured simultaneous to the capture of audio and network device clocks, allowing a correlation between timebases to be constructed. Upon capture, the driver converts the captured ART value to

[PATCH v4 3/4] Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping

2015-10-12 Thread Christopher S. Hall
Currently, network /system cross-timestamping is performed in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() and the gettime64() callback provided by the driver. The cross-timestamp is best effort where the latency between the capture of system time (getnstimeofday()) and the

[PATCH v4 4/4] Adds hardware supported cross timestamp

2015-10-12 Thread Christopher S. Hall
Modern Intel systems supports cross timestamping of the network device clock and Always Running Timer (ART) in hardware. This allows the device time and system time to be precisely correlated. The timestamp pair is exposed through the *_get_ts callback used by get_correlated_timestamp(). The

[PATCH v4 0/4] Patchset enabling hardware based cross-timestamps for next gen Intel platforms

2015-10-12 Thread Christopher S. Hall
Modern Intel hardware adds an Always Running Timer (ART) that allows the network and audio device clocks to precisely cross timestamp the device clock with the system clock. This allows a precise correlation of the device time and system time. v4 adds a history which enables the audio DSP (a

Re: [RFC] mm: fix a BUG, the page is allocated 2 times

2015-10-12 Thread yalin wang
> On Oct 12, 2015, at 21:52, Mel Gorman wrote: > > There is a redundant check and a memory leak introduced by a patch in > mmotm. This patch removes an unlikely(order) check as we are sure order > is not zero at the time. It also checks if a page is already allocated > to avoid a memory leak. >

[PATCH V2] mm, page_alloc: reserve pageblocks for high-order atomic allocations on demand -fix

2015-10-12 Thread yalin wang
There is a redundant check and a memory leak introduced by a patch in mmotm. This patch removes an unlikely(order) check as we are sure order is not zero at the time. It also checks if a page is already allocated to avoid a memory leak. This is a fix to the mmotm patch

Re: [PATCH] mm: cleanup balance_dirty_pages() that leave variables uninitialized

2015-10-12 Thread Liao Tonglang
On 2015/10/12 20:58, Jan Kara wrote: What gcc version are you using? It is the last line of my gcc -v command. gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) And it warn like this: mm/page-writeback.c: In function ‘balance_dirty_pages.isra.26’: mm/page-writeback.c:1537:26: warning:

[PATCH 2/5] mtd: nand: omap2: Start dma request before enabling prefetch

2015-10-12 Thread Franklin S Cooper Jr
The prefetch engine sends a dma request once a FIFO threshold has been met. No other requests are received until the previous request is handled. Starting an edma transfer (dma_async_issue_pending) results in any previous event for the dma channel to be cleared. Therefore, starting the prefetch

[PATCH 1/5] mtd: nand: omap2: Support parsing dma channel information from DT

2015-10-12 Thread Franklin S Cooper Jr
Switch from dma_request_channel to allow passing dma channel information from DT rather than hardcoding a value. Signed-off-by: Franklin S Cooper Jr --- drivers/mtd/nand/omap2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/omap2.c

[PATCH 0/5] mtd: nand: Fix support for NAND DMA Prefetch

2015-10-12 Thread Franklin S Cooper Jr
NAND dma prefetch has been broken for awhile and seems to have only worked for sdma based devices. This patchset fixes DMA prefetch to work on both edma and sdma devices Tested on: am335x general purpose evm am437x general purpose evm am37x general purpose evm This patchset depends on Roger

[PATCH 3/5] mtd: nand: omap2: Fix high memory dma prefetch transfer

2015-10-12 Thread Franklin S Cooper Jr
Based on DMA documentation and testing using high memory buffer when doing dma transfers can lead to various issues including kernel panics. To workaround this simply use cpu copy. The amount of high memory buffers used are very uncommon so no noticeable performance hit should be seen.

  1   2   3   4   5   6   7   8   9   10   >