Re: [PATCH 1/3] dt-bindings: added new pwm-sifive driver documentation

2018-04-28 Thread Thierry Reding
On Fri, Apr 27, 2018 at 03:59:56PM -0700, Wesley W. Terpstra wrote: > Document new PWM device tree bindings for SiFive SoCs. > > Signed-off-by: Wesley W. Terpstra > --- > .../devicetree/bindings/pwm/pwm-sifive.txt | 28 > ++ > 1 file changed, 28

Re: LICENSES: Missing ISC text & possibly a category ("Not recommended" vs. "Preferred licenses")

2018-04-28 Thread Greg Kroah-Hartman
On Sat, Apr 28, 2018 at 11:25:17PM +0200, Rafał Miłecki wrote: > Hi, > > Due to some maintainers *preferring* BSD-compatible license for DTS > files [0], I was writing mine using ISC. I had no very special reason > for it: I was choosing between BSD-2-Clause, MIT and ISC. I've chosen > ISC as I

Re: [RFD] x86: The future of MPX

2018-04-28 Thread Eric W. Biederman
Ingo Molnar writes: > * Linus Torvalds wrote: > >> On Sat, Apr 28, 2018 at 2:18 AM Ingo Molnar wrote: >> >> > I just tried the MPX testcases with the latest kernel: >> >> > deimos:~/tip/tools/testing/selftests/x86>

Re: [PATCH 2/2] hwmon: (k10temp) Use API function to access System Management Network

2018-04-28 Thread Gabriel C
2018-04-29 3:54 GMT+02:00 Guenter Roeck : > The SMN (System Management Network) on Family 17h AMD CPUs is also accessed > from other drivers, specifically EDAC. Accessing it directly is racy. > On top of that, accessing the SMN through root bridge 00:00 is wrong on > multi-die

Re: [PATCH net-next 0/2 v4] netns: uevent filtering

2018-04-28 Thread Eric W. Biederman
Christian Brauner writes: > Hey everyone, > > This is the new approach to uevent filtering as discussed (see the > threads in [1], [2], and [3]). It only contains *non-functional > changes*. > > This series deals with with fixing up uevent filtering logic: > -

Re: [PATCH net-next 2/2 v4] netns: restrict uevents

2018-04-28 Thread Eric W. Biederman
> + /* fix credentials */ > + if (owning_user_ns != _user_ns) { > + struct netlink_skb_parms *parms = _CB(skb); > + kuid_t root_uid; > + kgid_t root_gid; > + > + /* fix uid */ > + root_uid = make_kuid(owning_user_ns, 0); > +

Re: [PATCH 1/2] x86/amd_nb: Add support for Raven Ridge CPUs

2018-04-28 Thread Gabriel C
2018-04-29 3:54 GMT+02:00 Guenter Roeck : > Add Raven Ridge root bridge and data fabric PCI IDs. > This is required for amd_pci_dev_to_node_id() and amd_smn_read(). > > Signed-off-by: Guenter Roeck > --- > This patch is a prerequisite for the second patch

Re: [PATCH 1/2] x86/amd_nb: Add support for Raven Ridge CPUs

2018-04-28 Thread Gabriel C
2018-04-29 3:54 GMT+02:00 Guenter Roeck : > Add Raven Ridge root bridge and data fabric PCI IDs. > This is required for amd_pci_dev_to_node_id() and amd_smn_read(). > > Signed-off-by: Guenter Roeck > --- > This patch is a prerequisite for the second patch

Re: [PATCH 3/3] genalloc: selftest

2018-04-28 Thread Randy Dunlap
On 04/28/2018 07:45 PM, Igor Stoppa wrote: > Introduce a set of macros for writing concise test cases for genalloc. > > The test cases are meant to provide regression testing, when working on > new functionality for genalloc. > > Primarily they are meant to confirm that the various allocation

Re: [llc_ui_release] BUG: unable to handle kernel NULL pointer dereference at 0000000000000004

2018-04-28 Thread Linus Torvalds
On Sat, Apr 28, 2018 at 7:12 PM Fengguang Wu wrote: > FYI this happens in mainline kernel 4.17.0-rc2. > It looks like a new regression. > It occurs in 5 out of 5 boots. > [main] 375 sockets created based on info from socket cachefile. > [main] Generating file

drivers/gpu/drm/bridge/sil-sii8620.c:2405: undefined reference to `extcon_unregister_notifier'

2018-04-28 Thread kbuild test robot
Hi Maciej, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 19b9ad67310ed2f685062a00aec602bec33835f0 commit: 688838442147d9dd94c2ef7c2c31a35cf150c5fa drm/bridge/sii8620: use micro-USB cable detection logic to detect

Re: [PATCH 0/3] linux-next: mm: hardening: Track genalloc allocations

2018-04-28 Thread Matthew Wilcox
On Sun, Apr 29, 2018 at 06:45:39AM +0400, Igor Stoppa wrote: > This patchset was created as part of an older version of pmalloc, however > it has value per-se, as it hardens the memory management for the generic > allocator genalloc. > > Genalloc does not currently track the size of the

Re: [crng_reseed] WARNING: inconsistent lock state

2018-04-28 Thread Linus Torvalds
On Sat, Apr 28, 2018 at 7:26 PM Fengguang Wu wrote: > FYI this happens in mainline kernel 4.17.0-rc2. > It looks like a new regression. > It occurs in 3 out of 3 boots. > There is another "[ 294.642506] BUG: sleeping function called from > invalid context at

[GIT PULL] ext4 fixes for 4.17-rc3

2018-04-28 Thread Theodore Y. Ts'o
The following changes since commit e40ff213898502d299351cc2fe1e350cd186f0d3: ext4: force revalidation of directory pointer after seekdir(2) (2018-04-01 23:21:03 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git

[PATCH 3/3] genalloc: selftest

2018-04-28 Thread Igor Stoppa
Introduce a set of macros for writing concise test cases for genalloc. The test cases are meant to provide regression testing, when working on new functionality for genalloc. Primarily they are meant to confirm that the various allocation strategy will continue to work as expected. The

[PATCH 2/3] Add label and license to genalloc.rst

2018-04-28 Thread Igor Stoppa
Add SPDX license to genalloc.rst, then a label, to allow cross-referencing. Signed-off-by: Igor Stoppa --- Documentation/core-api/genalloc.rst | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/core-api/genalloc.rst

[PATCH 1/3] genalloc: track beginning of allocations

2018-04-28 Thread Igor Stoppa
The genalloc library is only capable of tracking if a certain unit of allocation is in use or not. It is not capable of discerning where the memory associated to an allocation request begins and where it ends. The reason is that units of allocations are tracked by using a bitmap, where each bit

[PATCH 0/3] linux-next: mm: hardening: Track genalloc allocations

2018-04-28 Thread Igor Stoppa
This patchset was created as part of an older version of pmalloc, however it has value per-se, as it hardens the memory management for the generic allocator genalloc. Genalloc does not currently track the size of the allocations it hands out. Either by mistake, or due to an attack, it is

Re: ed74ae0342 ("blk-mq: Avoid that a completion can be ignored .."): BUG: kernel hang in test stage

2018-04-28 Thread Fengguang Wu
Hi Jens, On Fri, Apr 27, 2018 at 06:52:58PM -0600, Jens Axboe wrote: On 4/24/18 3:00 PM, kernel test robot wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-linus commit

[RFC patch] Documenation: don't build media .rst files when not building Documentation/media/

2018-04-28 Thread Randy Dunlap
Don't build media .rst files from header files when Documentation/media/ is not in the target SPHINXDIRS. It looks like the dependencies in Documentation/media/Makefile should take care of running parse-headers.pl to generated .rst files from the header files, but it's not happening and I don't

[PATCH 1/2] x86/amd_nb: Add support for Raven Ridge CPUs

2018-04-28 Thread Guenter Roeck
Add Raven Ridge root bridge and data fabric PCI IDs. This is required for amd_pci_dev_to_node_id() and amd_smn_read(). Signed-off-by: Guenter Roeck --- This patch is a prerequisite for the second patch in the series. I'll be happy to apply both patches through hwmon if that

[PATCH 2/2] hwmon: (k10temp) Use API function to access System Management Network

2018-04-28 Thread Guenter Roeck
The SMN (System Management Network) on Family 17h AMD CPUs is also accessed from other drivers, specifically EDAC. Accessing it directly is racy. On top of that, accessing the SMN through root bridge 00:00 is wrong on multi-die CPUs and may result in reading the temperature from the wrong die. Use

Re: FROM: "MRS PATRICIA WILLIAMS" linux-kernel@vger.kernel.org

2018-04-28 Thread Mrs Patricia Williams
FYI: About My Previous Message Hi, Am Mrs Patricia William, i just want to know if you receive my previous email i sent to you last three (3) days ago. Is your email still Active? If YES; please can you email me back, i have something very important to discuss with you. Awaits your reply

Re: [PATCH v2 1/2] drm/ttm: Only allocate huge pages with new flag TTM_PAGE_FLAG_TRANSHUGE

2018-04-28 Thread Ilia Mirkin
On Sat, Apr 28, 2018 at 7:02 PM, Michel Dänzer wrote: > On 2018-04-28 06:30 PM, Ilia Mirkin wrote: >> On Fri, Apr 27, 2018 at 9:08 AM, Michel Dänzer wrote: >>> From: Michel Dänzer >>> >>> Previously, TTM would always (with

[PATCH] media: staging: atomisp: fix a potential missing-check bug

2018-04-28 Thread Wenwen Wang
At the end of atomisp_subdev_set_selection(), the function atomisp_subdev_get_rect() is invoked to get the pointer to v4l2_rect. Since this function may return a NULL pointer, it is firstly invoked to check the returned pointer. If the returned pointer is not NULL, then the function is invoked

Re: [PATCH v2 1/2] drm/ttm: Only allocate huge pages with new flag TTM_PAGE_FLAG_TRANSHUGE

2018-04-28 Thread Michel Dänzer
On 2018-04-28 06:30 PM, Ilia Mirkin wrote: > On Fri, Apr 27, 2018 at 9:08 AM, Michel Dänzer wrote: >> From: Michel Dänzer >> >> Previously, TTM would always (with CONFIG_TRANSPARENT_HUGEPAGE enabled) >> try to allocate huge pages. However, not all

[PATCH v2] spi: meson-spicc: Fix error handling in meson_spicc_probe()

2018-04-28 Thread Alexey Khoroshilov
If devm_spi_register_master() fails in meson_spicc_probe(), spicc->core is left undisabled. The patch fixes that. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Reviewed-by: Neil Armstrong --- v2:

[PATCH] power: supply: ltc2941-battery-gauge: Release device_node in ltc294x_i2c_probe()

2018-04-28 Thread Alexey Khoroshilov
There is of_node_get(client->dev.of_node) in ltc294x_i2c_probe(), but these is no of_node_put() somethere in the driver. The patch adds one on error and normal paths. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov ---

[PATCH] kbuild: "make tools/help" does not need syncconfig

2018-04-28 Thread Randy Dunlap
From: Randy Dunlap Fix "make tools/help" to skip "make syncconfig". "make tools/help" currently tries to run "make syncconfig" even though there is no .config file and one is not needed just to get help text output. With no .config file, make says: *** Configuration

[PATCH] wireless: ipw2100: fix spelling mistake: "decsribed" -> "described"

2018-04-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in comment and in the ord_data text Signed-off-by: Colin Ian King --- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +- drivers/net/wireless/intel/ipw2x00/ipw2100.h | 2 +- 2 files

[PATCH] drm/amd/powerplay: fix spelling mistake: "contruct" -> "construct"

2018-04-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in PP_ASSERT_WITH_CODE message text Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-

[PATCH] can: cc770: fix spelling mistake: "comptibility" -> "compatibility"

2018-04-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in module parameter description text Signed-off-by: Colin Ian King --- drivers/net/can/cc770/cc770.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] [media] media/usbvision: fix spelling mistake: "compresion" -> "compression"

2018-04-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in proc text string Signed-off-by: Colin Ian King --- drivers/media/usb/usbvision/usbvision-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH][V2] dmaengine: stm32-mdma: fix spelling mistake: "avalaible" -> "available"

2018-04-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err error message text and make channel plural. Signed-off-by: Colin Ian King --- drivers/dma/stm32-mdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: PROBLEM: error due to conflicting types during build of kselftests

2018-04-28 Thread Randy Dunlap
On 04/28/2018 02:42 PM, Jeffrin Thalakkottoor wrote: > anyway my current is gcc (Debian 7.3.0-16) 7.3.0 > > may be you can try ... make -C tools/testing/selftests 2> error.txt I have a much older gcc, so newer must be better. :) > On Sat, Apr 28, 2018 at 5:08 AM, Randy Dunlap

[PATCH] Revert "dmaengine: pl330: add DMA_PAUSE feature"

2018-04-28 Thread Frank Mori Hess
This reverts commit 88987d2c7534a0269f567fb101e6d71a08f0f01d. The pl330.c pause implementation violates the dmaengine requirement for no data loss, since it relies on the DMAKILL instruction. However, DMAKILL discards in-flight data from the dma controller's fifo. This is documented in the

Re: PROBLEM: error due to conflicting types during build of kselftests

2018-04-28 Thread Jeffrin Thalakkottoor
anyway my current is gcc (Debian 7.3.0-16) 7.3.0 may be you can try ... make -C tools/testing/selftests 2> error.txt On Sat, Apr 28, 2018 at 5:08 AM, Randy Dunlap wrote: > On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote: >> hello, >> >> the following is the error

Re: [PATCH 3.18 18/52] HID: i2c-hid: fix size check and type usage

2018-04-28 Thread John Smith
> - if (ret_size > size) { > + if ((ret_size > size) || (ret_size <= 2)) { > dev_err(>client->dev, "%s: incomplete report (%d/%d)\n", > __func__, size, ret_size); > return; This change spams in the dmesg output. Could you please undo this change? Or - if ((ret_size > size) || (ret_size <= 2)) {

LICENSES: Missing ISC text & possibly a category ("Not recommended" vs. "Preferred licenses")

2018-04-28 Thread Rafał Miłecki
Hi, Due to some maintainers *preferring* BSD-compatible license for DTS files [0], I was writing mine using ISC. I had no very special reason for it: I was choosing between BSD-2-Clause, MIT and ISC. I've chosen ISC as I read about its "removal of language deemed unnecessary". I took a moment to

Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-04-28 Thread Kani, Toshi
On Sat, 2018-04-28 at 11:02 +0200, j...@8bytes.org wrote: > On Fri, Apr 27, 2018 at 02:31:51PM +, Kani, Toshi wrote: > > So, we can add the step 2 on top of this patch. > > 1. Clear pud/pmd entry. > > 2. System wide TLB flush <-- TO BE ADDED BY NEW PATCH > > 3. Free its underlining pmd/pte

Re: [PATCH net-next v2 4/7] net: mscc: Add initial Ocelot switch support

2018-04-28 Thread kbuild test robot
Hi Alexandre, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Alexandre-Belloni/Microsemi-Ocelot-Ethernet-switch-support/20180429-024136 config: x86_64-allmodconfig (attached as .config) compiler: gcc-7

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-04-28 Thread Matthew Wilcox
On Sat, Apr 28, 2018 at 09:46:52PM +0200, Julia Lawall wrote: > FWIW, here is my semantic patch and the output - it reports on things that > appear to be too small and things that it doesn't know about. > > What are the relevant pci wrappers? I didn't find them. Basically all of the functions

Re: [PATCH v2] efi: Ignore unrealistically large option roms

2018-04-28 Thread Hans de Goede
Hi, On 28-04-18 08:40, Ard Biesheuvel wrote: Hi Hans, On 27 April 2018 at 23:35, Hans de Goede wrote: setup_efi_pci() tries to save a copy of each PCI option ROM as this may be necessary for the device driver for the PCI device to have access too. On some systems the

[PATCH v3] dmaengine: axi-dmac: Request IRQ with IRQF_SHARED

2018-04-28 Thread Moritz Fischer
Request IRQ with IRQF_SHARED flag to enable setups with multiple instances of the core sharing a single IRQ line. This works out since the IRQ handler already checks if there is an actual IRQ pending and returns IRQ_NONE otherwise. Acked-by: Lars-Peter Clausen Signed-off-by:

Re: [greybus-dev] [PATCH v2] staging: greybus: Use gpio_is_valid()

2018-04-28 Thread Alex Elder
On 04/27/2018 11:35 PM, Arvind Yadav wrote: > Replace the manual validity checks for the GPIO with the > gpio_is_valid(). > > Signed-off-by: Arvind Yadav Looks good. Reviewed-by: Alex Elder > --- > chnage in v2 : > Returning invalid

[PATCH] ext4: add crc32c soft dependency

2018-04-28 Thread Dmitry V. Levin
Starting with commit a45403b51582, ext4 unconditionally requires a crc32c provider, which broke certain mkinitrd setups. Add a soft dependency on crc32c so that mkinitrd, dracut, and other initrd image generators could include the required helper module. The dependency on crc32c is quite hard

Re: [PATCH] thunderbolt: Handle NULL boot ACL entries properly

2018-04-28 Thread Yehezkel Bernat
On Fri, Apr 27, 2018 at 6:58 PM Mika Westerberg < mika.westerb...@linux.intel.com> wrote: > If the boot ACL entry is already NULL we should not fill in the upper > two DWs with 0xf. Otherwise they are not shown as empty entries > when the sysfs attribute is read. > Fixes: 9aaa3b8b4c56

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-04-28 Thread Julia Lawall
On Sat, 28 Apr 2018, Luis R. Rodriguez wrote: > On Sat, Apr 28, 2018 at 01:42:21AM -0700, Christoph Hellwig wrote: > > On Fri, Apr 27, 2018 at 04:14:56PM +, Luis R. Rodriguez wrote: > > > Do we have a list of users for x86 with a small DMA mask? > > > Or, given that I'm not aware of a tool

Re: [PATCH net-next v2 4/7] net: mscc: Add initial Ocelot switch support

2018-04-28 Thread kbuild test robot
Hi Alexandre, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Alexandre-Belloni/Microsemi-Ocelot-Ethernet-switch-support/20180429-024136 config: sh-allmodconfig (attached as .config) compiler:

Re: [PATCH v2] dmaengine: axi-dmac: Request IRQ with IRQF_SHARED

2018-04-28 Thread Moritz Fischer
On Sat, Apr 28, 2018 at 10:40:43AM +0530, Vinod Koul wrote: > On Fri, Apr 27, 2018 at 05:18:29PM +0200, Lars-Peter Clausen wrote: > > On 04/27/2018 05:15 PM, Moritz Fischer wrote: > > > Hi Vinod, > > > > > > On Fri, Apr 27, 2018 at 12:08 AM, Vinod Koul wrote: > > >> On Fri,

Re: [PATCH v2 0/3] Rework write error handling in pblk

2018-04-28 Thread Matias Bjørling
On 4/23/18 10:45 PM, Hans Holmberg wrote: From: Hans Holmberg This patch series fixes the(currently incomplete) write error handling in pblk by: * queuing and re-submitting failed writes in the write buffer * evacuating valid data data in lines with write

[PATCH net-next 1/2 v4] uevent: add alloc_uevent_skb() helper

2018-04-28 Thread Christian Brauner
This patch adds alloc_uevent_skb() in preparation for follow up patches. Signed-off-by: Christian Brauner --- v3->v4: * non-functional changes: initialize some variables again explicitly to make it obvious to readers that they are correctly set v2->v3: * new

[PATCH net-next 2/2 v4] netns: restrict uevents

2018-04-28 Thread Christian Brauner
commit 07e98962fa77 ("kobject: Send hotplug events in all network namespaces") enabled sending hotplug events into all network namespaces back in 2010. Over time the set of uevents that get sent into all network namespaces has shrunk. We have now reached the point where hotplug events for all

[PATCH net-next 0/2 v4] netns: uevent filtering

2018-04-28 Thread Christian Brauner
Hey everyone, This is the new approach to uevent filtering as discussed (see the threads in [1], [2], and [3]). It only contains *non-functional changes*. This series deals with with fixing up uevent filtering logic: - uevent filtering logic is simplified - locking time on uevent_sock_list is

Re: [PATCH net-next 2/2 v3] netns: restrict uevents

2018-04-28 Thread Christian Brauner
On Fri, Apr 27, 2018 at 11:30:26AM -0500, Eric W. Biederman wrote: > Christian Brauner writes: > > --- > > lib/kobject_uevent.c | 140 ++- > > 1 file changed, 99 insertions(+), 41 deletions(-) > > > > diff --git

Re: [PATCH net-next 1/2 v3] uevent: add alloc_uevent_skb() helper

2018-04-28 Thread Christian Brauner
On Fri, Apr 27, 2018 at 11:39:44AM -0500, Eric W. Biederman wrote: > Christian Brauner writes: > > > This patch adds alloc_uevent_skb() in preparation for follow up patches. > > > > Signed-off-by: Christian Brauner > > --- > >

objdump: arch/x86/entry/.tmp_common.o: File format not recognized

2018-04-28 Thread noisyb
Hello, 4.1.51 compiles fine 4.16.1+ give me errors like in the subject... randomly... I cant find a clue in Changes what is causing this... tools are all new enough... Dirk

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-04-28 Thread Luis R. Rodriguez
On Sat, Apr 28, 2018 at 01:42:21AM -0700, Christoph Hellwig wrote: > On Fri, Apr 27, 2018 at 04:14:56PM +, Luis R. Rodriguez wrote: > > Do we have a list of users for x86 with a small DMA mask? > > Or, given that I'm not aware of a tool to be able to look > > for this in an easy way, would it

Re: [PATCH 1/1] tg3: fix meaningless hw_stats reading after tg3_halt memset 0 hw_stats

2018-04-28 Thread Michael Chan
On Fri, Apr 27, 2018 at 8:15 PM, Zumeng Chen wrote: > diff --git a/drivers/net/ethernet/broadcom/tg3.h > b/drivers/net/ethernet/broadcom/tg3.h > index 3b5e98e..6727d93 100644 > --- a/drivers/net/ethernet/broadcom/tg3.h > +++ b/drivers/net/ethernet/broadcom/tg3.h > @@

Re: [PATCH] MAINTAINERS: add myself as maintainer of AFFS

2018-04-28 Thread David Sterba
On Sat, Apr 28, 2018 at 05:33:57PM +, Linus Torvalds wrote: > On Sat, Apr 28, 2018 at 10:07 AM David Sterba wrote: > > > I volunteer to act as a maintainer of AFFS to collect any fixes that > > might show up and to guard fs/affs/ against another spring cleaning. > > Hmm.

Re: [RFD] x86: The future of MPX

2018-04-28 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sat, Apr 28, 2018 at 2:18 AM Ingo Molnar wrote: > > > I just tried the MPX testcases with the latest kernel: > > > deimos:~/tip/tools/testing/selftests/x86> ./mpx-mini-test_64 > > They need to be run as root.

Re: [PATCH] MAINTAINERS: add myself as maintainer of AFFS

2018-04-28 Thread Linus Torvalds
On Sat, Apr 28, 2018 at 10:07 AM David Sterba wrote: > I volunteer to act as a maintainer of AFFS to collect any fixes that > might show up and to guard fs/affs/ against another spring cleaning. Hmm. Please be more careful. > @@ -564,8 +564,10 @@ S: Maintained The above says

Hello Dear Friend!

2018-04-28 Thread From Mr Kabiru Wahid
-- Hello Dear Friend! I have a business proposal for you which involves a huge amount of money that run into millions of US dollars that i want to move or transfer to your country for safe keeping and investment, please this is not a spam, its a real business that will benefit both of us. Please

Re: [PATCH RESEND] PCI/AER: Use a common function to print AER error bits

2018-04-28 Thread Alex G.
On 04/28/2018 11:46 AM, Alex G. wrote: On 04/27/2018 05:43 PM, Bjorn Helgaas wrote: On Tue, Apr 17, 2018 at 12:09:43PM -0500, Alexandru Gagniuc wrote: (snip) +    memset(, 0, sizeof(info)); +    info.severity = aer_severity; +    info.status = status; +    info.mask = mask; +   

[PATCH] MAINTAINERS: add myself as maintainer of AFFS

2018-04-28 Thread David Sterba
The AFFS filesystem is still in use by m68k community (Link #2), but as there was no code activity and no maintainer, the filesystem appeared on the list of candidates for staging/removal (Link #1). I volunteer to act as a maintainer of AFFS to collect any fixes that might show up and to guard

Re: [PATCH v4 4/4] iio: afe: rescale: new driver

2018-04-28 Thread Jonathan Cameron
On Mon, 23 Apr 2018 23:08:09 +0200 Peter Rosin wrote: > If an ADC channel measures the midpoint of a voltage divider, the > interesting voltage is often the voltage over the full resistance. > E.g. if the full voltage is too big for the ADC to handle. > Likewise, if an ADC

Re: [PATCH v4 3/4] dt-bindings: iio: afe: add binding for current-sense-amplifier

2018-04-28 Thread Jonathan Cameron
On Fri, 27 Apr 2018 09:30:25 -0500 Rob Herring wrote: > On Mon, Apr 23, 2018 at 11:08:08PM +0200, Peter Rosin wrote: > > Similar to current sense shunts, but an amplifier enables the use > > of a smaller sense resistance. > > > > Signed-off-by: Peter Rosin > >

Re: [PATCH v4 2/4] dt-bindings: iio: afe: add binding for voltage-divider

2018-04-28 Thread Jonathan Cameron
On Fri, 27 Apr 2018 09:29:17 -0500 Rob Herring wrote: > On Mon, Apr 23, 2018 at 11:08:07PM +0200, Peter Rosin wrote: > > An ADC is often used to measure other quantities indirectly. This > > binding describe one cases, a "big" voltage measured with the help > > of a voltage

Re: [PATCH v4 1/4] dt-bindings: iio: afe: add binding for current-sense-shunt

2018-04-28 Thread Jonathan Cameron
On Mon, 23 Apr 2018 23:08:06 +0200 Peter Rosin wrote: > An ADC is often used to measure other quantities indirectly. This > binding describe one cases, a current through a shunt resistor > measured by the voltage over it. > > Reviewed-by: Rob Herring >

Re: [PATCH RESEND] PCI/AER: Use a common function to print AER error bits

2018-04-28 Thread Alex G.
On 04/27/2018 05:43 PM, Bjorn Helgaas wrote: On Tue, Apr 17, 2018 at 12:09:43PM -0500, Alexandru Gagniuc wrote: On errors reported from CPER, cper_print_bits() was used to log the AER bits. This resulted in hard-to-understand messages, without a prefix. Instead use __aer_print_error() for both

Re: [RFD] x86: The future of MPX

2018-04-28 Thread Linus Torvalds
On Sat, Apr 28, 2018 at 9:36 AM Linus Torvalds < torva...@linux-foundation.org> wrote: > They need to be run as root. Side note: don't get me wrong. If the MPX stuff isn't supported by gcc, then there is little point in us supporting it in the kernel either. So I'm just saying that the

Re: [RFD] x86: The future of MPX

2018-04-28 Thread Linus Torvalds
On Sat, Apr 28, 2018 at 2:18 AM Ingo Molnar wrote: > I just tried the MPX testcases with the latest kernel: > deimos:~/tip/tools/testing/selftests/x86> ./mpx-mini-test_64 They need to be run as root. They try to access /sys/kernel/debug/tracing/set_ftrace_pid

[PATCH v5 1/7] gpio: pca953x: convert register constants to hex

2018-04-28 Thread H. Nikolaus Schaller
which makes it easier to match them with the data sheets. Signed-off-by: H. Nikolaus Schaller --- drivers/gpio/gpio-pca953x.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/gpio/gpio-pca953x.c

[PATCH v5 7/7] DTS: Bindings: pca953x: add example how to use interrupt-controller and gpio-controller

2018-04-28 Thread H. Nikolaus Schaller
It is not completely obvious that these are required and how to use them. So we provide a tested example. Signed-off-by: H. Nikolaus Schaller Reviewed-by: Rob Herring --- .../devicetree/bindings/gpio/gpio-pca953x.txt | 33 ++ 1 file

[PATCH v5 0/7] pcal6524 extensions and fixes for pca953x driver

2018-04-28 Thread H. Nikolaus Schaller
V5: * fix wrong split up between patches 1/7and 2/7. 2018-04-26 19:35:07: V4: * introduced PCA_LATCH_INT constant to make of_table more readable (suggested by Andy Shevchenko) * converted all register constants to hex in a separate patch (suggested by Andy Shevchenko) * separated additional

[PATCH v5 3/7] gpio: pca953x: add more register definitions for pcal6524

2018-04-28 Thread H. Nikolaus Schaller
The pcal6524 has another set of registers to fine control the interrupt handling. Signed-off-by: H. Nikolaus Schaller --- drivers/gpio/gpio-pca953x.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index

[PATCH v5 2/7] gpio: pca953x: add more register definitions for pcal953x

2018-04-28 Thread H. Nikolaus Schaller
PCAL chips ("L" seems to stand for "latched") have additional registers starting at address 0x40 to control the latches, interrupt mask, pull-up and pull down etc. Signed-off-by: H. Nikolaus Schaller --- drivers/gpio/gpio-pca953x.c | 4 1 file changed, 4 insertions(+)

[PATCH v5 4/7] gpio: pca953x: define masks for addressing common and extended registers

2018-04-28 Thread H. Nikolaus Schaller
These mask bits are to be used to map the extended register addreseses (which are defined for an unsupported 8-bit pcal chip) to 16 and 24 bit chips (pcal6524). Signed-off-by: H. Nikolaus Schaller --- drivers/gpio/gpio-pca953x.c | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v5 6/7] DTS: Bindings: pca953x add an optional vcc-supply property

2018-04-28 Thread H. Nikolaus Schaller
Hardware can have a switchable Vcc supply, so let's add it to the bindings (the current Linux driver code already supports it). Signed-off-by: H. Nikolaus Schaller Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + 1

[PATCH v5 5/7] gpio: pca953x: fix address calculation for pcal6524

2018-04-28 Thread H. Nikolaus Schaller
The register constants are so far defined in a way that they fit for the pcal9555a when shifted by the number of banks, i.e. are multiplied by 2 in the accessor function. Now, the pcal6524 has 3 banks which means the relative offset is multiplied by 4 for the standard registers. Simply applying

Re: [PATCH v2 1/2] drm/ttm: Only allocate huge pages with new flag TTM_PAGE_FLAG_TRANSHUGE

2018-04-28 Thread Ilia Mirkin
On Fri, Apr 27, 2018 at 9:08 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Previously, TTM would always (with CONFIG_TRANSPARENT_HUGEPAGE enabled) > try to allocate huge pages. However, not all drivers can take advantage > of huge pages, but they

Re: [PATCH v4 1/7] gpio: pca953x: convert register constants to hex

2018-04-28 Thread H. Nikolaus Schaller
> Am 26.04.2018 um 19:34 schrieb H. Nikolaus Schaller : > > which makes it easier to match them with the data sheets. > > Signed-off-by: H. Nikolaus Schaller > --- > drivers/gpio/gpio-pca953x.c | 32 > 1 file changed, 16

Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface

2018-04-28 Thread Sujeev Dias
On 04/27/2018 05:18 AM, Arnd Bergmann wrote: On Fri, Apr 27, 2018 at 4:23 AM, Sujeev Dias wrote: diff --git a/Documentation/devicetree/bindings/bus/mhi.txt b/Documentation/devicetree/bindings/bus/mhi.txt new file mode 100644 index 000..ea1b620 --- /dev/null +++

Re: [PATCH] staging: luster: llite: fix a potential missing-check bug when copying lumv

2018-04-28 Thread Dilger, Andreas
On Apr 27, 2018, at 17:45, Wenwen Wang wrote: > [PATCH] staging: luster: llite: fix potential missing-check bug when copying > lumv (typo) s/luster/lustre/ > In ll_dir_ioctl(), the object lumv3 is firstly copied from the user space > using Its address, i.e., lumv1 = If the

Re: [PATCH 4.16 00/81] 4.16.6-stable review

2018-04-28 Thread Greg Kroah-Hartman
On Sat, Apr 28, 2018 at 07:32:18AM -0700, Guenter Roeck wrote: > On 04/27/2018 06:58 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.6 release. > > There are 81 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface

2018-04-28 Thread Greg Kroah-Hartman
On Sat, Apr 28, 2018 at 07:28:17AM -0700, Sujeev Dias wrote: > Thanks for quick feedback > > > On 04/27/2018 12:22 AM, Greg Kroah-Hartman wrote: > > On Thu, Apr 26, 2018 at 07:23:28PM -0700, Sujeev Dias wrote: > > > MHI Host Interface is a communication protocol to be used by the host > > > to

[GIT PULL] ARM: uniphier: fixes for v4.17

2018-04-28 Thread Masahiro Yamada
Hi Arnd, Olof, Please pull some fixes of ARM UniPhier DT. The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at:

Quote Request.

2018-04-28 Thread Ron Corporation
Good morning. We got a recommendation that your company could help us get the GRUNDFOS PUMP with model numbers below: 1)Grundfos SQ Flex 11 SQF-2 Part Number 95027335 2)Grundfos 10SQ10-290 PART NUMBER 96160143 3)Grundfos 10SQ07-240 PART NUMBER 96160142 4)Grundfos 10SQ15-330 PART NUMBER

Re: [PATCH v1 2/4] mhi_bus: controller: MHI support for QCOM modems

2018-04-28 Thread Sujeev Dias
On 04/27/2018 04:32 AM, Arnd Bergmann wrote: On Fri, Apr 27, 2018 at 4:23 AM, Sujeev Dias wrote: QCOM PCIe based modems uses MHI as the communication protocol. MHI control driver is the bus master for such modems. As the bus master driver, it oversees power management

Re: [PATCH] nvme: unquiesce the queue before cleaup it

2018-04-28 Thread jianchao.wang
Hi Max On 04/27/2018 04:51 PM, jianchao.wang wrote: > Hi Max > > On 04/26/2018 06:23 PM, Max Gurtovoy wrote: >> Hi Jianchao, >> I actually tried this scenario with real HW and was able to repro the hang. >> Unfortunatly, after applying your patch I got NULL deref: >> BUG: unable to handle kernel

Re: [PATCH v1 3/4] mhi_bus: dev: netdev: add network interface driver

2018-04-28 Thread Sujeev Dias
On 04/27/2018 04:19 AM, Arnd Bergmann wrote: On Fri, Apr 27, 2018 at 4:23 AM, Sujeev Dias wrote: MHI based net device driver is used for transferring IP traffic between host and modem. Driver allows clients to transfer data using standard network interface.

Re: [PATCH 1/3] dt-bindings: iio: stm32-adc: add support for STM32MP1.

2018-04-28 Thread Jonathan Cameron
On Wed, 25 Apr 2018 09:22:02 +0200 Fabrice Gasnier wrote: > On 04/24/2018 06:27 PM, Rob Herring wrote: > > On Wed, Apr 18, 2018 at 05:37:52PM +0200, Fabrice Gasnier wrote: > >> Document support for STM32MP1 ADC. It's quite similar to STM32H7 ADC. > >> Introduce

Re: [PATCH 6/7] iio: adc: stm32-dfsdm: add check on max filter id

2018-04-28 Thread Jonathan Cameron
On Fri, 23 Feb 2018 13:51:00 +0100 Fabrice Gasnier wrote: > reg property should be checked against number of available filters. > BTW, dfsdm->num_fls wasn't used. But it can be used for this purpose. > This prevents using data out of allocated dfsdm->fl_list array. > >

Re: [PATCH 5/7] iio: adc: stm32-dfsdm: misc style improvements and fixes

2018-04-28 Thread Jonathan Cameron
On Mon, 23 Apr 2018 09:48:56 +0200 Fabrice Gasnier wrote: > On 02/24/2018 02:03 PM, Jonathan Cameron wrote: > > On Fri, 23 Feb 2018 13:50:59 +0100 > > Fabrice Gasnier wrote: > > > >> Misc fixes & style improvements: > >> - checkpatch warns

Re: [PATCH v2 04/12] mm: Assign memcg-aware shrinkers bitmap to memcg

2018-04-28 Thread Vladimir Davydov
On Tue, Apr 24, 2018 at 03:24:53PM +0300, Kirill Tkhai wrote: > >> +int expand_shrinker_maps(int old_nr, int nr) > >> +{ > >> + int id, size, old_size, node, ret; > >> + struct mem_cgroup *memcg; > >> + > >> + old_size = old_nr / BITS_PER_BYTE; > >> +

Re: [PATCH 7/7] iio: adc: stm32-dfsdm: add check on spi-max-frequency

2018-04-28 Thread Jonathan Cameron
On Fri, 23 Feb 2018 13:51:01 +0100 Fabrice Gasnier wrote: > spi-max-frequency is requested for SPI master mode (only), to tune output > clock. It may happen requested frequency isn't reachable. > Add explicit check, so probe fails with error in this case. Otherwise, >

Re: [PATCH 4.16 163/196] random: fix crng_ready() test

2018-04-28 Thread Dan Rue
On Sat, Apr 28, 2018 at 08:00:03AM +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 27, 2018 at 11:34:43AM -0500, Dan Rue wrote: > > On Sun, Apr 22, 2018 at 03:53:03PM +0200, Greg Kroah-Hartman wrote: > > > 4.16-stable review patch. If anyone has any objections, please let me > > > know. > > > >

Re: [PATCH 4.16 00/81] 4.16.6-stable review

2018-04-28 Thread Guenter Roeck
On 04/27/2018 06:58 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.16.6 release. There are 81 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.14 00/80] 4.14.38-stable review

2018-04-28 Thread Guenter Roeck
On 04/27/2018 06:57 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.38 release. There are 80 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface

2018-04-28 Thread Sujeev Dias
Thanks for quick feedback On 04/27/2018 12:22 AM, Greg Kroah-Hartman wrote: On Thu, Apr 26, 2018 at 07:23:28PM -0700, Sujeev Dias wrote: MHI Host Interface is a communication protocol to be used by the host to control and communcate with modem over a high speed peripheral bus. This module

  1   2   >