[PATCH v5 1/2] phy: qualcomm: add qcom ipq806x dwc usb phy driver

2020-05-01 Thread Ansuel Smith
This has lost in the original push for the dwc3 qcom driver. This is needed for ipq806x SoC as without this the usb ports doesn't work at all. Signed-off-by: Andy Gross Signed-off-by: Ansuel Smith --- v4: * Add qcom to specific bindings v3: * Use reg instead of regmap phandle v2: * Renamed

Re: [PATCH 4.9 00/80] 4.9.221-rc1 review

2020-05-01 Thread Guenter Roeck
On Fri, May 01, 2020 at 03:20:54PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.221 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

Re: [PATCH] ubsan: fix gcc-10 warnings

2020-05-01 Thread Kees Cook
On Wed, Apr 29, 2020 at 08:59:35PM +0200, Arnd Bergmann wrote: > The latest compiler expects slightly different function prototypes > for the ubsan helpers: > > lib/ubsan.c:192:6: error: conflicting types for built-in function > '__ubsan_handle_add_overflow'; expected 'void(void *, void *, void

Re: [PATCH 4.4 00/70] 4.4.221-rc1 review

2020-05-01 Thread Guenter Roeck
On Fri, May 01, 2020 at 03:20:48PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.221 release. > There are 70 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

[PATCH] clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers

2020-05-01 Thread Martin Blumenstingl
Not all u-boot versions initialize the HHI_GP_PLL_CNTL[2-5] registers. In that case all HHI_GPLL_PLL_CNTL[1-5] registers are 0x0 and when booting Linux the PLL fails to lock. The initialization sequence from u-boot is: - put the PLL into reset - write 0x59C88000 to HHI_GP_PLL_CNTL2 - write

Re: [PATCH 5.6 000/106] 5.6.9-rc1 review

2020-05-01 Thread Naresh Kamboju
On Fri, 1 May 2020 at 19:12, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.6.9 release. > There are 106 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. > >

Re: [PATCH] drm/i915: check to see if SIMD registers are available before using SIMD

2020-05-01 Thread Jason A. Donenfeld
On Fri, May 1, 2020 at 12:07 PM Christoph Hellwig wrote: > > On Thu, Apr 30, 2020 at 04:10:16PM -0600, Jason A. Donenfeld wrote: > > Sometimes it's not okay to use SIMD registers, the conditions for which > > have changed subtly from kernel release to kernel release. Usually the > > pattern is to

Re: [PATCH] drm/i915: check to see if SIMD registers are available before using SIMD

2020-05-01 Thread Jason A. Donenfeld
On Fri, May 1, 2020 at 4:42 AM Sebastian Andrzej Siewior wrote: >Reviewed-by: Sebastian Andrzej Siewior Thanks. > > May I ask how large the memcpy can be? I'm asking in case it is large > and an explicit rescheduling point might be needed. Yea I was worried about that too. I'm not an i915

Re: [PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-01 Thread Rafael Aquini
On Fri, May 01, 2020 at 05:29:19PM -0400, Qian Cai wrote: > > > > On May 1, 2020, at 5:15 PM, Rafael Aquini wrote: > > > > Sometimes it is desirable to override SLUB's debug facilities > > default behavior upon stumbling on a cache or object error > > and just stop the execution in order to

[PATCH] scripts: headers_install: Exit with error on config leak

2020-05-01 Thread Siddharth Gupta
Misuse of CONFIG_* in UAPI headers should result in an error as it exposes configuration of different targets to userspace. Signed-off-by: Siddharth Gupta --- scripts/headers_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/headers_install.sh

Re: [PATCH RFC v2 02/11] dt-bindings: net: dwmac-meson: Document the "timing-adjustment" clock

2020-05-01 Thread Martin Blumenstingl
Hi Rob, On Fri, May 1, 2020 at 11:09 PM Rob Herring wrote: > > On Wed, 29 Apr 2020 22:16:35 +0200, Martin Blumenstingl wrote: > > The PRG_ETHERNET registers can add an RX delay in RGMII mode. This > > requires an internal re-timing circuit whose input clock is called > > "timing adjustment

AN OPPORTUNITY FOR YOU

2020-05-01 Thread Mrs.MARTINEZ MONICA
-- Good Day, I know that this mail might be a surprise to you, but i plead that you take a little time to read this it, if it is something you can handle, then you reply me. I work with one of the leading banks in my country, and i have worked with this bank for more than 11yrs, There is an

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-01 Thread Dan Williams
On Fri, May 1, 2020 at 2:11 PM David Hildenbrand wrote: > > On 01.05.20 22:12, Dan Williams wrote: [..] > >>> Consider the case of EFI Special Purpose (SP) Memory that is > >>> marked EFI Conventional Memory with the SP attribute. In that case the > >>> firmware memory map marked it as

[PATCH] video/fbdev/matroxfb: Remove dead code

2020-05-01 Thread Souptick Joarder
These are dead code since 3.15. If there is no plan to use it further it can be removed forever. Signed-off-by: Souptick Joarder --- drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/video/fbdev/matrox/matroxfb_DAC1064.c

[GIT PULL] VFIO fixes for v5.7-rc4

2020-05-01 Thread Alex Williamson
Hi Linus, The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: Linux 5.7-rc2 (2020-04-19 14:35:30 -0700) are available in the Git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v5.7-rc4 for you to fetch changes up to

Re: [PATCH 5.4 00/83] 5.4.37-rc1 review

2020-05-01 Thread Naresh Kamboju
On Fri, 1 May 2020 at 19:08, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.37 release. > There are 83 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. > >

[PATCH net-next 2/4] net: ipa: redefine struct ipa_mem_data

2020-05-01 Thread Alex Elder
The ipa_mem_data structure type was never actually used. Instead, the IPA memory regions were defined using the ipa_mem structure. Redefine struct ipa_mem_data so it encapsulates the array of IPA-local memory region descriptors along with the count of entries in that array. Pass just an ipa_mem

[PATCH net-next 1/4] arm64: dts: sdm845: add IPA iommus property

2020-05-01 Thread Alex Elder
Add an "iommus" property to the IPA node in "sdm845.dtsi". It is required because there are two regions of memory the IPA accesses through an SMMU. The next few patches define and map those regions. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ 1 file changed, 2

[PATCH net-next 3/4] net: ipa: define IMEM memory region for IPA

2020-05-01 Thread Alex Elder
Define a region of IMEM memory available for use by IPA in the platform configuration data. Initialize it from ipa_mem_init(). The memory must be mapped for access through an SMMU. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa.h | 5 ++ drivers/net/ipa/ipa_data-sc7180.c | 2 +

[PATCH net-next 0/4] net: ipa: I/O map SMEM and IMEM

2020-05-01 Thread Alex Elder
This series adds the definition of two memory regions that must be mapped for IPA to access through an SMMU. It defines the SMMU for the SDM845 SoC; the SC7180 already had this defined, though these memory regions were not previously defined or mapped.

Re: [PATCH 1/3] mm/swap: simplify alloc_swap_slot_cache()

2020-05-01 Thread Tim Chen
On 4/29/20 11:11 PM, Zhen Lei wrote: > Both "slots" and "slots_ret" are only need to be freed when cache already > allocated. Make them closer, seems more clear. > > No functional change. > > Signed-off-by: Zhen Lei > --- > mm/swap_slots.c | 18 +- > 1 file changed, 9

[PATCH net-next 4/4] net: ipa: define SMEM memory region for IPA

2020-05-01 Thread Alex Elder
Arrange to use an item from SMEM memory for IPA. SMEM item number 497 is designated to be used by the IPA. Specify the item ID and size of the region in platform configuration data. Allocate and get a pointer to this region from ipa_mem_init(). The memory must be mapped for access through an

[PATCH] dt-bindings: net: add IPA iommus property

2020-05-01 Thread Alex Elder
The IPA accesses "IMEM" and main system memory through an SMMU, so its DT node requires an iommus property to define range of stream IDs it uses. Signed-off-by: Alex Elder --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-)

Re: [PATCH 2/2] exec: open code copy_string_kernel

2020-05-01 Thread Al Viro
On Fri, May 01, 2020 at 09:26:39PM +0200, Christoph Hellwig wrote: > On Fri, May 01, 2020 at 01:50:49PM +0100, Al Viro wrote: > > On Fri, May 01, 2020 at 12:41:05PM +0200, Christoph Hellwig wrote: > > > Currently copy_string_kernel is just a wrapper around copy_strings that > > > simplifies the

[PATCH] ubsan: Disable UBSAN_ALIGNMENT under COMPILE_TEST

2020-05-01 Thread Kees Cook
The documentation for UBSAN_ALIGNMENT already mentions that it should not be used on all*config builds (and for efficient-unaligned-access architectures), so just refactor the Kconfig to correctly implement this so randconfigs will stop creating insane images that freak out objtool under

[PATCH] vfio-pci: Mask cap zero

2020-05-01 Thread Alex Williamson
There is no PCI spec defined capability with ID 0, therefore we don't expect to find it in a capability chain and we use this index in an internal array for tracking the sizes of various capabilities to handle standard config space. Therefore if a device does present us with a capability ID 0, we

Re: [PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-01 Thread Rafael Aquini
On Fri, May 01, 2020 at 02:37:51PM -0700, Andrew Morton wrote: > On Fri, 1 May 2020 17:15:40 -0400 Rafael Aquini wrote: > > > Sometimes it is desirable to override SLUB's debug facilities > > default behavior upon stumbling on a cache or object error > > and just stop the execution in order to

Re: [PATCH 2/2] exec: open code copy_string_kernel

2020-05-01 Thread Andrew Morton
On Fri, 1 May 2020 22:30:48 +0100 Al Viro wrote: > On Fri, May 01, 2020 at 02:19:03PM -0700, Andrew Morton wrote: > > On Fri, 1 May 2020 12:41:05 +0200 Christoph Hellwig wrote: > > > > > Currently copy_string_kernel is just a wrapper around copy_strings that > > > simplifies the calling

[PATCH 3/3] vfio-pci: Invalidate mmaps and block MMIO access on disabled memory

2020-05-01 Thread Alex Williamson
Accessing the disabled memory space of a PCI device would typically result in a master abort response on conventional PCI, or an unsupported request on PCI express. The user would generally see these as a -1 response for the read return data and the write would be silently discarded, possibly

[PATCH 1/3] vfio/type1: Support faulting PFNMAP vmas

2020-05-01 Thread Alex Williamson
With conversion to follow_pfn(), DMA mapping a PFNMAP range depends on the range being faulted into the vma. Add support to manually provide that, in the same way as done on KVM with hva_to_pfn_remapped(). Signed-off-by: Alex Williamson --- drivers/vfio/vfio_iommu_type1.c | 36

[PATCH 2/3] vfio-pci: Fault mmaps to enable vma tracking

2020-05-01 Thread Alex Williamson
Rather than calling remap_pfn_range() when a region is mmap'd, setup a vm_ops handler to support dynamic faulting of the range on access. This allows us to manage a list of vmas actively mapping the area that we can later use to invalidate those mappings. The open callback invalidates the vma

Re: [PATCH] mm/gup.c: Handle error at earliest for incorrect nr_pages value

2020-05-01 Thread Souptick Joarder
On Sat, May 2, 2020 at 3:03 AM John Hubbard wrote: > > On 2020-04-30 13:11, Souptick Joarder wrote: > > As per documentation, pin_user_pages_fast() & get_user_pages_fast() > > will return 0, if nr_pages <= 0. But this can be figure out only after > > going inside the

[PATCH 0/3] vfio-pci: Block user access to disabled device MMIO

2020-05-01 Thread Alex Williamson
Add tracking of the device memory enable bit and block/fault accesses to device MMIO space while disabled. This provides synchronous fault handling for CPU accesses to the device and prevents the user from triggering platform level error handling present on some systems. Device reset and MSI-X

Re: [PATCH 11/24] rcu/tree: Maintain separate array for vmalloc ptrs

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:58:50PM +0200, Uladzislau Rezki (Sony) wrote: > To do so we use an array of common kvfree_rcu_bulk_data > structure. It consists of two elements, index number 0 > corresponds to SLAB ptrs., whereas vmalloc pointers can > be accessed by using index number 1. > > The

Re: [PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-01 Thread Andrew Morton
On Fri, 1 May 2020 17:15:40 -0400 Rafael Aquini wrote: > Sometimes it is desirable to override SLUB's debug facilities > default behavior upon stumbling on a cache or object error > and just stop the execution in order to grab a coredump, at > the error-spotting time, instead of trying to fix

Re: [PATCH] docs: kvm: Fix KVM_KVMCLOCK_CTRL API doc

2020-05-01 Thread Sean Christopherson
On Fri, May 01, 2020 at 05:10:40PM -0400, Joshua Abraham wrote: > On Fri, May 01, 2020 at 01:51:06PM -0700, Sean Christopherson wrote: > > I don't disagree, but simply doing s/host/guest yields a misleading > > sentence and inconsistencies with the rest of the paragraph. > > I see your point.

Re: [PATCH v5 2/3] Add the bindings for the bq25150 and bq25155 500mA charging ICs from Texas Instruments.

2020-05-01 Thread Rob Herring
On Fri, 1 May 2020 12:51:17 -0500, Dan Murphy wrote: > From: Ricardo Rivera-Matos > > Description: > The BQ2515X family of devices are highly integrated battery management > ICs that integrate the most common functions for wearbale devices > namely a charger, an output voltage rail, ADC for

Re: [PATCH] mm/gup.c: Handle error at earliest for incorrect nr_pages value

2020-05-01 Thread John Hubbard
On 2020-04-30 13:11, Souptick Joarder wrote: As per documentation, pin_user_pages_fast() & get_user_pages_fast() will return 0, if nr_pages <= 0. But this can be figure out only after going inside the internal_get_user_pages_fast(). This can be handled early. Adding a check for the same.

Re: [PATCH 1/6] tty: n_gsm: Add support for serdev drivers

2020-05-01 Thread Tony Lindgren
* Pavel Machek [200501 20:32]: > > +static struct gsm_dlci *gsd_dlci_get(struct gsm_serdev *gsd, int line, > > +bool allocate) > > +{ > > + struct gsm_mux *gsm; > > + struct gsm_dlci *dlci; > > + > > + if (!gsd || !gsd->gsm) > > + return

Re: [PATCH] [v3] kvm: x86: support APERF/MPERF registers

2020-05-01 Thread Wei Huang
On 04/30 06:45, Li RongQing wrote: > Guest kernel reports a fixed cpu frequency in /proc/cpuinfo, > this is confused to user when turbo is enable, and aperf/mperf > can be used to show current cpu frequency after 7d5905dc14a > "(x86 / CPU: Always show current CPU frequency in /proc/cpuinfo)" > so

Re: [PATCH 2/2] exec: open code copy_string_kernel

2020-05-01 Thread Al Viro
On Fri, May 01, 2020 at 02:19:03PM -0700, Andrew Morton wrote: > On Fri, 1 May 2020 12:41:05 +0200 Christoph Hellwig wrote: > > > Currently copy_string_kernel is just a wrapper around copy_strings that > > simplifies the calling conventions and uses set_fs to allow passing a > > kernel pointer.

[PATCH net-next 2/2] r8169: use fsleep in polling functions

2020-05-01 Thread Heiner Kallweit
Use new flexible sleep function fsleep() to merge the udelay and msleep polling functions. We can safely do this because no polling function is used in atomic context in this driver. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169_main.c | 108 +- 1

Re: [PATCH v3] mm/slub: Fix incorrect interpretation of s->offset

2020-05-01 Thread Rafael Aquini
On Wed, Apr 29, 2020 at 09:53:28AM -0400, Waiman Long wrote: > In a couple of places in the slub memory allocator, the code uses > "s->offset" as a check to see if the free pointer is put right after the > object. That check is no longer true with commit 3202fa62fb43 ("slub: > relocate freelist

Re: [PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-01 Thread Qian Cai
> On May 1, 2020, at 5:15 PM, Rafael Aquini wrote: > > Sometimes it is desirable to override SLUB's debug facilities > default behavior upon stumbling on a cache or object error > and just stop the execution in order to grab a coredump, at > the error-spotting time, instead of trying to fix

Re: [PATCH 0/2] Add support for TM5P5 NT35596 video mode panel

2020-05-01 Thread Konrad Dybcio
Very strange.. I just fetched drm-misc-next and had no issues building... Thanks for your initial thoughts! pt., 1 maj 2020 o 23:00 Sam Ravnborg napisał(a): > > Hi Konrad. > > On Fri, May 01, 2020 at 10:48:21PM +0200, Konrad Dybcio wrote: > > I am aware of the fact that this is probably not the

[PATCH net-next 1/2] timer: add fsleep for flexible sleeping

2020-05-01 Thread Heiner Kallweit
Sleeping for a certain amount of time requires use of different functions, depending on the time period. Documentation/timers/timers-howto.rst explains when to use which function, and also checkpatch checks for some potentially problematic cases. So let's create a helper that automatically

Re: [PATCH 09/24] rcu/tree: cache specified number of objects

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:58:48PM +0200, Uladzislau Rezki (Sony) wrote: > Cache some extra objects per-CPU. During reclaim process > some pages are cached instead of releasing by linking them > into the list. Such approach provides O(1) access time to > the cache. > > That reduces number of

[PATCH net-next 0/2] timer: add fsleep for flexible sleeping

2020-05-01 Thread Heiner Kallweit
Sleeping for a certain amount of time requires use of different functions, depending on the time period. Documentation/timers/timers-howto.rst explains when to use which function, and also checkpatch checks for some potentially problematic cases. So let's create a helper that automatically

Re: [PATCH 0/5] soc: ti: add k3 platforms chipid module driver

2020-05-01 Thread santosh . shilimkar
On 5/1/20 1:55 PM, Grygorii Strashko wrote: Hi Santosh, Tero On 23/04/2020 21:05, Grygorii Strashko wrote: Hi All, This series introduces TI K3 Multicore SoC platforms chipid module driver which provides identification support of the TI K3 SoCs (family, revision) and register this

Re: [PATCH 4/6] dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNSS

2020-05-01 Thread Tony Lindgren
* Rob Herring [200501 21:20]: > On Thu, Apr 30, 2020 at 10:46:13AM -0700, Tony Lindgren wrote: > > Add a binding document for Motorola Mapphone MDM6600 GNSS driver that > > can be used with phones such as droid4. > > > > Signed-off-by: Tony Lindgren > > --- > >

Re: [PATCH 4/6] dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNSS

2020-05-01 Thread Rob Herring
On Thu, Apr 30, 2020 at 10:46:13AM -0700, Tony Lindgren wrote: > Add a binding document for Motorola Mapphone MDM6600 GNSS driver that > can be used with phones such as droid4. > > Signed-off-by: Tony Lindgren > --- > .../devicetree/bindings/gnss/motmdm.yaml | 29 +++ > 1

Re: [PATCH 2/2] exec: open code copy_string_kernel

2020-05-01 Thread Andrew Morton
On Fri, 1 May 2020 12:41:05 +0200 Christoph Hellwig wrote: > Currently copy_string_kernel is just a wrapper around copy_strings that > simplifies the calling conventions and uses set_fs to allow passing a > kernel pointer. But due to the fact the we only need to handle a single > kernel

Re: [PATCH 08/24] rcu/tree: Use static initializer for krc.lock

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:58:47PM +0200, Uladzislau Rezki (Sony) wrote: > From: Sebastian Andrzej Siewior > > The per-CPU variable is initialized at runtime in > kfree_rcu_batch_init(). This function is invoked before > 'rcu_scheduler_active' is set to 'RCU_SCHEDULER_RUNNING'. > After the

[PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-01 Thread Rafael Aquini
Sometimes it is desirable to override SLUB's debug facilities default behavior upon stumbling on a cache or object error and just stop the execution in order to grab a coredump, at the error-spotting time, instead of trying to fix the issue and report in an attempt to keep the system rolling.

Re: [PATCH 4/6] dt-bindings: gnss: Add binding for Motorola Mapphone MDM6600 GNSS

2020-05-01 Thread Rob Herring
On Thu, 30 Apr 2020 10:46:13 -0700, Tony Lindgren wrote: > Add a binding document for Motorola Mapphone MDM6600 GNSS driver that > can be used with phones such as droid4. > > Signed-off-by: Tony Lindgren > --- > .../devicetree/bindings/gnss/motmdm.yaml | 29 +++ > 1 file

Re: [PATCH] dt-bindings: power: Convert power_supply text to yaml

2020-05-01 Thread Rob Herring
On Thu, 30 Apr 2020 10:18:41 -0500, Dan Murphy wrote: > Convert the power_supply.txt to power-supply.yaml. > This conversion entailed fixing up the binding to being yaml and dt > checker compliant. > > Added a note in the power_supply.txt to reference the power-supply.yaml > > CC: Rob Herring >

Re: [PATCH v3 4/6] dt-bindings: net: sun7i-gmac: Add syscon support

2020-05-01 Thread Rob Herring
On Thu, 30 Apr 2020 14:57:00 +0300, Priit Laes wrote: > Now that driver supports syscon-based regmap access, document also the > devicetree binding. > > Signed-off-by: Priit Laes > --- > .../bindings/net/allwinner,sun7i-a20-gmac.yaml| 15 +-- > 1 file changed, 13 insertions(+),

Re: [PATCH v9 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2020-05-01 Thread Rob Herring
On Thu, 30 Apr 2020 17:34:11 +0800, Xin Ji wrote: > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > for portable device. It converts MIPI to DisplayPort 1.3 4K. > > You can add support to your board with binding. > > Example: > anx7625_bridge: encoder@58 { >

Re: [PATCH v2 2/3] mm/memory_hotplug: Introduce MHP_NO_FIRMWARE_MEMMAP

2020-05-01 Thread David Hildenbrand
On 01.05.20 22:12, Dan Williams wrote: > On Fri, May 1, 2020 at 12:18 PM David Hildenbrand wrote: >> >> On 01.05.20 20:43, Dan Williams wrote: >>> On Fri, May 1, 2020 at 11:14 AM David Hildenbrand wrote: On 01.05.20 20:03, Dan Williams wrote: > On Fri, May 1, 2020 at 10:51 AM David

Re: [PATCH] docs: kvm: Fix KVM_KVMCLOCK_CTRL API doc

2020-05-01 Thread Joshua Abraham
On Fri, May 01, 2020 at 01:51:06PM -0700, Sean Christopherson wrote: > I don't disagree, but simply doing s/host/guest yields a misleading > sentence and inconsistencies with the rest of the paragraph. I see your point. Would this wording be clearer: "This ioctl sets a flag accessible to the

Re: [PATCH v4 2/2] devicetree: bindings: phy: Document ipq806x dwc3 qcom phy

2020-05-01 Thread Rob Herring
On Wed, 29 Apr 2020 23:19:25 +0200, Ansuel Smith wrote: > Document dwc3 qcom phy hs and ss phy bindings needed to correctly > inizialize and use usb on ipq806x SoC. > > Signed-off-by: Ansuel Smith > --- > v4: > * Add qcom to specific bindings > v3: > * Use explicit reg instead of regmap > >

Re: [PATCH RFC v2 02/11] dt-bindings: net: dwmac-meson: Document the "timing-adjustment" clock

2020-05-01 Thread Rob Herring
On Wed, 29 Apr 2020 22:16:35 +0200, Martin Blumenstingl wrote: > The PRG_ETHERNET registers can add an RX delay in RGMII mode. This > requires an internal re-timing circuit whose input clock is called > "timing adjustment clock". Document this clock input so the clock can be > enabled as needed. >

Re: [PATCH] mm/gup.c: Handle error at earliest for incorrect nr_pages value

2020-05-01 Thread Souptick Joarder
On Fri, May 1, 2020 at 2:54 AM Ira Weiny wrote: > > On Fri, May 01, 2020 at 01:41:58AM +0530, Souptick Joarder wrote: > > As per documentation, pin_user_pages_fast() & get_user_pages_fast() > > will return 0, if nr_pages <= 0. But this can be figure out only after > > going inside the

[RFC][PATCH 2/2] mm/migrate: annotate possible unnecessary xas_load()

2020-05-01 Thread Dave Hansen
From: Dave Hansen The xas_load() in question also originated in "e286781: mm: speculative page references" as a radix_tree_deref_slot(), the only one in the tree at the time. I'm thoroughly confused why it is needed, though. A page's slot in the page cache should be stabilized by lock_page()

[RFC][PATCH 1/2] mm/migrate: remove extra page_count() check

2020-05-01 Thread Dave Hansen
From: Dave Hansen This is not a bug fix. It was found by inspection, but I believe that it is confusing as it stands. First, page_ref_freeze() is implemented internally with: atomic_cmpxchg(>_refcount, expected, 0) == expected The "cmp" part of cmpxchg is making sure that

[RFC][PATCH 0/2] mm: tweak page cache migration

2020-05-01 Thread Dave Hansen
First of all, I think this little slice of code is a bit under-documented. Perhaps this will help clarify things. I'm pretty confident the page_count() check in the first patch is right, which is why I removed it outright. The xas_load() check is a bit murkier, so I just left a warning in for

Re: [PATCH 2/6] ASoC: lochnagar: Move binding over to dtschema

2020-05-01 Thread Rob Herring
On Mon, Apr 27, 2020 at 11:28:08AM +0100, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > .../devicetree/bindings/sound/cirrus,lochnagar.txt | 39 --- > .../bindings/sound/cirrus,lochnagar.yaml | 58 > ++ > 2 files changed, 58

Re: [PATCH 5/6] clk: lochnagar: Move binding over to dtschema

2020-05-01 Thread Rob Herring
On Mon, Apr 27, 2020 at 11:28:11AM +0100, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > .../devicetree/bindings/clock/cirrus,lochnagar.txt | 94 - > .../bindings/clock/cirrus,lochnagar.yaml | 220 > + > 2 files changed, 220 insertions(+),

Re: [PATCH] epoll: ensure ep_poll() doesn't miss wakeup events

2020-05-01 Thread Roman Penyaev
Hi Jason, That is indeed a nice catch. Seems we need smp_rmb() pair between list_empty_careful(>rdllist) and READ_ONCE(ep->ovflist) for ep_events_available(), do we? Other than that: Reviewed-by: Roman Penyaev -- Roman On 2020-05-01 21:15, Jason Baron wrote: Now that the

Re: [PATCH 0/2] Add support for TM5P5 NT35596 video mode panel

2020-05-01 Thread Sam Ravnborg
Hi Konrad. On Fri, May 01, 2020 at 10:48:21PM +0200, Konrad Dybcio wrote: > I am aware of the fact that this is probably not the correct > naming of this panel, yet I am unable to retrieve any additional > information about it, as it is used in a smartphone to which no > schematics are released.

Zu lesen ...

2020-05-01 Thread Lina JACOMINO
Kreditangebot zwischen bestimmten Sinnesprotokoll und schnell Wir bieten Finanzdienstleistungen. E-Mail: jeanricardo...@gmail.com Danke,

Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page

2020-05-01 Thread Andrew Morton
On Fri, 1 May 2020 18:08:28 +0530 Naresh Kamboju wrote: > mkfs -t ext4 invoked oom-killer on i386 kernel running on x86_64 device > and started happening on linux -next master branch kernel tag next-20200430 > and next-20200501. We did not bisect this problem. It would be wonderf

[PATCH 2/3] dt-bindings: clock: rpmcc: Document MSM8936 compatible

2020-05-01 Thread Konrad Dybcio
From: Vincent Knecht Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index

[PATCH 3/3] dt-bindings: soc: qcom: Document MSM8936 SMD RPM compatible

2020-05-01 Thread Konrad Dybcio
From: Vincent Knecht Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt

[PATCH 1/3] clk: qcom: smd: Add support for MSM8936 rpm clocks

2020-05-01 Thread Konrad Dybcio
From: Vincent Knecht Signed-off-by: Vincent Knecht --- drivers/clk/qcom/clk-smd-rpm.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index 52f63ad787ba9..4ac80d8ac6c25 100644 ---

Re: [PATCH 09/15] udf: avoid gcc-10 zero-length-bounds warnings

2020-05-01 Thread Pali Rohár
On Friday 01 May 2020 22:30:27 Arnd Bergmann wrote: > On Thu, Apr 30, 2020 at 11:54 PM Pali Rohár wrote: > > > > On Thursday 30 April 2020 23:30:51 Arnd Bergmann wrote: > > > gcc-10 warns about writes to the empty freeSpaceTable[] array, with > > > many instances like: > > > > > >

Re: [PATCH 6/6] mfd: lochnagar: Move binding over to dtschema

2020-05-01 Thread Rob Herring
On Mon, Apr 27, 2020 at 11:28:12AM +0100, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > .../devicetree/bindings/mfd/cirrus,lochnagar.txt | 85 -- > .../devicetree/bindings/mfd/cirrus,lochnagar.yaml | 183 > + > MAINTAINERS

[PATCH] soc: qcom: socinfo: add msm8936/39 and apq8036/39 soc ids

2020-05-01 Thread Konrad Dybcio
From: Vincent Knecht Signed-off-by: Vincent Knecht --- drivers/soc/qcom/socinfo.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index ebb49aee179bb..14831ed392e28 100644 --- a/drivers/soc/qcom/socinfo.c +++

Re: [PATCH 0/5] soc: ti: add k3 platforms chipid module driver

2020-05-01 Thread Grygorii Strashko
Hi Santosh, Tero On 23/04/2020 21:05, Grygorii Strashko wrote: Hi All, This series introduces TI K3 Multicore SoC platforms chipid module driver which provides identification support of the TI K3 SoCs (family, revision) and register this information with the SoC bus. It is available under

Re: [PATCH 2/2] dt-bindings: display: Document TM5P5 NT35596 panel compatible

2020-05-01 Thread Sam Ravnborg
Hi Konrad. Thanks for the new panel binding. But you need to redo this as panel bindings today must be in DT Schema format (.yaml). Please see other bindings in the same dir for examples. Sam On Fri, May 01, 2020 at 10:48:23PM +0200, Konrad Dybcio wrote: > Signed-off-by: Konrad Dybcio

Re: [PATCH 6/6] ARM: dts: omap4-droid4: Configure modem for serdev-ngsm

2020-05-01 Thread Pavel Machek
On Thu 2020-04-30 10:46:15, Tony Lindgren wrote: > Let's enable the TS 27.010 /dev/gsmmux* interfaces via Linux n_gsm that > can be used for voice calls and SMS with commands using a custom Motorola > format. > > And let's also enable the kernel GNSS driver via serdev-ngsm that uses a > dedicated

Re: [PATCH net-next v4 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-01 Thread Michal Kubecek
On Fri, May 01, 2020 at 05:52:10PM +0200, Michal Kubecek wrote: > On Fri, May 01, 2020 at 09:46:32AM +0200, Oleksij Rempel wrote: > [...] > > static int ethnl_update_linkmodes(struct genl_info *info, struct nlattr > > **tb, > > struct ethtool_link_ksettings

Re: [PATCH 03/24] rcu/tree: Use consistent style for comments

2020-05-01 Thread Joe Perches
On Fri, 2020-05-01 at 12:05 -0700, Paul E. McKenney wrote: > On Tue, Apr 28, 2020 at 10:58:42PM +0200, Uladzislau Rezki (Sony) wrote: > > Simple clean up of comments in kfree_rcu() code to keep it consistent > > with majority of commenting styles. [] > on /* */ style? > > I am (slowly) moving RCU

[PATCH net-next 5/7] arm64: dts: ti: k3-am65-main: add main navss cpts node

2020-05-01 Thread Grygorii Strashko
Add DT node for Main NAVSS CPTS module. Signed-off-by: Grygorii Strashko --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index

[PATCH net-next 6/7] arm64: dts: ti: k3-j721e-mcu: add mcu cpsw cpts node

2020-05-01 Thread Grygorii Strashko
Add DT node for The TI J721E MCU CPSW CPTS which is part of MCU CPSW NUSS. Signed-off-by: Grygorii Strashko --- arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi

Re: [PATCH 5/6] gnss: motmdm: Add support for Motorola Mapphone MDM6600 modem

2020-05-01 Thread Pavel Machek
On Thu 2020-04-30 10:46:14, Tony Lindgren wrote: > Motorola is using a custom TS 27.010 based serial port line discipline > for various devices on the modem. These devices can be accessed on > dedicated channels using Linux kernel serdev-ngsm driver. > > For the GNSS on these devices, we need to

[PATCH] drivers: gpu: drm: Add MDP5 configuration for MSM8x36 and its derivatives, such as MSM8939.

2020-05-01 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 70 1 file changed, 70 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c index e3c4c250238b7..1c7de7d6870cf 100644 ---

[PATCH net-next 3/7] net: ethernet: ti: am65-cpsw-nuss: enable packet timestamping support

2020-05-01 Thread Grygorii Strashko
The MCU CPSW Common Platform Time Sync (CPTS) provides possibility to timestamp TX PTP packets and all RX packets. This enables corresponding support in TI AM65x/J721E MCU CPSW driver. Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/Kconfig | 1 +

[PATCH net-next 7/7] arm64: dts: ti: j721e-main: add main navss cpts node

2020-05-01 Thread Grygorii Strashko
Add DT node for Main NAVSS CPTS module. Signed-off-by: Grygorii Strashko --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index

Re: [PATCH] docs: kvm: Fix KVM_KVMCLOCK_CTRL API doc

2020-05-01 Thread Sean Christopherson
On Fri, May 01, 2020 at 04:32:34PM -0400, Joshua Abraham wrote: > On Fri, May 01, 2020 at 01:18:36PM -0700, Sean Christopherson wrote: > > No, the current documentation is correct. It's probably not as clear as > > it could be, but it's accurate as written. More below. > > > > The ioctl()

[PATCH net-next 2/7] net: ethernet: ti: introduce am654 common platform time sync driver

2020-05-01 Thread Grygorii Strashko
The CPTS module is used to facilitate host control of time sync operations. Main features of CPTS module are: - selection of multiple external clock sources - control of time sync events via interrupt or polling - 64-bit timestamp mode in ns with HW PPM and nudge adjustment. - hardware timestamp

[PATCH net-next 4/7] arm64: dts: ti: k3-am65-mcu: add cpsw cpts node

2020-05-01 Thread Grygorii Strashko
Add DT node for the TI AM65x SoC Common Platform Time Sync (CPTS). Signed-off-by: Grygorii Strashko --- arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi

[PATCH net-next 0/7] net: ethernet: ti: k3: introduce common platform time sync driver - cpts

2020-05-01 Thread Grygorii Strashko
Hi This series introduced support for significantly upgraded TI A65x/J721E Common platform time sync (CPTS) modules which are part of AM65xx Time Synchronization Architecture [1]. The TI A65x/J721E now contain more than one CPTS instance: - MCU CPSW CPTS (IEEE 1588 compliant) - Main NAVSS CPTS

[PATCH net-next 1/7] dt-binding: ti: am65x: document common platform time sync cpts module

2020-05-01 Thread Grygorii Strashko
Document device tree bindings for TI AM654/J721E SoC The Common Platform Time Sync (CPTS) module. The CPTS module is used to facilitate host control of time sync operations. Main features of CPTS module are: - selection of multiple external clock sources - 64-bit timestamp mode in ns with ppm

[PATCH v3 1/2] rpmsg: core: Add wildcard match for name service

2020-05-01 Thread Mathieu Poirier
Adding the capability to supplement the base definition published by an rpmsg_driver with a postfix description so that it is possible for several entity to use the same service. Signed-off-by: Mathieu Poirier Acked-by: Arnaud Pouliquen --- drivers/rpmsg/rpmsg_core.c | 20 +++-

[PATCH v3 0/2] rpmsg: core: Add support for name extension

2020-05-01 Thread Mathieu Poirier
This patchset adds the capability to supplement the base definition published by an rpmsg_driver with a postfix description so that it is easy to differentiate entities that use the same name service. The first patch is the same as in v2, the second patch adds a function helper to retrieve an

[PATCH v3 2/2] rpmsg: core: Add support to retrieve name extension

2020-05-01 Thread Mathieu Poirier
After adding support for rpmsg device name extension, this patch provides a function that returns the extension portion of an rpmsg device name. That way users of the name extension functionality don't have to write the same boiler plate code to extract the information. Suggested-by: Suman Anna

[PATCH 1/2] drivers: drm: panel: Add TM5P5 NT35596 panel driver

2020-05-01 Thread Konrad Dybcio
This adds support for TMP5P5 NT35596 1080x1920 video mode panel that can be found on some Asus Zenfone 2 Laser (Z00T) devices. Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 +

[PATCH 0/2] Add support for TM5P5 NT35596 video mode panel

2020-05-01 Thread Konrad Dybcio
I am aware of the fact that this is probably not the correct naming of this panel, yet I am unable to retrieve any additional information about it, as it is used in a smartphone to which no schematics are released. The driver has been generated with the help of

Re: [PATCH 09/15] udf: avoid gcc-10 zero-length-bounds warnings

2020-05-01 Thread Jan Kara
On Fri 01-05-20 22:30:27, Arnd Bergmann wrote: > On Thu, Apr 30, 2020 at 11:54 PM Pali Rohár wrote: > > > @@ -360,9 +360,9 @@ struct logicalVolIntegrityDesc { > > > uint8_t logicalVolContentsUse[32]; > > > __le32 numOfPartitions; > > > __le32

<    1   2   3   4   5   6   7   8   9   10   >