Fixes vb2_vmalloc_get_userptr() to ioremap correct area.
Since the current code does ioremap the page address, if the offset > 0,
it does not do ioremap the last page and results in kernel panic.
This fixes to pass the size + offset to ioremap so that ioremap
can map correct area. Also, this uses
Some other drivers may be waiting for our extcon to show-up (exiting their
probe methods with -EPROBE_DEFER until we show up).
These drivers will typically get the cable state directly after getting
the extcon, this commit changes the int3496 code to process the id-pin
before registering the extco
HI,
On 05-02-18 00:28, Chanwoo Choi wrote:
On 2018년 02월 02일 17:10, Hans de Goede wrote:
Hi,
On 02-02-18 01:32, Chanwoo Choi wrote:
On 2018년 01월 26일 04:39, Hans de Goede wrote:
Some other drivers may be waiting for our extcon to show-up (exiting their
probe methods with -EPROBE_DEFER until we
Hi Masami,
On 2018-02-06 09:02, Masami Hiramatsu wrote:
Fixes vb2_vmalloc_get_userptr() to ioremap correct area.
Since the current code does ioremap the page address, if the offset > 0,
it does not do ioremap the last page and results in kernel panic.
This fixes to pass the size + offset to ior
On 2018년 02월 06일 17:10, Hans de Goede wrote:
> Some other drivers may be waiting for our extcon to show-up (exiting their
> probe methods with -EPROBE_DEFER until we show up).
>
> These drivers will typically get the cable state directly after getting
> the extcon, this commit changes the int3496
Hi Wolfram,
On Mon, Feb 5, 2018 at 9:09 PM, Wolfram Sang
wrote:
> In one Renesas driver, I found a typo which turned an intended bit shift
> ('<<')
> into a comparison ('<'). Because this is a subtle issue, I looked tree wide
> for
> similar patterns. This small patch series is the outcome.
>
>
FYI, we noticed the following commit (built with gcc-4.9):
commit: 6c0a1d639cb7e989007cc3153b2f4eafb2e5bb7b ("rcu: Parallelize expedited
grace-period initialization")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
in testcase: trinity
with following parameters:
FYI, we noticed the following commit (built with gcc-7):
commit: f7f99100d8d95dbcf09e0216a143211e79418b9f ("mm: stop zeroing memory
during allocation in vmemmap")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: trinity
with following parameters:
runt
> I found two more using "git grep 'define.*0x[0-9a-f]* < '":
I added '[0-9]\+' at the end of the regex to reduce the number of false
positives...
> drivers/net/can/m_can/m_can.c:#define RXFC_FWM_MASK (0x7f <
> RXFC_FWM_SHIFT)
> drivers/usb/gadget/udc/goku_udc.h:#define INT_EPnNAK(n)
> (0x0
FYI, we noticed the following commit (built with gcc-7):
commit: 5bb856a17977672f2142d06e68ac60e746e7bca2 ("rcu: Parallelize expedited
grace-period initialization")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
in testcase: trinity
with following parameters:
Hi Huang,
On Tue, Feb 06, 2018 at 02:54:04PM +0800, Huang, Ying wrote:
> From: Huang Ying
>
> It was reported by Sergey Senozhatsky that if THP (Transparent Huge
> Page) and frontswap (via zswap) are both enabled, when memory goes low
> so that swap is triggered, segfault and memory corruption w
Stopped the periodic update of blocked load when all idle CPUs have fully
decayed. We introduce a new nohz.has_blocked that reflect if some idle
CPUs has blocked load that have to be periodiccally updated. nohz.has_blocked
is set everytime that a Idle CPU can have blocked load and it is then clear
Instead of using the cfs_rq_is_decayed() which monitors all *_avg
and *_sum, we create a cfs_rq_has_blocked() which only takes care of
util_avg and load_avg. We are only interested by these 2 values which are
decaying faster than the *_sum so we can stop the periodic update earlier.
Signed-off-by:
When NEWLY_IDLE load balance is not triggered, we might need to update the
blocked load anyway. We can kick an ilb so an idle CPU will take care of
updating blocked load or we can try to update them locally before entering
idle. In the latter case, we reuse part of the nohz_idle_balance.
Signed-of
Hi.
06.02.2018 08:56, Mike Galbraith wrote:
I was doing kbuilds, and it blew up on me twice. Switching back to cfq
seemed to confirm it was indeed the patch causing trouble, but that's
by no means a certainty.
Just to note, I was using v4.15.1, not the latest git HEAD. Are you able
to reprod
Hi, Minchan,
Minchan Kim writes:
> Hi Huang,
>
> On Tue, Feb 06, 2018 at 02:54:04PM +0800, Huang, Ying wrote:
>> From: Huang Ying
>>
>> It was reported by Sergey Senozhatsky that if THP (Transparent Huge
>> Page) and frontswap (via zswap) are both enabled, when memory goes low
>> so that swap
Arnaldo
what is the proposed way of forwarding kvm uapi changes to the perf copy?
Are you going to detect and fixup that yourself? Do you want to be notified?
Or do you even want to have a patch?
On 02/05/2018 08:56 PM, Arnaldo Carvalho de Melo wrote:
> From: Arnaldo Carvalho de Melo
>
> The 3
Add support for the Synopsys DesignWare MIPI DSI version 1.31
Two registers need to be updated/added for supporting 1.31:
* PHY_TMR_CFG 0x9c (updated)
1.30 [31:24] phy_hs2lp_time
[23:16] phy_lp2hs_time
[14: 0] max_rd_time
1.31 [25:16] phy_hs2lp_time
[ 9: 0] phy_lp2hs_time
> Check patch is dumb and often gives false positives.
Would you like to improve this software situation anyhow?
Regards,
Markus
On Mon, Feb 5, 2018 at 12:22 AM, Tomer Maimon wrote:
> Add Nuvoton BMC NPCM7xx clock driver.
>
> Nuvoton BMC NPCM7xx contain integrated clock controller which
> generates and supplies clock to all modules within the NPCM7xx BMC.
>
> Signed-off-by: Tomer Maimon
> ---
> drivers/clk/Makefile |
On Tue, 2018-02-06 at 09:37 +0100, Oleksandr Natalenko wrote:
> Hi.
>
> 06.02.2018 08:56, Mike Galbraith wrote:
> > I was doing kbuilds, and it blew up on me twice. Switching back to cfq
> > seemed to confirm it was indeed the patch causing trouble, but that's
> > by no means a certainty.
>
> Ju
On Tue, Feb 6, 2018 at 8:41 AM, Vincent Chen wrote:
> 2018-01-18 18:28 GMT+08:00 Arnd Bergmann :
>> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
>>> From: Greentime Hu
>>>
>>> This patch adds VDSO support. The VDSO code is currently used for
>>> sys_rt_sigreturn() and optimised gettimeof
* Ingo Molnar wrote:
> [...] so I implemented a real, per function register usage tracking.
>
> For the x86 defconfig kernel the results are:
>
> r11: used in 1704 fns, not used in 43310 fns, usage ratio:3.8%
> r10: used in 3809 fns, not used in 41205 fns, usage ratio:8.5%
>
VirtualBox hosts can share folders with guests, this commit adds a
VFS driver implementing the Linux-guest side of this, allowing folders
exported by the host to be mounted under Linux.
This driver depends on the guest <-> host IPC functions exported by
the vboxguest driver.
Signed-off-by: Hans d
Due to a typo, the mask was destroyed by a comparison instead of a bit
shift.
Reported-by: Geert Uytterhoeven
Signed-off-by: Wolfram Sang
---
Only build tested.
drivers/usb/gadget/udc/goku_udc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/udc/goku_udc
Due to a typo, the mask was destroyed by a comparison instead of a bit
shift.
Reported-by: Geert Uytterhoeven
Signed-off-by: Wolfram Sang
---
Only build tested.
drivers/net/can/m_can/m_can.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/can/m_can/m_can.c b/dri
On Tue, Feb 06, 2018 at 09:50:40AM +0100, Wolfram Sang wrote:
> Due to a typo, the mask was destroyed by a comparison instead of a bit
> shift.
>
> Reported-by: Geert Uytterhoeven
> Signed-off-by: Wolfram Sang
> ---
> Only build tested.
Add. note: according to 'git grep', this macro is unused c
Hi Peter,
On 6 February 2018 at 09:32, Vincent Guittot wrote:
> Stopped the periodic update of blocked load when all idle CPUs have fully
> decayed. We introduce a new nohz.has_blocked that reflect if some idle
> CPUs has blocked load that have to be periodiccally updated. nohz.has_blocked
> is s
> -Original Message-
> From: Horia Geantă
> Sent: Tuesday, February 06, 2018 9:18 AM
> To: Bogdan Purcareata ; gre...@linuxfoundation.org;
> Laurentiu Tudor ; Ruxandra Ioana Ciocoi Radulescu
>
> Cc: stuyo...@gmail.com; a...@arndb.de; r...@kernel.org; Razvan Stefanescu
> ; Ioana Ciornei ; N
2018-02-06 16:30 GMT+08:00 syzbot
:
> syzbot has found reproducer for the following crash on upstream commit
> 2deb41b245320f0eefb535a5c8ea19ed66b33c04 (Mon Feb 5 18:07:40 2018 +)
> Merge tag 'rproc-v4.16' of git://github.com/andersson/remoteproc
>
> So far this crash happened 234 times on linu
On Tue, Feb 06, 2018 at 04:39:18PM +0800, Huang, Ying wrote:
> Hi, Minchan,
>
> Minchan Kim writes:
>
> > Hi Huang,
> >
> > On Tue, Feb 06, 2018 at 02:54:04PM +0800, Huang, Ying wrote:
> >> From: Huang Ying
> >>
> >> It was reported by Sergey Senozhatsky that if THP (Transparent Huge
> >> Page
On Mon, Feb 05, 2018 at 05:18:11PM -0800, Dan Williams wrote:
> @@ -1178,6 +1180,7 @@ ENTRY(paranoid_entry)
> cld
> SAVE_C_REGS 8
> SAVE_EXTRA_REGS 8
> + CLEAR_REGS_NOSPEC
> ENCODE_FRAME_POINTER 8
> movl$1, %ebx
> movl$MSR_GS_BASE, %ecx
> @@ -1185,7 +
Reviewed-by: Yannick Fertré
On 02/05/2018 10:45 AM, Philippe Cornu wrote:
> Some boards use a dedicated voltage regulator for this panel.
> Add & document this related optional power-supply property.
>
> Signed-off-by: Philippe Cornu
> ---
> Documentation/devicetree/bindings/display/panel/ori
Reviewed-by: Yannick Fertré
On 02/05/2018 10:45 AM, Philippe Cornu wrote:
> Add support for the optional power-supply.
>
> Note: A "dummy regulator" is returned by devm_regulator_get()
> if the optional regulator is not present in the device tree,
> simplifying the source code when enabling/disa
On Tue, Feb 06, 2018 at 12:49:00PM +0800, Icenowy Zheng wrote:
> The CPU on Allwinner H3 can do dynamic frequency scaling.
>
> Add a DVFS table based on the one shipped with Allwinner's H3 SDK. The
> voltage-frequency relationship seems to be conservative, and Armbian has
> another DVFS table whic
于 2018年2月6日 GMT+08:00 下午5:06:56, Maxime Ripard 写到:
>On Tue, Feb 06, 2018 at 12:49:00PM +0800, Icenowy Zheng wrote:
>> The CPU on Allwinner H3 can do dynamic frequency scaling.
>>
>> Add a DVFS table based on the one shipped with Allwinner's H3 SDK.
>The
>> voltage-frequency relationship seems t
On Tue, Feb 06, 2018 at 12:49:02PM +0800, Icenowy Zheng wrote:
> Orange Pi One board has a SY8113B regulator, which is controlled via
> GPIO and capable of outputing 1.1V when the PL6 GPIO is set to output 0
> or 1.3V when the PL6 GPIO is set to input or output 1, and the output is
> the power supp
On Mon, Feb 05, 2018 at 02:09:11PM -0800, Subhra Mazumdar wrote:
> The pseudo random is also used for choosing a random core to compare with,
> how will transposing achieve that?
Not entirely sure what your point is. Current code doesn't compare to
just _one_ other core, and I don't think we'd eve
Reviewed-by: Yannick Fertré
On 02/01/2018 11:42 AM, Philippe Cornu wrote:
> ltdc supports natively some color formats with alpha (like
> ARGB, ARGB1555, ARGB...). Related non-alpha formats are
> supported too (ARGB->XRGB, ARGB->XRGB...) by
> adjusting ltdc blending factor
Reviewed-by: Yannick Fertré
On 02/01/2018 11:42 AM, Philippe Cornu wrote:
> Hw older versions support non-alpha color formats derived
> from native alpha color formats only on the primary layer.
> For instance, RG16 native format without alpha works fine
> on 2nd layer but XR24 (derived color fo
On Tue, Feb 06, 2018 at 11:54:38AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the tip tree got a conflict in:
>
> include/linux/sched/mm.h
>
> between commit:
>
> d70f2a14b72a ("include/linux/sched/mm.h: uninline mmdrop_async(), etc")
FWIW, akpm has a patch th
On Sun, 2018-02-04 at 19:43 +0100, Thomas Gleixner wrote:
> Yet another possibility is to avoid the function entry and accouting magic
> and use the generic gcc return thunk:
>
> __x86_return_thunk:
> call L2
> L1:
> pause
> lfence
> jmp L1
> L2:
> lea 8(%
On Mon, Feb 05, 2018 at 05:18:11PM -0800, Dan Williams wrote:
> From: Andi Kleen
>
> Clear the 'extra' registers on entering the 64bit kernel for exceptions
> and interrupts. The common registers are not cleared since they are
> likely clobbered well before they can be exploited in a speculative
On 02/06/2018 01:24 AM, Trond Myklebust wrote:
> Does the following fix the issue?
>
> 8<---
> From 9b30889c548a4d45bfe6226e58de32504c1d682f Mon Sep 17 00:00:00 2001
> From: Trond Myklebust
> Date: Mon, 5 Feb 2018 10:20:06 -0500
> Subject: [PATCH] SUNRP
The new hashing feature of unadorned printk("%p") makes it hard to spot if
the pointer actually carries an error value. Make %p print any pointer
that matches IS_ERR() as a negative integer.
Should I set SMALL and the field_width as well, I wonder?
Signed-off-by: David Howells
---
lib/vsprint
On 5 February 2018 at 23:18, Valentin Schneider
wrote:
> On 01/30/2018 11:41 AM, Valentin Schneider wrote:
>> [...]
>>> I have studied a way to keep track of how many cpus still have blocked
>>> load to try to minimize the number of useless ilb kick but this add
>>> more atomic operations which ca
Hi Matias,
On Wed, Jan 31, 2018 at 9:44 AM, Matias Bjørling wrote:
> On 01/31/2018 03:06 AM, Javier González wrote:
>>
>> From: Hans Holmberg
>>
>> When pblk receives a sync, all data up to that point in the write buffer
>> must be comitted to persistent storage, and as flash memory comes with a
On Tue, Feb 06, 2018 at 01:41:29AM +, Sasha Levin wrote:
> On Mon, Feb 05, 2018 at 11:41:54AM +, Mark Brown wrote:
> >On Sat, Feb 03, 2018 at 06:00:42PM +, Sasha Levin wrote:
> >> From: Abhijeet Kumar
> >>
> >> [ Upstream commit d070f7c703ef26e3db613f24206823f916272fc6 ]
> >>
> >> In s
Add the watchdog device node for Spreadtrum SC9860 platform to
watch the system's stability.
Signed-off-by: Baolin Wang
---
arch/arm64/boot/dts/sprd/whale2.dtsi |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi
b/arch/arm64/boot/dts/sprd/whale2
The Spreadtrum SC9860 platform has one SC2731 PMIC, and the SC2731
PMIC integrates all mobile handset power management, audio codec,
battery management and user interface support function in a single
chip.
This patch adds the SC2731 dts file, as well as adding the RTC and
regulator device node for
The Spreadtrum SC9860 platform only has one hardware spinlock device,
which is located on AON system of Spreadtrum SC9860 platform.
Signed-off-by: Baolin Wang
---
arch/arm64/boot/dts/sprd/whale2.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/spr
We will access the PMIC through ADI controller, thus this patch adds
the ADI device node for Spreadtrum SC9860 platform.
Signed-off-by: Baolin Wang
---
arch/arm64/boot/dts/sprd/sp9860g-1h10.dts |1 +
arch/arm64/boot/dts/sprd/whale2.dtsi |9 +
2 files changed, 10 insertions(+
The Spreadtrum SC9860 platform has two DMA controllers, one is located
on the ap-ahb system, and another one is located on the agcp system.
Signed-off-by: Baolin Wang
---
arch/arm64/boot/dts/sprd/whale2.dtsi | 34 ++
1 file changed, 34 insertions(+)
diff --git
This patch adds the pin controller device node for Spreadtrum
SC9860 platform.
Signed-off-by: Baolin Wang
---
arch/arm64/boot/dts/sprd/whale2.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi
b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 63fe89
We will use one always-on timer to be the broadcast device, thus add
the timer device node for Spreadtrum SC9860 platform.
Signed-off-by: Baolin Wang
---
arch/arm64/boot/dts/sprd/whale2.dtsi |7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi
b/arc
Kees suggested that, 'offset' is unsigned long, not a pointer,
thus %lx should be used to print it, not the %px. Also, I don't
see any reason to prepend offset with 0s. Replace %px with %lx.
Before patch:
# echo "p:probe_a/main /tmp/a.out:0x594" > uprobe_events
# cat uprobe_events
p:probe_
Simplify probes_seq_show() function. We are using %lx to display
the offset and we don't prepend unnecessary 0s in the offset.
Signed-off-by: Ravi Bangoria
---
kernel/trace/trace_uprobe.c | 21 +++--
1 file changed, 3 insertions(+), 18 deletions(-)
diff --git a/kernel/trace/trac
On Tue, Feb 06, 2018 at 09:34:46AM +0900, Masahiro Yamada wrote:
> The variable 'PYTHON' allows users to specify a proper executable
> name in case the default 'python' does not work. However, this does
> not address the case where both Python 2 and Python 3 scripts are
> used in one system.
>
>
Hi Jagan,
On Sun, 2018-02-04 at 23:19 +0530, Jagan Teki wrote:
> This adds support for the Ampire AM-800480AYTZQW-00H 7.0" WGA LCD,
> which can be supported by the simple panel driver.
>
> Signed-off-by: Jagan Teki
> Reviewed-by: Rob Herring
> ---
> Changes for v3:
> - collect Rob reiew tag
>
On Mon, Feb 05, 2018 at 06:51:05PM -0800, Stephane Eranian wrote:
SNIP
> >
> Looks like this is working then, great!
>
> Now, related to profiling and reporting. There is still an issue I
> keep running into
> with grouping. I want to sample on N events, where N > number of hw counters.
> Yet I
On Tue, Feb 06, 2018 at 09:34:40AM +0900, Masahiro Yamada wrote:
> I am applying various patches to Kconfig these days.
>
> However, I fear regressions. I have been thinking of unit-tests.
>
> There are various cryptic parts in Kconfig and corner cases where
> it is difficult to notice breakage.
> Il giorno 06 feb 2018, alle ore 08:56, Mike Galbraith ha
> scritto:
>
> On Tue, 2018-02-06 at 08:44 +0100, Oleksandr Natalenko wrote:
>> Hi, Paolo.
>>
>> I can confirm that this patch fixes cfdisk hang for me. I've also tried
>> to trigger the issue Mike has encountered, but with no luck (
On Tue, Jan 30, 2018 at 10:12:36PM +0100, Cyrille Pitchen wrote:
[...]
> >>> v4 -> v5:
> >>> - rebase on today's (20180128) linux-pci/next
> >>
> >> Don't bother rebasing onto linux-pci/next.
> >>
> >> If your patches actually *depend* on something that has already been
> >> merged onto a PCI top
On 02/05/2018 07:04 PM, Randy Dunlap wrote:
On 02/05/2018 04:15 AM, Matias Bjørling wrote:
Implement the geometry data structures for 2.0 and enable a drive
to be identified as one, including exposing the appropriate 2.0
sysfs entries.
Signed-off-by: Matias Bjørling
---
drivers/lightnvm/core
On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote:
> The ARCH_WANT_OPTIONAL_GPIOLIB symbol was removed in commit 65053e1a7743
> ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB"). GPIOLIB should
> just be selected explicitly if needed.
>
> Remove the ARCH_WANT_OPTIONAL_GPIOLIB select from R
Hello,
On (02/06/18 01:02), Minchan Kim wrote:
[..]
> Can't we simple do like that if you want to make it simple and rely on someone
> who makes frontswap THP-aware later?
>
> diff --git a/mm/swapfile.c b/mm/swapfile.c
> index 42fe5653814a..4bf1725407aa 100644
> --- a/mm/swapfile.c
> +++ b/mm/swa
Looks good,
Reviewed-by: Sagi Grimberg
I'll pick this one up unless someone thinks I shouldn't..
Hi Alexandre,
On 01/31/18 11:24, Alexandre Courbot wrote:
> This is a quickly-put together revision that includes and uses Hans' work to
> use v4l2_ctrl_handler as the request state holder for V4L2 devices. Although
> minor fixes have also been applied, there are still a few comments from the
> pr
On Tue, Feb 6, 2018 at 12:49 AM, Ulf Magnusson wrote:
> On Tue, Feb 6, 2018 at 12:38 AM, Ulf Magnusson wrote:
>> On Tue, Feb 6, 2018 at 12:25 AM, Linus Walleij
>> wrote:
>>> On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote:
>>>
The ARCH_WANT_OPTIONAL_GPIOLIB symbol was removed in commi
From: Sean Wang
Changes since v1:
- add usb, thermal, HSDMA, mmc related nodes
- fix Warning (unit_address_vs_reg): Node /oscillator@0 has
a unit name, but no reg property in patch 2
- fix Warning (pci_bridge): Node /pcie@1a14/pcie@0,0 missing
bus-range for PCI bridge
- fix Warning (pci_b
From: Sean Wang
add pinctrl device nodes and rfb1 board, additionally include all pin
groups possible being used on rfb1 board and available gpio keys.
Signed-off-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 200 +++
arch/arm64/boot/dts/mediatek/mt76
From: Sean Wang
Add clock controller nodes for MT7622 and include header for topckgen,
infracfg, pericfg, apmixedsys, ethsys, sgmiisys, pciesys and ssusbsys
for those devices nodes to be added afterwards.
In addition, provides an oscillator node for the source of PLLs and dummy
clock for PWARP t
From: Sean Wang
add ethernet device nodes which enable GMAC1 with SGMII interface
Signed-off-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 22
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 31
2 files changed, 53 insertions(
From: Sean Wang
add High-Speed DMA (HSDMA) nodes
Signed-off-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 6cf67dd..ed7ee78 100
From: Sean Wang
add mmc device nodes and proper setup for used pins
Signed-off-by: Sean Wang
Signed-off-by: Jimin Wang
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 106 +++
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 20 +
2 files changed, 126 insertions(
From: Ryder Lee
This patch adds PCIe support fot MT7622.
Signed-off-by: Ryder Lee
Signed-off-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 10
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 74
2 files changed, 84 insertions(+)
diff --git
From: Chunfeng Yun
add xhci node and usb3 phy nodes
Signed-off-by: Chunfeng Yun
Signed-off-by: Sean Wang
Tested-by: Jumin Li
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 28 +++
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 51
2 files changed,
From: Sean Wang
add power domain controller nodes
Signed-off-by: Sean Wang
Cc: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
b/arch/arm64/boot/dts/mediatek/mt7622.dts
From: Ryder Lee
This patch adds SATA support fot MT7622.
Signed-off-by: Ryder Lee
Signed-off-by: Sean Wang
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 8 ++
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 40
2 files changed, 48 insertions(+)
diff --gi
From: Sean Wang
Add watchdog, rtc, auxadc, cir, efuse, rng, uart[1-4], pwm, i2c[0-2],
spi[0-1] and btif nodes
Signed-off-by: Sean Wang
Cc: Andrew-CT Chen
Cc: Zhiyong Tao
Cc: Zhi Mao
Cc: Jun Gao
Cc: Leilk Liu
Cc: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 54
From: Sean Wang
This patch also cleans up two oscillators that provide clocks for MT7623.
Switch the uart clocks to the real ones while at it.
Signed-off-by: Sean Wang
Cc: Matthias Brugger
---
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 15 ++-
1 file changed, 2 insertions(+), 13 d
From: Sean Wang
add nodes for the thermal controller and associated thermal zone using
CPU as the cooling device for each trip point. In addition, add a fixup
for thermal_calibration on nvmem should be 12 bytes as the minimal
requirement.
Signed-off-by: Sean Wang
---
arch/arm64/boot/dts/mediat
From: Sean Wang
Enable pwrap and MT6380 on mt7622-rfb1 board. Also add all mt6380
regulator nodes in an alone file to allow similar boards using MT6380
able to resue the configuration.
Signed-off-by: Sean Wang
Cc: Mark Brown
Cc: Matthias Brugger
Cc: Philippe Ombredanne
---
arch/arm64/boot/d
From: Sean Wang
add nodes for NOR flash, parallel Nand flash with error correction code
support.
Signed-off-by: Sean Wang
Cc: RogerCC Lin
Cc: Guochun Mao
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 21 +
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 34 +++
From: Sean Wang
Add clocks, regulators and opp information into cpu nodes.
In addition, the power supply for cpu nodes is deployed on
mt7622-rfb1 board.
Signed-off-by: Sean Wang
Cc: Viresh Kumar
---
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 12 +++
arch/arm64/boot/dts/mediatek/mt7622
From: Sean Wang
All ethsys, pciesys and ssusbsys internally include reset controller, so
explicitly add back these missing cell definitions to related bindings
and examples.
Signed-off-by: Sean Wang
Cc: Rob Herring
Cc: Stephen Boyd
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindi
On Mon, Feb 05, 2018 at 03:51:18PM +, Mark Rutland wrote:
> However, this happens *after* prev->on_cpu is cleared, which allows prev
> to be scheduled on another CPU. If prev then attempts to acquire the
> same rq lock, before the updated rq->lock.owner is made visible, it will
> see itself as
On Mon, 2018-02-05 at 16:56 -0300, Arnaldo Carvalho de Melo wrote:
>
> None will entail changes in the tools/perf/, synchronizing to elliminate
> these perf build warnings:
>
> Warning: Kernel ABI header at
> 'tools/arch/x86/include/asm/disabled-features.h' differs from latest version
> at
Add dummies for usb_gadget_{,un}map_request{,_by_dev}(), to allow
compile-testing if NO_DMA=y.
This prevents the following from showing up later:
ERROR: "usb_gadget_unmap_request_by_dev"
[drivers/usb/renesas_usbhs/renesas_usbhs.ko] undefined!
ERROR: "usb_gadget_map_request_by_dev"
[driv
Add dummies for scsi_dma_{,un}map(), to allow compile-testing if
NO_DMA=y.
This prevents the following from showing up later:
ERROR: "scsi_dma_unmap" [drivers/firewire/firewire-sbp2.ko] undefined!
ERROR: "scsi_dma_map" [drivers/firewire/firewire-sbp2.ko] undefined!
Signed-off-by: Geert U
If NO_DMA=y, get_dma_ops() returns a reference to the
non-existing symbol bad_dma_ops, thus causing a link failure if it is
ever used.
Make get_dma_ops() return NULL instead, to avoid the link failure.
This allows to improve compile-testing, and limits the need to keep on
sprinkling dependencies o
Add dummies for dma{,m}_pool_{create,destroy,alloc,free}(), to allow
compile-testing if NO_DMA=y.
This prevents the following from showing up later:
ERROR: "dma_pool_destroy" [drivers/usb/mtu3/mtu3.ko] undefined!
ERROR: "dma_pool_free" [drivers/usb/mtu3/mtu3.ko] undefined!
ERROR: "dma
Add dummies for dmam_{alloc,free}_coherent(), to allow compile-testing
if NO_DMA=y.
This prevents the following from showing up later:
ERROR: "dmam_alloc_coherent" [drivers/net/ethernet/arc/arc_emac.ko]
undefined!
ERROR: "dmam_free_coherent" [drivers/net/ethernet/apm/xgene/xgene-enet.ko]
Remove dependencies on HAS_DMA where a Kconfig symbol depends on another
symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST".
In most cases this other symbol is an architecture or platform specific
symbol, or PCI.
Generic symbols and drivers without platform dependencies keep their
On 2/6/2018 11:48 AM, Sagi Grimberg wrote:
Looks good,
Reviewed-by: Sagi Grimberg
I'll pick this one up unless someone thinks I shouldn't..
Looks good to me (I can imagine what scenario failed this :) ),
Reviewed-by: Max Gurtovoy
___
Linux-n
Hi all,
If NO_DMA=y, get_dma_ops() returns a reference to the non-existing
symbol bad_dma_ops, thus causing a link failure if it is ever used.
The intention of this is twofold:
1. To catch users of the DMA API on systems that do no support the DMA
mapping API,
2. To avoid buildin
SMMU_CBn_FSYNR0 definition from SMMU v2 architecture document
says that, the S1CBNDX[23:16] field is only valid if SMMU_IDR0.NTS==1.
So, update the fsynr in context bank fault handler, so that the
fault message displays cbndx only when we have nested translations
enabled.
Otherwise, it is confusing
Recent times kvmalloc() begun widely be used in kernel.
Some of such memory allocations have to be freed after
rcu grace period, and this patchset introduces a generic
primitive for doing this.
Actually, everything is made in [1/2]. Patch [2/2] is just
added to make new kvfree_rcu() have the first
Recent times kvmalloc() begun widely be used in kernel.
Some of such memory allocations have to be freed after
rcu grace period, and this patch introduces a generic
primitive for doing this.
Currently, there is kfree_rcu() primitive in kernel,
which encodes rcu_head offset inside freed structure
o
Make update_memcg_params() to use generic kvfree_rcu()
helper and remove free_memcg_params() code.
Signed-off-by: Kirill Tkhai
---
mm/slab_common.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/mm/slab_common.c b/mm/slab_common.c
index 10f127b2de7c..92d4a3a9471d
1 - 100 of 958 matches
Mail list logo