Re: [GIT] Sparc

2015-11-05 Thread Linus Torvalds
On Thu, Nov 5, 2015 at 4:43 PM, Linus Torvalds wrote: > > Not that this *matters*, but it's a bit odd to have to cast constants > to perfectly regular C types. Looking around with "git grep", there's a few more of these. - btrfs seems to like "(unsigned long)-1" There's a few other users of

Re: [GIT] Sparc

2015-11-05 Thread Julian Calaby
Hi Linus, On Fri, Nov 6, 2015 at 11:56 AM, Linus Torvalds wrote: > On Thu, Nov 5, 2015 at 4:43 PM, Linus Torvalds > wrote: >> >> Not that this *matters*, but it's a bit odd to have to cast constants >> to perfectly regular C types. > > Looking around with "git grep", there's a few more of these.

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-05 Thread Laura Abbott
On 11/05/2015 08:27 AM, Russell King - ARM Linux wrote: On Thu, Nov 05, 2015 at 08:20:42AM -0800, Laura Abbott wrote: On 11/05/2015 01:46 AM, Russell King - ARM Linux wrote: On Wed, Nov 04, 2015 at 05:00:39PM -0800, Laura Abbott wrote: Currently, read only permissions are not being applied eve

Re: [PATCH v3] keys, trusted: select hash algorithm for TPM2 chips

2015-11-05 Thread kbuild test robot
Hi Jarkko, [auto build test ERROR on: security/next] [also build test ERROR on: next-20151105] [cannot apply to: v4.3] url: https://github.com/0day-ci/linux/commits/Jarkko-Sakkinen/keys-trusted-select-hash-algorithm-for-TPM2-chips/20151106-010236 base: https://git.kernel.org/pub/scm/linux

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Laura Abbott
On 11/05/2015 03:10 AM, Xishi Qiu wrote: On 2015/11/5 2:12, Laura Abbott wrote: On 11/03/2015 06:59 PM, zhong jiang wrote: Hi Laura This patch seems vaild, but I didn't feel very reasonable. Because of the large page to make TLB performance better, just split it if it is necessary.therefore,

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-05 Thread Kees Cook
On Thu, Nov 5, 2015 at 5:05 PM, Laura Abbott wrote: > On 11/05/2015 08:27 AM, Russell King - ARM Linux wrote: >> >> On Thu, Nov 05, 2015 at 08:20:42AM -0800, Laura Abbott wrote: >>> >>> On 11/05/2015 01:46 AM, Russell King - ARM Linux wrote: On Wed, Nov 04, 2015 at 05:00:39PM -0800, Laur

Re: [PATCH 2/5] clk: qcom: Add IPQ4019 Global Clock Controller support

2015-11-05 Thread Stephen Boyd
On 11/05, Matthew McClintock wrote: > diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c > new file mode 100644 > index 000..3ed76bd > --- /dev/null > +++ b/drivers/clk/qcom/gcc-ipq4019.c > @@ -0,0 +1,1680 @@ > + > +#define SPARE_CLOCK_BRANCH_ENA_VOTE 0x0004 >

[PATCH v2 0/4] Crypto: add crypto accelerator support for rk3288

2015-11-05 Thread Zain Wang
This commit support three cipher(AES/DES/DES3) and two chainmode(ecb/cbc), and the more algorithms and new hash drivers will be added later on. Changed in v2: - remove some part about hash - add weak key detection - changed some variate's type Changed in v1: - modify some variate's name - modify

[PATCH v2 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-05 Thread Zain Wang
The names registered are: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signed-off-by: Zain Wang --- Changed in v2: - remove some part about hash - add weak key detection - ch

Re: [PATCH 1/4] arm64: dts: Reserve memory regions for hi6220

2015-11-05 Thread Leo Yan
On Thu, Nov 05, 2015 at 04:13:15PM +, Mark Rutland wrote: > On Thu, Nov 05, 2015 at 09:54:50PM +0800, Leo Yan wrote: > > On Thu, Oct 29, 2015 at 04:33:01PM +0800, Leo Yan wrote: > > > On Wed, Oct 28, 2015 at 11:32:29PM -0500, Rob Herring wrote: > > > > On Fri, Oct 9, 2015 at 9:20 AM, Leo Yan w

[PATCH v2 4/4] crypto: rockchip/crypto - add DT bindings documentation

2015-11-05 Thread Zain Wang
Add DT bindings documentation for the rk3288 crypto drivers. Signed-off-by: Zain Wang --- Changde in v2: - None Changed in v1: - remove the _crypto suffix - use "rockchip,rk3288-crypto" instead of "rockchip,rk3288" - remove the description of status .../devicetree/bindings/crypto/rockchip-cry

[PATCH v2 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-05 Thread Zain Wang
Add Crypto drivers for rk3288 including crypto controller and dma clk. Signed-off-by: Zain Wang --- Changed in v2: - None Changed in v1: - remove the _crypto suffix - use "rockchip,rk3288-crypto" instead of "rockchip,rk3288" arch/arm/boot/dts/rk3288.dtsi | 15 +++ 1 file changed,

[PATCH v2 2/4] clk: rockchip: set an id for crypto clk

2015-11-05 Thread Zain Wang
set an id for crypto clk, so that it can be called in other part. Signed-off-by: Zain Wang --- Changed in v2: - None Changed in v1: - define SCLK_CRYPTO in rk3288-cru.h - use SCLK_CRYPTO instead of SRST_CRYPTO drivers/clk/rockchip/clk-rk3288.c | 2 +- include/dt-bindings/clock/rk3288-cr

Re: [RFC PATCH 6/7] audit: wake up audit_backlog_wait queue when auditd goes away.

2015-11-05 Thread Paul Moore
On Thursday, October 22, 2015 02:53:19 PM Richard Guy Briggs wrote: > When auditd goes away (died, killed or shutdown, or net namespace shut > down), there is no point in sleeping waiting for auditd to drain the > queue since that message would be distined for the hold queue after the > timeout any

Re: [RFC PATCH 7/7] audit: wake up kauditd_thread after auditd registers

2015-11-05 Thread Paul Moore
On Thursday, October 22, 2015 02:53:20 PM Richard Guy Briggs wrote: > When auditd is restarted, even though the kauditd_thread is present, it > remains dormant until the next audit log message is queued. > > Wake up the kauditd_thread in the kauditd_wait queue immediately when > auditd registers i

Re: [PATCH 1/2] arm64: Get existing page protections in split_pmd

2015-11-05 Thread Laura Abbott
On 11/05/2015 02:15 AM, Xishi Qiu wrote: On 2015/11/4 5:48, Laura Abbott wrote: Rather than always putting the least restrictived permissions (PAGE_KERNEL_EXEC) when spliting a pmd into pages, use the existing permissions from the pmd for the page. Signed-off-by: Laura Abbott --- arch/arm6

Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO

2015-11-05 Thread Jason A. Donenfeld
Hi folks, I'm still facing some considerable problems. Please see below. On Thu, Nov 5, 2015 at 5:28 PM, Jason A. Donenfeld wrote: > As mentioned, I receive packets on ndo_start_xmit, "do something to > them with function magic()", and then push them out of a UDP socket > using udp_tunnel_xmit_s

Re: [PATCH 2/2] Input: uinput: Sanity check on ff_effects_max and EV_FF

2015-11-05 Thread Dmitry Torokhov
On Thu, Nov 05, 2015 at 11:34:55PM +0100, Elias Vanderstuyft wrote: > Hi Dmitry, > > Excuse me for the long delay. > > On Thu, Oct 15, 2015 at 2:52 AM, Dmitry Torokhov > wrote: > > On Thu, Sep 17, 2015 at 07:29:48PM +0200, Elias Vanderstuyft wrote: > >> Currently the user can specify a non-zero

Re: fs: out of bounds on stack in iov_iter_advance

2015-11-05 Thread Al Viro
On Wed, Sep 30, 2015 at 05:30:17PM -0400, Sasha Levin wrote: > > So I've traced this all the way back to dax_io(). I can trigger this with: > > > > diff --git a/fs/dax.c b/fs/dax.c > > index 93bf2f9..2cdb8a5 100644 > > --- a/fs/dax.c > > +++ b/fs/dax.c > > @@ -178,6 +178,7 @@ static ssize_t dax_i

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > > On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > > > > It is unsafe

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Laura Abbott
On 11/04/2015 11:44 PM, Ard Biesheuvel wrote: On 3 November 2015 at 22:48, Laura Abbott wrote: Currently, the set_memory_* functions that are implemented for arm64 are restricted to module addresses only. This was mostly done because arm64 maps normal zone memory with larger page sizes to impr

Re: [PATCH v2 0/4] Crypto: add crypto accelerator support for rk3288

2015-11-05 Thread Caesar Wang
Hi 在 2015年11月06日 09:17, Zain Wang 写道: This commit support three cipher(AES/DES/DES3) and two chainmode(ecb/cbc), and the more algorithms and new hash drivers will be added later on. Changed in v2: - remove some part about hash - add weak key detection - changed some variate's type Changed in v

[PATCH v3 1/3] ASoC: rockchip: i2s: add 8 channels capture support

2015-11-05 Thread Sugar Zhang
support max 8 channels capture, please add property 'rockchip,capture-channels' in dts to enable this, if not, support 2 channels capture default. Signed-off-by: Sugar Zhang --- Changes in v3: None Changes in v2: - remove lrck mode, and move it to new patch sound/soc/rockchip/rockchip_i2s.c |

[PATCH v3 3/3] ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled

2015-11-05 Thread Sugar Zhang
we share lrck_tx to lrck_rx only if when both i2s symmetric_rates and dai_link symmetric_rates enabled. if only lrck_tx is wired into external codec, we should enable this to provider lrck for rx logic inside i2s module. Signed-off-by: Sugar Zhang --- Changes in v3: - modify the judgment condit

[PATCH v3 0/3] ASoC: rockchip: i2s: add 8 channels capture support and share lrck

2015-11-05 Thread Sugar Zhang
support 8 channels capture support. share lrck tx/rx when symmetric_rates enabled. Sugar Zhang (3): ASoC: rockchip: i2s: add 8 channels capture support Documentation: DT bindings: rockchip-i2s: add capture property ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled .../devi

[PATCH v3 2/3] Documentation: DT bindings: rockchip-i2s: add capture property

2015-11-05 Thread Sugar Zhang
rockchip,capture-channels: max capture channels, 2 channels default. Signed-off-by: Sugar Zhang --- Changes in v3: - move property into the Optional properties section Changes in v2: - remove unused lrck property Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 + 1 file chang

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-11-05 Thread Bjorn Andersson
On Mon, Jul 6, 2015 at 4:53 AM, Ivan T. Ivanov wrote: > Ensure SDCC is working with maximum clock otherwise card > detection could be extremely slow, up to 7 seconds. > > Signed-off-by: Ivan T. Ivanov > Reviewed-by: Georgi Djakov > Acked-by: Stephen Boyd > --- > > Changes since v0: > - s/falied

Re: [PATCH] CPPC-CPUFreq: Delete an unnecessary check before the function call "kfree"

2015-11-05 Thread Viresh Kumar
On 05-11-15, 21:15, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 5 Nov 2015 21:10:29 +0100 > > The kfree() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle

Re: [PATCH V2 2/5] PM / OPP: Add {opp-microvolt|opp-microamp|turbo-mode|opp-suspend}- binding

2015-11-05 Thread Viresh Kumar
On 05-11-15, 17:33, Rob Herring wrote: > On Wed, Nov 4, 2015 at 9:19 PM, Viresh Kumar wrote: > > On 04-11-15, 21:02, Rob Herring wrote: > >> > +- turbo-mode-: Named turbo-mode property. Similar to > >> > opp-microvolt- > >> > + property, but for turbo mode instead. > >> > + > >> > - opp-suspend

Re: [PATCH v2 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-05 Thread Caesar Wang
I guess the subject: "crypto: rockchip: " Maybe better. 在 2015年11月06日 09:17, Zain Wang 写道: The names registered are: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signe

Re: [PATCH v2 01/11] irqdomain: Added domain bus token DOMAIN_BUS_FSL_MC_MSI

2015-11-05 Thread Jiang Liu
On 2015/10/31 3:43, J. German Rivera wrote: > Since an FSL-MC bus is a new bus type that is neither PCI nor > PLATFORM, we need a new domain bus token to disambiguate the > IRQ domain for FSL-MC MSIs. > > Signed-off-by: J. German Rivera > --- > Changes in v2: none > > include/linux/irqdomain.h

Re: [PATCH RESEND 03/16] Documentation: dt-bindings: hwmon: add TI LMU HWMON binding information

2015-11-05 Thread Rob Herring
On Mon, Nov 02, 2015 at 02:24:22PM +0900, Milo Kim wrote: > Hardware fault monitoring driver is used in LM3633 and LM3697 device. > Just 'compatible' property is required to describe the driver. > > Cc: devicet...@vger.kernel.org > Cc: Guenter Roeck > Cc: Jean Delvare > Cc: Lee Jones > Cc: lm-s

Re: [PATCH v2 02/11] fsl-mc: msi: Added FSL-MC-specific member to the msi_desc's union

2015-11-05 Thread Jiang Liu
On 2015/10/31 3:43, J. German Rivera wrote: > FSL-MC is a bus type different from PCI and platform, so it needs > its own member in the msi_desc's union. > > Signed-off-by: J. German Rivera > --- > Changes in v2: > - Addressed comment from Jiang Liu > * Added a dedicated structure for FSL-MC

Re: [PATCH RESEND 01/16] Documentation: dt-bindings: mfd: add TI LMU device binding information

2015-11-05 Thread Rob Herring
On Mon, Nov 02, 2015 at 02:24:20PM +0900, Milo Kim wrote: > This patch describes overall binding for TI LMU MFD devices. > > Cc: devicet...@vger.kernel.org > Cc: Lee Jones > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Milo Kim Acked-by: Rob Herring > --- > Documentation/devicetree/bind

Re: [PATCH v2 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-05 Thread Caesar Wang
the subject should be add the node/info for crypto... 在 2015年11月06日 09:17, Zain Wang 写道: Add Crypto drivers for rk3288 including crypto controller and dma clk. Signed-off-by: Zain Wang --- Changed in v2: - None Changed in v1: - remove the _crypto suffix - use "rockchip,rk3288-crypto" instead

Re: [RFC v2 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2015-11-05 Thread Rob Herring
On Mon, Nov 02, 2015 at 10:09:25AM +0800, Jitao Shi wrote: > Add documentation for DT properties supported by > ps8640 DSI-eDP converter. > > Signed-off-by: Jitao Shi Acked-by: Rob Herring > --- > .../devicetree/bindings/display/bridge/ps8640.txt | 43 > > 1 file chan

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2015 at 03:04:10AM +0100, Rafael J. Wysocki wrote: > On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > > > On Monday,

Re: [PATCH] perf tools: Change FEATURE-DUMP to FEATURE-DUMP.libbpf for lib bpf

2015-11-05 Thread Yunlong Song
On 2015/11/5 21:23, Arnaldo Carvalho de Melo wrote: > The cset you mention, ed63f34c026e9a60d17fa750ecdfe3f600d49393, just > makes perf call the code introduced by 1b76c13e4b36 and fixed by > 65f041bee783, i.e. you start noticing, when building perf, that those > files are created. > > Anyway, fix

Re: [PATCH kernel] rcu: Define lockless version of list_for_each_entry_rcu

2015-11-05 Thread Alexey Kardashevskiy
On 11/04/2015 01:39 AM, Steven Rostedt wrote: On Tue, 3 Nov 2015 17:57:05 +1100 Alexey Kardashevskiy wrote: This defines list_for_each_entry_lockless. This allows safe list traversing in cases when lockdep() invocation is unwanted like real mode (MMU is off). Signed-off-by: Alexey Kardashevs

Re: [PATCH v2 08/13] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-11-05 Thread Rob Herring
On Sat, Oct 31, 2015 at 08:56:04PM +0800, Chris Zhong wrote: > add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver > > Signed-off-by: Chris Zhong > --- > > Changes in v2: None > > .../bindings/video/dw_mipi_dsi_rockchip.txt| 56 > ++ > 1 file c

Re: fs: out of bounds on stack in iov_iter_advance

2015-11-05 Thread Al Viro
On Fri, Nov 06, 2015 at 01:34:02AM +, Al Viro wrote: > Could you try to reproduce it with this: > > dax_io(): don't let non-error value escape via retval instead of EFAULT > > Signed-off-by: Al Viro > --- > diff --git a/fs/dax.c b/fs/dax.c > index a86d3cc..7b653e9 100644 > --- a/fs/dax.c >

Re: [PATCH v3 1/3] devicetree: mfd: Add binding for the TI LM3533

2015-11-05 Thread Rob Herring
On Fri, Oct 30, 2015 at 04:50:38PM -0700, Bjorn Andersson wrote: > Add the binding for the Texas Instruments LM3533 lighting power > solution. > > Signed-off-by: Bjorn Andersson Acked-by: Rob Herring > --- > > Changes since v2: > - Drop vendor prefix of vendor properties > - Specify unit of v

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-05 Thread Michel Dänzer
On 06.11.2015 05:23, Pavel Machek wrote: > Hi! > The flickering would vanish completely if that's the reason for the issue you are seeing. >>> Try setting ref_div_min and ref_div_max to 2 in radeon_compute_pll_avivo(). >>> >>> Ok, I did this, but no luck, still flickers. But t

Re: [PATCH v2 05/13] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-11-05 Thread Rob Herring
On Sat, Oct 31, 2015 at 08:56:01PM +0800, Chris Zhong wrote: > From: Liu Ying > > This patch adds device tree bindings for Synopsys DesignWare MIPI DSI > host controller DRM bridge driver. > > Signed-off-by: Liu Ying > Signed-off-by: Chris Zhong > --- > > Changes in v2: None > > .../devicet

Re: [PATCH 0/3] cpuidle: small improvements & fixes for menu governor (resend)

2015-11-05 Thread Rik van Riel
On 11/05/2015 05:34 PM, Rafael J. Wysocki wrote: > On Tuesday, November 03, 2015 05:34:16 PM r...@redhat.com wrote: >> While working on a paravirt cpuidle driver for KVM guests, I >> noticed a number of small logic errors in the menu governor >> code. >> >> These patches should get rid of some arti

Re: [PATCH v2 4/4] crypto: rockchip/crypto - add DT bindings documentation

2015-11-05 Thread Rob Herring
On Fri, Nov 06, 2015 at 09:17:24AM +0800, Zain Wang wrote: > Add DT bindings documentation for the rk3288 crypto drivers. > > Signed-off-by: Zain Wang Acked-by: Rob Herring > --- > > Changde in v2: > - None > > Changed in v1: > - remove the _crypto suffix > - use "rockchip,rk3288-crypto" ins

Re: [PATCH v4 1/3] mtd: arasan: Add device tree binding documentation

2015-11-05 Thread punnaiah choudary kalluri
On Fri, Nov 6, 2015 at 5:19 AM, Rob Herring wrote: > On Thu, Nov 05, 2015 at 08:18:42AM +0530, Punnaiah Choudary Kalluri wrote: >> This patch adds the dts binding document for arasan nand flash >> controller. >> >> Signed-off-by: Punnaiah Choudary Kalluri >> --- >> Changes in v4: >> - Added num-c

Re: [PATCH 1/5] pinctrl: qcom: ipq4019: Add IPQ4019 pinctrl support

2015-11-05 Thread Rob Herring
On Thu, Nov 05, 2015 at 04:07:52PM -0600, Matthew McClintock wrote: > From: Varadarajan Narayanan > > Add pinctrl driver support for IPQ4019 platform > > Signed-off-by: Sricharan R > Signed-off-by: Mathieu Olivari > Signed-off-by: Varadarajan Narayanan > Signed-off-by: Matthew McClintock > -

Re: [PATCH 1/2] x86 smpboot: fix cpu_init_udelay=10000

2015-11-05 Thread shrybman
> > Is this really what you intended? The else is commented out so if > > init_udelay is quirked > > to be 0 it will always be reset to UDELAY_10MS_DEFAULT. Also init_udelay is > > unsigned, so > > would UINT_MAX be a better choice? > > Hi Shane, > Thanks for pointing out this flaw. > Seems it w

Re: [RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-05 Thread Sukadev Bhattiprolu
Peter Zijlstra [pet...@infradead.org] wrote: | On Thu, Nov 05, 2015 at 02:16:15AM +0530, Madhavan Srinivasan wrote: | > Second patch updates struct arch_misc_reg for arch/powerpc with pmu registers | > and adds offsetof macro for the same. It extends perf_reg_value() | > to use reg idx to decide o

[PATCH v3 1/2] arm64: dts: exynos7: Add PMIC S2MPS15 device tree node

2015-11-05 Thread Alim Akhtar
This patch adds PMIC (S2MPS15) node of espresso board, which includes addition of regulators and pmic-clk sub-nodes. This patch also adds {vmmc,vqmmc}-supply properties for mmc2 node. Signed-off-by: Abhilash Kesavan Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Canillas Reviewed-by:

[PATCH v3 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-05 Thread Alim Akhtar
This patch enables HS200 mode operation on exynos7 based espresso board. This also removes _broken-cd_ property as per mmc binding documentation which says one of the properties between broken-cd and non-removable should be used. And we already use _non-removable_ as emmc mounted on board which is

[PATCH] perf, tools: Add better errors to annotate

2015-11-05 Thread Andi Kleen
From: Andi Kleen When the browser fails to annotate it is difficult for users to find out what went wrong. Add some errors for objdump failures that are displayed in the UI. Note it would be event better to handle these errors smarter, like falling back to the binary when the debug info is some

Re: [PATCH 01/23] usb: gadget: f_sourcesink: make ISO altset user-selectable

2015-11-05 Thread Peter Chen
On Tue, Nov 03, 2015 at 01:53:40PM +0100, Robert Baldyga wrote: > So far it was decided during the bind process whether is iso altsetting > included to f_sourcesink function or not. This decision was based on > availability of isochronous endpoints. > > Since we can assemble gadget driver using co

Re: [PATCH 02/23] usb: gadget: f_sourcesink: compute req size once

2015-11-05 Thread Peter Chen
On Tue, Nov 03, 2015 at 01:53:41PM +0100, Robert Baldyga wrote: > Compute request size once before the loop instead of computing it in each > loop iteration. > > Signed-off-by: Robert Baldyga > --- > drivers/usb/gadget/function/f_sourcesink.c | 45 > +++--- > 1 file chan

Re: [PATCH] raid5-cache: add crc32c Kconfig dependency

2015-11-05 Thread Neil Brown
On Wed, Nov 04 2015, Arnd Bergmann wrote: > The recent change of the raid5-cache code to use crc32c instead > of crc32 causes link errors when CONFIG_LIBCRC32C is disabled: > > drivers/built-in.o: In function crc32c' > core.c:(.text+0x1c6060): undefined reference to `crc32c' > > This adds an expli

Re: [Bug gold/19197] gold trunk cannot build LInux kernel

2015-11-05 Thread Andi Kleen
> I don't know the history here. hpa? Andi? > > Presumably we could strip the problematic -m argument from just the > 32-bit things is we care. I don't think it was intentional or there from the beginning, probably a bug added somewhere on the way. Removing it seems fine. -Andi -- a...@linux

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-11-05 Thread Viresh Kumar
On 05-11-15, 19:09, dawei chien wrote: > Thank you for your kindly explaining, now I could understand what I > miss, I will send device tree binding on next version such like > following description. > > --- a/Documentation/devicetree/bindings/clock/mt8173-cpu-dvfs.txt > +++ b/Documentation/device

Re: [PATCH 1/5] pinctrl: qcom: ipq4019: Add IPQ4019 pinctrl support

2015-11-05 Thread Matthew McClintock
> On Nov 5, 2015, at 8:34 PM, Rob Herring wrote: > > On Thu, Nov 05, 2015 at 04:07:52PM -0600, Matthew McClintock wrote: >> From: Varadarajan Narayanan >> >> Add pinctrl driver support for IPQ4019 platform >> >> Signed-off-by: Sricharan R >> Signed-off-by: Mathieu Olivari >> Signed-off-by:

linux-next: Tree for Nov 6

2015-11-05 Thread Stephen Rothwell
Hi all, Please do *not* add any material intended for v4.5 to your linux-next included branches until after v4.4-rc1 has been released. Changes since 20151105: The thermal-soc tree still had its build failure for which I reverted a commit. The battery tree still had its build failure so I used

Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.

2015-11-05 Thread Viresh Kumar
Cc'ing Javi (which you should have as he wrote the power-thing for cpu-cooling). On 05-11-15, 19:10, dawei chien wrote: > This is because our platform currently only support mt8173_cpufreq.c, so > that I only add static power model for our owner IC. Bindings are (normally) supposed to be general

Re: fs: out of bounds on stack in iov_iter_advance

2015-11-05 Thread Linus Torvalds
On Thu, Nov 5, 2015 at 6:19 PM, Al Viro wrote: > > How are we going to handle that one? I can put it into mainline pull > request via vfs.git, with Cc: stable, but if e.g. Jens prefers to take it > via the block tree, I'll be glad to leave it for him to deal with. Put it in the vfs tree (I'm hop

Re: [PATCH] x86/mm: Skip the hypervisor range when walking PGD

2015-11-05 Thread Boris Ostrovsky
On 11/05/2015 05:31 PM, H. Peter Anvin wrote: On 11/05/15 10:56, Boris Ostrovsky wrote: The range between 0x8000 and 0x87ff is reserved for hypervisor and therefore we should not try to follow PGD's indexes corresponding to those addresses. While this has alsways been

[PATCH] vfs: clear remainder of 'full_fds_bits' in dup_fd()

2015-11-05 Thread Eric Biggers
This fixes a bug from commit f3f86e33dc3d ("vfs: Fix pathological performance case for __alloc_fd()"). Signed-off-by: Eric Biggers --- fs/file.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/fs/file.c b/fs/file.c index 6f6eb2b..36e5103 100644 --- a/fs/fi

Re: [PATCH RESEND 03/16] Documentation: dt-bindings: hwmon: add TI LMU HWMON binding information

2015-11-05 Thread Kim, Milo
On 11/6/2015 10:57 AM, Rob Herring wrote: On Mon, Nov 02, 2015 at 02:24:22PM +0900, Milo Kim wrote: Hardware fault monitoring driver is used in LM3633 and LM3697 device. Just 'compatible' property is required to describe the driver. Cc: devicet...@vger.kernel.org Cc: Guenter Roeck Cc: Jean De

Re: [patch] mm, oom: add comment for why oom_adj exists

2015-11-05 Thread Hillf Danton
> > /proc/pid/oom_adj exists solely to avoid breaking existing userspace > binaries that write to the tunable. > > Add a comment in the only possible location within the kernel tree to > describe the situation and motivation for keeping it around. > > Signed-off-by: David Rientjes > --- Acked-

Re: [PATCH] vfs: clear remainder of 'full_fds_bits' in dup_fd()

2015-11-05 Thread Linus Torvalds
On Thu, Nov 5, 2015 at 7:42 PM, Eric Biggers wrote: > This fixes a bug from commit f3f86e33dc3d ("vfs: Fix pathological > performance case for __alloc_fd()"). Gaah. Good catch. The first version of that patch allocated the full_fds_bits array separately and always cleared it (using kzalloc), but

Re: Improve spinlock performance by moving work to one core

2015-11-05 Thread Ling Ma
Longman Thanks for your suggestion. We will look for real scenario to test, and could you please introduce some benchmarks on spinlock ? Regards Ling > > Your new spinlock code completely change the API and the semantics of the > existing spinlock calls. That requires changes to thousands of pla

Re: [PATCH] vfs: clear remainder of 'full_fds_bits' in dup_fd()

2015-11-05 Thread Eric Biggers
On Thu, Nov 05, 2015 at 08:15:49PM -0800, Linus Torvalds wrote: > Would you mind doing that version of the patch instead? I can do it > too, but I'd rather give authorship to you, since you found the stupid > issue, which is actually the much bigger deal. Sure, I'll try it that way and see what it

[PATCH] arm64: defconfig: Enable samsung MFD and related configs

2015-11-05 Thread Alim Akhtar
This patch enables below configs by default: * CONFIG_MFD_SEC_CORE * CONFIG_REGULATOR_S2MPS11 * CONFIG_RTC_DRV_S5M Signed-off-by: Alim Akhtar --- arch/arm64/configs/defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig

[PATCH v2 1/1] staging: rdma: hfi1 : Prefer using the BIT macro

2015-11-05 Thread Sunny Kumar
This patch replaces bit shifting on 1 with the BIT(x) macro Signed-off-by: Sunny Kumar --- drivers/staging/rdma/hfi1/user_sdma.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rdma/hfi1/user_sdma.c b/drivers/staging/rdma/hfi1/user_sdma.c index 36c

Re: [PATCH] arm64: defconfig: Enable samsung MFD and related configs

2015-11-05 Thread Krzysztof Kozlowski
2015-11-06 13:35 GMT+09:00 Alim Akhtar : > This patch enables below configs by default: > * CONFIG_MFD_SEC_CORE > * CONFIG_REGULATOR_S2MPS11 > * CONFIG_RTC_DRV_S5M Instead of duplicating in the description the contents of the patch, please describe why you want this and for which devices. Best

Re: "compatible" and "model" properties in .dts for ARC boards

2015-11-05 Thread Vineet Gupta
+CC lkml,Arnd, Rob On Friday 06 November 2015 12:20 AM, Alexey Brodkin wrote: > Hi Vineet, > > During OpenWRT upsreaming process one interesting topic was raised. > See in the middle of > https://lists.openwrt.org/pipermail/openwrt-devel/2015-November/036959.html > > In Device Tree descriptions f

RE: [PATCH 1/1] I2C: designware: fix IO timeout issue for AMD controller

2015-11-05 Thread Yu, Xiangliang
> -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Thursday, November 05, 2015 9:52 PM > To: Yu, Xiangliang > Cc: andriy.shevche...@linux.intel.com; jarkko.nik...@linux.intel.com; > w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vge

Re: [PATCH] crypto: sun4i-ss: add missing statesize

2015-11-05 Thread Herbert Xu
On Thu, Nov 05, 2015 at 08:07:19AM -0800, Maxime Ripard wrote: > > On Thu, Nov 05, 2015 at 08:48:57AM +0100, LABBE Corentin wrote: > > sun4i-ss implementaton of md5/sha1 is via ahash algorithms. > > A recent change make impossible to load them without giving statesize. > > Which one? We recently

Re: NETIF_F_GSO_SOFTWARE vs NETIF_F_GSO

2015-11-05 Thread Herbert Xu
On Fri, Nov 06, 2015 at 02:31:59AM +0100, Jason A. Donenfeld wrote: > > So far implementing (3) is failing miserably. Is there anything wrong > with my general idea that might make this a priori impossible? For > example, will udp_tunnel_xmit_skb not accept super-packets? Or, am I > just not makin

Re: [GIT] Sparc

2015-11-05 Thread David Miller
From: Linus Torvalds Date: Thu, 5 Nov 2015 16:43:52 -0800 > On Thu, Nov 5, 2015 at 1:39 PM, David Miller wrote: >> >> 5) Fix iommu-common code so it doesn't emit rediculous warnings >>on some architectures, particularly ARM. > > Heh. So looking at that patch, I can't but help to react that

Re: [PATCH v2 5/5] ARM: dts: AM4372: add entry for qspi mmap region

2015-11-05 Thread Felipe Balbi
Hi, Rob Herring writes: > On Tue, Nov 03, 2015 at 03:36:14PM +0530, Vignesh R wrote: >> Add qspi memory mapped region entries for AM43xx based SoCs. Also, >> update the binding documents for the controller to document this change. >> >> Signed-off-by: Vignesh R > > Acked-by: Rob Herring > >>

προσφορά δανείου

2015-11-05 Thread EASYLOANS FINANCIAL LTD
-- Καλημέρα «Το όνομά μου είναι Μαρία Λέων, μια ιδιωτική εταιρεία δανεισμού EASYLOANS ΟΙΚΟΝΟΜΙΚΕΣ LTD, που εδρεύει στην Αγγλία και την Ιταλία, Προσφέρουμε όλα τα είδη των δανείων προς ιδιώτες και επιχειρήσεις, να κάνει τον εαυτό σας οικονομικά σταθερά για την επίτευξη των δανείων ΟΙΚΟΝΟΜΙΚΕΣ

Question with maxcpus= parameter.

2015-11-05 Thread Zhenzhong Duan
Hi Maintainers, Recently we faced an cpu online issue with maxcpus= parameter. We want to have 4 cpus onlined at bootup, test 3.8.13-stable on an 72 cpus env with maxcpus=4, I found more cpus than 4 are onlined. It's the udev scripts make them onlined. But below script exist for a long time. A

[PATCH] goldfish: add goldfish match node for dt driver probe

2015-11-05 Thread yalin wang
Signed-off-by: yalin wang --- drivers/input/keyboard/goldfish_events.c | 9 + drivers/platform/goldfish/goldfish_pipe.c | 11 ++- drivers/power/goldfish_battery.c | 11 ++- drivers/staging/goldfish/goldfish_audio.c | 11 ++- drivers/staging/goldfish/gold

Re: [PATCH] MAINTAINERS: update DT binding doc locations

2015-11-05 Thread Vineet Gupta
On Friday 06 November 2015 01:11 AM, Rob Herring wrote: > After the recent moving of DT binding documents, some maintainers entries > are stale. Update them to the new locations. > > In bindings/fb/, there were only 2 files and I'm assuming the FB > maintainers don't want to be copied on all of bin

[PATCH v2] arm64: defconfig: Enable samsung MFD and related configs

2015-11-05 Thread Alim Akhtar
Exynos7 based espresso board uses S2MPS15, a multifunction device. This patch enables S2MPS1X regulator, pmic-clk and rtc drivers utilized by the same. Signed-off-by: Alim Akhtar --- Changes since v1: * updated the comment message to describe which platfrom uses it. * enable COMMON_CLK_S2MPS11 wh

[PATCH] Staging: gdm72xx: Fix sparse warning

2015-11-05 Thread Ksenija Stanojevic
Fix following sparse warnings by adding new structure for user-space data (struct data_us) in wm_ioctl.h: drivers/staging/gdm72xx/gdm_wimax.c:381:37: warning: incorrect type in argument 1 (different address spaces) drivers/staging/gdm72xx/gdm_wimax.c:381:37:expected void [noderef] *to drivers/

Re: [PATCH] goldfish: add goldfish match node for dt driver probe

2015-11-05 Thread kbuild test robot
Hi yalin, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.3 next-20151105] url: https://github.com/0day-ci/linux/commits/yalin-wang/goldfish-add-goldfish-match-node-for-dt-driver-probe/20151106-132647 config: x86_64-allyesconfig (attached as .config) reproduce

RE: [f2fs-dev] [PATCH] f2fs: refactor __find_rev_next_{zero}_bit

2015-11-05 Thread Fan Li
In bitmaps of f2fs, bytes are sorted in ascending order, but bits in a byte are sorted in descending order. It seems to be the reason why __reverse_ulong is needed. May I ask why f2fs bitmap apply such order? > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: F

Re: [PATCH v2] arm64: defconfig: Enable samsung MFD and related configs

2015-11-05 Thread Krzysztof Kozlowski
2015-11-06 14:27 GMT+09:00 Alim Akhtar : > Exynos7 based espresso board uses S2MPS15, a multifunction device. > This patch enables S2MPS1X regulator, pmic-clk and rtc drivers utilized by > the same. > > Signed-off-by: Alim Akhtar > --- > Changes since v1: > * updated the comment message to describ

Re: [RFC PATCH 0/7] reset: make RESET_CONTROLLER a select'ed option

2015-11-05 Thread Masahiro Yamada
Hi Arnd, 2015-11-05 23:49 GMT+09:00 Arnd Bergmann : > On Thursday 05 November 2015 20:15:21 Masahiro Yamada wrote: >> When I was implementing a new reset controller for my SoCs, >> I struggled to make my sub-menu shown under the reset >> controller menu. >> I noticed the Kconfig in reset sub-sys

Re: Question with maxcpus= parameter.

2015-11-05 Thread Raj, Ashok
Hi Zduan do you know which distribution it is? This isn't a kernel bug. if you look at dmesg you should see how many CPUs were booted. But the sysfs files are created and the usermode script is bringing every cpu online. Tony mentioned this to me couple weeks ago when i was fixing another bug in

Re: [RFC PATCH 2/7] spi: sunxi: remove redundant "depends on RESET_CONTROLLER"

2015-11-05 Thread Masahiro Yamada
2015-11-06 0:05 GMT+09:00 Mark Brown : > On Thu, Nov 05, 2015 at 09:32:15PM +0900, Masahiro Yamada wrote: > >> For compile test, right, "depends on RESET_CONTROLLER" is >> redundant in the first place. > >> For run-time on real SoCs,the driver failed at the following point >> without the reset-cont

RE: [PATCH] ARM: add v7 LPAE multi-platform defconfig

2015-11-05 Thread Huan Wang
> On Wednesday 04 November 2015 03:17:06 Huan Wang wrote: > > > On Tue, Oct 27, 2015 at 10:35:07PM +0800, Alison Wang wrote: > > > > v7 LPAE multi-platform defconfig is based on v7 multi-platform > > > > defconfig and adds LPAE support. > > > > > > > > This defconfig is verified on LS1021A which en

Re: [RFC PATCH 3/7] spi: tegra: remove redundant "depends on RESET_CONTROLLER"

2015-11-05 Thread Masahiro Yamada
2015-11-05 20:50 GMT+09:00 Mark Brown : > On Thu, Nov 05, 2015 at 08:15:24PM +0900, Masahiro Yamada wrote: >> ARCH_TEGRA selects RESET_CONTROLLER. >> The dependency "depends on RESET_CONTROLLER" is already met. > >> tristate "NVIDIA Tegra114 SPI Controller" >> depends on (ARCH_TEGRA &&

[PATCH 1/2] usb: chipidea: msm: Use posted data writes on AHB

2015-11-05 Thread Andy Gross
This patch sets the AHBMODE to allow for posted data writes. This results in higher performance. Signed-off-by: Andy Gross --- drivers/usb/chipidea/ci_hdrc_msm.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/c

[PATCH 0/2] Configure AHB to post data transfers

2015-11-05 Thread Andy Gross
This patch configures the ChipIdea USB 2.0 controller found on Qualcomm platforms to post data transfers on the AHB bus. This yields approximately a 50% increase in performance. Andy Gross (2): usb: chipidea: msm: Use posted data writes on AHB usb: host: ehci-msm: Use posted data writes on AH

[PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB

2015-11-05 Thread Andy Gross
This patch sets the AHBMODE to allow for posted data writes. This results in higher performance. Signed-off-by: Andy Gross --- drivers/usb/host/ehci-msm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index c

[PATCH v1] mm: hwpoison: adjust for new thp refcounting

2015-11-05 Thread Naoya Horiguchi
Some mm-related BUG_ON()s could trigger from hwpoison code due to recent changes in thp refcounting rule. This patch fixes them up. In the new refcounting, we no longer use tail->_mapcount to keep tail's refcount, and thereby we can simplify get_hwpoison_page() and remove put_hwpoison_page() (by r

Re: Question with maxcpus= parameter.

2015-11-05 Thread Zhenzhong Duan
Thanks for your quick response, Raj. It's OL6 compatible with rhel6. zduan 在 2015/11/6 14:57, Raj, Ashok 写道: Hi Zduan do you know which distribution it is? This isn't a kernel bug. if you look at dmesg you should see how many CPUs were booted. But the sysfs files are created and the usermode

[PATCH 0/3] Documentation: Email client improvements

2015-11-05 Thread Eddie Kovsky
A recent mailing list discussion about developer tools extended over to Google+. https://plus.google.com/+DarrenHart/posts/EbVFWJu3FK9 Several members of the kernel community felt that improving the email client documentation would make it easier for new developers to get started submitting patch

[PATCH 2/3] Documentation: Add note on sending files directly with Mutt

2015-11-05 Thread Eddie Kovsky
Like 'git send-email', Mutt can also be used to send patches generated with 'git format-patch'. This works regardless of the editor the contributor has set up to use with Mutt. Signed-off-by: Eddie Kovsky --- Documentation/email-clients.txt | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH 1/3] Documentation: Clarify use of Gmail for emailing patches

2015-11-05 Thread Eddie Kovsky
Clarify that Gmail can be used to send patches, provided you use Gmail as a server and avoid the Web UI. Signed-off-by: Eddie Kovsky --- Documentation/email-clients.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/email-clients.txt b/Documentation/email-cli

<    3   4   5   6   7   8   9   >