Re: [PATCH v4 20/21] tpm1: reimplement tpm1_continue_selftest() using tpm_buf

2018-09-25 Thread Jarkko Sakkinen
On Tue, 2018-09-25 at 17:25 +0300, Jarkko Sakkinen wrote: > On Tue, 2018-09-25 at 15:53 +0530, Nayna Jain wrote: > > > + > > > + rc = tpm_transmit_cmd(chip, NULL, &buf.data, PAGE_SIZE, > > > > I think this needs to buf.data instead of &buf.data > > > > Thanks & Regards, > > - Nayna > > You

Re: [PATCH v4 10/21] tpm: factor out tpm 1.x pm suspend flow into tpm1-cmd.c

2018-09-25 Thread Jarkko Sakkinen
On Fri, 2018-09-21 at 16:58 +0300, Tomas Winkler wrote: > Factor out TPM 1.x suspend flow from tpm-interface.c into a new function > tpm1_pm_suspend() in tpm1-cmd.c > > Signed-off-by: Tomas Winkler > --- > V2-V3: Rebase > V4: 1. Add kdoc for tpm1_pm_suspend(). > 2. Fix commit message. > > d

Re: [PATCH v5 3/5] cgroup/cpuset: make callback_lock raw

2018-09-25 Thread Juri Lelli
Hi Li Zefan and Tejun Heo, It would be great if you could please have a look at the proposed change below (and the rest of the set of course :-). Another bit that I'd be more comfortable after hearing your word on it is this one (discussed over 5/5): https://lore.kernel.org/lkml/20180925130750.G

Re: [PATCH] soc: mediatek: pwrap: use true and false for boolean values

2018-09-25 Thread Matthias Brugger
On 05/08/2018 03:02, Gustavo A. R. Silva wrote: > Return statements in functions returning bool should use true or false > instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva > --- Applied, thanks! Matthias > drivers

Re: [PATCH 0/2] perf script python: Database export fixes

2018-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2018 at 02:08:06PM +0300, Adrian Hunter escreveu: > On 11/09/18 14:45, Adrian Hunter wrote: > > Hi > > > > Here are a couple of database export fixes. > > > > > > Adrian Hunter (2): > > perf script python: Fix export-to-postgresql.py occasional failure > > perf script

Re: [PATCH 2/2] iio: magnetometer: Add driver support for PNI RM3100

2018-09-25 Thread Phil Reid
On 25/09/2018 9:30 PM, Jonathan Cameron wrote: +static irqreturn_t rm3100_trigger_handler(int irq, void *p) +{ + struct iio_poll_func *pf = p; + struct iio_dev *indio_dev = pf->indio_dev; + struct rm3100_data *data = iio_priv(indio_dev); + struct regmap *regmap = data->reg

Re: [PATCH v5 0/6] Move swapper_pg_dir to rodata section.

2018-09-25 Thread Catalin Marinas
On Tue, Sep 25, 2018 at 03:06:25PM +0100, Mark Rutland wrote: > On Tue, Sep 25, 2018 at 05:53:16PM +0800, Jun Yao wrote: > > On Mon, Sep 24, 2018 at 06:19:36PM +0100, Mark Rutland wrote: > > > I've pushed a branch with the cleanups I requested [1] folded in. > > > > > > I'm still a bit worried abo

Re: [PATCH v4 14/21] tpm: tpm-interface.c drop unused macros

2018-09-25 Thread Jarkko Sakkinen
On Fri, 2018-09-21 at 16:58 +0300, Tomas Winkler wrote: > The commit: > "tpm_tis: further simplify calculation of ordinal duration" > left unused macros, we can drop them now. > > Fixes compilation warnings: > tpm-interface.c:37:0: warning: macro "TPM_PROTECTED_COMMAND" is not used [- > Wunused-ma

Re: [PATCH v4 18/21] tmp1: rename tpm1_pcr_read_dev to tpm1_pcr_read().

2018-09-25 Thread Jarkko Sakkinen
On Fri, 2018-09-21 at 16:58 +0300, Tomas Winkler wrote: > Rename tpm1_pcr_read_dev to tpm1_pcr_read() to match > the counterpart tpm2_pcr_read(). > > > Signed-off-by: Tomas Winkler > --- > V4: New in the series. > > drivers/char/tpm/tpm-interface.c | 2 +- > drivers/char/tpm/tpm-sysfs.c |

[PATCH v2 0/2] debugobjects: Fix potential hard lockup by disabling lockdep

2018-09-25 Thread Waiman Long
v2: - Add a lockdep patch to fix a dmesg warning message due to the use of the novalidate class. The only locking used by the debugobjects code is just 2 sets of raw spinlocks for synchronization purpose. When lockdep is enabled, the locking operation itself will become much more expensive

[PATCH v2 1/2] locking/lockdep: Don't warn class/lock name mismatch for novalidate class

2018-09-25 Thread Waiman Long
For the special novalidate class (lockdep_set_novalidate_class), multiple locks with different names may use the same class. The WARN_ON_ONCE() check in look_up_lock_class() will then report an unnecessary warning. The current users of lockdep_set_novalidate_class() includes the device mutex, one

[PATCH v2 2/2] debugobjects: Disable lockdep tracking of debugobjects internal locks

2018-09-25 Thread Waiman Long
It was discovered that running the ltp openposix_testsuite sigqueue-09-1 test on a certain 8-sock IvyBridge system caused it to have a hard lockup with a full debug kernel. [89981.861500] NMI watchdog: Watchdog detected hard LOCKUP on cpu 17 : [89981.939812] irq event stamp: 1166122 [89981.9

Re: [PATCH v4 21/21] tpm: use u32 instead of int for PCR index

2018-09-25 Thread Jarkko Sakkinen
On Fri, 2018-09-21 at 16:58 +0300, Tomas Winkler wrote: > The TPM specs defines PCR index a positive number, there is > no reason to use a signed number and it's also a possible security > issue as currently no functions check for a negative index, > which my into a large number when converted to u

Re: [PATCH 4.14 156/173] gpiolib: Respect error code of ->get_direction()

2018-09-25 Thread Greg Kroah-Hartman
On Tue, Sep 25, 2018 at 03:12:13PM +0100, Jon Hunter wrote: > Hi Greg, > > On 24/09/18 12:53, Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Andy Shevchenko > > > > [ Upstream commit 36b312792b

[PATCH 1/2] x86/amd_nb: Add vendor checking for strict function access

2018-09-25 Thread Pu Wen
To prevent further PCI device ids checking in early_gart_iommu_check which cannot happen both on Hygon and Intel platform, the function amd_gart_present should return if it's not a AMD CPU. Also only AMD or Hygon CPU should use the functionality provided by early_is_amd_nb. Signed-off-by: Pu Wen

[PATCH 2/2] x86/pci: Add Hygon Dhyana support to PCI and north bridge

2018-09-25 Thread Pu Wen
As Hygon registered its PCI Vendor ID as a new one 0x1d94, and there are PCI Devices 0x1450/0x1463/0x1464 for Host bridge on Hygon Dhyana platform, so add Hygon Dhyana support to the PCI and north bridge subsystem by using the code path of AMD family 17h. Signed-off-by: Pu Wen Acked-by: Bjorn Hel

Re: [PATCH RESEND] trace_uprobe: support reference counter in fd-based uprobe

2018-09-25 Thread Song Liu
gt; > [auto build test ERROR on tip/perf/core] > [also build test ERROR on v4.19-rc5 next-20180925] > [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/Song-Liu/trace_uprob

Editing for 1

2018-09-25 Thread Heather
Want editing for your photos? We can help you for this. We can do cutting out and retouching for your ecommerce photos, jewelry photos retouching, portrait photos or wedding photos. Turnaround time is fast Send us one photo, we wil do testing for you. Thanks, Heather

Re: [GIT PULL] Char/Misc driver fixes for 4.19-rc6

2018-09-25 Thread Greg KH
On Tue, Sep 25, 2018 at 04:23:44PM +0200, Greg KH wrote: > [Yes, the oddity of sending a pull request to myself is not lost on me...] And, I totally messed this up. Ugh, what kind of idiot does something like this! It's not like I haven't been doing this for years! I should know better... Here

[PATCH -next] uio: make symbol 'uio_class_registered' static

2018-09-25 Thread Wei Yongjun
Fixes the following sparse warning: drivers/uio/uio.c:277:6: warning: symbol 'uio_class_registered' was not declared. Should it be static? Fixes: ae61cf5b9913 ("uio: ensure class is registered before devices") Signed-off-by: Wei Yongjun --- drivers/uio/uio.c | 2 +- 1 file changed, 1 insertion

Re: [PATCH] pinctrl: paris: fix check on EINT_NA comparison

2018-09-25 Thread Dan Carpenter
On Tue, Sep 25, 2018 at 02:21:30PM +0100, Colin King wrote: > From: Colin Ian King > > Currently, the check on desc->eint.eint_n == EINT_NA is always false > because this is comparing a u16 to -1 which can never be true. Fix > this by casting EINT_NA to u16. > > Fixes: fb5fa8dc151b ("pinctrl: m

[PATCH net-next v6 09/23] zinc: Poly1305 generic C implementations and selftest

2018-09-25 Thread Jason A. Donenfeld
These two C implementations -- a 32x32 one and a 64x64 one, depending on the platform -- come from Andrew Moon's public domain poly1305-donna portable code, modified for usage in the kernel and for usage with accelerated primitives. Information: https://cr.yp.to/mac.html Signed-off-by: Jason A. D

Re: [PATCH] pinctrl: paris: fix check on EINT_NA comparison

2018-09-25 Thread Colin Ian King
On 25/09/18 15:58, Dan Carpenter wrote: > On Tue, Sep 25, 2018 at 02:21:30PM +0100, Colin King wrote: >> From: Colin Ian King >> >> Currently, the check on desc->eint.eint_n == EINT_NA is always false >> because this is comparing a u16 to -1 which can never be true. Fix >> this by casting EINT_NA

[PATCH 1/2] dt-bindings: mmc: sdhci-msm: Add flag for restoring dll

2018-09-25 Thread Veerabhadrarao Badiganti
The dll settings of SDHC controller needs to be restored whenever controller clocks are gated. This restoration is needed only on few SDHCI-MSM controllers. This dt flag indicates whether dll restoration is needed or not. Signed-off-by: Veerabhadrarao Badiganti --- Documentation/devicetree/bindi

[PATCH 2/2] mmc: sdhci-msm: Re-initialize DLL if MCLK is gated dynamically

2018-09-25 Thread Veerabhadrarao Badiganti
On few SDHCI-MSM controllers, the host controller's clock tuning circuit may go out of sync if controller clocks are gated which eventually will result in data CRC, command CRC/timeout errors. To overcome this h/w limitation, the DLL needs to be re-initialized and restored with its old settings onc

Editing for 3

2018-09-25 Thread Heather
Want editing for your photos? We can help you for this. We can do cutting out and retouching for your ecommerce photos, jewelry photos retouching, portrait photos or wedding photos. Turnaround time is fast Send us one photo, we wil do testing for you. Thanks, Heather

Re: [PATCH v1 1/5] arm64: dts: mt7622: add timer, CCI-400 and PMU nodes

2018-09-25 Thread Matthias Brugger
Whole series pushed to v4.19-next/dts64 Thanks! On 18/08/2018 18:02, Ryder Lee wrote: > Add device tree entries for timer, ARM CCI-400 and its PMU. > Otherwise, we add a cortex-a53-pmu node to enable hw perfevents. > > Signed-off-by: Ryder Lee > --- > change since v1: > - add a pmu node. > ---

Re: Code of Conduct: Let's revamp it.

2018-09-25 Thread Theodore Y. Ts'o
On Tue, Sep 25, 2018 at 02:36:45PM +0200, Christoph Conrads wrote: > The CoC is a political document: > https://web.archive.org/web/20180924234027/https://twitter.com/coralineada/status/1041465346656530432 ... > Here is the author's post-meritocracy manifesto: > https://postmeritocracy.org/ T

Jackpot Email Alert-Only 9 Hours Left power-Ball Mega-Millions!!

2018-09-25 Thread POWERBALL UNITED STATES
POWERBALL HEADQUARTERS FLORIDA 250 Marriot main street Dr Tallahassee 32301 President Home Supplies 100 Broadway Lane United states of America NW80QE. REF: SNT/FRN/17LL12-2018, POWER-BALL EMAIL JACKPOT IS ON AGAIN!!! THE USA POWERBALL MEGA MILLION JUST REACHED AN AMAZING JACKPOT OF USD 8.2M YOU H

[PATCH] i2c: mux: pca954x: simplify code to reach the adapter

2018-09-25 Thread Luca Ceresoli
struct i2c_client has a direct pointer to the adapter, no need to dig it out of the struct device tree. Signed-off-by: Luca Ceresoli --- drivers/i2c/muxes/i2c-mux-pca954x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxe

Re: [PATCH] usb: usbfs: fix crash in check_ctrlrecip()->usb_find_alt_setting()

2018-09-25 Thread Andrey Konovalov
On Tue, Sep 25, 2018 at 5:15 PM, Alan Stern wrote: > On Tue, 25 Sep 2018, Vladis Dronov wrote: > >> > What reason is there for having two different fixes for the same bug? >> > This one isn't going to get into any mainline trees that don't already >> > have c9a4cb204e9e. >> >> I believe this is th

Re: [RESEND PATCH] Revert "pwm: Set class for exported channels in sysfs"

2018-09-25 Thread Thierry Reding
On Tue, Sep 25, 2018 at 03:59:26PM +0200, Fabrice Gasnier wrote: > On 09/24/2018 05:50 PM, Fabrice Gasnier wrote: > > On 09/24/2018 04:23 PM, Thierry Reding wrote: > >> On Mon, Sep 24, 2018 at 03:59:03PM +0200, Fabrice Gasnier wrote: > >>> On 09/24/2018 01:53 PM, Thierry Reding wrote: > On Fri

Re: [PATCH 0/2] spi: Add Macronix controller driver

2018-09-25 Thread Boris Brezillon
Hi Mason, On Mon, 17 Sep 2018 15:16:17 +0800 masonccy...@mxic.com.tw wrote: > From: Mason Yang > > Hi Mark and Trent, > > I patched spi-mxic.c and add the run time PM function. BTW, you forgot to add v2 in the subject prefix (can be done by passing -vX to git format-patch, where X is the vers

Re: [PATCH v2] eeprom: at24: Fix unexpected timeout under high load

2018-09-25 Thread Bartosz Golaszewski
czw., 16 sie 2018 o 19:46 Mark Jonas napisał(a): > > From: Wang Xin > > Within at24_loop_until_timeout the timestamp used for timeout checking > is recorded after the I2C transfer and sleep_range(). Under high CPU > load either the execution time for I2C transfer or sleep_range() could > actually

[PATCH v2 bpf-next 06/10] bpftool: add support for PERCPU_CGROUP_STORAGE maps

2018-09-25 Thread Roman Gushchin
This commit adds support for BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE map type. Signed-off-by: Roman Gushchin Acked-by: Jakub Kicinski Cc: Daniel Borkmann Cc: Alexei Starovoitov --- tools/bpf/bpftool/map.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/bpf/bpftool/map.

[PATCH] Raise maximum number of memory controllers

2018-09-25 Thread Justin Ernst
We observe an oops in the skx_edac module during boot. Examining /var/log/messages: [ 3401.985757] EDAC MC0: Giving out device to module skx_edac controller Skylake Socket#0 IMC#0 [ 3401.985887] EDAC MC1: Giving out device to module skx_edac controller Skylake Socket#0 IMC#1 [ 3401.986014] EDAC M

Re: [PATCH] ARM: dts: da850-lego-ev3: slow down A/DC as much as possible

2018-09-25 Thread David Lechner
On 9/25/18 1:04 AM, Sekhar Nori wrote: Hi David, On Monday 24 September 2018 07:01 AM, David Lechner wrote: Due to the electrical design of the A/DC circuits on LEGO MINDSTORMS EV3, if we are reading analog values as fast as possible (i.e. using DMA to service the SPI) the A/DC chip will rea

Re: arc vendor prefix

2018-09-25 Thread Rob Herring
On Thu, Sep 20, 2018 at 01:09:52PM +0100, Alan Cox wrote: > On Tue, 18 Sep 2018 21:05:20 -0400 > Brian Dodge wrote: > > > Hi, > > > > In the linux kernel commit 91ab076e3a2f092254fe5231bbfa92b37fd52e38 the > > vendor prefix "arctic" was added to vendor-prefixes.txt. > > > > The original change

[PATCH v2 bpf-next 03/10] bpf: introduce per-cpu cgroup local storage

2018-09-25 Thread Roman Gushchin
This commit introduced per-cpu cgroup local storage. Per-cpu cgroup local storage is very similar to simple cgroup storage (let's call it shared), except all the data is per-cpu. The main goal of per-cpu variant is to implement super fast counters (e.g. packet counters), which don't require neith

[PATCH v7 06/39] component: alloc component_match without any comp to match

2018-09-25 Thread Ramalingam C
If all the components associated to a component master is not added to the component framework due to the HW capability or Kconfig selection, component_match will be NULL at component_master_add_with_match(). To avoid this, component_match_alloc() is added to the framework, to allcoate the struct

Re: [PATCH 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-09-25 Thread Christoph Hellwig
On Tue, Sep 25, 2018 at 10:19:55AM +0800, Zong Li wrote: > The RV32 need the umoddi3 to do modulo when the operands are long long > type, like other libraries implementation such as ucmpdi2, lshrdi3 and > so on. I encounter the undefined reference 'umoddi3' when I use the in > house dma driver, alt

Re: [PATCH] Raise maximum number of memory controllers

2018-09-25 Thread Borislav Petkov
On Tue, Sep 25, 2018 at 09:34:49AM -0500, Justin Ernst wrote: > We observe an oops in the skx_edac module during boot. > Examining /var/log/messages: > [ 3401.985757] EDAC MC0: Giving out device to module skx_edac controller > Skylake Socket#0 IMC#0 > [ 3401.985887] EDAC MC1: Giving out device to

Re: [PATCH V2 26/27] mmc: mmci: add DT bindings for STM32 sdmmc

2018-09-25 Thread Rob Herring
On Fri, Sep 21, 2018 at 11:46:20AM +0200, Ludovic Barre wrote: > From: Ludovic Barre > > STM32 sdmmc variant has support to: > -Indicate signal directions (only one property > for d0dir, d123dir, cmd_dir) > -Select command and data phase relation. > -Select "clock in" from an external driver. >

Re: [GIT PULL] Char/Misc driver fixes for 4.19-rc6

2018-09-25 Thread Arnd Bergmann
On Tue, Sep 25, 2018 at 4:54 PM Greg KH wrote: > > On Tue, Sep 25, 2018 at 04:23:44PM +0200, Greg KH wrote: > > [Yes, the oddity of sending a pull request to myself is not lost on me...] > > And, I totally messed this up. Ugh, what kind of idiot does something > like this! It's not like I haven'

[RFC][PATCH 0/8] drop the mmap_sem when doing IO in the fault path

2018-09-25 Thread Josef Bacik
Now that we have proper isolation in place with cgroups2 we have started going through and fixing the various priority inversions. Most are all gone now, but this one is sort of weird since it's not necessarily a priority inversion that happens within the kernel, but rather because of something us

Re: [PATCH v2 1/2] printk: Fix panic caused by passing log_buf_len to command line

2018-09-25 Thread He Zhe
On 2018年09月25日 21:31, Sergey Senozhatsky wrote: > On (09/25/18 14:23), Petr Mladek wrote: >> The 32GB was mentioned as an example one year ego. This is not enough >> for a new syscall from my point of view. > I agree. I didn't think of syslog(); was merely thinking about logbuf > and flushing it

Re: [PATCH v2 2/2] debugobjects: Disable lockdep tracking of debugobjects internal locks

2018-09-25 Thread Peter Zijlstra
On Tue, Sep 25, 2018 at 10:41:09AM -0400, Waiman Long wrote: > diff --git a/lib/debugobjects.c b/lib/debugobjects.c > index 70935ed91125..68d72ed9ca22 100644 > --- a/lib/debugobjects.c > +++ b/lib/debugobjects.c > @@ -1106,8 +1106,15 @@ void __init debug_objects_early_init(void) > { > int i;

Re: [PATCH] ARM: dts: imx6ull: update vdd_soc voltage for 900MHz operating point

2018-09-25 Thread Shawn Guo
On Wed, Sep 12, 2018 at 04:13:29PM +0800, Anson Huang wrote: > Update VDD_SOC voltage to 1.25V for 900MHz operating point > according to datasheet Rev. 1.3, 08/2018, 25mV is added to > the minimum allowed values to cover power supply ripple. > > Signed-off-by: Anson Huang Applied, thanks.

[PATCH v2 0/3] mm: Fix for movable_node boot option

2018-09-25 Thread Masayoshi Mizuma
This patch series are the fix for movable_node boot option issue which was introduced by commit 124049decbb1 ("x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"). First patch, revert the commit. Second and third patch fix the original issue. Masayoshi Mizuma (1): Revert "x86/e820: pu

[PATCH v2 1/3] Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"

2018-09-25 Thread Masayoshi Mizuma
From: Masayoshi Mizuma commit 124049decbb1 ("x86/e820: put !E820_TYPE_RAM regions into memblock.reserved") breaks movable_node kernel option because it changed the memory gap range to reserved memblock. So, the node is marked as Normal zone even if the SRAT has Hot plaggable affinity. ==

[PATCH v2 3/3] mm: return zero_resv_unavail optimization

2018-09-25 Thread Masayoshi Mizuma
From: Pavel Tatashin When checking for valid pfns in zero_resv_unavail(), it is not necessary to verify that pfns within pageblock_nr_pages ranges are valid, only the first one needs to be checked. This is because memory for pages are allocated in contiguous chunks that contain pageblock_nr_pages

[PATCH v2 2/3] mm: zero remaining unavailable struct pages

2018-09-25 Thread Masayoshi Mizuma
From: Naoya Horiguchi There is a kernel panic that is triggered when reading /proc/kpageflags on the kernel booted with kernel parameter 'memmap=nn[KMG]!ss[KMG]': BUG: unable to handle kernel paging request at fffe PGD 9b20e067 P4D 9b20e067 PUD 9b210067 PMD 0 Oops: [#1] SM

Re: [PATCH 1/3] dt-bindings: pwrap: mediatek: add pwrap support for MT6765

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > Add binding document of pwrap for MT6765 SoCs. > > Signed-off-by: Argus Lin > --- Applied to v4.19-next/soc > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree

Re: [PATCH 2/3] soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > mt6765 is a highly integrated SoCs, it uses mt6357 for power management. > This patch adds pwrap driver to access mt6357. Pwrap of mt6765 support > dynamic priority meichanism, sequence monitor and starvation mechanism > to make transaction more reliable.

Re: [PATCH 3/3] soc: mediatek: pwrap: add mt6357 driver for mt6765 SoCs

2018-09-25 Thread Matthias Brugger
On 04/09/2018 14:31, Argus Lin wrote: > MT6357 is a new power management IC and it is used for mt6765 SoCs. > To define mt6357_regs for pmic register mapping and pmic_mt6357 > for accessing register. > > Signed-off-by: Argus Lin Needed some handwork to get it applied, please check that no bug

Re: [PATCH V3 0/4] Changes for SDCC5 version

2018-09-25 Thread Craig
On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti wrote: > >On 9/25/2018 1:18 AM, Craig Tatlor wrote: >> What socs have you tested this on? >> On sdm660 it seems to crash device >> when writing pwr ctl. > >Hi >We have tested this on SDM845. >SDM660 also has SDCC5 controller, so you w

Editing for 4

2018-09-25 Thread Heather
Want editing for your photos? We can help you for this. We can do cutting out and retouching for your ecommerce photos, jewelry photos retouching, portrait photos or wedding photos. Turnaround time is fast Send us one photo, we wil do testing for you. Thanks, Heather

Re: POSIX violation by writeback error

2018-09-25 Thread Theodore Y. Ts'o
On Tue, Sep 25, 2018 at 07:15:34AM -0400, Jeff Layton wrote: > Linux has dozens of filesystems and they all behave differently in this > regard. A catastrophic failure (paradoxically) makes things simpler for > the fs developer, but even on local filesystems isolated errors can > occur. It's also n

Re: [PATCH 1/5] arm: dts: mt7623: add a performance counter unit device node

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add ARM PMU device node to enable hardware perf events. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/a

Re: [PATCH 2/5] arm: dts: mt7623: update subsystem clock controller device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Update MT7623 subsystem clock controllers, inlcuding mmsys, imgsys, > vdecsys, g3dsys and bdpsys. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 41 + > 1 file c

Re: [PATCH 3/5] arm: dts: mt7623: add iommu/smi device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add iommu/smi device nodes for MT7623. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 59 > +++ > 1 file changed, 59 insertions(+) > > diff --git a/arch/arm/bo

Re: [PATCH 4/5] arm: dts: mt7623: add jpeg decoder device node

2018-09-25 Thread Matthias Brugger
On 05/09/2018 12:22, Ryder Lee wrote: > Add a jpeg decoder device node for MT7623. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/a

Re: [Resend PATCH 5/5] arm: dts: mt7623: add display subsystem related device nodes

2018-09-25 Thread Matthias Brugger
On 05/09/2018 16:09, Ryder Lee wrote: > Add display subsystem related device nodes for MT7623. > > Cc: CK Hu > Signed-off-by: chunhui dai > Signed-off-by: Bibby Hsieh > Signed-off-by: Ryder Lee > --- > I forgot to sort nodes in my previous mail. Sorry for the inconvenience. > > This patch

Re: [PATCH v4 0/4] devres: provide and use devm_kstrdup_const()

2018-09-25 Thread Joe Perches
On Tue, 2018-09-25 at 13:51 +0100, Robin Murphy wrote: > On 25/09/18 13:46, Bartosz Golaszewski wrote: > > This series implements devm_kstrdup_const() together with some > > prerequisite changes and uses it in pmc-atom driver. > > Is anyone expecting me to review this series, Probably not. > or

Re: [PATCH v4 14/16] sched/core: uclamp: request CAP_SYS_ADMIN by default

2018-09-25 Thread Peter Zijlstra
On Mon, Sep 24, 2018 at 04:14:00PM +0100, Patrick Bellasi wrote: > > So why bother changing it around? > > For two main reasons: > > 1) to expose userspace a more generic interface: >a "performance percentage" is more generic then a "capacity value" >while keep translating and using a 10

Re: [PATCH] selftests: watchdog: Add gettimeout and get|set pretimeout

2018-09-25 Thread Shuah Khan
On 09/24/2018 02:42 PM, Shuah Khan wrote: > On 09/23/2018 07:47 PM, Jerry Hoemann wrote: >> On Fri, Sep 21, 2018 at 05:42:00PM -0600, Shuah Khan wrote: >>> Hi Jerry, >>> >>> Thanks for the patch. A few comments below: >> >> Replies inline. >> >>> >>> On 09/21/2018 04:55 PM, Jerry Hoemann wrote: >

perf segmentation fault from NULL dereference

2018-09-25 Thread John Garry
Hi, I am seeing this perf crash on my arm64-based system: root@localhost:~# ./perf_debug_ record -e armv8_pmuv3_0/br_mis_pred/ sleep 1 perf: Segmentation fault Obtained 9 stack frames. ./perf_debug_() [0x4c5ef8] [0x82ba267c] ./perf_debug_() [0x4bc5a8] ./perf_debug_() [0x419550] ./perf_debug_

Re: [GIT PULL] Char/Misc driver fixes for 4.19-rc6

2018-09-25 Thread gregkh
On Tue, Sep 25, 2018 at 05:31:03PM +0200, Arnd Bergmann wrote: > On Tue, Sep 25, 2018 at 4:54 PM Greg KH wrote: > > > > On Tue, Sep 25, 2018 at 04:23:44PM +0200, Greg KH wrote: > > > [Yes, the oddity of sending a pull request to myself is not lost on me...] > > > > And, I totally messed this up.

Re: [PATCH RESEND] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-25 Thread Roman Gushchin
On Mon, Sep 17, 2018 at 04:08:46PM -0700, Roman Gushchin wrote: > The memcg OOM killer is never invoked due to a failed high-order > allocation, however the MEMCG_OOM event can be raised. > > As shown below, it can happen under conditions, which are very > far from a real OOM: e.g. there is plenty

Re: [PATCH v2 1/2] dt-bindings: spi: Qualcomm Quad SPI(QSPI) documentation

2018-09-25 Thread Doug Anderson
Hi, On Mon, Sep 24, 2018 at 11:23 AM Trent Piepho wrote: > > On Mon, 2018-09-24 at 10:13 -0700, Doug Anderson wrote: > > IIUC previous suggestions about just naming it based on the first SoC > > was due to the difficulty of coming up with a good generic name to > > give something. For instance yo

Re: [PATCH v4 0/4] devres: provide and use devm_kstrdup_const()

2018-09-25 Thread Bartosz Golaszewski
wt., 25 wrz 2018 o 17:48 Joe Perches napisał(a): > > On Tue, 2018-09-25 at 13:51 +0100, Robin Murphy wrote: > > On 25/09/18 13:46, Bartosz Golaszewski wrote: > > > This series implements devm_kstrdup_const() together with some > > > prerequisite changes and uses it in pmc-atom driver. > > > > Is a

Re: [PATCH] selftests: watchdog: Add gettimeout and get|set pretimeout

2018-09-25 Thread Jerry Hoemann
On Tue, Sep 25, 2018 at 09:50:18AM -0600, Shuah Khan wrote: > >>> Also can you run this test as normal user? > >> > >> No. Must be run as root to open /dev/watchdog. When /dev/watchdog is > >> opened, the > >> WD is started and if not updated properly, the system will crash. > > > > Hmm. I don'

Re: [PATCH 0/9] AHCI and SATA PHY support for BCM63138

2018-09-25 Thread Florian Fainelli
On 09/24/2018 11:19 PM, Kishon Vijay Abraham I wrote: > > > On Friday 21 September 2018 12:49 AM, Florian Fainelli wrote: >> On 09/20/2018 12:16 PM, Florian Fainelli wrote: >>> Hi Kishon, Tejun, >>> >>> This patch series adds support for the SATA AHCI and PHY found on the >>> ARM-basd BCM63138 DS

Re: [PATCH v2 2/2] PCI: controller: dwc: add UniPhier PCIe host controller support

2018-09-25 Thread Lorenzo Pieralisi
[+Gustavo, please have a look at INTX/MSI management] On Thu, Sep 06, 2018 at 06:40:32PM +0900, Kunihiko Hayashi wrote: > This introduces specific glue layer for UniPhier platform to support > PCIe host controller that is based on the DesignWare PCIe core, and > this driver supports Root Complex (

Re: [PATCH] pinctrl: generic: Avoid several implicit enum conversions

2018-09-25 Thread Nathan Chancellor
On Tue, Sep 25, 2018 at 12:58:16PM +0200, Linus Walleij wrote: > On Tue, Sep 25, 2018 at 8:19 AM Nathan Chancellor > wrote: > > > Clang warns when one enumerated type is implicitly converted to another, > > which happens several times in the pinctrl drivers for a few reasons: > > > > * The PCONFD

Re: [PATCH v2 1/3] dt-bindings: power: Add ZynqMP power domain bindings

2018-09-25 Thread Rob Herring
On Thu, Sep 13, 2018 at 12:51 PM Jolly Shah wrote: > > Hi Rob, > > > -Original Message- > > From: Rob Herring [mailto:r...@kernel.org] > > Sent: Monday, August 20, 2018 12:46 PM > > To: Jolly Shah > > Cc: matthias@gmail.com; andy.gr...@linaro.org; shawn...@kernel.org; > > geert+rene..

Re: [PATCH v2] staging: mt7621-mmc: Fix single statement macros in sd.c

2018-09-25 Thread Nishad Kamdar
On Sun, Sep 23, 2018 at 06:31:32AM -0700, Joe Perches wrote: > On Sun, 2018-09-23 at 15:08 +0530, Nishad Kamdar wrote: > > This patch fixes a few single statement macros in sd.c. > > It converts two macros to inline functions. It removes > > five other macros and replaces their usages with calls to

Re: POSIX violation by writeback error

2018-09-25 Thread Rogier Wolff
On Tue, Sep 25, 2018 at 11:46:27AM -0400, Theodore Y. Ts'o wrote: > (Especially since you can get most of the functionality by > using some naming convention for files that in the process of being > written, and then teach some program that is regularly scanning the > entire file system, such as up

Re: [RFC PATCH i2c-next 1/2] dt-bindings: i2c: aspeed: Add 'idle-wait-timeout-ms' setting

2018-09-25 Thread Jae Hyun Yoo
On 9/25/2018 1:27 AM, Wolfram Sang wrote: On Mon, Sep 24, 2018 at 03:15:46PM -0700, Jae Hyun Yoo wrote: Hi Wolfram, On 9/24/2018 2:58 PM, Wolfram Sang wrote: On Tue, Sep 18, 2018 at 11:02:54AM -0700, Jae Hyun Yoo wrote: On 9/10/2018 2:45 PM, Jae Hyun Yoo wrote: +- idle-wait-timeout-ms : bus

Re: [PATCH v2 2/2] debugobjects: Disable lockdep tracking of debugobjects internal locks

2018-09-25 Thread Waiman Long
On 09/25/2018 11:32 AM, Peter Zijlstra wrote: > On Tue, Sep 25, 2018 at 10:41:09AM -0400, Waiman Long wrote: >> diff --git a/lib/debugobjects.c b/lib/debugobjects.c >> index 70935ed91125..68d72ed9ca22 100644 >> --- a/lib/debugobjects.c >> +++ b/lib/debugobjects.c >> @@ -1106,8 +1106,15 @@ void __in

[GIT PULL] STi DT update for v4.20 round 1

2018-09-25 Thread Patrice CHOTARD
Hi Arnd, Kevin, Olof PLease consider this first round of STi dts update for v4.20 The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pc

Re: [PATCH] pinctrl: generic: Avoid several implicit enum conversions

2018-09-25 Thread Nick Desaulniers
On Tue, Sep 25, 2018 at 9:15 AM Nathan Chancellor wrote: > > On Tue, Sep 25, 2018 at 12:58:16PM +0200, Linus Walleij wrote: > > On Tue, Sep 25, 2018 at 8:19 AM Nathan Chancellor > > wrote: > > > > > Clang warns when one enumerated type is implicitly converted to another, > > > which happens sever

Re: [PATCH v3 06/20] tpm: move tpm1_pcr_extend to tpm1-cmd.c

2018-09-25 Thread Nayna Jain
On 09/19/2018 07:36 PM, Jarkko Sakkinen wrote: On Tue, Sep 18, 2018 at 12:34:45PM +0300, Tomas Winkler wrote: Move tpm1_pcr_extend to tpm1-cmd.c and remove unused pcrextend_header structure. Fixes warning: drivers/char/tpm/tpm-interface.c:609:38: warning: ‘pcrextend_header’ defined but not

Re: [PATCH v2 2/2] debugobjects: Disable lockdep tracking of debugobjects internal locks

2018-09-25 Thread Peter Zijlstra
On Tue, Sep 25, 2018 at 12:20:05PM -0400, Waiman Long wrote: > On 09/25/2018 11:32 AM, Peter Zijlstra wrote: > > On Tue, Sep 25, 2018 at 10:41:09AM -0400, Waiman Long wrote: > >> diff --git a/lib/debugobjects.c b/lib/debugobjects.c > >> index 70935ed91125..68d72ed9ca22 100644 > >> --- a/lib/debugob

[PATCH v2] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-09-25 Thread Craig Tatlor
From: Taniya Das Add support for the global clock controller found on SDM660 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Based on CAF implementation. Signed-off-by: Taniya Das [craig: rename parents to fit upstream, and other cleanups]

Re: [PATCH v2 2/2] debugobjects: Disable lockdep tracking of debugobjects internal locks

2018-09-25 Thread Waiman Long
On 09/25/2018 12:31 PM, Peter Zijlstra wrote: > On Tue, Sep 25, 2018 at 12:20:05PM -0400, Waiman Long wrote: >> On 09/25/2018 11:32 AM, Peter Zijlstra wrote: >>> On Tue, Sep 25, 2018 at 10:41:09AM -0400, Waiman Long wrote: diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 70935ed

Re: POSIX violation by writeback error

2018-09-25 Thread Alan Cox
> Unlike O_TMPFILE, this would require file system changes to support, > so maybe it's not worth having something which automatically cleans up > files that were in the middle of being written at the time of a system > crash. Would it. If you open a file unlink it and write to it and then have a l

Re: [PATCH V2] mm/hugetlb: Add mmap() encodings for 32MB and 512MB page sizes

2018-09-25 Thread Mike Kravetz
On 9/24/18 7:08 PM, Anshuman Khandual wrote: > ARM64 architecture also supports 32MB and 512MB HugeTLB page sizes. > This just adds mmap() system call argument encoding for them. > > Signed-off-by: Anshuman Khandual > --- > > Changes in V2: > - Updated SHM and MFD definitions per Mike Thanks An

Editing for 5

2018-09-25 Thread Heather
Want editing for your photos? We can help you for this. We can do cutting out and retouching for your ecommerce photos, jewelry photos retouching, portrait photos or wedding photos. Turnaround time is fast Send us one photo, we wil do testing for you. Thanks, Heather

Re: POSIX violation by writeback error

2018-09-25 Thread Jeff Layton
On Tue, 2018-09-25 at 11:46 -0400, Theodore Y. Ts'o wrote: > On Tue, Sep 25, 2018 at 07:15:34AM -0400, Jeff Layton wrote: > > Linux has dozens of filesystems and they all behave differently in this > > regard. A catastrophic failure (paradoxically) makes things simpler for > > the fs developer, but

Re: [PATCH v9 4/5] clk: imx: add imx composite clock

2018-09-25 Thread Fabio Estevam
Hi Abel, On Mon, Sep 24, 2018 at 7:39 AM, Abel Vesa wrote: > +static long imx_clk_composite_divider_round_rate(struct clk_hw *hw, > + unsigned long rate, > + unsigned long *prate) > +{ > + int predi

Re: [PATCH v2] dt-binding: arm/cpus.txt: fix dynamic-power-coefficient unit

2018-09-25 Thread Rob Herring
On Wed, Aug 29, 2018 at 09:08:38AM +0200, Vincent Guittot wrote: > The unit of dynamic-power-coefficient is described as mW/MHz/uV^2 whereas > its usage in the code assumes that unit is uW/MHz/V^2 > > In drivers/thermal/cpu_cooling.c, the code is : > > power = (u64)capacitance * freq_mhz * voltag

Re: [PATCH] ARM: dts: gta04: add serial console wakeup irq

2018-09-25 Thread Tony Lindgren
* Andreas Kemnade [180925 05:32]: > Hi Tony, > > On Mon, 24 Sep 2018 15:03:45 -0700 > Tony Lindgren wrote: > > > * Andreas Kemnade [180923 08:12]: > > > This enables the possibility to have more aggressive runtime pm > > > by providing proper wakeup irq for the serial console. > > > > Thank

Re: [PATCH v14 04/19] x86/cpufeatures: Add SGX feature bits

2018-09-25 Thread Borislav Petkov
On Tue, Sep 25, 2018 at 04:06:41PM +0300, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Add SGX feature bits as part of the Linux defined leaf 8, which > currently contains virtualization flags. There are currently four > documented SGX feature bits, with more expected in the not-too-di

Re: [PATCH] dt-bindings: reset: imx7: update the compatible string

2018-09-25 Thread Rob Herring
On Thu, Aug 30, 2018 at 04:05:25PM +0800, Anson Huang wrote: > The i.MX7 SRC's compatible string should be "fsl,imx7d-src". > > Signed-off-by: Anson Huang > --- > Documentation/devicetree/bindings/reset/fsl,imx7-src.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Rob

Re: [PATCH] ASoC: soc-utils: Rename dummy_dma_ops to snd_dummy_ops

2018-09-25 Thread Mark Brown
On Tue, Sep 25, 2018 at 11:36:55AM +0300, Andy Shevchenko wrote: > On Tue, Sep 25, 2018 at 3:48 AM Matthias Kaehlcke wrote: > > extern const struct dma_map_ops dummy_dma_ops; > > ^ > > Rename the symbol in soc-utils.c to 'snd_dummy_ops' to avoid the conflict.

Re: [PATCH v1 1/5] dt-bindings: cpufreq: Add binding for NVIDIA Tegra20/30

2018-09-25 Thread Rob Herring
On Thu, Aug 30, 2018 at 10:43:52PM +0300, Dmitry Osipenko wrote: > Add device-tree binding that describes CPU frequency-scaling hardware > found on NVIDIA Tegra20/30 SoC's. > > Signed-off-by: Dmitry Osipenko > --- > .../cpufreq/nvidia,tegra20-cpufreq.txt| 38 +++ > 1 file

Re: [PATCH] RISCV: Fix end PFN for low memory

2018-09-25 Thread Palmer Dabbelt
On Mon, 24 Sep 2018 13:55:04 PDT (-0700), atish.pa...@wdc.com wrote: On 9/17/18 7:08 AM, Christoph Hellwig wrote: On Tue, Sep 11, 2018 at 11:30:18AM -0700, Atish Patra wrote: Use memblock_end_of_DRAM which provides correct last low memory PFN. Without that, DMA32 region becomes empty resulting

Re: [PATCH] selftests: watchdog: Add gettimeout and get|set pretimeout

2018-09-25 Thread Jerry Hoemann
Shuah, Wrote this yesterday, and wanted to proof it before sending. I got your other email earlier and replied to specific point on permission of /dev/watchdog, so some of this is now redundant. - With the potential exception of error path, I think my v2 of the patch ad

Re: [PATCH] clocksource/drivers/fttmr010: fix set_next_event handler

2018-09-25 Thread Sai Dasari
On 9/24/18, 4:21 PM, "openbmc on behalf of Joel Stanley" wrote: I will then add it to the set of tests I run when testing aspeed kernels. Thanks Joel! Curious to know what would be the best place to keep these kind of Kernel test cases for sake of review and/or adding new test c

<    1   2   3   4   5   6   7   8   >