Re: mount.nfs: Protocol error after upgrade to linux/master

2019-03-15 Thread Kees Cook
On Fri, Mar 15, 2019 at 10:24 PM Kees Cook wrote: > > On Fri, Mar 15, 2019 at 4:54 PM Jakub Kicinski > wrote: > > > > On Fri, 15 Mar 2019 12:01:05 -0700, Jakub Kicinski wrote: > > > On Fri, 15 Mar 2019 11:05:55 -0700, Jakub Kicinski wrote: > > > > Hi, > > > > > > > > I just upgraded from: > > >

Re: mount.nfs: Protocol error after upgrade to linux/master

2019-03-15 Thread Kees Cook
On Fri, Mar 15, 2019 at 4:54 PM Jakub Kicinski wrote: > > On Fri, 15 Mar 2019 12:01:05 -0700, Jakub Kicinski wrote: > > On Fri, 15 Mar 2019 11:05:55 -0700, Jakub Kicinski wrote: > > > Hi, > > > > > > I just upgraded from: > > > > > > commit a3b1933d34d5bb26d7503752e3528315a9e28339 (net) > > >

[PATCH 3/4] PM / core: Introduce ASYNC_RESUME_FUNC() helper macro

2019-03-15 Thread Yangtao Li
The async_resume_noirq, async_resume_early, async_resume functions are basically the same. As we have seen: static void async_xxx(void *data, async_cookie_t cookie) { struct device *dev = (struct device *)data; int error; error = device_xxx(dev, pm_transition, true);

[PATCH 4/4] PM / core: Introduce ASYNC_SUSPEND_FUNC() helper macro

2019-03-15 Thread Yangtao Li
The async_suspend_noirq, async_suspend_late, async_suspend functions are basically the same. As we have seen: static void async_xxx(void *data, async_cookie_t cookie) { struct device *dev = (struct device *)data; int error; error = __device_xxx(dev, pm_transition, true);

[PATCH 1/4] PM / core: Introduce dpm_async_fn() helper

2019-03-15 Thread Yangtao Li
When we want to execute device pm functions asynchronously, we'll do the following for the device: 1) reinit_completion(>power.completion); 2) Check if the device enables asynchronous suspend. 3) If necessary, execute the corresponding function asynchronously. There are a lot of such

[PATCH 2/4] PM / core: Introduce DEVICE_SUSPEND_FUNC() helper macro

2019-03-15 Thread Yangtao Li
The devices_suspend_noirq, device_suspend_late, device_suspen functions are basically the same. As we have seen: static int device_xxx(struct device *dev) { if (dpm_async_fn(dev, async_xxx)) return 0; return __device_xxx(dev, pm_transition, false); } The

[PATCH 0/4] PM / core: Introduce some helper for better Code reuse

2019-03-15 Thread Yangtao Li
This patch set introduces some functions and macros that help reduce code duplication. Yangtao Li (4): PM / core: Introduce dpm_async_fn() helper PM / core: Introduce DEVICE_SUSPEND_FUNC() helper macro PM / core: Introduce ASYNC_RESUME_FUNC() helper macro PM / core: Introduce

[PATCH v2 0/5] lib/sort & lib/list_sort: faster and smaller

2019-03-15 Thread George Spelvin
v1->v2: Various spelling, naming and code style cleanups. Generally positive and no negative responses to the goals and algorithms used. I'm running these patches, with CONFIG_TEST_SORT and CONFIG_TEST_LIST_SORT, on the machine I'm sending this from. I have

[PATCH v4 12/12] dts: hi3660: Add support for usb on Hikey960

2019-03-15 Thread Yu Chen
This patch adds support for usb on Hikey960. Cc: Chunfeng Yun Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- v2: * Remove device_type property. * Add property "usb-role-switch". v3: * Make

[PATCH v4 03/12] usb: dwc3: dwc3-of-simple: Add support for dwc3 of Hisilicon Soc Platform

2019-03-15 Thread Yu Chen
This patch adds support for the poweron and shutdown of dwc3 core on Hisilicon Soc Platform. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: John Stultz Signed-off-by: Yu Chen --- drivers/usb/dwc3/dwc3-of-simple.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v4 01/12] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY

2019-03-15 Thread Yu Chen
This patch adds binding documentation for supporting the hi3660 usb phy on boards like the HiKey960. Cc: Rob Herring Cc: Mark Rutland Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- v1: * Fix some format error as suggested by Rob. v2: * Change hi3660 usb PHY to hi3660 USB PHY v3:

[PATCH v2 4/5] lib/list_sort: Simplify and remove MAX_LIST_LENGTH_BITS

2019-03-15 Thread George Spelvin
Rather than a fixed-size array of pending sorted runs, use the ->prev links to keep track of things. This reduces stack usage, eliminates some ugly overflow handling, and reduces the code size. Also: * merge() no longer needs to handle NULL inputs, so simplify. * The same applies to

[PATCH] regulator: as3722: Remove *rdevs[] from struct as3722_regulators

2019-03-15 Thread Axel Lin
Current code is using devm_regulator_register() so it is not necessary to save as3722_regs->rdevs[id] for clean up. The *rdevs[] is not used now, remove it. Signed-off-by: Axel Lin --- drivers/regulator/as3722-regulator.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v2 3/5] lib/sort: Avoid indirect calls to built-in swap

2019-03-15 Thread George Spelvin
Similar to what's being done in the net code, this takes advantage of the fact that most invocations use only a few common swap functions, and replaces indirect calls to them with (highly predictable) conditional branches. (The downside, of course, is that if you *do* use a custom swap function,

[PATCH v2 1/5] lib/sort: Make swap functions more generic

2019-03-15 Thread George Spelvin
Rather than having special-case swap functions for 4- and 8-byte objects, special-case aligned multiples of 4 or 8 bytes. This speeds up most users of sort() by avoiding fallback to the byte copy loop. Despite what commit ca96ab859ab4 ("lib/sort: Add 64 bit swap function") claims, very few users

[PATCH v2 2/5] lib/sort: Use more efficient bottom-up heapsort variant

2019-03-15 Thread George Spelvin
This uses fewer comparisons than the previous code (approaching half as many for large random inputs), but produces identical results; it actually performs the exact same series of swap operations. Specifically, it reduces the average number of compares from 2*n*log2(n) - 3*n + o(n) to

[PATCH v2 5/5] lib/list_sort: Optimize number of calls to comparison function

2019-03-15 Thread George Spelvin
CONFIG_RETPOLINE has severely degraded indirect function call performance, so it's worth putting some effort into reducing the number of times cmp() is called. This patch avoids badly unbalanced merges on unlucky input sizes. It slightly increases the code size, but saves an average of 0.2*n

Re: [PATCH 4/5] lib/list_sort: Simplify and remove MAX_LIST_LENGTH_BITS

2019-03-15 Thread George Spelvin
Indeed, thanks to everyone who commented. The extra conceptual complexity and reduced readbility is Just Not Worth It. v2 (and final, as far as I'm concerned) follows.

[PATCH] PM / core: fix kerneldoc comment for device_pm_wait_for_dev

2019-03-15 Thread Yangtao Li
Rearrange comment to make the comment style consistent, the previous function parameters are described first. Signed-off-by: Yangtao Li --- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index

[PATCH] PM / core: fix kerneldoc comment for dpm_watchdog_handler()

2019-03-15 Thread Yangtao Li
This brings the kernel doc in line with the function signature. Signed-off-by: Yangtao Li --- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index f80d298de3fa..0cff68bd7b4b 100644 ---

Re: Staging status of speakup

2019-03-15 Thread Greg Kroah-Hartman
On Fri, Mar 15, 2019 at 01:01:27PM +, Okash Khawaja wrote: > Hi, > > We have made progress on the items in TODO file of speakup driver in > staging directory and wanted to get some clarity on the remaining > items. Below is a summary of status of each item along with the quotes > from TODO

Re: [PATCHv8 00/10] Heterogenous memory node attributes

2019-03-15 Thread Greg Kroah-Hartman
On Fri, Mar 15, 2019 at 11:50:57AM -0600, Keith Busch wrote: > Hi Greg, > > Just wanted to check with you on how we may proceed with this series. > The main feature is exporting new sysfs attributes through driver core, > so I think it makes most sense to go through you unless you'd prefer > this

[PATCH v5 11/11] staging: iio: ad7780: add device tree binding

2019-03-15 Thread Renato Lui Geh
Adds a device tree binding for the ad7780 driver. Signed-off-by: Renato Lui Geh --- .../bindings/iio/adc/adi,ad7780.txt | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7780.txt diff --git

[PATCH v5 10/11] staging: iio: ad7780: moving ad7780 out of staging

2019-03-15 Thread Renato Lui Geh
Move ad7780 ADC driver out of staging and into the mainline. The ad7780 is a sigma-delta analog to digital converter. This driver provides reading voltage values and status bits from both the ad778x and ad717x series. Its interface also allows writing on the FILTER and GAIN GPIO pins on the

[PATCH v5 08/11] staging: iio: ad7780: add SPDX identifier

2019-03-15 Thread Renato Lui Geh
Add SPDX identifier (GPL-2.0) to the AD7780 driver. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index 568c5b4472ff..ff61ffa0da9f 100644

[PATCH v5 09/11] staging: iio: ad7780: add new copyright holder

2019-03-15 Thread Renato Lui Geh
This patch adds a new copyright holder to the ad7780 driver. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index ff61ffa0da9f..23b731a92e32 100644 ---

[PATCH v5 07/11] staging: iio: ad7780: move regulator to after GPIO init

2019-03-15 Thread Renato Lui Geh
To maintain consistency between ad7780_probe and ad7780_remove orders, regulator initialization has been moved to after GPIO initializations. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff

[PATCH v5 06/11] staging:iio:ad7780: add chip ID values and mask

2019-03-15 Thread Renato Lui Geh
The ad7780 supports both the ad778x and ad717x families. Each chip has a corresponding ID. This patch provides a mask for extracting ID values from the status bits and also macros for the correct values for the ad7170, ad7171, ad7780 and ad7781. Signed-off-by: Renato Lui Geh --- Changes in v5:

[PATCH v5 05/11] staging: iio: ad7780: set pattern values and masks directly

2019-03-15 Thread Renato Lui Geh
The AD7780 driver contains status pattern bits designed for checking whether serial transfers have been correctly performed. Pattern macros were previously generated through bit fields. This patch sets good pattern values directly and masks through GENMASK. Signed-off-by: Renato Lui Geh ---

[PATCH v5 04/11] staging: iio: ad7780: add filter reading to ad778x

2019-03-15 Thread Renato Lui Geh
This patch adds the new feature of reading the filter odr value for ad778x chips. This value is stored in the chip's state struct whenever a read or write call is performed on the chip's driver. This feature requires sharing SAMP_FREQ. Since the ad717x does not have a filter option, the driver

[PATCH v5 03/11] staging: iio: ad7780: add gain reading to ad778x

2019-03-15 Thread Renato Lui Geh
This patch adds a new functionality of reading gain values from the ad778x chips. This value is stored in the chip's state struct and is updated whenever a read or write call is performed on the driver. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 5 + 1 file changed,

[PATCH v5 02/11] staging: iio: ad7780: add missing switch default case

2019-03-15 Thread Renato Lui Geh
This patch simply adds a missing switch default case in read_raw. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index 07e5e35c92a3..f4cd7bc3e02f 100644

[PATCH v5 01/11] staging: iio: ad7780: add gain & filter gpio support

2019-03-15 Thread Renato Lui Geh
Previously, the AD7780 driver only supported gpio for the 'powerdown' pin. This commit adds suppport for the 'gain' and 'filter' pin. Signed-off-by: Renato Lui Geh Signed-off-by: Giuliano Belinassi Co-developed-by: Giuliano Belinassi --- Changes in v3: - Renamed ad7780_chip_info's filter to

[PATCH v5 00/11] staging: iio: ad7780: move out of staging

2019-03-15 Thread Renato Lui Geh
This series of patches contains the following: - Adds user input for the 'gain' and 'filter' GPIO pins for the ad778x family chips; - Missing switch default case tidy up; - Gain reading for the ad778x; - Filter reading for the ad778x; - Sets pattern macro values and mask for PATTERN status

[syzbot? printk?] no WARN_ON() messages printed before "Kernel panic - not syncing: panic_on_warn set ..."

2019-03-15 Thread Tetsuo Handa
Hello. I found a corrupted report at https://syzkaller.appspot.com/text?tag=CrashLog=17c6b82b20 . The panic() was caused by by WARN_ON() from generic_make_request_checks(), but there was no printk() messages from WARN_ON(). Moreover, there was no printk() messages for (at least) nearly

Re: [GIT] SMB3 Fixes and debugging improvements

2019-03-15 Thread pr-tracker-bot
The pull request you sent on Fri, 15 Mar 2019 18:39:21 -0500: > git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc-smb3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9c7dc824d9a48f98b4ee20041e865d97bc73a626 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH] regulator: da9052: Include linux/of.h to fix build warning for of_match_ptr

2019-03-15 Thread Axel Lin
Remove #ifdef CONFIG_OF guard so linux/of.h will be included when !CONFIG_OF. This fixes build warnings when !CONFIG_OF. Reported-by: kbuild test robot Signed-off-by: Axel Lin --- drivers/regulator/da9052-regulator.c | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [GIT PULL] AFS fixes and other bits

2019-03-15 Thread Linus Torvalds
On Fri, Mar 15, 2019 at 4:41 PM David Howells wrote: > > Here's a set of fixes and other bits for AFS to improve the life of desktop > applications such as firefox. I pulled, and immediately unpulled. The thing hasn't even seen a compiler, and when you *do* show the code to a compiler, said

You should read will before reply, Honourable Barrister Aziz Dake..

2019-03-15 Thread Aziz Dake
Attn: Sir/Madam I am Honourable Barrister Aziz the personal resident Attorney here in Burkina Faso to Late Mr. Muammar Muhammad Abu Minyar al-Gaddafi of Libya c. 1942 – 20 October 2011. My client Late Mr. Muammar Muhammad Abu Minyar al-Gaddafi c. 1942 – 20 October 2011, was having a deposit sum

Re: [PATCH v2 3/5] gpio: use new gpio_set_config() helper in more places

2019-03-15 Thread Guenter Roeck
On Thu, Feb 07, 2019 at 05:28:57PM +0100, Thomas Petazzoni wrote: > As suggested by Linus Walleij, let's use the new gpio_set_config() > helper in gpiod_set_debounce() and gpiod_set_transitory(). > > Signed-off-by: Thomas Petazzoni > --- > drivers/gpio/gpiolib.c | 4 ++-- > 1 file changed, 2

Re: [GIT PULL RESEND] pidfd changes for v5.1-rc1

2019-03-15 Thread Joel Fernandes
On Tue, Mar 12, 2019 at 6:53 AM Christian Brauner wrote: > > Hi Linus, > > This is a resend of the pull request for the pidfd_send_signal() syscall > which I sent last Tuesday. I'm not sure whether you just wanted to take a > closer look. > > The following changes since commit

Re: Staging status of speakup

2019-03-15 Thread Chris Brannon
Okash Khawaja writes: > Finally there is an issue where text in output buffer sometimes gets > garbled on SMP systems, but we can continue working on it after the > driver is moved out of staging, if that's okay. Basically we need a > reproducer of this issue. What kind of reproducer do you

[PATCH] dt-bindings: Require child nodes type to be 'object'

2019-03-15 Thread Rob Herring
A node is always an object (aka a dictionary), so make that explicit for child node schemas. A meta-schema update will enforce having 'type' specified. Cc: Mark Rutland Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Daniel Lezcano Signed-off-by: Rob Herring ---

Re: mount.nfs: Protocol error after upgrade to linux/master

2019-03-15 Thread Jakub Kicinski
On Fri, 15 Mar 2019 12:01:05 -0700, Jakub Kicinski wrote: > On Fri, 15 Mar 2019 11:05:55 -0700, Jakub Kicinski wrote: > > Hi, > > > > I just upgraded from: > > > > commit a3b1933d34d5bb26d7503752e3528315a9e28339 (net) > > Merge: c6873d18cb4a 24319258660a > > Author: David S. Miller > > Date:

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 4:47:01 PM PDT, Matthias Kaehlcke wrote: >On Fri, Mar 15, 2019 at 03:12:08PM -0700, h...@zytor.com wrote: >> On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: >> >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >> >wrote: >> >> >> >> The compiler may emit calls to

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 4:34:10 PM PDT, Matthias Kaehlcke wrote: >Hi Peter, > >On Fri, Mar 15, 2019 at 03:08:57PM -0700, h...@zytor.com wrote: >> On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: >> >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >> >wrote: >> >> >> >> The compiler may

Re: [GIT] SMB3 Fixes and debugging improvements

2019-03-15 Thread Steve French
Previous pull request text was truncated (last 25 lines of text missing), resending. Please pull the following changes since commit f261c4e529dac5608a604d3dd3ae1cd2adf23c89: Merge branch 'akpm' (patches from Andrew) (2019-03-14 15:10:10 -0700) are available in the Git repository at:

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Matthias Kaehlcke
On Fri, Mar 15, 2019 at 03:12:08PM -0700, h...@zytor.com wrote: > On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: > >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke > >wrote: > >> > >> The compiler may emit calls to __lshrti3 from the compiler runtime > >> library, which results

[GIT PULL] AFS fixes and other bits

2019-03-15 Thread David Howells
ebc551f2b8f905eca0e25c476c1e5c098cd92103: Merge tag 'nfsd-5.1' of git://linux-nfs.org/~bfields/linux (2019-03-12 15:06:54 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20190315 for you to fetch changes up

Re: [PATCH] staging: octeon-usb octeon-hcd: Fix several typos.

2019-03-15 Thread Aaro Koskinen
Hi, On Sat, Mar 09, 2019 at 03:18:27PM -0300, Laura Lazzati wrote: > I found that the comments had several typos such as "aenable", "internaly" > and some others. > I fixed them all. > > Signed-off-by: Laura Lazzati I spotted one more typo that could be fixed as well: > @@ -1797,7 +1797,7 @@

[GIT] SMB3 Fixes and debugging improvements

2019-03-15 Thread Steve French
Please pull the following changes since commit f261c4e529dac5608a604d3dd3ae1cd2adf23c89: Merge branch 'akpm' (patches from Andrew) (2019-03-14 15:10:10 -0700) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc-smb3 for you to fetch changes up to

Re: [PATCH v4 06/10] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2019-03-15 Thread Rob Herring
On Wed, Mar 13, 2019 at 03:18:40PM -0600, Lina Iyer wrote: > SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO > routed to the PDC as interrupts that can be used to wake the system up > from deep low power modes and suspend. > > Cc: devicet...@vger.kernel.org >

[PATCH] tracing: Kernel access to ftrace instances

2019-03-15 Thread Divya Indi
Ftrace provides the feature “instances” that provides the capability to create multiple Ftrace ring buffers. However, currently these buffers are created/accessed via userspace only. The kernel APIs providing these features are not exported, hence cannot be used by other kernel components. This

[RFC] Kernel access to Ftrace instances.

2019-03-15 Thread Divya Indi
[PATCH] tracing: Kernel access to ftrace instances. Please review the patch that follows. Below are some details providing the goal and justification for the patch. === Goal: Ftrace provides the feature “instances” that

Re: [PATCH v4 1/4] dt: lm3532: Add lm3532 dt doc and update ti_lmu doc

2019-03-15 Thread Rob Herring
On Wed, Mar 13, 2019 at 07:32:46AM -0500, Dan Murphy wrote: > Add the lm3532 device tree documentation. > Remove lm3532 device tree reference from the ti_lmu devicetree > documentation. > > With the addition of the dedicated lm3532 documentation the device > can be removed from the ti_lmu.txt. >

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Matthias Kaehlcke
Hi Peter, On Fri, Mar 15, 2019 at 03:08:57PM -0700, h...@zytor.com wrote: > On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers > wrote: > >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke > >wrote: > >> > >> The compiler may emit calls to __lshrti3 from the compiler runtime > >> library,

Re: [PATCH v1 0/3] perf: Support a new coresum event qualifier

2019-03-15 Thread Jin, Yao
On 3/16/2019 7:26 AM, Andi Kleen wrote: Yes, the coresum's behavior is similar as --per-core option, just supports at the event level. I'm OK with calling it 'per-core'. For example, perf stat -e cpu/event=0,umask=0x3,per-core=1/ Please use percore, the - would need to be escaped in metric

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Matthias Kaehlcke
On Fri, Mar 15, 2019 at 03:06:37PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote: > > > > The compiler may emit calls to __lshrti3 from the compiler runtime > > library, which results in undefined references: > > > >

[GIT PULL] AFS fixes and other bits

2019-03-15 Thread David Howells
ebc551f2b8f905eca0e25c476c1e5c098cd92103: Merge tag 'nfsd-5.1' of git://linux-nfs.org/~bfields/linux (2019-03-12 15:06:54 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20190315 for you to fetch changes up

Re: [PATCH v1 0/3] perf: Support a new coresum event qualifier

2019-03-15 Thread Andi Kleen
> Yes, the coresum's behavior is similar as --per-core option, just supports > at the event level. I'm OK with calling it 'per-core'. > > For example, > perf stat -e cpu/event=0,umask=0x3,per-core=1/ Please use percore, the - would need to be escaped in metric expressions. -Andi

Re: [PATCH v5 03/12] dt-bindings: mtd: ingenic: Use standard ecc-engine property

2019-03-15 Thread Rob Herring
On Wed, 13 Mar 2019 23:22:50 +0100, Paul Cercueil wrote: > The 'ingenic,bch-controller' property is now deprecated and the > 'ecc-engine' property should be used instead. > > Signed-off-by: Paul Cercueil > --- > > Notes: > v5: New patch > >

Re: [PATCH 3/3] RISC-V: Allow booting kernel from any 4KB aligned address

2019-03-15 Thread Anup Patel
On Fri, Mar 15, 2019 at 9:52 PM Anup Patel wrote: > > On Fri, Mar 15, 2019 at 9:28 PM Mike Rapoport wrote: > > > > On Thu, Mar 14, 2019 at 11:28:32PM +0530, Anup Patel wrote: > > > On Thu, Mar 14, 2019 at 12:23 PM Mike Rapoport wrote: > > > > > > > > On Thu, Mar 14, 2019 at 02:36:01AM +0530,

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2019-03-15 Thread Doug Anderson
Hi, On Fri, Mar 15, 2019 at 4:00 PM Marek Vasut wrote: > > > Completely agree here - we need a dt solution that allows us to > > specify ordering. > > Nope, ordering would be a policy and does not describe hardware, thus it > shouldn't be in the DT. Use UUID or PARTUUID, they apply both to raw

Re: [PATCH v5 1/3] dt-bindings: phy: Add Stingray USB PHY binding document

2019-03-15 Thread Rob Herring
On Tue, Mar 12, 2019 at 09:36:19PM +0530, Srinath Mannam wrote: > Add DT binding document for Stingray USB PHY. > > Signed-off-by: Srinath Mannam > --- > .../bindings/phy/brcm,stingray-usb-phy.txt | 40 > ++ > 1 file changed, 40 insertions(+) > create mode 100644

Re: [PATCH] x86/vdso: include generic __lshrdi3 in 32-bit vDSO

2019-03-15 Thread hpa
On March 15, 2019 3:29:06 PM PDT, Matthias Kaehlcke wrote: >Hi Nick, > >On Fri, Mar 15, 2019 at 02:31:09PM -0700, 'Nick Desaulniers' via Clang >Built Linux wrote: >> On Fri, Mar 15, 2019 at 12:54 PM Matthias Kaehlcke >wrote: >> > >> > Building the 32-bit vDSO with a recent clang version fails

Re: [PATCH net] net: phy: Don't assume loopback is supported

2019-03-15 Thread Heiner Kallweit
On 14.03.2019 11:37, Jose Abreu wrote: > Some PHYs may not support loopback mode so we need to check if register > is read-only. > As I read Clause 22 this is a mandatory feature, the related bit is specified as R/W. Do you have an actual example of a PHY w/o loopback mode that doesn't allow to

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2019-03-15 Thread Tim Harvey
Tim Harvey - Principal Software EngineerGateworks Corporation - http://www.gateworks.com/3026 S. Higuera St. San Luis Obispo CA 93401805-781-2000 On Fri, Mar 15, 2019 at 4:00 PM Marek Vasut wrote: > > On 3/15/19 10:52 PM, Tim Harvey wrote: > > Tim Harvey - Principal Software EngineerGateworks

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2019-03-15 Thread Marek Vasut
On 3/15/19 10:52 PM, Tim Harvey wrote: > Tim Harvey - Principal Software EngineerGateworks Corporation - > http://www.gateworks.com/3026 S. Higuera St. San Luis Obispo CA > 93401805-781-2000 > On Tue, Mar 5, 2019 at 4:39 AM Måns Rullgård wrote: >> >> Douglas Anderson writes: >> >>> This series

[PATCH 08/10] afs: Add directory reload tracepoint

2019-03-15 Thread David Howells
Add a tracepoint (afs_reload_dir) to indicate when a directory is being reloaded. Signed-off-by: David Howells --- fs/afs/dir.c |1 + include/trace/events/afs.h | 17 + 2 files changed, 18 insertions(+) diff --git a/fs/afs/dir.c b/fs/afs/dir.c index

[PATCH 07/10] afs: Handle lock rpc ops failing on a file that got deleted

2019-03-15 Thread David Howells
Holding a file lock on an AFS file does not prevent it from being deleted on the server, so we need to handle an error resulting from that when we try setting, extending or releasing a lock. Fix this by adding a "deleted" lock state and cancelling the lock extension process for that file and

[PATCH 05/10] afs: Add file locking tracepoints

2019-03-15 Thread David Howells
Add two tracepoints for monitoring AFS file locking. Firstly, add one that follows the operational part: echo 1 >/sys/kernel/debug/tracing/events/afs/afs_flock_op/enable And add a second that more follows the event-driven part: echo 1

Re: [PATCH v1 2/3] perf stat: Support coresum event qualifier

2019-03-15 Thread Jin, Yao
On 3/15/2019 9:34 PM, Jiri Olsa wrote: On Sat, Mar 16, 2019 at 12:04:15AM +0800, Jin Yao wrote: SNIP +static void print_counter_aggrdata(struct perf_stat_config *config, + struct perf_evsel *counter, int s, + char *prefix,

[PATCH 09/10] afs: Implement sillyrename for unlink and rename

2019-03-15 Thread David Howells
Implement sillyrename for AFS unlink and rename, using the NFS variant implementation as a basis. Note that the asynchronous file locking extender/releaser has to be notified with a state change to stop it complaining if there's a race between that and the actual file deletion. A tracepoint,

[PATCH 04/10] afs: Further fix file locking

2019-03-15 Thread David Howells
Further fix the file locking in the afs filesystem client in a number of ways, including: (1) Don't submit the operation to obtain a lock from the server in a work queue context, but rather do it in the process context of whoever issued the requesting system call. (2) The owner of

[PATCH 06/10] afs: Improve dir check failure reports

2019-03-15 Thread David Howells
Improve the content of directory check failure reports from: kAFS: afs_dir_check_page(6d57): bad magic 1/2 is to dump more information about the individual blocks in a directory page. Signed-off-by: David Howells --- fs/afs/dir.c | 38 ++ 1

[PATCH 01/10] afs: Split wait from afs_make_call()

2019-03-15 Thread David Howells
Split the call to afs_wait_for_call_to_complete() from afs_make_call() to make it easier to handle asynchronous calls and to make it easier to convert a synchronous call to an asynchronous one in future, for instance when someone tries to interrupt an operation by pressing Ctrl-C. Signed-off-by:

[PATCH 00/10] AFS fixes

2019-03-15 Thread David Howells
/linux/kernel/git/dhowells/linux-fs.git tag afs-fixes-20190315 David --- David Howells (10): afs: Split wait from afs_make_call() afs: Calculate lock extend timer from set/extend reply reception afs: Fix AFS file locking to allow fine grained locks afs: Further fix

Re: [PATCH v1 0/3] perf: Support a new coresum event qualifier

2019-03-15 Thread Jin, Yao
On 3/15/2019 9:34 PM, Jiri Olsa wrote: On Sat, Mar 16, 2019 at 12:04:13AM +0800, Jin Yao wrote: The coresum event qualifier which sums up the event counts for both hardware threads in a core. For example, perf stat -e cpu/event=0,umask=0x3,coresum=1/,cpu/event=0,umask=0x3/ In this example,

[PATCH 03/10] afs: Fix AFS file locking to allow fine grained locks

2019-03-15 Thread David Howells
Fix AFS file locking to allow fine grained locks as some applications, such as firefox, won't work if they can't take such locks on certain state files - thereby preventing the use of kAFS to distribute a home directory. Note that this cannot be made completely functional as the protocol only has

[PATCH 02/10] afs: Calculate lock extend timer from set/extend reply reception

2019-03-15 Thread David Howells
Record the timestamp on the first reply DATA packet received in response to a set- or extend-lock operation, then use this to calculate the time remaining till the lock expires rather than using whatever time the requesting process wakes up and finishes processing the operation as a base.

[PATCH 10/10] afs: Add more tracepoints

2019-03-15 Thread David Howells
Add four more tracepoints: (1) afs_make_fs_call1 - Split from afs_make_fs_call but takes a filename to log also. (2) afs_make_fs_call2 - Like the above but takes two filenames to log. (3) afs_lookup - Log the result of doing a successful lookup, including a negative result (fid

Re: [PATCH] MIPS: Remove custom MIPS32 __kernel_fsid_t type

2019-03-15 Thread Paul Burton
Hello, Paul Burton wrote: > For MIPS32 kernels we have a custom definition of __kernel_fsid_t. This > differs from the asm-generic version used by all other architectures & > MIPS64 in one way - it declares the val field as an array of long, > rather than an array of int. Since int & long have

Re: [PATCH] security: inode: fix a missing check for securityfs_create_file

2019-03-15 Thread Tetsuo Handa
On 2019/03/16 6:00, Kangjie Lu wrote: > securityfs_create_file may fail. The fix checks its status and > returns the error code upstream if it fails. Failure in __init functions of vmlinux means that the system failed before the global /sbin/init process starts. There is little value with

Re: [PATCH] x86/vdso: include generic __lshrdi3 in 32-bit vDSO

2019-03-15 Thread Matthias Kaehlcke
Hi Nick, On Fri, Mar 15, 2019 at 02:31:09PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > On Fri, Mar 15, 2019 at 12:54 PM Matthias Kaehlcke wrote: > > > > Building the 32-bit vDSO with a recent clang version fails due > > to undefined symbols: > > > >

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers wrote: >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >wrote: >> >> The compiler may emit calls to __lshrti3 from the compiler runtime >> library, which results in undefined references: >> >> arch/x86/kvm/x86.o: In function

Re: [GIT PULL] KVM changes for 5.1 merge window

2019-03-15 Thread pr-tracker-bot
The pull request you sent on Fri, 15 Mar 2019 22:07:42 +0100: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/636deed6c0bc137a7c4f4a97ae1fcf0ad75323da Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread hpa
On March 15, 2019 3:06:37 PM PDT, Nick Desaulniers wrote: >On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke >wrote: >> >> The compiler may emit calls to __lshrti3 from the compiler runtime >> library, which results in undefined references: >> >> arch/x86/kvm/x86.o: In function

Re: [GIT PULL] UML updates for 5.1-rc1

2019-03-15 Thread pr-tracker-bot
The pull request you sent on Tue, 12 Mar 2019 16:14:04 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git for-linus-5.1-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6c83d0d5eb62846b8591884e246ab67d70b651ef Thank you! -- Deet-doot-dot, I am a

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-15 Thread Nick Desaulniers
On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote: > > The compiler may emit calls to __lshrti3 from the compiler runtime > library, which results in undefined references: > > arch/x86/kvm/x86.o: In function `mul_u64_u64_shr': > include/linux/math64.h:186: undefined reference to

Re: [PATCH 06/11] arm64: dts: meson-g12a-x96-max: add regulators

2019-03-15 Thread Martin Blumenstingl
Hi Neil and Guillaume, On Mon, Mar 11, 2019 at 11:04 AM Neil Armstrong wrote: > > From: Guillaume La Roque > > Add system regulators for the X96 Max Set-Top-Box. the hint from the "meson-g12a-sei510: add regulators" patch would be great here as well: Still missing * VDD_EE (0.8V - PWM

Re: [GIT PULL] UML updates for 5.1-rc1

2019-03-15 Thread Linus Torvalds
On Fri, Mar 15, 2019 at 3:01 PM Richard Weinberger wrote: > > *kind ping* to make sure this PR is not lost. :-) > I guess you skipped this one too after the git.infradead.org outage. Right you are. Thanks for the ping, Linus

Re: [PATCH 04/11] arm64: dts: meson-g12a-u200: add regulators

2019-03-15 Thread Martin Blumenstingl
Hi Neil, On Mon, Mar 11, 2019 at 10:57 AM Neil Armstrong wrote: > > From: Jerome Brunet > > Add system regulators for the S905D2 U200 reference design. I find the hint in the meson-g12a-sei510 regulators patch very good: Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU(PWM

Re: [GIT PULL] UML updates for 5.1-rc1

2019-03-15 Thread Richard Weinberger
On Tue, Mar 12, 2019 at 4:14 PM Richard Weinberger wrote: > > Linus, > > The following changes since commit 1c163f4c7b3f621efff9b28a47abb36f7378d783: > > Linux 5.0 (2019-03-03 15:21:29 -0800) > > are available in the Git repository at: > >

[PATCH 1/2] iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor

2019-03-15 Thread Angus Ainslie (Purism)
The VCNL4040 is almost identical to the VCNL4200 as far as register layout goes but just need to check a different ID register location. This does change the initialization sequence of the VCNL4200 to use word writes instead of byte writes. The VCNL4200 datasheet says that word read and writes

[PATCH 0/2] Add a VCNL4040 light and proximity driver

2019-03-15 Thread Angus Ainslie (Purism)
Extend the Vishay VCNL40x0/4200 driver to work with the VCNL4040 chip. Angus Ainslie (Purism) (2): iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor dt-bindings: iio: light: Document the VCNL4xx0 device tree bindings .../bindings/iio/light/vcnl4xx0.txt

[PATCH 2/2] dt-bindings: iio: light: Document the VCNL4xx0 device tree bindings

2019-03-15 Thread Angus Ainslie (Purism)
devicetree hooks where added to the VCNL4xx0 light and proximity sensor driver. Signed-off-by: Angus Ainslie (Purism) --- .../devicetree/bindings/iio/light/vcnl4xx0.txt| 15 +++ 1 file changed, 15 insertions(+) create mode 100644

Re: [PATCH 10/11] arm64: dts: meson-g12a-u200: Enable USB

2019-03-15 Thread Martin Blumenstingl
On Mon, Mar 11, 2019 at 10:58 AM Neil Armstrong wrote: > > Enable the USB2 OTG and USB3 Host ports on the S905D2 Reference Design. > > Signed-off-by: Neil Armstrong I have no details on the U200 board (whether it has a micro USB OTG port, etc.) but this looks sane so: Acked-by: Martin

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2019-03-15 Thread Tim Harvey
Tim Harvey - Principal Software EngineerGateworks Corporation - http://www.gateworks.com/3026 S. Higuera St. San Luis Obispo CA 93401805-781-2000 On Tue, Mar 5, 2019 at 4:39 AM Måns Rullgård wrote: > > Douglas Anderson writes: > > > This series picks patches from various different places to

Re: [PATCH 11/11] arm64: dts: meson-g12a-x96-max: Enable USB

2019-03-15 Thread Martin Blumenstingl
Hi Neil, On Mon, Mar 11, 2019 at 10:58 AM Neil Armstrong wrote: [...] > + { > + status = "okay"; > +}; your patch description states that this enables the "USB host ports" but dwc2 is only used for peripheral mode (meaning: dr_mode = "peripheral" or dr_mode = "otg"). do we still need to

Re: [PATCH net-next] selftests: bpf: modify urandom_read and link it non-statically

2019-03-15 Thread Ivan Vecera
- Stanislav Fomichev wrote: > On 03/15, Ivan Vecera wrote: > > On 15. 03. 19 21:08, Stanislav Fomichev wrote: > > > On 03/15, Ivan Vecera wrote: > > > > After some experiences I found that urandom_read does not need to be > > > > linked statically. When the 'read' syscall call is moved to

  1   2   3   4   5   >