Re: [PATCH 13/13] block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()

2017-05-02 Thread NeilBrown
On Tue, May 02 2017, Ming Lei wrote: > On Tue, May 02, 2017 at 01:42:26PM +1000, NeilBrown wrote: >> blk_bio_segment_split() makes sure bios have no more than >> BIO_MAX_PAGES entries in the bi_io_vec. >> This was done because bio_clone_bioset() (when given a >> mempool bioset) could not handle la

Re: [PATCH] MAINTAINERS: Add myself as reviewer for Exynos

2017-05-02 Thread Shuah Khan
On 05/02/2017 11:44 AM, Krzysztof Kozlowski wrote: > On Fri, Apr 28, 2017 at 08:01:07AM -0600, Shuah Khan wrote: >> Adding myself as a reviewer for Exynos in the interest of keeping an >> eye on the Exynos platform and help keep it stable. >> >> Signed-off-by: Shuah Khan >> --- >> MAINTAINERS | 1

Re: [PATCH v2 5/6] Documentation/dev-tools: Use reStructuredText markups for kselftest

2017-05-02 Thread Kees Cook
On Tue, May 2, 2017 at 3:26 PM, Mickaël Salaün wrote: > Include and convert kselftest to the Sphinx format. > > Signed-off-by: Mickaël Salaün > Cc: Jonathan Corbet > Cc: Shuah Khan > --- > Documentation/dev-tools/index.rst | 1 + > Documentation/dev-tools/kselftest.rst | 77 > +++

Re: [PATCH v2 6/6] Documentation/dev-tools: Add kselftest_harness documentation

2017-05-02 Thread Kees Cook
On Tue, May 2, 2017 at 3:26 PM, Mickaël Salaün wrote: > Add metadata to kselftest_harness.h to be able to include the comments > in the Sphinx documentation. > > Signed-off-by: Mickaël Salaün > Cc: Andy Lutomirski > Cc: Jonathan Corbet > Cc: Kees Cook > Cc: Shuah Khan > Cc: Will Drewry > ---

Re: [PATCH v2 0/6] Add kselftest_harness.h

2017-05-02 Thread Kees Cook
On Tue, May 2, 2017 at 3:26 PM, Mickaël Salaün wrote: > Hi, > > This second patch series make the seccomp/test_harness.h more generally > available [1] and update the kselftest documentation with the Sphinx format. > It > also improve the Makefile of seccomp tests to take into account any > kself

linux-next: manual merge of the metag tree with Linus' tree

2017-05-02 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the metag tree got a conflict in: arch/metag/include/asm/uaccess.h between commit: db68ce10c4f0 ("new helper: uaccess_kernel(new helper: uaccess_kernel())") from Linus' tree and commit: 8a8b56638bca ("metag/uaccess: Fix access_ok()") from the metag

[PATCH 07/13 V2] drbd: use bio_clone_fast() instead of bio_clone()

2017-05-02 Thread NeilBrown
drbd does not modify the bi_io_vec of the cloned bio, so there is no need to clone that part. So bio_clone_fast() is the better choice. For bio_clone_fast() we need to specify a bio_set. We could use fs_bio_set, which bio_clone() uses, or drbd_md_io_bio_set, which drbd uses for metadata, but it i

[PATCH] Fix for new version of realtek r8153

2017-05-02 Thread jake Briggs
From: jake Fix for new version of realtek r8153 not being recognised by the r8152 driver. The new version of the device with idVendor=0bda, idProduct=8153 is 6010 and treating it as if it was a 5c30 allow it to work. Error log: Apr 19 09:55:13 devotron kernel: [ 330.167074] usb 2-2.2: New USB

[PATCH 04/13 V2] blk: use non-rescuing bioset for q->bio_split.

2017-05-02 Thread NeilBrown
A rescuing bioset is only useful if there might be bios from that same bioset on the bio_list_on_stack queue at a time when bio_alloc_bioset() is called. This never applies to q->bio_split. Allocations from q->bio_split are only ever made from blk_queue_split() which is only ever called early in

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-05-02 Thread Prakash Sangappa
On 5/2/17 2:32 PM, Dave Hansen wrote: On 05/01/2017 11:00 AM, Prakash Sangappa wrote: This patch adds a new hugetlbfs mount option 'noautofill', to indicate that pages should not be allocated at page fault time when accessed thru mmapped address. I think the main argument against doing someth

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-02 Thread Joe Perches
On Tue, 2017-05-02 at 11:53 +0200, Anatolij Gustschin wrote: > On Mon, 1 May 2017 23:06:16 +0300 Andy Shevchenko andy.shevche...@gmail.com > wrote: > > > +#define VSEC_CVP_MODE_CTRL_NUMCLKS (0xff<<8) /* CVP_NUMCLKS */ > > > > Is 0xff a mask here? (Btw, you missed spaces around <<) > > yes,

Re: [PATCH -next] soc/qbman: fix implicit header dependency now causing build fails

2017-05-02 Thread Stephen Rothwell
Hi all, On Tue, 2 May 2017 18:21:12 -0400 Paul Gortmaker wrote: > > In commit 461a6946b1f9 ("iommu: Remove pci.h include from > trace/events/iommu.h") that header shuffle uncovered an implicit > include in this driver, manifesting as: > > CC drivers/soc/fsl/qbman/qman_portal.o > dr

[GIT PULL] tracing: Updates for v4.12

2017-05-02 Thread Steven Rostedt
Linus, New features for this release: o Pretty much a full rewrite of the processing of function probes. i.e. echo do_IRQ:stacktrace > set_ftrace_filter o The rewrite was needed to add probes to be unique to tracing instances. i.e. mkdir instance/foo; cd instances/foo; echo do_IRQ:st

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-05-02 Thread Dave Hansen
On 05/02/2017 04:34 PM, Prakash Sangappa wrote: > Similarly, a madvise() option also requires additional system call by every > process mapping the file, this is considered a overhead for the database. How long-lived are these processes? For a database, I'd assume that this would happen a single

Re: [PATCH 13/13] block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()

2017-05-02 Thread Ming Lei
On Wed, May 03, 2017 at 08:54:55AM +1000, NeilBrown wrote: > On Tue, May 02 2017, Ming Lei wrote: > > > On Tue, May 02, 2017 at 01:42:26PM +1000, NeilBrown wrote: > >> blk_bio_segment_split() makes sure bios have no more than > >> BIO_MAX_PAGES entries in the bi_io_vec. > >> This was done because

Re: [PATCH 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-05-02 Thread Bjorn Andersson
On Tue 02 May 13:59 PDT 2017, Sarangdhar Joshi wrote: > In the context of recovering from crash, > rproc_trigger_recovery() does rproc_shutdown() followed > by rproc_boot(). The remoteproc resources are cleaned up > in rproc_shutdown() and immediately reallocated in > rproc_boot() which is an unne

linux-next: manual merge of the nfs tree with Linus' tree

2017-05-02 Thread Stephen Rothwell
Hi Trond, Today's linux-next merge of the nfs tree got a conflict in: Documentation/admin-guide/kernel-parameters.txt between commit: c0c74acbb60b ("docs: remove all references to AVR32 architecture") from Linus' tree and commit: 6d22323b2e9f ("nfs: remove the objlayout driver") from t

Re: [PATCH 2/3] hwmon: (adt7475) fan stall prevention

2017-05-02 Thread Chris Packham
On 03/05/17 06:07, Guenter Roeck wrote: > On Tue, May 02, 2017 at 05:45:35PM +1200, Chris Packham wrote: >> By default adt7475 will stop the fans (pwm duty cycle 0%) when the >> temperature drops past Tmin - hysteresis. Some systems want to keep the >> fans moving even when the temperature drops so

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-02 Thread Anatolij Gustschin
On Wed, 3 May 2017 00:28:17 +0300 Andy Shevchenko andy.shevche...@gmail.com wrote: ... >>>Is 0xff a mask here? (Btw, you missed spaces around <<) >> >> yes, it is. Will add spaces (checkpatch didn't warn here). > >Then it makes sense to add _MASK and use GENMASK() instead of direct value. ok,

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-02 Thread Anatolij Gustschin
On Tue, 02 May 2017 16:36:54 -0700 Joe Perches j...@perches.com wrote: ... >It would with command line option --strict, otherwise not. ah, good to know. Thanks!

Re: [PATCH] xen: Move xen_have_vector_callback definition to enlighten.c

2017-05-02 Thread Randy Dunlap
On 05/02/17 10:23, Boris Ostrovsky wrote: > Commit 84d582d236dc ("xen: Revert commits da72ff5bfcb0 and > 72a9b186292d") defined xen_have_vector_callback in enlighten_hvm.c. > Since guest-type-neutral code refers to this variable this causes > build failures when CONFIG_XEN_PVHVM is not defined. >

[PATCH] staging: rtl8192u: ieee80211: rtl819x_TSProc: Fixed coding style issue

2017-05-02 Thread Fabrizio Perria
Fixed checkpatch.pl issue ERROR: that open brace { should be on the previous line Signed-off-by: Fabrizio Perria --- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c b/dr

[RFC PATCH v2 3/3] hwmon: (adt7475) temperature smoothing

2017-05-02 Thread Chris Packham
When enabled temperature smoothing allows ramping the fan speed over a configurable period of time instead of jumping to the new speed instantaneously. Signed-off-by: Chris Packham --- Changes in v2: - use a single tempN_smoothing attribute Documentation/hwmon/adt7475 | 4 ++ drivers/hwmon/adt

[RFC PATCH v2 1/3] hwmon: (adt7475) replace find_nearest() with find_closest()

2017-05-02 Thread Chris Packham
The adt7475 has had find_nearest() since it's creation in 2009. Since then find_closest() has been introduced and several drivers have been updated to use it. Update the adt7475 to use find_closest() and remove the now unused find_nearest(). Signed-off-by: Chris Packham --- drivers/hwmon/adt7475

[RFC PATCH v2 2/3] hwmon: (adt7475) fan stall prevention

2017-05-02 Thread Chris Packham
By default adt7475 will stop the fans (pwm duty cycle 0%) when the temperature drops past Tmin - hysteresis. Some systems want to keep the fans moving even when the temperature drops so add new sysfs attributes that configure the enhanced acoustics min 1-3 which allows the fans to run at the minimu

Re: [PATCH] staging: rtl8192u: ieee80211: rtl819x_TSProc: Fixed coding style issue

2017-05-02 Thread Joe Perches
On Tue, 2017-05-02 at 20:24 -0400, Fabrizio Perria wrote: > Fixed checkpatch.pl issue > ERROR: that open brace { should be on the previous line [] > diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c > b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c [] > @@ -338,8 +338,7 @@ boo

Re: [PATCH] mm, vmalloc: properly track vmalloc users

2017-05-02 Thread kbuild test robot
Hi Michal, [auto build test ERROR on mmotm/master] [also build test ERROR on next-20170502] [cannot apply to v4.11] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-vmalloc

linux-next: manual merge of the net-next tree with Linus' tree

2017-05-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: arch/avr32/include/uapi/asm/socket.h between commit: 26202873bb51 ("avr32: remove support for AVR32 architecture") from Linus' tree and commits: a2d133b1d465 ("sock: introduce SO_MEMINFO getsockopt") 6d4339028b35

Re: [PATCH] bitops.h: use BITS_PER_LONG to simplify BITS_TO_LONGS

2017-05-02 Thread Wei Yang
On Wed, May 03, 2017 at 07:45:12AM +1000, NeilBrown wrote: >On Tue, May 02 2017, Wei Yang wrote: > >> Hi, masters >> >> Not sure this one is acceptable? > >You'd have better luck getting a response if you post things like this >to akpm - he tends to collect miscellaneous bits and pieces. >I don't t

Re: [PATCH] mm, vmalloc: properly track vmalloc users

2017-05-02 Thread kbuild test robot
Hi Michal, [auto build test ERROR on mmotm/master] [also build test ERROR on next-20170502] [cannot apply to v4.11] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-vmalloc

Re: RFC: i2c designware gpio recovery

2017-05-02 Thread Phil Reid
G'day Tim, On 1/05/2017 21:31, Tim Sander wrote: Good Day Phil Am Montag, 1. Mai 2017, 09:57:35 CEST schrieb Phil Reid: So i took a look into the device tree file socfpga.dtsi and found that the reset lines where not defined (although available in the corresponding reset manager). Is there a r

RE: [Intel-wired-lan] [PATCH net-next] igb: mark PM functions as __maybe_unused

2017-05-02 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > Behalf Of Arnd Bergmann > Sent: Thursday, April 27, 2017 12:10 PM > To: Kirsher, Jeffrey T > Cc: Arnd Bergmann ; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; intel-wired-...@lists.osuosl.org; David S. Miller

RE: [Intel-wired-lan] [PATCH] igb: make a few local functions static

2017-05-02 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > Behalf Of Colin King > Sent: Thursday, April 27, 2017 10:59 AM > To: Kirsher, Jeffrey T ; intel-wired- > l...@lists.osuosl.org; net...@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-kernel@vger.kernel.org >

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-02 Thread Chen, Xiaoguang
>-Original Message- >From: Gerd Hoffmann [mailto:kra...@redhat.com] >Sent: Tuesday, May 02, 2017 5:51 PM >To: Chen, Xiaoguang >Cc: alex.william...@redhat.com; intel-...@lists.freedesktop.org; intel-gvt- >d...@lists.freedesktop.org; Wang, Zhi A ; >zhen...@linux.intel.com; linux-kernel@vge

Re: 4.11.0-rc8+/x86_64 desktop lockup until applications closed

2017-05-02 Thread Arthur Marsh
Michal Hocko wrote on 02/05/17 17:01: [92311.93] swap_info_get: Bad swap offset entry 000d [92311.99] swap_info_get: Bad swap offset entry 000e [92311.944451] swap_info_get: Bad swap offset entry 000f Pte swap entry seem to be clobbered. That suggests a deeper problem and

Re: Asmedia USB 1343 crashes

2017-05-02 Thread Thomas Fjellstrom
On Monday, May 1, 2017 12:08:55 PM MDT Thomas Fjellstrom wrote: > On Monday, May 1, 2017 1:57:53 PM MDT Alan Stern wrote: > > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > > On Monday, May 1, 2017 10:54:12 AM MDT Alan Stern wrote: > > > > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > > > > I'

Re: [PATCH] tcmu: Recalculate the tcmu_cmd size to save cmd area memories

2017-05-02 Thread Mike Christie
On 05/02/2017 02:54 AM, lixi...@cmss.chinamobile.com wrote: > From: Xiubo Li > > For the "struct tcmu_cmd_entry" in cmd area, the minimum size > will be sizeof(struct tcmu_cmd_entry) == 112 Bytes. And it could > fill about (sizeof(struct rsp) - sizeof(struct req)) / > sizeof(struct iovec) == 68 /

Re: [PATCH 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-05-02 Thread Sarangdhar Joshi
On 05/02/2017 05:02 PM, Bjorn Andersson wrote: On Tue 02 May 13:59 PDT 2017, Sarangdhar Joshi wrote: In the context of recovering from crash, rproc_trigger_recovery() does rproc_shutdown() followed by rproc_boot(). The remoteproc resources are cleaned up in rproc_shutdown() and immediately real

[PATCH v2] Fix coding style issues

2017-05-02 Thread Adheer Chandravanshi
Patch v2 addresses review comments from Greg KH. Following is a single patch with only one type of coding style issues fixed. Adheer Chandravanshi (1): staging: rtl8723bs: Fix coding style issues drivers/staging/rtl8723bs/include/rtl8192c_rf.h | 23 ++- 1 file changed, 10 i

[PATCH v2] staging: rtl8723bs: Fix coding style issues

2017-05-02 Thread Adheer Chandravanshi
checkpatch.pl reported errors for use of extra whitespaces in the function prototypes. Removed extra spaces to meet the coding standards. Signed-off-by: Adheer Chandravanshi --- drivers/staging/rtl8723bs/include/rtl8192c_rf.h | 23 ++- 1 file changed, 10 insertions(+), 13 de

Re: Asmedia USB 1343 crashes

2017-05-02 Thread Thomas Fjellstrom
On Tuesday, May 2, 2017 8:04:28 PM MDT Thomas Fjellstrom wrote: > On Monday, May 1, 2017 12:08:55 PM MDT Thomas Fjellstrom wrote: > > On Monday, May 1, 2017 1:57:53 PM MDT Alan Stern wrote: > > > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > > > On Monday, May 1, 2017 10:54:12 AM MDT Alan Stern

[PATCH] x86/intel_rdt: Fix a typo in Documentation

2017-05-02 Thread Xiaochen Shen
The typo is in example 3. "C0" in "# echo C0 > p0/cpus" is wrong because it specifies core 6-7 instead of wanted core 4-7. Correct this typo to avoid confusion. Signed-off-by: Xiaochen Shen Signed-off-by: Fenghua Yu --- Documentation/x86/intel_rdt_ui.txt | 2 +- 1 file changed, 1 insertion(+)

Re: [PATCH 1/3] drm: fourcc byteorder: drop DRM_FORMAT_BIG_ENDIAN

2017-05-02 Thread Michel Dänzer
On 03/05/17 12:06 AM, Gerd Hoffmann wrote: > >> Removing the definition also removes the possibility to describe a lot >> of pixel formats, so that should definitely be mentioned. I think it >> would also be good to have some kind of justified claim that no >> hardware actually needs the pixel for

[PATCH v2 2/8] clk: Provide option to query hardware for clk phase

2017-05-02 Thread Chen-Yu Tsai
On some hardware, the clk phase is tied to the parent clk's rate and some clk delay programmed into the hardware. As the parent clk rate changes, so does the clk phase. Add a clk flag specifying not to use the cached clk phase, but always query the hardware for it. Signed-off-by: Chen-Yu Tsai --

[PATCH v2 1/8] dt-bindings: clock: sunxi-ccu: Add compatible string for A83T CCU

2017-05-02 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. Like the A80, the SoC does not have a low speed 32.768 kHz oscillator. Unlike the A80, there is no clock input either. The only low speed clock available is the

[PATCH v2 0/8] clk: sunxi-ng: Add support for A83T CCU

2017-05-02 Thread Chen-Yu Tsai
Hi everyone, This is v2 of my A83T CCU series. This is for 4.13. Changes since v1: - Dropped two patches that were merged - Added clk core flag to disable caching of clock phases - Added support for multiple variable pre-dividers - Merged "pll-periph-ahb1" pre-divider clock into "ahb1

[PATCH v2 4/8] clk: sunxi-ng: Support multiple variable pre-dividers

2017-05-02 Thread Chen-Yu Tsai
On the A83T, the AHB1 clock has a shared pre-divider on the two PLL-PERIPH clock parents. To support such instances of shared pre-dividers, this patch extends the mux clock type to support multiple variable pre-dividers. As the pre-dividers are only used to calculate the rate, but do not participa

[PATCH v2 7/8] ARM: sun8i: a83t: Set clock accuracy for 24MHz oscillator

2017-05-02 Thread Chen-Yu Tsai
The datasheets for Allwinner SoCs set strict requirements on the stability of the external crystal oscillators. Add the accuracy for the main 24MHz oscillator to the device tree. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 3/8] clk: sunxi-ng: Add class of phase clocks supporting MMC new timing modes

2017-05-02 Thread Chen-Yu Tsai
The MMC clocks on newer SoCs, such as the A83T and H3, support the "new timing mode". Under this mode, the output of the clock is divided by 2, and the clock delays no longer apply. Due to how the clock tree is modeled and setup, we need to model this function in two places, the master mmc clock a

[PATCH v2 8/8] ARM: sun8i: a83t: Switch to CCU device tree binding macros

2017-05-02 Thread Chen-Yu Tsai
Now that the CCU device tree binding headers have been merged, we can use the properly named macros in the device tree, instead of raw numbers. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/

[PATCH v2 5/8] clk: sunxi-ng: Add driver for A83T CCU

2017-05-02 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. Like the A80, the SoC does not have a low speed 32.768 kHz oscillator. Unlike the A80, there is no clock input either. The only low speed clock available is the

[PATCH v2 6/8] ARM: sun8i: a83t: Add CCU device nodes

2017-05-02 Thread Chen-Yu Tsai
Now that we have support for the A83T CCU, add a device node for it, and replace any existing placeholder clock phandles with the correct ones. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/a

[PATCH v2 2/8] clk: Provide option to query hardware for clk phase

2017-05-02 Thread Chen-Yu Tsai
On some hardware, the clk phase is tied to the parent clk's rate and some clk delay programmed into the hardware. As the parent clk rate changes, so does the clk phase. Add a clk flag specifying not to use the cached clk phase, but always query the hardware for it. Signed-off-by: Chen-Yu Tsai --

[PATCH v2 0/8] clk: sunxi-ng: Add support for A83T CCU

2017-05-02 Thread Chen-Yu Tsai
Hi everyone, (Resent with devicetree mailing list CC-ed.) This is v2 of my A83T CCU series. This is for 4.13. Changes since v1: - Dropped two patches that were merged - Added clk core flag to disable caching of clock phases - Added support for multiple variable pre-dividers - Merged "

[PATCH v2 3/8] clk: sunxi-ng: Add class of phase clocks supporting MMC new timing modes

2017-05-02 Thread Chen-Yu Tsai
The MMC clocks on newer SoCs, such as the A83T and H3, support the "new timing mode". Under this mode, the output of the clock is divided by 2, and the clock delays no longer apply. Due to how the clock tree is modeled and setup, we need to model this function in two places, the master mmc clock a

[PATCH v2 4/8] clk: sunxi-ng: Support multiple variable pre-dividers

2017-05-02 Thread Chen-Yu Tsai
On the A83T, the AHB1 clock has a shared pre-divider on the two PLL-PERIPH clock parents. To support such instances of shared pre-dividers, this patch extends the mux clock type to support multiple variable pre-dividers. As the pre-dividers are only used to calculate the rate, but do not participa

[PATCH v2 8/8] ARM: sun8i: a83t: Switch to CCU device tree binding macros

2017-05-02 Thread Chen-Yu Tsai
Now that the CCU device tree binding headers have been merged, we can use the properly named macros in the device tree, instead of raw numbers. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/

[PATCH v2 7/8] ARM: sun8i: a83t: Set clock accuracy for 24MHz oscillator

2017-05-02 Thread Chen-Yu Tsai
The datasheets for Allwinner SoCs set strict requirements on the stability of the external crystal oscillators. Add the accuracy for the main 24MHz oscillator to the device tree. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 5/8] clk: sunxi-ng: Add driver for A83T CCU

2017-05-02 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. Like the A80, the SoC does not have a low speed 32.768 kHz oscillator. Unlike the A80, there is no clock input either. The only low speed clock available is the

Re: [PATCH 0/6] mailbox: arm_mhu: add support for subchannels

2017-05-02 Thread Jassi Brar
Hi Sudeep, On Tue, May 2, 2017 at 7:25 PM, Sudeep Holla wrote: > Hi Jassi, > > This series adds subchannel support to ARM MHU mailbox controller > driver. Since SCPI never used second slot, we were able to use the > existing driver as is. However, that's changing soon and the new > SCMI protocol

[PATCH v2 6/8] ARM: sun8i: a83t: Add CCU device nodes

2017-05-02 Thread Chen-Yu Tsai
Now that we have support for the A83T CCU, add a device node for it, and replace any existing placeholder clock phandles with the correct ones. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/a

[PATCH v2 1/8] dt-bindings: clock: sunxi-ccu: Add compatible string for A83T CCU

2017-05-02 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. Like the A80, the SoC does not have a low speed 32.768 kHz oscillator. Unlike the A80, there is no clock input either. The only low speed clock available is the

[PATCH] powerpc/powernv: Fix TCE kill on NVLink2

2017-05-02 Thread Alistair Popple
Commit 616badd2fb49 ("powerpc/powernv: Use OPAL call for TCE kill on NVLink2") forced all TCE kills to go via the OPAL call for NVLink2. However the PHB3 implementation of TCE kill was still being called directly from some functions which in some circumstances caused a machine check. This patch ad

Re: [PATCH 03/13 V2] blk: make the bioset rescue_workqueue optional.

2017-05-02 Thread Ming Lei
On Wed, May 3, 2017 at 6:34 AM, NeilBrown wrote: > From 09017acf74ec4df674b78ca66f0924187f10d8a4 Mon Sep 17 00:00:00 2001 > From: NeilBrown > Date: Fri, 10 Mar 2017 13:59:50 +1100 > Subject: [PATCH] blk: make the bioset rescue_workqueue optional. > > This patch converts bioset_create() to not cre

Re: [PATCH 6/15] dt-bindings: display: sun4i: Add HDMI display bindings

2017-05-02 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > One of the possible output of the display pipeline, on the SoCs that have > it, is the HDMI controller. > > Add a binding for it. > > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 21 +++

[PATCH] staging: unisys: Solve sparse warning

2017-05-02 Thread Marcos Paulo de Souza
The following commit fixes the following sparse report: drivers/staging//unisys/visorhba/visorhba_main.c:660:29: warning: cast to restricted __le64 by casting readq (which is unsigned long on x86) to u64, as expected by the seq_printf call. Signed-off-by: Marcos Paulo de Souza --- Just compi

Re: [PATCH] x86/intel_rdt: Fix two typos in Documentation

2017-05-02 Thread Shen, Xiaochen
Sorry, please ignore this patch. The first typo in this patch has been already fixed by: a9cad3d4f046 ("Documentation, x86: Intel Memory bandwidth allocation") A new patch is submitted to address the other typo left over: https://lkml.org/lkml/2017/5/2/595 Best regards Xiaochen Shen On 2017/4/

Re: [PATCH] tcmu: Recalculate the tcmu_cmd size to save cmd area memories

2017-05-02 Thread Nicholas A. Bellinger
On Tue, 2017-05-02 at 21:06 -0500, Mike Christie wrote: > On 05/02/2017 02:54 AM, lixi...@cmss.chinamobile.com wrote: > > From: Xiubo Li > > > > For the "struct tcmu_cmd_entry" in cmd area, the minimum size > > will be sizeof(struct tcmu_cmd_entry) == 112 Bytes. And it could > > fill about (sizeo

Re: [PATCH v6 0/4] Broadcom SBA RAID support

2017-05-02 Thread Anup Patel
Hi Vinod, The Broadcom FlexRM patchset have been merged in v4.11. I think you now can take this patchset in next merge window. Right?? Regards, Anup

RE: [PATCH] ARM: imx_v6_v7_defconfig: Enable cpufreq governors

2017-05-02 Thread A.S. Dong
> -Original Message- > From: Leonard Crestez [mailto:leonard.cres...@nxp.com] > Sent: Tuesday, May 02, 2017 10:46 PM > To: Shawn Guo > Cc: Leonard Crestez; Sascha Hauer; Jagan Teki; Fabio Estevam; Dong Aisheng; > linux-arm-ker...@lists.infradead.org; linux...@vger.kernel.org; linux- > ker..

[PATCH] hexagon: Use raw_copy_to_user

2017-05-02 Thread Guenter Roeck
Commit ac4691fac8ad ("hexagon: switch to RAW_COPY_USER") replaced __copy_to_user_hexagon() with raw_copy_to_user(), but did not catch all callers, resulting in the following build error. arch/hexagon/mm/uaccess.c: In function '__clear_user_hexagon': arch/hexagon/mm/uaccess.c:40:3: error: i

Re: [PATCH] xen: Move xen_have_vector_callback definition to enlighten.c

2017-05-02 Thread Juergen Gross
On 02/05/17 19:23, Boris Ostrovsky wrote: > Commit 84d582d236dc ("xen: Revert commits da72ff5bfcb0 and > 72a9b186292d") defined xen_have_vector_callback in enlighten_hvm.c. > Since guest-type-neutral code refers to this variable this causes > build failures when CONFIG_XEN_PVHVM is not defined. >

[PATCH] drivers/crypto/ccp: return NULL instead of 0

2017-05-02 Thread Pushkar Jambhlekar
This change is to handle sparse warning. Return type of function is a pointer to the structure and it returns 0. Instead it should return NULL. Signed-off-by: Pushkar Jambhlekar --- drivers/crypto/ccp/ccp-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

Re: [PATCH 2/7] perf config: Check list empty before showing configs

2017-05-02 Thread Taeung Song
Hi Arnaldo, On 05/03/2017 12:12 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 26, 2017 at 09:21:03PM +0900, Taeung Song escreveu: If existent config files contains nothing, the sections list in config_set can be empty. So check not only NULL pointer of config_set but also the list in config_

Re: linux-next: manual merge of the net-next tree with Linus' tree

2017-05-02 Thread David Miller
From: Stephen Rothwell Date: Wed, 3 May 2017 11:07:03 +1000 > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > arch/avr32/include/uapi/asm/socket.h > > between commit: > > 26202873bb51 ("avr32: remove support for AVR32 architecture") > > from Linus' tree a

Re: [PATCH 2/2] kbuild: remove initramfs cpio with mrproper

2017-05-02 Thread Masahiro Yamada
Hi Stephen, 2017-04-15 6:54 GMT+09:00 Stephen Hemminger : > When 'make mrproper' is done, it should also remove the initramfs cpio > file. I ran into this while doing test build on one machine, followed > by make mrproper and rsync to a target machine. The build on the target > machine would succ

Re: [PATCH 1/2] kbuild: cleanup signing keys with mrproper

2017-05-02 Thread Masahiro Yamada
+CC David Woodhouse +CC David Howells 2017-04-15 6:54 GMT+09:00 Stephen Hemminger : > When 'make mrproper' is run it was supposed to remove the signing > keys in the certs directory, but only the filename is given > rather than the pathanme which is necessary to cause cleanup. > > Signed-off-by:

Re: [PATCH 1/1] objtool: make it visible in make V=1 output

2017-05-02 Thread Masahiro Yamada
2017-04-22 0:16 GMT+09:00 Jiri Slaby : > It is currently impossible to see what is going on with objtool when > building, so call echo-cmd to see the actions: > gcc -Wp,-MD,arch/x86/entry/.entry_64.o.d -nostdinc -isystem ... > ./tools/objtool/objtool check "arch/x86/entry/entry_64.o"; > > Sign

[PATCH 2/3] iommu/pci: reserve iova for PCI masters

2017-05-02 Thread Oza Pawandeep
this patch reserves the iova for PCI masters. ARM64 based SOCs may have scattered memory banks. such as iproc based SOC has <0x 0x8000 0x0 0x8000>, /* 2G @ 2G */ <0x0008 0x8000 0x3 0x8000>, /* 14G @ 34G */ <0x0090 0x 0x4 0x>, /* 16G @ 576G */ <0x

[PATCH 3/3] PCI/of fix of_dma_get_range; get PCI specific dma-ranges

2017-05-02 Thread Oza Pawandeep
current device framework and of framework integration assumes dma-ranges in a way where memory-mapped devices define their dma-ranges. (child-bus-address, parent-bus-address, length). of_dma_configure is specifically written to take care of memory mapped devices. but no implementation exists for p

[PATCH 1/3] of/pci/dma: fix DMA configuration for PCI masters

2017-05-02 Thread Oza Pawandeep
current device framework and of framework integration assumes dma-ranges in a way where memory-mapped devices define their dma-ranges. (child-bus-address, parent-bus-address, length). of_dma_configure is specifically written to take care of memory mapped devices. but no implementation exists for p

Re: [PATCH] xen: Move xen_have_vector_callback definition to enlighten.c

2017-05-02 Thread Juergen Gross
On 02/05/17 19:23, Boris Ostrovsky wrote: > Commit 84d582d236dc ("xen: Revert commits da72ff5bfcb0 and > 72a9b186292d") defined xen_have_vector_callback in enlighten_hvm.c. > Since guest-type-neutral code refers to this variable this causes > build failures when CONFIG_XEN_PVHVM is not defined. >

Re: [PATCH] vmscan: scan pages until it founds eligible pages

2017-05-02 Thread Minchan Kim
On Tue, May 02, 2017 at 05:14:36PM +0200, Michal Hocko wrote: > On Tue 02-05-17 23:51:50, Minchan Kim wrote: > > Hi Michal, > > > > On Tue, May 02, 2017 at 09:54:32AM +0200, Michal Hocko wrote: > > > On Tue 02-05-17 14:14:52, Minchan Kim wrote: > > > > Oops, forgot to add lkml and linux-mm. > > >

Re: [PATCH] Makefile: evaluate LDFLAGS_BUILD_ID only once

2017-05-02 Thread Masahiro Yamada
2017-05-01 1:16 GMT+09:00 Rabin Vincent : > Evaluate LDFLAGS_BUILD_ID (which involves invoking the compiler) only > once instead of over and over. > > This provides a ~20% reduction in null build time with x86 allnoconfig: > > $ make allnoconfig && make -j8 > $ perf stat -r5 -e sched:sched_process_

Re: [RFC PATH] of/pci/dma: fix DMA configruation for PCI masters

2017-05-02 Thread Oza Oza
On Mon, Apr 24, 2017 at 7:50 PM, Rob Herring wrote: > On Sat, Apr 22, 2017 at 3:08 AM, Oza Pawandeep wrote: >> current device frmework and of framework integration assumes dma-ranges >> in a way where memory-mapped devices define their dma-ranges. >> dma-ranges: (child-bus-address, parent-bus-add

Re: I'd like to donate a MacBook Pro

2017-05-02 Thread Alex Henrie
2017-05-01 3:03 GMT-06:00 Lukas Wunner : > On Mon, 1 May 2017 00:27:41 -0600, Alex Henrie wrote: >> I am confident that this is a common problem because I have found >> various other users complaining about it: >> >> https://bbs.archlinux.org/viewtopic.php?pid=1613363#p1613363 >> https://bbs.archli

Re: [PATCH v6 0/4] Broadcom SBA RAID support

2017-05-02 Thread Vinod Koul
On Wed, May 03, 2017 at 09:15:20AM +0530, Anup Patel wrote: > Hi Vinod, > > The Broadcom FlexRM patchset have been > merged in v4.11. > > I think you now can take this patchset in next > merge window. Right?? Sure, please rebase and resend after -rc1 is out -- ~Vinod

Re: [PATCH 1/3] of/pci/dma: fix DMA configuration for PCI masters

2017-05-02 Thread Oza Oza
I will send v2 after removing GERRIT details from commit message. My apologies for the noise. Regards, Oza

Re: [PATCH 2/3] iommu/pci: reserve iova for PCI masters

2017-05-02 Thread Oza Oza
I will send v2 after removing GERRIT details from commit message. My apologies for the noise. Regards, Oza

Re: [PATCH 3/3] PCI/of fix of_dma_get_range; get PCI specific dma-ranges

2017-05-02 Thread Oza Oza
I will send v2 after removing GERRIT details from commit message. My apologies for the noise. Regards, Oza

Re: [PATCH v6 0/4] Broadcom SBA RAID support

2017-05-02 Thread Anup Patel
On Wed, May 3, 2017 at 10:29 AM, Vinod Koul wrote: > On Wed, May 03, 2017 at 09:15:20AM +0530, Anup Patel wrote: >> Hi Vinod, >> >> The Broadcom FlexRM patchset have been >> merged in v4.11. >> >> I think you now can take this patchset in next >> merge window. Right?? > > Sure, please rebase and r

Re: [PATCH] hexagon: Use raw_copy_to_user

2017-05-02 Thread Al Viro
On Tue, May 02, 2017 at 08:52:48PM -0700, Guenter Roeck wrote: > Commit ac4691fac8ad ("hexagon: switch to RAW_COPY_USER") replaced > __copy_to_user_hexagon() with raw_copy_to_user(), but did not catch > all callers, resulting in the following build error. > > arch/hexagon/mm/uaccess.c: In function

Re: [PATCH 0/3] alpha: improvements of arch/alpha/lib/Makefile

2017-05-02 Thread Masahiro Yamada
2016-09-11 16:42 GMT+09:00 Masahiro Yamada : > While building for Alpha architecture, I noticed ugly long log > for division routines. So, I took a look at the Makefile. > Here is a series of build rule cleanups. > > > Masahiro Yamada (3): > alpha: add $(src)/ rather than $(obj)/ to make source

Re: [PATCH] ia64: beatify build log for gate.so and gate-syms.o

2017-05-02 Thread Masahiro Yamada
2017-04-12 8:36 GMT+09:00 Masahiro Yamada : > Currently, the object path is not aligned in the build log: > > LDS arch/ia64/kernel/gate.lds > AS arch/ia64/kernel/gate.o > GATE arch/ia64/kernel/gate.so > AS arch/ia64/kernel/gate-data.o > > Signed-off-by: Masahiro Yamada > ---

[PATCH v3 1/4] dt-bindings: Introduce doorbell binding

2017-05-02 Thread Bjorn Andersson
Introduce the generic doorbell binding as well as a binding for the Qualcomm APCS Global block. This is used to expose doorbell-like devices in the system. Signed-off-by: Bjorn Andersson --- Changes since v2: - New binding .../devicetree/bindings/doorbell/doorbell.txt | 31 +++

[PATCH v3 2/4] soc: qcom: Introduce APCS IPC driver

2017-05-02 Thread Bjorn Andersson
This implements a driver that exposes the IPC bits found in the APCS Global block in various Qualcomm platforms. The bits are used to signal inter-processor communication signals from the application CPU to other masters. The driver implements the "doorbell" binding and could be used as basis for

[PATCH v3 3/4] soc: qcom: Add device tree binding for GLINK RPM

2017-05-02 Thread Bjorn Andersson
Add device tree binding documentation for the Qualcomm GLINK RPM, used for communication with the Resource Power Management subsystem in various Qualcomm SoCs. Signed-off-by: Bjorn Andersson --- Changes since v2: - Replace qcom,ipc syscon with a "doorbell" Changes since v1: - None .../devicet

[PATCH v3 4/4] rpmsg: Introduce Qualcomm RPM glink driver

2017-05-02 Thread Bjorn Andersson
This introduces a basic driver for communicating over "native glink" with the RPM found in Qualcomm platforms. Signed-off-by: Bjorn Andersson --- Changes since v2: - Replace syscon with apcs_ipc doorbell implementation Changes since v1: - Depend on HAS_IOMEM, for UM build failure - Wrap read/wr

Re: [PATCH v2] iio: adc: Add support for TI ADC1x8s102

2017-05-02 Thread Jan Kiszka
On 2017-05-02 22:53, Andy Shevchenko wrote: > On Tue, May 2, 2017 at 11:02 PM, Jan Kiszka wrote: >> This is an upstream port of an IIO driver for the TI ADC108S102 and >> ADC128S102. The former can be found on the Intel Galileo Gen2 and the >> Siemens SIMATIC IOT2000. For those boards, ACPI-based

Re: [RFC PATCH 8/9] debugfs: defer debugfs_fsdata allocation to first usage

2017-05-02 Thread Johannes Berg
On Tue, 2017-05-02 at 22:05 +0200, Nicolai Stange wrote: > > So either you could return some valid ops (perhaps > > debugfs_noop_file_operations although those don't have .name or > > .poll, so it doesn't cover everything), or you can just BUG_ON() > > here directly, saving the incomprehensible cr

<    1   2   3   4   5   6   7   >