Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Jassi Brar
On Wed, Mar 18, 2015 at 9:04 PM, Lee Jones wrote: > On Wed, 18 Mar 2015, Jassi Brar wrote: > >> On Wed, Mar 18, 2015 at 6:47 PM, Lee Jones wrote: >> > On Tue, 03 Mar 2015, Jassi Brar wrote: >> > >> >> On 3 March 2015 at 17:04, Arnd Bergmann wrote: >> >> > On Tuesday 03 March 2015 10:41:23 Lee

[PATCH 3/4] ptp/pch:Replace timespec with ktime_t in ptp_pch.c

2015-03-18 Thread Baolin Wang
This patch changes the 32-bit time type (timespec) to the 64-bit one (ktime_t), since 32-bit time types will break in the year 2038. This patch implements the getktime/setktime interfaces with "ktime_t" type, and removed the gettime/settime interfaces with "timespec" type in ptp_pch.c file.

[PATCH 4/4] ptp/ixp46x:Replace timespec with ktime_t in ptp_ixp46x.c

2015-03-18 Thread Baolin Wang
This patch changes the 32-bit time type (timespec) to the 64-bit one (ktime_t), since 32-bit time types will break in the year 2038. This patch implements the getktime/setktime interfaces with "ktime_t" type, and removes the gettime/settime interfaces with "timespec" type in ptp_ixp46x.c file.

[PATCH 2/4] ptp/clcok:Introduce the setktime/getktime interfaces with "ktime_t" type

2015-03-18 Thread Baolin Wang
This patch introduces another two options to get/set time with "ktime_t" type in ptp clock operation. Original code will set/get time through the settime/gettime interfaces with "timespec" type, that will cause break issue in year 2038. And now introducing the new setktime/getktime interfaces

[PATCH 1/4] ptp/chardev:Introduce another option to get/set time in ptp_clock_info structure

2015-03-18 Thread Baolin Wang
This patch introduces two options with "ktime_t" type to get/set time in ptp_clock_info structure that will avoid breaking in the year 2038. In ptp_chardev.c file, replace the gettime interface with getktime interface using the "ktime_t" type to get the ptp clock time. The patch's goal is to

[PATCH 0/4] Introduce another options to set/get time with "ktime_t" type

2015-03-18 Thread Baolin Wang
This patch series change the 32-bit time type (timespec) to the 64-bit one (ktime_t), since 32-bit time types will break in the year 2038. This patch series introduce another two optinos to set/get time with "ktime_t" type, and remove the old ones with "timespec" type. Next step will replace

[PATCH] f2fs: enable fast symlink by utilizing inline data

2015-03-18 Thread Wanpeng Li
Fast symlink can utilize inline data flow to avoid using any i_addr region, since we need to handle many cases such as truncation, roll-forward recovery, and fsck/dump tools. Signed-off-by: Wanpeng Li --- fs/f2fs/inline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v9 01/10] iommu/vt-d: New function to attach domain with id

2015-03-18 Thread Li, Zhen-Hua
Allow specification of the domain-id for the new domain. This patch only adds a new function iommu_attach_domain_with_id, it is like the function iommu_attach_domain(), only adding a parameter "did". Bill Sumner: (In older versions) Add new 'did' parameter to iommu_attach_domain(); The

[PATCH v9 02/10] iommu/vt-d: Items required for kdump

2015-03-18 Thread Li, Zhen-Hua
Add context entry functions needed for kdump. Bill Sumner: Original version; Li, Zhenhua: Changed the name of new functions, make them consistent with current context get/set functions. Remove the structure dve which is not used in new version. Signed-off-by: Bill Sumner

[PATCH v9 04/10] iommu/vt-d: functions to copy data from old mem

2015-03-18 Thread Li, Zhen-Hua
Add some functions to copy the data from old kernel. These functions are used to copy context tables and page tables. To avoid calling iounmap between spin_lock_irqsave and spin_unlock_irqrestore, use a link here, store the pointers , and then use iounmap to free them in another place. Li,

[PATCH v9 03/10] iommu/vt-d: Function to get old context entry

2015-03-18 Thread Li, Zhen-Hua
Interface for when a new domain in the crashdump kernel needs some values from the panicked kernel's context entries. Signed-off-by: Li, Zhen-Hua --- drivers/iommu/intel-iommu.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/iommu/intel-iommu.c

[PATCH v9 05/10] iommu/vt-d: Add functions to load and save old re

2015-03-18 Thread Li, Zhen-Hua
Add functions to load root entry table from old kernel, and to save updated root entry table. Add two member in struct intel_iommu, to store the RTA in old kernel, and the mapped virt address of it. We use the old RTA in dump kernel, and when the iommu->root_entry is used as a cache in kdump

[PATCH v9 10/10] iommu/vt-d: Use old irte in kdump kernel

2015-03-18 Thread Li, Zhen-Hua
Fix the intr-remapping fault. [1.594890] dmar: DRHD: handling fault status reg 2 [1.594894] dmar: INTR-REMAP: Request device [[41:00.0] fault index 4d [1.594894] INTR-REMAP:[fault reason 34] Present field in the IRTE entry is clear Use old irte in kdump kernel, do not disable and re-enable

[PATCH v9 09/10] iommu/vt-d: Copy functions for irte

2015-03-18 Thread Li, Zhen-Hua
Functions to copy the irte data from the old kernel into the kdump kernel. Signed-off-by: Li, Zhen-Hua --- drivers/iommu/intel_irq_remapping.c | 62 + include/linux/intel-iommu.h | 4 +++ 2 files changed, 66 insertions(+) diff --git

[PATCH v9 08/10] iommu/vt-d: assign new page table for dma_map

2015-03-18 Thread Li, Zhen-Hua
When a device driver issues the first dma_map command for a device, we assign a new and empty page-table, thus removing all mappings from the old kernel for the device. Signed-off-by: Li, Zhen-Hua --- drivers/iommu/intel-iommu.c | 54 ++--- 1 file

[PATCH v9 06/10] iommu/vt-d: datatypes and functions used for kdump

2015-03-18 Thread Li, Zhen-Hua
Populate it with support functions to copy iommu translation tables from from the panicked kernel into the kdump kernel in the event of a crash. Functions: Use old root entry table, and load the old data to root_entry as cache. Malloc new context table and copy old context table to the

[PATCH v9 07/10] iommu/vt-d: enable kdump support in iommu module

2015-03-18 Thread Li, Zhen-Hua
Modify the operation of the following functions when called during crash dump: device_to_context_entry free_context_table get_domain_for_dev init_dmars intel_iommu_init Bill Sumner: Original version. Zhenhua: The name of new calling functions. Do not disable and

[PATCH v9 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-03-18 Thread Li, Zhen-Hua
This patchset is an update of Bill Sumner's patchset, implements a fix for: If a kernel boots with intel_iommu=on on a system that supports intel vt-d, when a panic happens, the kdump kernel will boot with these faults: dmar: DRHD: handling fault status reg 102 dmar: DMAR:[DMA Read]

[PATCH] [RFC] mm/compaction: initialize compaction information

2015-03-18 Thread Gioh Kim
I tried to start compaction via /proc/sys/vm/compact_memory as soon as I turned on my ARM-based platform. But the compaction didn't start. I found some variables in struct zone are not initalized. I think zone->compact_cached_free_pfn and some cache values for compaction are initalized when the

[PATCH] f2fs: enable inline data by default

2015-03-18 Thread Wanpeng Li
Enable inline_data feature by default since it brings us better performance and space utilization and now has already stable. Signed-off-by: Wanpeng Li --- Documentation/filesystems/f2fs.txt | 2 -- fs/f2fs/f2fs.h | 11 +-- fs/f2fs/inline.c | 3

Re: Linux Kernel Scheduling Addition Notification : Hybrid Sleepers and Unfair scheduling

2015-03-18 Thread Mike Galbraith
On Wed, 2015-03-18 at 21:32 -0700, Mitchell Erblich wrote: (again, not one on topic word) > How rude is that? Shrug, s/rude/dense maybe. Whatever. Byebye. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-18 Thread Andrew Morton
On Wed, 18 Mar 2015 14:36:32 +0100 Peter Zijlstra wrote: > include/linux/rbtree_latch.h | 223 > +++ Did it really need to all be inlined? How much of this code is unneeded on uniprocessor? -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Jassi Brar
On Wed, Mar 18, 2015 at 8:56 PM, Lee Jones wrote: > On Wed, 18 Mar 2015, Jassi Brar wrote: >> >> > + mbox->irq = >> >> > irq_create_mapping(mbinst->irq_domain, >> >> > + mbox->rx_id); >> >> > >> >> simply assigning same

Re: [PATCH v4 0/4] ARM: EXYNOS: cpuidle: add AFTR mode support for Exynos3250

2015-03-18 Thread Chanwoo Choi
Hi Bartlomiej, I tested this patch-set for AFTR mode. When CPU1 is offline state, I checked that CPU0 enter the AFTR mode. Tested-by: Chanwoo Choi Best Regards, Chanwoo Choi On 03/19/2015 01:00 AM, Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series adds support for AFTR idle mode

[GIT] IDE

2015-03-18 Thread David Miller
Just one fix to convert a by-hand conversion of jiffies to msecs, from Nicholas McGuire. Please pull, thanks a lot! The following changes since commit 7b09ac704bac2de5bf0362793edc22a0094e381c: Merge tag 'sound-4.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2015-03-18

[GIT] Sparc

2015-03-18 Thread David Miller
1) Some command cases of semtimedop() not even handled due to miscoded comparison on sparc64. From Rob Gardner. 2) Due to two bugs, /proc/kcore wan't working properly on sparc. 3) Make sure fatal traps stop all running cpus, from Dave Kleikamp. Please pull, thanks! The following

[GIT] Networking

2015-03-18 Thread David Miller
1) Fix packet header offset calculation in _decode_session6(), from Hajime Tazaki. 2) Fix route leak in error paths of xfrm_lookup(), from Huaibin Wang. 3) Be sure to clear state properly when scans fail in iwlwifi mvm code, from Luciano Coelho. 4) iwlwifi tries to stop scans that aren't

Re: [PATCH v4 1/4] ARM: EXYNOS: fix CPU1 hotplug on Exynos3250

2015-03-18 Thread Chanwoo Choi
Hi Bartlomiej, I tested this patch on Exynos3250-based Gear2 board. Thanks for your effor to solve this issue. Tested-by: Chanwoo Choi Best Regards, Chanwoo Choi On 03/19/2015 01:00 AM, Bartlomiej Zolnierkiewicz wrote: > CPU1 hotplug may hang when AFTR is used. Fix it by: > - setting

Re: randconfig build error with next-20150318, in drivers/vfio/virqfd.c

2015-03-18 Thread Alex Williamson
On Wed, 2015-03-18 at 15:57 -0700, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/vfio/virqfd.c: In function 'vfio_virqfd_enable': > drivers/vfio/virqfd.c:132:2: error: implicit declaration of function > 'eventfd_ctx_fileget'

[PATCH v3 10/15] staging: rtl8723au: No spaces at the start of a line

2015-03-18 Thread M. Vefa Bicakci
Prior to this commit, a large block of constants used to represent an AES S-box table were indented with spaces in rtl8723au's rtw_security.c. Correct the checkpatch.pl warnings indicating that spaces should not be used to indent lines: WARNING: please, no spaces at the start of a line

[PATCH v3 00/15] checkpatch clean-up of rtl8723au's rtw_security.c

2015-03-18 Thread M. Vefa Bicakci
These commits address a number of checkpatch.pl warnings and errors in rtl8723au's rtw_security.c. Prior to this set of commits, checkpatch.pl reported the following: total: 77 errors, 138 warnings, 1621 lines checked After applying this set of commits, checkpatch.pl reports the

[PATCH v3 04/15] staging: rtl8723au: Fix the indentation of two lines

2015-03-18 Thread M. Vefa Bicakci
Correct the indentation of two lines in rtw_tkip_encrypt23a function in rtl8723au's rtw_security.c. Signed-off-by: M. Vefa Bicakci --- drivers/staging/rtl8723au/core/rtw_security.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 05/15] staging: rtl8723au: Reorganize a few functions to remove indentation

2015-03-18 Thread M. Vefa Bicakci
Prior to this commit, functions rtw_tkip_encrypt23a and rtw_tkip_decrypt23a had large if blocks which contained the majority of the logic in the functions. Rework these functions so that if the negated version of the aforementioned if blocks' conditions are true, we return from the function with

[PATCH v3 06/15] staging: rtl8723au: else is not generally useful after a return

2015-03-18 Thread M. Vefa Bicakci
Correct a checkpatch.pl warning regarding rtl8723au's rtw_security.c::crc32_init pointing out that having an else statement after a break or a return is not useful. drivers/staging/rtl8723au/core/rtw_security.c:105: WARNING: else is not generally useful after a break or return

[PATCH v3 15/15] staging: rtl8723au: Remove unneeded comments

2015-03-18 Thread M. Vefa Bicakci
This commit removes a number of unneeded comments. Two of the aforementioned comments were most likely meant to aid with version control, whereas the remaining two comments relate to (now unused) local variable names. Signed-off-by: M. Vefa Bicakci ---

[PATCH v3 02/15] staging: rtl8723au: Fix "before/around/after" whitespace issues

2015-03-18 Thread M. Vefa Bicakci
Correct a number of "space(s) required before/around/after" checkpatch.pl issues in a number of functions in rtl8723au's rtw_security.c. v2: Correct one more whitespace issue ("length-4") in rtw_tkip_decrypt23a. Signed-off-by: M. Vefa Bicakci ---

[PATCH v3 11/15] staging: rtl8723au: Adjust whitespace in and around comments

2015-03-18 Thread M. Vefa Bicakci
As the subject indicates, adjust whitespace in and around comments in rtl8723au's rtw_security.c. Signed-off-by: M. Vefa Bicakci --- drivers/staging/rtl8723au/core/rtw_security.c | 114 +- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git

[PATCH v3 12/15] staging: rtl8723au: suspect code indent for conditional statements

2015-03-18 Thread M. Vefa Bicakci
Correct a number of indentation-with-spaces-and-tabs issues in rtl8723au's rtw_security.c, according to checkpatch.pl: WARNING: suspect code indent for conditional statements v3: Make sure that all edited lines are at most 80 characters wide. Signed-off-by: M. Vefa Bicakci ---

[PATCH v3 13/15] staging: rtl8723au: Rework two byte array comparisons

2015-03-18 Thread M. Vefa Bicakci
Prior to this commit, rtl8723au's rtw_security.c had two instances of byte array comparisons (for CRC checks) where the individual elements of the byte arrays were compared one by one and an error trace would be output if the byte arrays were determined to be different. This commit improves the

[PATCH v3 08/15] staging: rtl8723au: trailing statements should be on next line

2015-03-18 Thread M. Vefa Bicakci
Correct a number of checkpatch.pl errors in rtl8723au's rtw_security.c related to trailing statements: ERROR: trailing statements should be on next line Signed-off-by: M. Vefa Bicakci --- drivers/staging/rtl8723au/core/rtw_security.c | 25 + 1 file changed, 17

[PATCH v3 09/15] staging: rtl8723au: that open brace should be on the previous line

2015-03-18 Thread M. Vefa Bicakci
Correct two instances of the checkpatch.pl error indicating that the opening curly braces should not be on new lines: ERROR: that open brace { should be on the previous line v3: Make sure that all edited lines are at most 80 characters wide. Signed-off-by: M. Vefa Bicakci ---

[PATCH v3 14/15] staging: rtl8723au: Use __func__ in trace logs

2015-03-18 Thread M. Vefa Bicakci
Rework the trace log-related lines in rtl8723au's rtw_security.c to use the __func__ GCC magic variable instead of hardcoding the function names into the trace log strings. This also corrects a copy-paste-related typo in the function named rtw_tkip_decrypt23a. Thanks to Jes Sorensen for the

[PATCH v3 03/15] staging: rtl8723au: else should follow close brace

2015-03-18 Thread M. Vefa Bicakci
Correct checkpatch.pl errors in rtl8723au's rtw_security.c indicating that an else statement should follow the closing brace of the previous if/else if code block: ERROR: else should follow close brace '}' Signed-off-by: M. Vefa Bicakci --- drivers/staging/rtl8723au/core/rtw_security.c

[PATCH v3 07/15] staging: rtl8723au: Remove unneeded curly braces

2015-03-18 Thread M. Vefa Bicakci
Correct a number of checkpatch.pl warnings in rtl8723au's rtw_security.c related to the existence of unnecessary curly braces around single statement blocks: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: M. Vefa Bicakci ---

[PATCH v3 01/15] staging: rtl8723au: Reformat whitespace to increase readability

2015-03-18 Thread M. Vefa Bicakci
Adjust the whitespace in the signature, local variable declaration and initialization parts of a number of functions to increase readability in rtl8723au's rtw_security.c. v2: Make sure that the arcfour_encrypt function's argument list is split according to the kernel code style.

Re: [PATCH v3 1/2] sched/deadline: don't need to check throttled status when switched to dl

2015-03-18 Thread Wanpeng Li
Hi Ingo, how about these three patches this time, sorry for my bad english. On Tue, Mar 17, 2015 at 07:15:30PM +0800, Wanpeng Li wrote: >After commit 40767b0dc768 ("sched/deadline: Fix deadline parameter >modification handling") is merged, deadline task throttled status >is cleared each time once

Re: [PATCH v2 00/16] checkpatch clean-up of rtl8723au's rtw_security.c

2015-03-18 Thread M. Vefa Bicakci
On 2015-03-16 12:01 PM, Jes Sorensen wrote: > "M. Vefa Bicakci" writes: >> [snip] >> >> I hope this clarifies my set-up. Is there something I am doing incorrectly? >> If there is anything I can assist with, please let me know. >> >> Thank you, >> >> Vefa >> >> [1] >>

Re: Linux Kernel Scheduling Addition Notification : Hybrid Sleepers and Unfair scheduling

2015-03-18 Thread Mitchell Erblich
Group, As a contractor or employee, the code that I write while being employed by them is owned by the company that I work for. It is then up to them / legal / management, etc whether they offer that code implementation to kernel.org or a ISP, insert it into

Re: [PATCH v10 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-18 Thread Hanjun Guo
On 2015/3/19 3:05, Will Deacon wrote: > Hanjun, Hi Will, > > On Wed, Mar 11, 2015 at 12:39:26PM +, Hanjun Guo wrote: >> This patch set already tested on multi platforms: >> - AMD Seattle board; >> - Cavium Thunder board; >> - Huawei D02 board; >> - Qualcomm ARM64 platform >> >> This

Re: [PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()

2015-03-18 Thread Doug Anderson
Ulf, On Tue, Mar 17, 2015 at 3:23 AM, Ulf Hansson wrote: >> This will get us within .3V of whatever vmmc is. If vmmc is 3.3V, it >> will allow vqmmc of 3.0V - 3.6V. >> >> This _seems_ sane to me and given any sane system design we should be >> fine here, I think. I can't see someone designing

Re: Linux Kernel Scheduling Addition Notification : Hybrid Sleepers and Unfair scheduling

2015-03-18 Thread Mike Galbraith
On Wed, 2015-03-18 at 20:43 -0700, Mitchell Erblich wrote: > This proposal was ONLY to resolve the legal issue with public domain > code of notification when a patch was not offered.… Ah, so completely off topic here.. but then you knew that. How rude. -Mike -- To unsubscribe from

Re: [PATCH 3/3] toshiba_acpi: Fix the enabling of the Special Functions

2015-03-18 Thread Darren Hart
On Fri, Mar 06, 2015 at 11:52:41AM -0700, Azael Avalos wrote: > Hi Darren, > > 2015-03-06 11:28 GMT-07:00 Darren Hart : > > On Thu, Feb 26, 2015 at 10:57:14AM -0700, Azael Avalos wrote: > >> Some Toshiba laptops with the "Special Functions" feature enabled > >> fail to properly enable such

Re: [PATCH 1/3] toshiba_acpi: Add Hotkey Event Type function and definitions

2015-03-18 Thread Darren Hart
On Fri, Mar 06, 2015 at 11:42:50AM -0700, Azael Avalos wrote: > Hi Darren, > > 2015-03-06 11:21 GMT-07:00 Darren Hart : > > On Thu, Feb 26, 2015 at 10:57:12AM -0700, Azael Avalos wrote: > > > > Hi Azael, > > > > I'm pretty behind on this one, apologies. > > > > No wories, we still have plenty of

linux-next: manual merge of the spi tree with the slave-dma tree

2015-03-18 Thread Stephen Rothwell
Hi Mark, Today's linux-next merge of the spi tree got conflicts in drivers/dma/intel_mid_dma_regs.h and drivers/dma/intel_mid_dma.c between commit 3b62286d0ef7 ("dmaengine: Remove FSF mailing addresses") from the slave-dma tree and commit 36111da7838e ("dmaengine: intel-mid-dma: remove the

Re: [RFC][PATCH 8/9] usb: otg-fsm: Remove unused members in struct otg_fsm

2015-03-18 Thread Peter Chen
On Wed, Mar 18, 2015 at 03:56:02PM +0200, Roger Quadros wrote: > These members are not used anywhere so remove them. > > Signed-off-by: Roger Quadros > --- > include/linux/usb/otg-fsm.h | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/include/linux/usb/otg-fsm.h

Re: [PATCH v10 15/21] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-03-18 Thread Hanjun Guo
Hi Will, On 2015/3/19 2:41, Will Deacon wrote: > On Wed, Mar 11, 2015 at 12:39:41PM +, Hanjun Guo wrote: >> Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is >> used, and then register device's gsi with the core IRQ subsystem. >> >> acpi_register_gsi() is similar to DT based

Re: [Patch v3] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-18 Thread Darren Hart
On Wed, Mar 11, 2015 at 10:34:45PM +0100, Bruno Prémont wrote: > As GMUX depends on IO for iGP to be enabled and active, lock the IO at > vgaarb level. This should prevent GPU driver for dGPU to disable IO for > iGP while it tries to own legacy VGA IO. > > This fixes usage of backlight control

Re: [RFC][PATCH 2/9] usb: gadget: add usb_gadget_start/stop()

2015-03-18 Thread Peter Chen
On Wed, Mar 18, 2015 at 03:55:56PM +0200, Roger Quadros wrote: > The OTG state machine needs a mechanism to start and > stop the gadget controller. Add usb_gadget_start() > and usb_gadget_stop(). > > Signed-off-by: Roger Quadros > --- > drivers/usb/gadget/udc/udc-core.c | 166 >

linux-next: build warning after merge of the sound-asoc tree

2015-03-18 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: sound/soc/soc-dapm.c: In function 'snd_soc_dapm_new_pcm': sound/soc/soc-dapm.c:3389:4: warning: passing argument 1 of 'snprintf' discards 'const' qualifier from pointer target

Re: Linux Kernel Scheduling Addition Notification : Hybrid Sleepers and Unfair scheduling

2015-03-18 Thread Mitchell Erblich
On Mar 18, 2015, at 7:38 PM, Mike Galbraith wrote: > On Wed, 2015-03-18 at 16:25 -0700, Mitchell Erblich wrote: > >> >> SCHED_IA >> Over 10 years ago, System V Release 4 was enhanced with additional >> features by Sun Microsystems. One of the more minor extensions dealt >> with the

Re: [RFC][PATCH 3/9] usb: otg: add OTG core

2015-03-18 Thread Peter Chen
On Wed, Mar 18, 2015 at 03:55:57PM +0200, Roger Quadros wrote: > The OTG core instantiates the OTG Finite State Machine > per OTG controller and manages starting/stopping the > host and gadget controllers based on the bus state. > > It provides APIs for the following tasks > > - Registering an

[patch 7/7] dt: dtb version: report dtb info

2015-03-18 Thread Frank Rowand
From: Frank Rowand Report the /chosen/dtb-info properties on boot. Signed-off-by: Frank Rowand --- The beginning of the context for hunk 2 includes a line from 2fa645cb2703d9b3786d850db815414dfeefa51d, which is in 4.0-rc4. The author of that commit has submitted a request to revert the

[patch 6/7] dt: dtb version: dtsi files

2015-03-18 Thread Frank Rowand
From: Frank Rowand Create a .dtsi file to contain the /chosen/dtb-info node and populate the properties in that node. Signed-off-by: Frank Rowand --- arch/arm/boot/dts/skeleton.dtsi |2 include/dt-bindings/version.dtsi | 19 + Index:

[patch 5/7] dt: dtb version: kbuild scripts

2015-03-18 Thread Frank Rowand
From: Frank Rowand After applying this patch, need to add execute permission to the new file scripts/version_dtb_increment_once Modify the dtb compile rules to generate dtb version header files. Create script to increment .version_dtb just once per make of one of more dtbs, and to generate the

[patch 4/7] dt: dtb version: kernel Makefile

2015-03-18 Thread Frank Rowand
From: Frank Rowand Capture the initial value of .version_dtb so that when multiple .dtb files are created in a single make the make scripts will be able to increment .version_dtb only once instead of for each .dtb. Signed-off-by: Frank Rowand --- Makefile |

[patch 3/7] dt: dtb version: arm dts Makefile

2015-03-18 Thread Frank Rowand
From: Frank Rowand Remove generated files from the dependencies of .dtb files, where the generated files are created as a result of making a .dtb. Signed-off-by: Frank Rowand --- arch/arm/boot/dts/Makefile | 10 +++ Index: b/arch/arm/boot/dts/Makefile

[patch 2/7] dt: dtb version: document chosen/dtb-info node binding

2015-03-18 Thread Frank Rowand
From: Frank Rowand Add /chosen/dtb-node binding. Signed-off-by: Frank Rowand --- Documentation/devicetree/bindings/chosen.txt | 37 +++ Index: b/Documentation/devicetree/bindings/chosen.txt === ---

[patch 1/7] dt: dtb version: consolidate documentation of chosen node bindings

2015-03-18 Thread Frank Rowand
From: Frank Rowand Documentation of bindings in node /chosen are scattered in several bindings files. If not already in Documentation/devicetree/bindings/chosen.txt, add a pointer in that file to where the property and node bindings are described. This is a clean up in anticipation of adding

[patch 0/7] dt: dtb version: add version info to dtb

2015-03-18 Thread Frank Rowand
Rob, Can this be added to the next trees to get some test exposure before submitting to Linus? There is currently no way to tie a device tree blob (DTB) back to the source and environment used to create it. Add this information, including a DTB version number, which is somewhat analogous to the

Re: [PATCH v2] ide_tape: convert jiffies with jiffies_to_msecs

2015-03-18 Thread David Miller
From: Nicholas Mc Guire Date: Tue, 3 Mar 2015 05:52:51 -0500 > Use jiffies_to_msecs for converting jiffies as it handles all of the corner > cases reliably and also helps readability. The printk format is fixed up > as jiffies_to_msecs returns unsigned int not unsigned long. > >

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-03-18 Thread Guenter Roeck
On 03/18/2015 06:27 AM, Wolfram Sang wrote: On Mon, Mar 16, 2015 at 09:20:49PM -0700, Guenter Roeck wrote: On Mon, Feb 16, 2015 at 01:09:51PM +0100, Wolfram Sang wrote: Hi Guenter, I wonder where we are with thisp patch; I don't recall a reply to my previous e-mail. Sorry for the late

Re: [PATCH] tracing: add trace event for memory-failure

2015-03-18 Thread Steven Rostedt
On Thu, 19 Mar 2015 11:04:30 +0800 Xie XiuQi wrote: > Memory-failure as the high level machine check handler, it's necessary > to report memory page recovery action result to user space by ftrace. > > This patch add a event at ras group for memory-failure. > > The output like below: > #

Re: [PATCH jkirsher-next-queue] net/mlx4_en: mlx4_en_set_tx_maxrate() can be static

2015-03-18 Thread David Miller
From: kbuild test robot Date: Thu, 19 Mar 2015 08:51:27 +0800 > Signed-off-by: Fengguang Wu Applied, thank you. -- 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

[PATCH] radeon: Do not directly dereference pointers to BIOS area.

2015-03-18 Thread David Miller
Use readb() and memcpy_fromio() accessors instead. Signed-off-by: David S. Miller diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios.c index 63ccb8f..d27e4cc 100644 --- a/drivers/gpu/drm/radeon/radeon_bios.c +++ b/drivers/gpu/drm/radeon/radeon_bios.c @@

RE: [PATCH v3] f2fs: add fast symlink support

2015-03-18 Thread Chao Yu
Hi Wanpeng, > -Original Message- > From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] > Sent: Thursday, March 19, 2015 7:02 AM > To: Jaegeuk Kim > Cc: Wanpeng Li; Changman Lee; Chao Yu; linux-f2fs-de...@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org

[PATCH] tracing: add trace event for memory-failure

2015-03-18 Thread Xie XiuQi
Memory-failure as the high level machine check handler, it's necessary to report memory page recovery action result to user space by ftrace. This patch add a event at ras group for memory-failure. The output like below: # tracer: nop # # entries-in-buffer/entries-written: 2/2 #P:24 # #

Re: [PATCH v2 4/4] block: loop: support to submit I/O via kernel aio based

2015-03-18 Thread Ming Lei
On Thu, Mar 19, 2015 at 2:28 AM, Maxim Patlasov wrote: > On 01/13/2015 07:44 AM, Ming Lei wrote: >> >> Part of the patch is based on Dave's previous post. >> >> This patch submits I/O to fs via kernel aio, and we >> can obtain following benefits: >> >> - double cache in both loop file

[PATCH v2 1/4] mtd: nand: add common DT init code

2015-03-18 Thread Brian Norris
These are already-documented common bindings for NAND chips. Let's handle them in nand_base. If NAND controller drivers need to act on this data before bringing up the NAND chip (e.g., fill out ECC callback functions, change HW modes, etc.), then they can do so between calling nand_scan_ident()

[PATCH v2 3/4] mtd: nand: add NAND driver for Broadcom STB NAND controller

2015-03-18 Thread Brian Norris
This core originated in Set-Top Box chips (BCM7xxx) but is used in a variety of other Broadcom chips, including some BCM63xxx, BCM33xx, and iProc/Cygnus. It's been used only on ARM and MIPS SoCs, so restrict it to those architectures. There are multiple revisions of this core throughout the

[PATCH v2 2/4] Documentation: devicetree: add binding doc for Broadcom NAND controller

2015-03-18 Thread Brian Norris
Signed-off-by: Brian Norris --- .../devicetree/bindings/mtd/brcm,brcmstb-nand.txt | 109 + 1 file changed, 109 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/brcm,brcmstb-nand.txt diff --git

[PATCH v2 0/4] mtd: nand: add Broadcom NAND controller support

2015-03-18 Thread Brian Norris
Hi, This is version 2 of the (long in coming) support for the Broadcom BCM7xxx Set-Top Box NAND controller. This controller has been used in a variety of Broadcom SoCs. There are a few more features I'd like add in the near future, mostly to support more SoCs, but this is the base set, which

[PATCH v2 4/4] ARM: bcm7445: add NAND to DTS

2015-03-18 Thread Brian Norris
Signed-off-by: Brian Norris --- Light dependency on: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/331921.html for the surrounding text. arch/arm/boot/dts/bcm7445-bcm97445svmb.dts | 23 +++ arch/arm/boot/dts/bcm7445.dtsi | 22

[PATCH 1/2] time: Fix a bug in timekeeping_suspend() with no persistent clock

2015-03-18 Thread Xunlei Pang
From: Xunlei Pang When there's no persistent clock, normally timekeeping_suspend_time should always be zero, but this can break in timekeeping_suspend(). At T1, there was a system suspend, so old_delta was assigned T1. After some time, one time adjustment happened, and xtime got the value of

[PATCH 2/2] time: rtc: Don't bother into rtc_resume() for the nonstop clocksource

2015-03-18 Thread Xunlei Pang
From: Xunlei Pang If a system does not provide a persistent_clock(), the time will be updated on resume by rtc_resume(). With the addition of the non-stop clocksources for suspend timing, those systems set the time on resume in timekeeping_resume(), but may not provide a valid

Re: [RFC][PATCH 1/9] usb: hcd: Introduce usb_start/stop_hcd()

2015-03-18 Thread Tony Lindgren
* Alan Stern [150318 18:51]: > On Wed, 18 Mar 2015, Tony Lindgren wrote: > > > > If the host controller is started more than once, you will end up > > > unregistering and re-registering the root hub. The device core does > > > not allow this. Once a device has been unregistered, you must not

Re: [PATCH] Revert "net: cx82310_eth: use common match macro"

2015-03-18 Thread David Miller
From: Ondrej Zary Date: Wed, 18 Mar 2015 23:01:01 +0100 > This reverts commit 11ad714b98f6d9ca0067568442afe3e70eb94845 because > it breaks cx82310_eth. > > The custom USB_DEVICE_CLASS macro matches > bDeviceClass, bDeviceSubClass and bDeviceProtocol > but the common

Re: Linux Kernel Scheduling Addition Notification : Hybrid Sleepers and Unfair scheduling

2015-03-18 Thread Mike Galbraith
On Wed, 2015-03-18 at 16:25 -0700, Mitchell Erblich wrote: > > SCHED_IA > Over 10 years ago, System V Release 4 was enhanced with additional > features by Sun Microsystems. One of the more minor extensions dealt > with the subdivision of process’s scheduling characteristics and was > known

Re: [RFC 00/19] dwc3: add USB OTG role switch support

2015-03-18 Thread Chanwoo Choi
Hi Robert, Did you test the extcon-odroid-otg driver on Odroid-U3? Thanks, Chanwoo Choi On 03/18/2015 11:04 PM, Robert Baldyga wrote: > Hello, > > This patchset introduces OTG feature in DWC3 DRD driver. This allows > to change dynamically between host and peripheral mode depending on >

Re: [PATCH v10 08/21] ARM64 / ACPI: Introduce early_param "acpi=" to enable/disable ACPI

2015-03-18 Thread Hanjun Guo
On 2015/3/19 4:07, Ard Biesheuvel wrote: > On 18 March 2015 at 12:35, Lorenzo Pieralisi > wrote: >> On Wed, Mar 11, 2015 at 12:39:34PM +, Hanjun Guo wrote: >>> From: Al Stone >>> >>> This implements the following policy to decide whether ACPI should >>> be used to boot the system: >>> -

Re: [PATCH V2 4/4] hugetlbfs: document min_size mount option

2015-03-18 Thread Andrew Morton
On Wed, 18 Mar 2015 18:51:22 -0700 Mike Kravetz wrote: > > Nowhere here is the reader told the units of "size". We should at > > least describe that, and maybe even rename the thing to min_bytes. > > > > Ok, I will add that the size is in unit of bytes. My choice of > 'min_size' as a name for

Re: PANIC: double fault, error_code: 0x0 in 4.0.0-rc3-2, kvm related?

2015-03-18 Thread Linus Torvalds
On Wed, Mar 18, 2015 at 5:57 PM, Andy Lutomirski wrote: > >> sp = 140735967860552, > > 0x7fffa55f1748 > > Note that the double fault happened with rsp == 0x7fffa55eafb8, > which is the saved rsp here - 0x6790. That difference kind of large > to make sense if this is a sysret problem. Not

Re: [PATCH] net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3,5}

2015-03-18 Thread Don Fry
One little change to the comment is needed. See below Don On Wed, 2015-03-18 at 20:10 +, Markos Chandras wrote: > On a MIPS Malta board, tons of fifo underflow errors have been observed > when using u-boot as bootloader instead of YAMON. The reason for that > is that YAMON used to set the

Re: [PATCH 0/3] idle memory tracking

2015-03-18 Thread Minchan Kim
Hello, On Wed, Mar 18, 2015 at 11:44:33PM +0300, Vladimir Davydov wrote: > Hi, > > Knowing the portion of memory that is not used by a certain application > or memory cgroup (idle memory) can be useful for partitioning the system > efficiently. Currently, the only means to estimate the amount of

Re: [PATCH 2/3] ARM: sun8i: Add SMP support for the Allwinner A23

2015-03-18 Thread Chen-Yu Tsai
On Wed, Mar 18, 2015 at 6:29 PM, Maxime Ripard wrote: > On Wed, Mar 18, 2015 at 11:24:01AM +0800, Chen-Yu Tsai wrote: >> The A23 is a dual Cortex-A7. Add the logic to use the IPs used to >> control the CPU configuration and the CPU power so that we can >> bring up secondary CPUs at boot. >> >>

Re: [RFC] gpio: add set_active_low() function to gpio_chip

2015-03-18 Thread Alexandre Courbot
On Thu, Mar 19, 2015 at 5:16 AM, David Cohen wrote: > Some gpio controllers are capable of programming its pins' active-low > state. Let's add this new gpio_chip function for such cases and use it > in gpiolib. > > When set_active_low() is implemented, we no longer need to do soft flips > on

Re: [PATCH V2] ARM: shmobile: cpuidle: Remove the pointless default driver

2015-03-18 Thread Simon Horman
On Tue, Mar 17, 2015 at 04:26:50PM +0100, Daniel Lezcano wrote: > > Sorry Geert, I forget to Cc you. > > On 03/17/2015 04:25 PM, Daniel Lezcano wrote: > >The default idle driver uses one state with the WFI instruction. > >The default idle routine invokes WFI when no cpuidle driver is present. >

Re: [PATCH 35/35 linux-next] pinctrl: constify of_device_id array

2015-03-18 Thread Hongzhou Yang
On Mon, 2015-03-16 at 20:59 +0100, Fabian Frederick wrote: > of_device_id is always used as const. > (See driver.of_match_table and open firmware functions) > > Signed-off-by: Fabian Frederick > --- > drivers/pinctrl/bcm/pinctrl-bcm2835.c | 2 +- >

Re: [LKP] [mm] cc87317726f: WARNING: CPU: 0 PID: 1 atdrivers/iommu/io-pgtable-arm.c:413 __arm_lpae_unmap+0x341/0x380()

2015-03-18 Thread Huang Ying
On Wed, 2015-03-18 at 20:45 +0900, Tetsuo Handa wrote: > Huang Ying wrote: > > On Tue, 2015-03-17 at 15:24 -0400, Johannes Weiner wrote: > > > On Tue, Mar 17, 2015 at 10:15:29AM -0700, Linus Torvalds wrote: > > > > Explicitly adding the emails of other people involved with that commit > > > > and

Re: [PATCH 3/4] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-18 Thread Zefan Li
On 2015/3/19 7:40, Rik van Riel wrote: > On 03/18/2015 12:47 PM, Tejun Heo wrote: >> On Mon, Mar 09, 2015 at 12:12:09PM -0400, r...@redhat.com wrote: >>> From: Rik van Riel >>> >>> The previous patch makes it so the code skips over isolcpus when >>> building scheduler load balancing domains. This

Re: [PATCH 3/4] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-18 Thread Rik van Riel
On 03/18/2015 09:50 PM, Zefan Li wrote: > On 2015/3/19 7:40, Rik van Riel wrote: >> On 03/18/2015 12:47 PM, Tejun Heo wrote: >>> On Mon, Mar 09, 2015 at 12:12:09PM -0400, r...@redhat.com wrote: From: Rik van Riel The previous patch makes it so the code skips over isolcpus when

  1   2   3   4   5   6   7   8   9   10   >