Re: [PATCH] PCI: dwc: designware: make dw_pcie_prog_*_atu_unroll() static

2017-08-03 Thread Carlos Palminha
thanks On 02-08-2017 22:50, Bjorn Helgaas wrote: > On Mon, Jul 17, 2017 at 02:13:34PM +0100, Carlos Palminha wrote: >> Helper functions dw_pcie_prog_*_atu_unroll don't need to be in global scope, >> so make it static. >> >> Cleans up sparse warnings: >> - symbol 'dw_pcie_prog_outbound_atu_unroll'

[POC] Get acpi table to limit memory scope chosen by KASLR to home SB when "movable_node" is specified

2017-08-03 Thread Chao Fan
Hi all, Here is an issue about movable_node and KASLR. Currently, KASLR works well with "mem=", by which we can limit the scope of memory chosen by KASLR. But if we use "movable_node" independently without "mem=", we don't know the scope of memory in the home SB, which will cause the memory of hot

Re: suspicious __GFP_NOMEMALLOC in selinux

2017-08-03 Thread Mel Gorman
On Thu, Aug 03, 2017 at 10:11:52AM +0200, Michal Hocko wrote: > > The GFP_ATOMIC|__GFP_NOMEMALLOC use in SELinux appears to be limited > > to security/selinux/avc.c, and digging a bit, I'm guessing commit > > fa1aa143ac4a copied the combination from 6290c2c43973 ("selinux: tag > > avc cache alloc a

Re: [PATCH v7 1/3] PCI: Add new PCIe Fabric End Node flag, PCI_DEV_FLAGS_NO_RELAXED_ORDERING

2017-08-03 Thread Raj, Ashok
Hi Ding Not sure if V7 is the last version. can you consider rewording this just to make it a little bit more readable? My suggestion below, feel free to use/modify Otherwise its all good and you can add my Ack. Acked-by: Ashok Raj On Thu, Jul 13, 2017 at 10:21:30PM +0800, Ding Tianhong wrote

Re: [PATCH 3/3] IPI: Avoid to use 2 cache lines for one call_single_data

2017-08-03 Thread Peter Zijlstra
On Thu, Aug 03, 2017 at 04:35:21PM +0800, Huang, Ying wrote: > diff --git a/include/linux/smp.h b/include/linux/smp.h > index 68123c1fe549..4d3b372d50b0 100644 > --- a/include/linux/smp.h > +++ b/include/linux/smp.h > @@ -13,13 +13,22 @@ > #include > #include > > +#define CSD_ALIGNMENT

Re: [POC] Get acpi table to limit memory scope chosen by KASLR to home SB when "movable_node" is specified

2017-08-03 Thread Dou Liyang
Cc ACPI maintainers and mail list At 08/03/2017 04:51 PM, Chao Fan wrote: Hi all, Here is an issue about movable_node and KASLR. Currently, KASLR works well with "mem=", by which we can limit the scope of memory chosen by KASLR. But if we use "movable_node" independently without "mem=", we don'

Re: [RESEND PATCH v4 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-08-03 Thread Wolfram Sang
Hi, > Sorry for noise. I just afraid Wolfram missed this patchset since I > did not get any comments from V4. I use patchwork. Patches don't get lost :) Anyway, I nearly finished a document I can point people to when they wonder what happened about their patches. I hope this will help because I

[PATCH] mm/vmstat: fix divide error at __fragmentation_index

2017-08-03 Thread Wen Yang
When order is -1 or too big, *1UL << order* will be 0, which will cause divide error. Although it seems that all callers of __fragmentation_index() will only do so with a valid order, the patch can make it more robust. Sugguested-by: VlastimilBabka Signed-off-by: Wen Yang Reviewed-by: Jiang Biao

Re: [PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-08-03 Thread Pierre Yves MORDRET
On 08/03/2017 08:42 AM, Peter Ujfalusi wrote: > our mail server started to mangle outgoing mails, sorry for that, we are > trying to resolve that... No problem ;) > > > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: He

Re: [POC] Get acpi table to limit memory scope chosen by KASLR to home SB when "movable_node" is specified

2017-08-03 Thread Chao Fan
On Thu, Aug 03, 2017 at 04:59:26PM +0800, Dou Liyang wrote: >Cc ACPI maintainers and mail list So many thanks. > >At 08/03/2017 04:51 PM, Chao Fan wrote: >> Hi all, >> >> Here is an issue about movable_node and KASLR. >> Currently, KASLR works well with "mem=", by which we can limit the scope of

Re: [RESEND PATCH v4 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-08-03 Thread Baolin Wang
Hi Wolfram, On 3 August 2017 at 17:00, Wolfram Sang wrote: > Hi, > >> Sorry for noise. I just afraid Wolfram missed this patchset since I >> did not get any comments from V4. > > I use patchwork. Patches don't get lost :) > > Anyway, I nearly finished a document I can point people to when they >

Re: [PATCH V2] staging: ccree: Fix format/argument mismatches

2017-08-03 Thread kbuild test robot
Hi Joe, [auto build test WARNING on staging/staging-testing] [also build test WARNING on next-20170803] [cannot apply to v4.13-rc3] [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/Joe-Perches

Re: x86/thermal: AB-BA dependency between mvm->mutex and tz->lock

2017-08-03 Thread Jiri Kosina
On Mon, 31 Jul 2017, Jiri Kosina wrote: > Hi, > > booting current Linus' tree, I'm seeing lockdep splat (see the end of this > mail). > > Apparently, there is AB-BA between tz->lock and mvm->mutex through the CPU > hotplug lock. > > The obivous depency is: thermal_zone_get_temp() acquires tz-

Re: [PATCH v13 4/5] mm: support reporting free page blocks

2017-08-03 Thread Michal Hocko
On Thu 03-08-17 14:38:18, Wei Wang wrote: > This patch adds support to walk through the free page blocks in the > system and report them via a callback function. Some page blocks may > leave the free list after the report function returns, so it is the > caller's responsibility to either detect or

[PATCH] staging: lustre: obd: make echo_lock_ops const

2017-08-03 Thread Bhumika Goyal
Declare echo_lock_ops object of type cl_lock_operations as const as it is only passed to the function cl_lock_slice_add. The corresponding argument is of type const, so make the object const. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/obdecho/echo_client.c | 2 +- 1 file chan

[PATCH v6 2/5] lib/scatterlist: Avoid potential scatterlist entry overflow

2017-08-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Since the scatterlist length field is an unsigned int, make sure that sg_alloc_table_from_pages does not overflow it while coalescing pages to a single entry. v2: Drop reference to future use. Use UINT_MAX. v3: max_segment must be page aligned. v4: Do not rely on compiler to

[PATCH v7 3/5] lib/scatterlist: Introduce and export __sg_alloc_table_from_pages

2017-08-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Drivers like i915 benefit from being able to control the maxium size of the sg coalesced segment while building the scatter- gather list. Introduce and export the __sg_alloc_table_from_pages function which will allow it that control. v2: Reorder parameters. (Chris Wilson) v

[PATCH v8 4/5] drm/i915: Use __sg_alloc_table_from_pages for userptr allocations

2017-08-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin With the addition of __sg_alloc_table_from_pages we can control the maximum coalescing size and eliminate a separate path for allocating backing store here. Similar to 871dfbd67d4e ("drm/i915: Allow compaction upto SWIOTLB max segment size") this enables more compact sg list

[PATCH 2/3] iio: trigger: stm32-timer: add support for STM32H7

2017-08-03 Thread Fabrice Gasnier
Add support for STM32H7 timer triggers: - Add new valids_table - Introduce compatible, with configuration data - Extend up to 15 timers, available on STM32H7 Signed-off-by: Fabrice Gasnier --- drivers/iio/trigger/stm32-timer-trigger.c | 55 +-- include/linux/iio/timer

[PATCH 1/3] dt-bindings: iio: timer: stm32: add support for STM32H7

2017-08-03 Thread Fabrice Gasnier
STM32H7 has slightly different triggers than previous versions. Introduce st,stm32h7-timer-trigger compatible to handle this new variant. Signed-off-by: Fabrice Gasnier --- Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-

Re: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-08-03 Thread Raj, Ashok
Hi Ding patch looks good, except would reword the patch description for clarity here is my crack at it, feel free to use. On Thu, Jul 13, 2017 at 10:21:31PM +0800, Ding Tianhong wrote: > The PCIe Device Control Register use the bit 4 to indicate that > whether the device is permitted to enable r

[PATCH 0/3] iio: trigger: stm32-timer: add STM32H7 variant

2017-08-03 Thread Fabrice Gasnier
STM32H7 variant has additional timer instances, and slightly different valid triggers. This patchset introduces a new compatible for STM32H7 timers, to handle this new variant, with appropriate configuration data. Fabrice Gasnier (3): dt-bindings: iio: timer: stm32: add support for STM32H7 iio

[PATCH 3/3] iio: trigger: stm32-timer: add output compare triggers

2017-08-03 Thread Fabrice Gasnier
Add output compare trigger sources available on some instances. Signed-off-by: Fabrice Gasnier --- drivers/iio/trigger/stm32-timer-trigger.c | 31 +-- include/linux/iio/timer/stm32-timer-trigger.h | 12 +++ 2 files changed, 32 insertions(+), 11 deletions(-) d

Re: Switching to MQ by default may generate some bug reports

2017-08-03 Thread Ming Lei
Hi Mel Gorman, On Thu, Aug 3, 2017 at 4:51 PM, Mel Gorman wrote: > Hi Christoph, > > I know the reasons for switching to MQ by default but just be aware that it's > not without hazards albeit it the biggest issues I've seen are switching > CFQ to BFQ. On my home grid, there is some experimental a

Re: [PATCH v3 2/4] dt-bindings: can: fixed-transceiver: Add new CAN fixed transceiver bindings

2017-08-03 Thread Sergei Shtylyov
Hello! On 8/3/2017 3:51 AM, Franklin S Cooper Jr wrote: Add documentation to describe usage of the new fixed transceiver binding. This new binding is applicable for any CAN device therefore it exists as its own document. Signed-off-by: Franklin S Cooper Jr --- .../bindings/net/can/fixed-tra

Re: [PATCH v3 3/4] dt-bindings: can: m_can: Include reference to new fixed transceiver binding

2017-08-03 Thread Sergei Shtylyov
On 8/3/2017 3:51 AM, Franklin S Cooper Jr wrote: Add information regarding fixed transceiver binding. This is especially important for MCAN since the IP allows CAN FD mode to run significantly faster than what most transceivers are capable of. Signed-off-by: Franklin S Cooper Jr --- Document

Re: [Intel-gfx] [PATCH 3/4] lib/scatterlist: Introduce and export __sg_alloc_table_from_pages

2017-08-03 Thread Tvrtko Ursulin
On 03/08/2017 00:01, Andrew Morton wrote: On Wed, 2 Aug 2017 14:06:39 +0100 Tvrtko Ursulin wrote: Hi Andrew, We have a couple of small lib/scatterlist.c tidies here, plus exporting the new API which allows drivers to control the maximum coalesced entry as created by __sg_alloc_table_from_p

Re: Switching to MQ by default may generate some bug reports

2017-08-03 Thread Paolo Valente
> Il giorno 03 ago 2017, alle ore 10:51, Mel Gorman > ha scritto: > > Hi Christoph, > > I know the reasons for switching to MQ by default but just be aware that it's > not without hazards albeit it the biggest issues I've seen are switching > CFQ to BFQ. On my home grid, there is some experime

[PATCH] iio: trigger: stm32-timer: fix get trigger mode

2017-08-03 Thread Fabrice Gasnier
Fix reading trigger mode, when other bit-fields are set. SMCR register value must be masked to read SMS (slave mode selection) only. Fixes: 9eba381 ("iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode") Signed-off-by: Fabrice Gasnier --- drivers/iio/trigger/stm32-timer-trigger.c |

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread joeyli
On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > On Mon 31-07-17 15:38:45, Joey Lee wrote: > > Hi Michal, > > > > Sorry for my delay... > > > > On Tue, Jul 25, 2017 at 02:48:37PM +0200, Michal Hocko wrote: > > > On Mon 24-07-17 17:29:21, Joey Lee wrote: > [...] > > > > For the succ

Re: [PATCH 2/2] MAINTAINERS: add entry for mediatek usb3 DRD IP driver

2017-08-03 Thread Felipe Balbi
Hi, Chunfeng Yun writes: > Add myself as maintainer of MediaTek USB3 DRD IP driver > > Signed-off-by: Chunfeng Yun > --- > MAINTAINERS |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 205d397..0f0bcc7 100644 > --- a/MAINTAINERS > +++ b/MAINTA

Re: [PATCH 2/3] PCI: qcom: Don't unroll init if init fails

2017-08-03 Thread Stanimir Varbanov
Hi, The patch looks correct. On 07/16/2017 09:39 AM, Bjorn Andersson wrote: > When the init op fails it will restore the state of the resources, so we > should not disable them one more time when this happens. > > Signed-off-by: Bjorn Andersson > --- > drivers/pci/dwc/pcie-qcom.c | 2 +- > 1 f

Re: [PATCH 2/2] HID: multitouch: Support Asus T304UA media keys

2017-08-03 Thread Jiri Kosina
On Wed, 2 Aug 2017, Benjamin Tissoires wrote: > Sorry for the delay. I was at GUADEC the whole past week and couldn't > get much kernel work done. I was thinking a little bit about this series > though. Patch 1 is fine, but patch 2 is a little bit more of an issue. > Ideally, I'd like to keep h

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-08-03 Thread Oleksij Rempel
On 03.08.2017 09:48, Horia Geantă wrote: On 8/3/2017 6:17 AM, Herbert Xu wrote: On Wed, Aug 02, 2017 at 02:03:14PM +, Horia Geantă wrote: Take CAAM's engine HWRNG: it can work both as a TRNG and as a TRNG-seeded DRBG (that's how it's currently configured). IIUC, both setups are fit as so

Re: linux-next: Signed-off-by missing for commit in the drivers-x86 tree

2017-08-03 Thread Stephen Rothwell
Hi Andy, On Thu, 03 Aug 2017 11:17:03 +0300 Andy Shevchenko wrote: > > I just checked what we have in our for-next branch and mentioned commits > have mine SoB. Should they have something else? In Darren's response it became clear that even though you had initially commited the patches, he had

Re: [patch v1 1/2] drivers: jtag: Add JTAG core driver

2017-08-03 Thread Tobias Klauser
Nice work! On 2017-08-02 at 15:18:37 +0200, Oleksandr Shamray wrote: > --- /dev/null > +++ b/drivers/jtag/jtag.c [...] > +static int jtag_run_test_idle(struct jtag *jtag, > + struct jtag_run_test_idle *idle) Both the function and the struct it takes have the same name,

[PATCH v3] f2fs: introduce discard_granularity sysfs entry

2017-08-03 Thread Chao Yu
Commit d618ebaf0aa8 ("f2fs: enable small discard by default") enables f2fs to issue 4K size discard in real-time discard mode. However, issuing smaller discard may cost more flash lifetime but release less free space in storage. Since f2fs has ability of separating hot/cold data and garbage collect

[PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define

2017-08-03 Thread Johannes Thumshirn
ALL_OPTS isn't used anywhere, remove it. Signed-off-by: Johannes Thumshirn --- drivers/nvme/target/fcloop.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/nvme/target/fcloop.c b/drivers/nvme/target/fcloop.c index 1bb9d5b311b1..1cb9847ec261 100644 --- a/drivers/nvme/target/fcloop.c

[PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE

2017-08-03 Thread Johannes Thumshirn
NVME_RDMA_MAX_SEGMENT_SIZE is not used anywhere, zap it. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/rdma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index da04df1af231..57ac96ff9acb 100644 --- a/drivers/nvme/host/rdma.c

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread Michal Hocko
On Thu 03-08-17 17:22:37, Joey Lee wrote: > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > On Mon 31-07-17 15:38:45, Joey Lee wrote: [...] > > > So, the behavior is: > > > > > > Kernel received ejection event, set _Eject_ flag on container object > > > -> Kernel sends offline

Re: Switching to MQ by default may generate some bug reports

2017-08-03 Thread Ming Lei
On Thu, Aug 3, 2017 at 5:17 PM, Ming Lei wrote: > Hi Mel Gorman, > > On Thu, Aug 3, 2017 at 4:51 PM, Mel Gorman > wrote: >> Hi Christoph, >> >> I know the reasons for switching to MQ by default but just be aware that it's >> not without hazards albeit it the biggest issues I've seen are switchin

Re: [PATCH v2 01/13] mpt3sas: Update MPI Header

2017-08-03 Thread Sreekanth Reddy
On Thu, Aug 3, 2017 at 1:25 PM, Johannes Thumshirn wrote: > On Thu, Aug 03, 2017 at 08:24:59AM +0200, Hannes Reinecke wrote: >> > + U32 >> > + IOCLogInfo; /*0x10 */ >> > + U16 >> > + ErrorResponseCount; /*0x14 */ >> > + U16 >> > +

Re: rk3288: mmcblk0: error -110 sending status command, retrying

2017-08-03 Thread Jagan Teki
On Thu, Aug 3, 2017 at 1:48 PM, Shawn Lin wrote: > > On 2017/8/2 19:09, Jagan Teki wrote: >> >> Hi, >> >> Did anyone observing error -110 and -84 during boot on rk3288 target? >> full log here[1] and used dts node is[2]. > > > -100 is -ETIMEDOUT and -84 is CRC error. So that seems much likely HW >

Re: [PATCH v2 1/2] mm, oom: do not rely on TIF_MEMDIE for memory reserves access

2017-08-03 Thread Mel Gorman
On Wed, Aug 02, 2017 at 10:29:14AM +0200, Michal Hocko wrote: > For ages we have been relying on TIF_MEMDIE thread flag to mark OOM > victims and then, among other things, to give these threads full > access to memory reserves. There are few shortcomings of this > implementation, th

[PATCH] dlm: avoid double-free on error path in dlm_device_{register,unregister}

2017-08-03 Thread Edwin Török
Can be reproduced when running dlm_controld (tested on 4.4.x, 4.12.4): # seq 1 100 | xargs -P0 -n1 dlm_tool join # seq 1 100 | xargs -P0 -n1 dlm_tool leave misc_register fails due to duplicate sysfs entry, which causes dlm_device_register to free ls->ls_device.name. In dlm_device_deregister the

Re: [PATCH v3 0/6] mediatek: pwm driver add MT2712/MT7622 support

2017-08-03 Thread Zhi Mao
Thanks John's reply. Hi Thierry & Matthais, What's your opinion? On Wed, 2017-08-02 at 16:42 +0800, John Crispin wrote: > > On 02/08/17 09:19, Zhi Mao wrote: > > Hi John, Matthais & Thierry, > >> Just a gentle ping on this issue again. > >> Do you have any update? > >> > >> Regards, > >> Zhi >

Re: Switching to MQ by default may generate some bug reports

2017-08-03 Thread Mel Gorman
On Thu, Aug 03, 2017 at 05:17:21PM +0800, Ming Lei wrote: > Hi Mel Gorman, > > On Thu, Aug 3, 2017 at 4:51 PM, Mel Gorman > wrote: > > Hi Christoph, > > > > I know the reasons for switching to MQ by default but just be aware that > > it's > > not without hazards albeit it the biggest issues I'v

Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock

2017-08-03 Thread Coelho, Luciano
On Thu, 2017-08-03 at 11:10 +0200, Jiri Kosina wrote: > On Mon, 31 Jul 2017, Jiri Kosina wrote: > > > Hi, > > > > booting current Linus' tree, I'm seeing lockdep splat (see the end of this > > mail). > > > > Apparently, there is AB-BA between tz->lock and mvm->mutex through the CPU > > hotplug

Re: Switching to MQ by default may generate some bug reports

2017-08-03 Thread Paolo Valente
> Il giorno 03 ago 2017, alle ore 11:42, Mel Gorman > ha scritto: > > On Thu, Aug 03, 2017 at 05:17:21PM +0800, Ming Lei wrote: >> Hi Mel Gorman, >> >> On Thu, Aug 3, 2017 at 4:51 PM, Mel Gorman >> wrote: >>> Hi Christoph, >>> >>> I know the reasons for switching to MQ by default but just b

[PATCH v3 net-next 2/5] net: dsa: lan9303: define LAN9303_NUM_PORTS 3

2017-08-03 Thread Egil Hjelmeland
Will be used instead of '3' in upcomming patches. Signed-off-by: Egil Hjelmeland --- drivers/net/dsa/lan9303-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c index fa19e320c5a8..126e8b84bdf0 100644 --- a/drivers/net/dsa/

[PATCH v3 net-next 5/5] net: dsa: lan9303: refactor lan9303_get_ethtool_stats

2017-08-03 Thread Egil Hjelmeland
In lan9303_get_ethtool_stats: Get rid of 0x400 constant magic by using new lan9303_read_switch_reg() inside loop. Reduced scope of two variables. Signed-off-by: Egil Hjelmeland --- drivers/net/dsa/lan9303-core.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-)

[PATCH v3 net-next 1/5] net: dsa: lan9303: Change lan9303_xxx_packet_processing() port param.

2017-08-03 Thread Egil Hjelmeland
lan9303_enable_packet_processing, lan9303_disable_packet_processing() Pass port number (0,1,2) as parameter instead of port offset. Because other functions in the module pass port numbers. And to enable simplifications in following patch. Introduce lan9303_write_switch_port(). Signed-off-by: Egil

[PATCH v3 net-next 4/5] net: dsa: lan9303: Rename lan9303_xxx_packet_processing()

2017-08-03 Thread Egil Hjelmeland
The lan9303_enable_packet_processing, lan9303_disable_packet_processing functions operate on port, so the names should reflect that. And to align with lan9303_disable_processing(), rename: lan9303_enable_packet_processing -> lan9303_enable_processing_port lan9303_disable_packet_processing -> lan93

[PATCH v3 net-next 0/5] Refactor lan9303_xxx_packet_processing

2017-08-03 Thread Egil Hjelmeland
This series is purely non functional. It changes the lan9303_enable_packet_processing, lan9303_disable_packet_processing() to pass port number (0,1,2) as parameter instead of port offset. This aligns them with other functions in the module, and makes it possible to simplify the code. The lan9303

[PATCH v3 net-next 3/5] net: dsa: lan9303: Simplify lan9303_xxx_packet_processing() usage

2017-08-03 Thread Egil Hjelmeland
Simplify usage of lan9303_enable_packet_processing, lan9303_disable_packet_processing() Signed-off-by: Egil Hjelmeland --- drivers/net/dsa/lan9303-core.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/ds

Re: [PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-08-03 Thread Peter Ujfalusi
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 2017-08-03 12:00, Pierre Yves MORDRET wrote: >> What I actually mean is that you should not need to modify the DMA >> driver at all. >> According to stm32-dma.txt:

Re: [PATCH v2 08/13] mpt3sas: Set NVMe device queue depth as 128

2017-08-03 Thread Sreekanth Reddy
On Thu, Aug 3, 2017 at 12:09 PM, Hannes Reinecke wrote: > On 07/14/2017 03:22 PM, Suganath Prabu S wrote: >> Sets nvme device queue depth, name and displays device capabilities >> >> Signed-off-by: Chaitra P B >> Signed-off-by: Suganath Prabu S >> --- >> drivers/scsi/mpt3sas/mpt3sas_base.h |

Hi! How are you?

2017-08-03 Thread Sunie Wendy
My Dear, May Peace be unto you, My name is Mrs. Sunie Wendy and i belief that you can help in setting up a charity foundation for the benefit of mankind, I wish to establish a charity foundation to help the poor in your country under your care, Can you help to build this project in your country?

Re: A udev rule to serve the change event of ACPI container?

2017-08-03 Thread joeyli
On Thu, Aug 03, 2017 at 11:31:53AM +0200, Michal Hocko wrote: > On Thu 03-08-17 17:22:37, Joey Lee wrote: > > On Wed, Aug 02, 2017 at 11:01:43AM +0200, Michal Hocko wrote: > > > On Mon 31-07-17 15:38:45, Joey Lee wrote: > [...] > > > > So, the behavior is: > > > > > > > > Kernel received ejection

Re: [PATCH v2 net-next 2/3] net: dsa: lan9303: define LAN9303_NUM_PORTS 3

2017-08-03 Thread Egil Hjelmeland
On 01. aug. 2017 15:27, Andrew Lunn wrote: On Tue, Aug 01, 2017 at 02:31:44PM +0200, Egil Hjelmeland wrote: On 01. aug. 2017 13:49, Juergen Borleis wrote: Hi Egil, On Tuesday 01 August 2017 13:14:38 Egil Hjelmeland wrote: Will be used instead of '3' in upcomming patches. +#define LAN9303_NU

Re: [PATCH v2] PCI/MSI: Improve MSI alias detection

2017-08-03 Thread Marc Zyngier
On 01/08/17 18:59, Robin Murphy wrote: > Currently, we handle all DMA aliases equally when calculating MSI > requester IDs for the generic infrastructure. This turns out to be the > wrong thing to do in the face of pure DMA quirks like those of Marvell > SATA cards, where in the usual case the last

[PATCH V3 net-next 00/21] Huawei HiNIC Ethernet Driver

2017-08-03 Thread Aviad Krawczyk
The patch-set contains the support of the HiNIC Ethernet driver for hinic family of PCIE Network Interface Cards. The Huawei's PCIE HiNIC card is a new Ethernet card and hence there was a need of a new driver. The current driver is meant to be used for the Physical Function and there would soon b

[PATCH V3 net-next 01/21] net-next/hinic: Initialize hw interface

2017-08-03 Thread Aviad Krawczyk
Initialize hw interface as part of the nic initialization for accessing hw. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- Documentation/networking/hinic.txt | 125 ++ drivers/net/ethernet/Kconfig | 1 + drivers/net/ethernet/Makefile

[PATCH V3 net-next 02/21] net-next/hinic: Initialize hw device components

2017-08-03 Thread Aviad Krawczyk
Initialize hw device by calling the initialization functions of aeqs and management channel. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/Makefile| 3 +- drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c | 176 -- dri

Re: qtfnmac: Tidy up DMA mask setting

2017-08-03 Thread Kalle Valo
Robin Murphy wrote: > As the only caller of dma_supported() outside of DMA API internals, the > qtfnmac driver stands out and invites scrutiny. Thankfully, it's not > being used for evil, but it is entirely redundant, since it open-codes a > check that the DMA mask setting functions are going to

[PATCH V3 net-next 07/21] net-next/hinic: Add aeqs

2017-08-03 Thread Aviad Krawczyk
Handle aeq elements that are accumulated on the aeq by calling the registered handler for the specific event. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_hw_csr.h | 49 +++ drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c | 454 +++

[PATCH V3 net-next 08/21] net-next/hinic: Add port management commands

2017-08-03 Thread Aviad Krawczyk
Add the port management commands that are sent as management messages. The port management commands are used for netdev operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/Makefile | 4 +- drivers/net/ethernet/huawei/hinic/hinic_dev.h

[PATCH V3 net-next 09/21] net-next/hinic: Add Rx mode and link event handler

2017-08-03 Thread Aviad Krawczyk
Add port management message for setting Rx mode in the card, used for rx_mode netdev operation. The link event handler is used for getting a notification about the link state. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 17 ++

[PATCH V3 net-next 10/21] net-next/hinic: Add logical Txq and Rxq

2017-08-03 Thread Aviad Krawczyk
Create the logical queues of the nic. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/Makefile | 5 +- drivers/net/ethernet/huawei/hinic/hinic_dev.h| 5 + drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c | 133 + drivers

[PATCH V3 net-next 11/21] net-next/hinic: Add wq

2017-08-03 Thread Aviad Krawczyk
Create work queues for use of the queue pairs. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/Makefile | 4 +- drivers/net/ethernet/huawei/hinic/hinic_common.h | 25 ++ drivers/net/ethernet/huawei/hinic/hinic_hw_io.c | 69 ++- drivers/net

[PATCH V3 net-next 13/21] net-next/hinic: Set qp context

2017-08-03 Thread Aviad Krawczyk
Update the nic about the resources of the queue pairs. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/Makefile | 5 +- drivers/net/ethernet/huawei/hinic/hinic_common.c | 55 ++ drivers/net/ethernet/huawei/hinic/hinic_common.h |

[PATCH V3 net-next 12/21] net-next/hinic: Add qp resources

2017-08-03 Thread Aviad Krawczyk
Create the resources for queue pair operations: doorbell area, consumer index address and producer index address. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/Makefile | 4 +- drivers/net/ethernet/huawei/hinic/hinic_hw_if.h | 1 + drivers

[PATCH V3 net-next 15/21] net-next/hinic: Add ceqs

2017-08-03 Thread Aviad Krawczyk
Initialize the completion event queues and handle ceq events by calling the registered handlers. Used for cmdq command completion. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 16 ++ drivers/net/ethernet/huawei/hinic/hinic_hw_cs

[PATCH V3 net-next 14/21] net-next/hinic: Initialize cmdq

2017-08-03 Thread Aviad Krawczyk
Create the work queues for cmdq and update the nic about the work queue contexts. cmdq commands are used for updating the nic about the qp contexts. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 284 +- drivers

[PATCH V3 net-next 17/21] net-next/hinic: Add cmdq completion handler

2017-08-03 Thread Aviad Krawczyk
Add cmdq completion handler for getting a notification about the completion of cmdq commands. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 292 +- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 12 + 2 f

[PATCH V3 net-next 16/21] net-next/hinic: Add cmdq commands

2017-08-03 Thread Aviad Krawczyk
Add cmdq commands for setting queue pair contexts in the nic. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_common.c | 25 ++ drivers/net/ethernet/huawei/hinic/hinic_common.h | 9 + drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 288

[PATCH V3 net-next 18/21] net-next/hinic: Add Rx handler

2017-08-03 Thread Aviad Krawczyk
Set the io resources in the nic and handle rx events by qp operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 1 + drivers/net/ethernet/huawei/hinic/hinic_hw_csr.h | 1 + drivers/net/ethernet/huawei/hinic/hinic_hw_dev.

[PATCH V3 net-next 19/21] net-next/hinic: Add Tx operation

2017-08-03 Thread Aviad Krawczyk
Add transmit operation for sending data by qp operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 1 + drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c | 47 +++ drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h | 22 ++

[PATCH V3 net-next 20/21] net-next/hinic: Add ethtool and stats

2017-08-03 Thread Aviad Krawczyk
Add ethtool operations and statistics operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 3 + drivers/net/ethernet/huawei/hinic/hinic_main.c | 220 - drivers/net/ethernet/huawei/hinic/hinic_port.c |

[PATCH V3 net-next 21/21] net-next/hinic: Add select_queue and netpoll

2017-08-03 Thread Aviad Krawczyk
Add more netdev operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- MAINTAINERS| 7 ++ drivers/net/ethernet/huawei/hinic/hinic_main.c | 35 ++ 2 files changed, 42 insertions(+) diff --git a/MAINTAINERS b/MAINTA

Compatibles for i2c muxes nxp,pca954x and ti,tca954x

2017-08-03 Thread Peter Rosin
Hi! Texas has apparently made copies for some of the NXP devices handled by the drivers/i2c/muxes/i2c-mux-pca954x.c driver. How is that best handled? I see e.g. that arch/arm/boot/dts/vf610-zii-dev-rev-{b,c}.dts has this snippet: &i2c2 { tca9548@70 { compatible = "nxp,pc

Re: qtnfmac: Tidy up DMA mask setting

2017-08-03 Thread Kalle Valo
Robin Murphy wrote: > As the only caller of dma_supported() outside of DMA API internals, the > qtfnmac driver stands out and invites scrutiny. Thankfully, it's not > being used for evil, but it is entirely redundant, since it open-codes a > check that the DMA mask setting functions are going to

[PATCH] [media]: dw2102: make dvb_usb_device_description structures const

2017-08-03 Thread Bhumika Goyal
dvb_usb_device_description structures are only used during a copy operation. Therefore, declare them as const. Signed-off-by: Bhumika Goyal --- drivers/media/usb/dvb-usb/dw2102.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/media/usb/dvb-usb/dw2102.c

[PATCH 4/4] dt-bindings: phy-mt65xx-usb: supports PCIe, SATA and rename file

2017-08-03 Thread Chunfeng Yun
add support for PCIe and SATA, also add some new compatibles. due to phy-mt65xx-usb.txt holds the bindings for all mediatek SoCs with T-PHY controller, change the name to phy-mtk-tphy.txt to reflect that. Change-Id: I2d9200d4c8768dc301a4c116fe0e9b8179d5911c Signed-off-by: Chunfeng Yun --- .../d

[PATCH 3/4] phy: phy-mt65xx-usb3: add mediatek directory and rename file

2017-08-03 Thread Chunfeng Yun
The driver is actually for T-PHY which supports USB3.0, PCIe and SATA, and supports more SoCs now, but not just only for series of mt65xx SoCs, so the name of file, data struct, functions etc with 'mt65xx' may cause misunderstanding when new SoCs are supported. Here rename them to reflect the real

[PATCH 2/4] phy: phy-mt65xx-usb3: add SATA PHY support

2017-08-03 Thread Chunfeng Yun
From: Ryder Lee This patch adds SATA setting part. Change-Id: Icb1fc15ebe9f6172c56a46d40c359c7cff922976 Signed-off-by: Ryder Lee Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 133 +++-- 1 file changed, 129 insertions(+), 4 deletions(-) d

[PATCH 1/4] phy: phy-mt65xx-usb3: add PCIe PHY support

2017-08-03 Thread Chunfeng Yun
From: Ryder Lee This patch adds PCIe PHY setting part. Change-Id: I112cbcdafd3deecf2c0ad17bafc8c784e1730ec4 Signed-off-by: Ryder Lee Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 220 + 1 file changed, 202 insertions(+), 18 deletions(

Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock

2017-08-03 Thread Kalle Valo
"Coelho, Luciano" writes: > On Thu, 2017-08-03 at 11:10 +0200, Jiri Kosina wrote: >> On Mon, 31 Jul 2017, Jiri Kosina wrote: >> >> > Hi, >> > >> > booting current Linus' tree, I'm seeing lockdep splat (see the end of this >> > mail). >> > >> > Apparently, there is AB-BA between tz->lock and m

[PATCH 3/4] phy: phy-mt65xx-usb3: add mediatek directory and rename file

2017-08-03 Thread Chunfeng Yun
The driver is actually for T-PHY which supports USB3.0, PCIe and SATA, and supports more SoCs now, but not just only for series of mt65xx SoCs, so the name of file, data struct, functions etc with 'mt65xx' may cause misunderstanding when new SoCs are supported. Here rename them to reflect the real

[PATCH 2/4] phy: phy-mt65xx-usb3: add SATA PHY support

2017-08-03 Thread Chunfeng Yun
From: Ryder Lee This patch adds SATA setting part. Signed-off-by: Ryder Lee Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 133 +++-- 1 file changed, 129 insertions(+), 4 deletions(-) diff --git a/drivers/phy/phy-mt65xx-usb3.c b/drivers/p

Re: [PATCH v3] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-03 Thread Matthias Brugger
Hi Sean, On 08/03/2017 10:38 AM, Sean Wang wrote: Hi, Matthias, Ryder and me tried to make the patch better, so the delivery is made in v3, including add missing pin state for mmc1 and remove wp-gpio because the board only has micro-sd slot that can't be adjusted for the lock manually. And al

Re: suspicious __GFP_NOMEMALLOC in selinux

2017-08-03 Thread Tetsuo Handa
On 2017/08/03 17:11, Michal Hocko wrote: > [CC Mel] > > On Wed 02-08-17 17:45:56, Paul Moore wrote: >> On Wed, Aug 2, 2017 at 6:50 AM, Michal Hocko wrote: >>> Hi, >>> while doing something completely unrelated to selinux I've noticed a >>> really strange __GFP_NOMEMALLOC usage pattern in selinux,

[PATCH 4/4] dt-bindings: phy-mt65xx-usb: supports PCIe, SATA and rename file

2017-08-03 Thread Chunfeng Yun
add support for PCIe and SATA, also add some new compatibles. due to phy-mt65xx-usb.txt holds the bindings for all mediatek SoCs with T-PHY controller, change the name to phy-mtk-tphy.txt to reflect that. Signed-off-by: Chunfeng Yun --- .../phy/{phy-mt65xx-usb.txt => phy-mtk-tphy.txt} | 17

[PATCH 1/4] phy: phy-mt65xx-usb3: add PCIe PHY support

2017-08-03 Thread Chunfeng Yun
From: Ryder Lee This patch adds PCIe PHY setting part. Signed-off-by: Ryder Lee Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 220 + 1 file changed, 202 insertions(+), 18 deletions(-) diff --git a/drivers/phy/phy-mt65xx-usb3.c b/driv

[for-next][PATCH 0/3] tracing: Fixes for 4.13-rc3

2017-08-03 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: a7e52ad7ed82e21273eccff93d1477a7b313aabb Dan Carpenter (1): tracing: Missing error code in tracer_alloc_buffers() Steven Rostedt (VMware) (2): tracing: Call clear_boot_tracer() at lateinit_sy

Re: [PATCH 0/6] Support for LEGO MINDSTORMS EV3 LCD display

2017-08-03 Thread Daniel Vetter
On Wed, Aug 02, 2017 at 11:05:58AM -0500, David Lechner wrote: > On 08/02/2017 03:05 AM, Noralf Trønnes wrote: > > > > Den 02.08.2017 00.26, skrev David Lechner: > > > On 08/01/2017 01:08 PM, Noralf Trønnes wrote: > > > > (cc: Daniel Vetter) > > > > > > > > > > > > Den 01.08.2017 18.51, skrev Da

[for-next][PATCH 1/3] tracing: Call clear_boot_tracer() at lateinit_sync

2017-08-03 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The clear_boot_tracer function is used to reset the default_bootup_tracer string to prevent it from being accessed after boot, as it originally points to init data. But since clear_boot_tracer() is called via the init_lateinit() call, it races with the initcall for

[for-next][PATCH 3/3] ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU

2017-08-03 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Chunyu Hu reported: "per_cpu trace directories and files are created for all possible cpus, but only the cpus which have ever been on-lined have their own per cpu ring buffer (allocated by cpuhp threads). While trace_buffers_open, the open handler for tr

[for-next][PATCH 2/3] tracing: Missing error code in tracer_alloc_buffers()

2017-08-03 Thread Steven Rostedt
From: Dan Carpenter If ring_buffer_alloc() or one of the next couple function calls fail then we should return -ENOMEM but the current code returns success. Link: http://lkml.kernel.org/r/20170801110201.ajdkct7vwzixahvx@mwanda Cc: Sebastian Andrzej Siewior Cc: Ingo Molnar Cc: sta...@vger.kern

Re: [01/11] rtlwifi: rtl8192de: constify pci_device_id.

2017-08-03 Thread Kalle Valo
Arvind Yadav wrote: > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. > > File size before: >text data bss dec hex filename >2833

  1   2   3   4   5   6   7   8   9   10   >