After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.
Acked-by: Jesper Nilsson
Cc: Mikael Starvik
Cc: Jesper Nilsson
Signed-off-by: Kefeng Wang
---
arch/c
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Acked-by: Roger Quadros
Cc: Roger Quadros
Cc: Tony Lindgren
Signed-off-by: Kefeng Wang
---
drivers/memory/omap-gpmc.c | 3 +--
1 file changed
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Joshua Henderson
Cc: Ralf Baechle
Signed-off-by: Kefeng Wang
---
arch/mips/pic32/pic32mzda/init.c | 3 +--
1 file changed, 1 insertion
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.
Cc: James Hogan
Signed-off-by: Kefeng Wang
---
arch/metag/kernel/setup.c | 5 +
1 file changed, 1
: Roland Stigge
Cc: Jason Cooper
Cc: Ray Jui
Cc: Viresh Kumar
Cc: Stephen Warren
Cc: Rob Herring
Cc: Michal Simek
Signed-off-by: Kefeng Wang
---
arch/arm/mach-at91/at91rm9200.c | 2 +-
arch/arm/mach-at91/at91sam9.c| 2 +-
arch/arm/mach-at91/sama5.c | 2 +-
arch
: Grant Likely
Signed-off-by: Kefeng Wang
---
drivers/of/platform.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index c559ef8..153dbe1 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -31,7 +31,6 @@ const struct of_device_id
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Rob Herring
Cc: Frank Rowand
Cc: Grant Likely
Signed-off-by: Kefeng Wang
---
drivers/of/unittest.c | 5 ++---
1 file changed, 2 insertions
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Arnd Bergmann
Signed-off-by: Kefeng Wang
---
arch/arm64/kern
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.
Acked-by: Vineet Gupta
Cc: Vineet Gupta
Signed-off-by: Kefeng Wang
---
arch/arc/kernel/setup.c | 7 -
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.
Cc: Ley Foon Tan
Signed-off-by: Kefeng Wang
---
arch/nios2/platform/platform.c | 4 +---
1 file
://lkml.org/lkml/2016/6/1/43
Kefeng Wang (18):
of/platform: Add common method to populate default bus
arc: Remove unnecessary of_platform_populate with default match table
arm: Remove unnecessary of_platform_populate with default match table
arm64: Remove unnecessary of_platform_populate with
Lutfullah Kakakhel
Signed-off-by: Kefeng Wang
---
arch/mips/ath79/setup.c | 3 ---
arch/mips/jz4740/setup.c | 8
arch/mips/mti-sead3/sead3-setup.c | 8
arch/mips/pistachio/init.c| 13 -
arch/mips/xilfpga/init.c | 13
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Acked-by: Masahiro Yamada
Cc: Masahiro Yamada
Signed-off-by: Kefeng Wang
---
drivers/bus/uniphier-system-bus.c | 3 +--
1 file changed, 1
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Acked-by: Shawn Guo
Cc: Signed-off-by: Huang Shijie
Cc: Shawn Guo
Signed-off-by: Kefeng Wang
---
drivers/bus/imx-weim.c | 5 ++---
1 file
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.
Cc: Yoshinori Sato
Cc: Rich Felker
Signed-off-by: Kefeng Wang
---
arch/sh/boards/of-gene
x Filippov
Signed-off-by: Kefeng Wang
---
arch/xtensa/kernel/setup.c | 11 ---
arch/xtensa/kernel/time.c | 2 ++
2 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c
index 9735691..18af563 100644
--- a/arch/xtensa/kernel/set
m
Cc: Rob Herring
Cc: Shawn Guo
Cc: Santosh Shilimkar
Cc: Roland Stigge
Cc: Jason Cooper
Cc: Haojian Zhuang
Cc: Heiko Stuebner
Cc: Viresh Kumar
Cc: Shiraz Hashim
Cc: Tony Prisk
Cc: Arnd Bergmann
Cc: Russell King
Signed-off-by: Kefeng Wang
---
arch/arm/kernel/setup.c
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers of
of_platform_populate with default match table.
Cc: Mikael Starvik
Cc: Jesper Nilsson
Signed-off-by: Kefeng Wang
---
arch/c6x/platforms/Makefile |
Use of_get_next_parent() instead of open-code.
Signed-off-by: Kefeng Wang
---
drivers/of/of_numa.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c
index 3157130..ed7bd22 100644
--- a/drivers/of/of_numa.c
+++ b/drivers/of
Use pr_fmt to prefix kernel output, and remove duplicated msg
of NUMA turned off.
Signed-off-by: Kefeng Wang
---
arch/arm64/mm/numa.c | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/arch/arm64/mm/numa.c b/arch/arm64/mm/numa.c
1) Use of_get_next_parent in of_node_to_nid.
2) Use pr_fmt to prefix kernel output. and drop duplicated message
of NUMA turned off.
Based of Zhen Lei 's patchset v3 "fix some type infos and bugs for arm64/of num"
in http://www.spinics.net/lists/arm-kernel/msg507650.html.
Use pr_fmt to prefix kernel output.
Signed-off-by: Kefeng Wang
---
drivers/of/of_numa.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c
index ed7bd22..019738f 100644
--- a/drivers/of/of_numa.c
+++ b/drivers/of
Hi all,
When cat /dev/kmem in arm/arm64, it will crash, this is caused by "from = 0"
in copy_to_user(void __user *to, const void *from, unsigned long n),
call trace shows below(eg, arm64)
[9.913370] Unable to handle kernel NULL pointer dereference at virtual
address
[9.914391] p
On 2016/10/27 23:18, Greg Kroah-Hartman wrote:
> On Mon, Oct 24, 2016 at 11:59:20AM +0800, Kefeng Wang wrote:
>> Hi Greg, any more comments, thanks.
>
> Never wait, just resend if you have comments and you know you have to
> fix them up...
>
Hi Greg, as I menti
Hi Greg, any more comments, thanks.
On 2016/9/27 21:15, Kefeng Wang wrote:
>
>
> On 2016/9/27 18:57, Greg Kroah-Hartman wrote:
>> On Sat, Sep 24, 2016 at 05:14:25PM +0800, Kefeng Wang wrote:
>>> Declare an OF early console for SBSA UART so that the early console device
Declare an OF early console for SBSA UART so that the early console device
can be specified via the "stdout-path" property in device-tree.
Cc: Russell King
Cc: Greg Kroah-Hartman
Signed-off-by: Kefeng Wang
---
drivers/tty/serial/amba-pl011.c | 1 +
1 file changed, 1 insertion(+)
di
On 2016/12/21 10:20, Alexander Duyck wrote:
> I find it curious that only the last 4 bytes have data in them. I'm
> wondering if the NIC/driver in the Windows/Nessus system is
> interpreting the 4 byte CRC on the end of the frame as padding instead
> of stripping it.
>
> Is there any chance you
On 2016/12/26 16:38, Hanjun Guo wrote:
> Hi Linus,
>
> On 2016/12/26 8:41, Linus Torvalds wrote:
>> It's Christmas Day, and it's two weeks since the merge window opened.
>> Thus, the merge window is now closed.
>>
>> I did a few final pulls today, but I also rejected a couple of pulls
>> that ca
Let's keep consistent when print dmi_ids_string between SMBIOS 2.x
and SMBIOS 3.x, and always show the system identification string,
like Vendor, Product/Board name and BIOS infos.
Signed-off-by: Kefeng Wang
---
drivers/firmware/dmi_scan.c | 4 ++--
1 file changed, 2 insertions(+), 2 dele
On 2016/12/9 22:55, Ard Biesheuvel wrote:
> On 9 December 2016 at 06:54, Kefeng Wang wrote:
>> Let's keep consistent when print dmi_ids_string between SMBIOS 2.x
>> and SMBIOS 3.x, and always show the system identification string,
>> like Vendor, Product/Board name a
On 2017/3/18 7:29, Martin K. Petersen wrote:
> Kefeng Wang writes:
>
> Kefeng,
>
>> root@localhost ~]# sg_modes -p 0x2a /dev/sr0
>> QEMU QEMU DVD-ROM 0.15 peripheral_type: cd/dvd [0x5]
>> Mode parameter header from MODE SENSE(10):
>> Invalid
On 2017/3/20 19:02, Mark Rutland wrote:
> On Sun, Mar 19, 2017 at 03:15:25PM +0800, Ding Tianhong wrote:
>> Recently I found that when the system trigger a soft lockup in interrupt,
>> there is only showing the regs, but no stack trace, it is very difficult
>> to locate the problem:
>>
>> ===
On 2017/3/20 22:29, Martin K. Petersen wrote:
> Kefeng Wang writes:
>
> Kefeng,
>
>> The issue still exists, the patch return zero in scsi_mode_sense(), but zero
>> means
>> SAM_STAT_GOOD in scsi_status_is_good(), so n will be still bigger than 512;
>
&
On 2017/3/16 8:07, Martin K. Petersen wrote:
> Kefeng Wang writes:
>
> Kefeng,
>
>> 'n = header_length + block_descriptor_length' could be greater than 512,
>> and will lead to oob access, so enlarge transfer buffer to fix it.
>
> Can you share the out
On 2017/3/16 17:39, Masami Hiramatsu wrote:
> On Tue, 14 Mar 2017 10:30:56 -0300
> Arnaldo Carvalho de Melo wrote:
>
>> Em Tue, Mar 14, 2017 at 09:19:47PM +0800, Kefeng Wang escreveu:
>>> Hi all, any comments, thanks.
>>
>> For 'perf probe'
matsu
Cc: Jiri Olsa
Cc: Peter Zijlstra
Cc: Wang Nan
Fixes: dddc7ee32fa1 ("perf probe: Fix an error when deleting probes
successfully")
Signed-off-by: Kefeng Wang
---
v1->v2:
- Using pr_wanring to show warning infos and drop inappropriate comment
suggested by Masami Hiramatsu.
+ Arnaldo Carvalho de Melo
On 2017/3/6 17:34, Kefeng Wang wrote:
> On old perf, when using perf probe -d to delete an inexistent event,
> it return errno, eg,
>
> -bash-4.3# perf probe -d xxx || echo $?
> Info: Event "*:xxx" does not exist.
> Error: Failed to d
Hi all, any comments, thanks.
On 2017/3/7 15:33, Kefeng Wang wrote:
> + Arnaldo Carvalho de Melo
>
> On 2017/3/6 17:34, Kefeng Wang wrote:
>> On old perf, when using perf probe -d to delete an inexistent event,
>> it return errno, eg,
>>
>> -bash-4.3# perf
'n = header_length + block_descriptor_length' could be greater than 512,
and will lead to oob access, so enlarge transfer buffer to fix it.
===
BUG: KASAN: slab-out-of-bounds in sr_probe+0x570/0xcc0 at addr 8809020e
Read of size 1 by task kworker/u48:2/188
Signed-off-by: K
Hi all,
On 2017/3/3 18:17, Kefeng Wang wrote:
> 'n = header_length + block_descriptor_length' could be greater than 512,
> and will lead to oob access, so enlarge transfer buffer to fix it.
I am not familiar with scsi protocol,so the patch may be wrong.
Question, is i
m previous del_perf_probe_events(). After this, it return errno
again, eg,
-bash-4.3# ./perf probe -d xxx || echo $?
Error: Failed to delete events.
254
And it is more appropriate to return -ENOENT instead of -EPERM.
Signed-off-by: Kefeng Wang
---
tools/perf/builtin-probe.c | 3 ++-
1 file changed, 2
Hi all, any ideas, thanks.
+ gonglei, haibin
On 2016/10/17 15:51, Kefeng Wang wrote:
>
>
> On 2016/10/15 2:36, Andy Lutomirski wrote:
>> On Thu, Oct 13, 2016 at 11:14 PM, Kefeng Wang
>> wrote:
>>> Hi all,
>>>
>>> We met BUG_ON in do_devi
ARM64, cpulist_parse() won't return
-ERANGE if isolcpus=1-10;
Let's show the isolated cpu map and drop the improper error message.
Cc: Prarit Bhargava
Cc: Peter Zijlstra
Cc: Ingo Molnar
Signed-off-by: Kefeng Wang
---
kernel/sched/core.c | 13 -
1 file changed, 8 inser
Hi Peter
+Tejun
On 2017/2/13 20:06, Peter Zijlstra wrote:
> On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote:
>> The commit a6e4491c682a ("sched/isolcpus: Output warning when the
>> 'isolcpus=' kernel parameter is invalid") adds an error messag
On 2017/2/13 21:32, Peter Zijlstra wrote:
> On Mon, Feb 13, 2017 at 09:07:02PM +0800, Kefeng Wang wrote:
>> Hi Peter
>>
>> +Tejun
>>
>> On 2017/2/13 20:06, Peter Zijlstra wrote:
>>> On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote:
>>>
hen read ioc->chip
in mpt3sas_base_get_iocstate from _base_fault_reset_work.
Cc: Sathya Prakash
Cc: Chaitra P B
Cc: Suganath Prabu Subramani
Signed-off-by: Kefeng Wang
---
NOTE: I found this with an earlier kernel version, but the logic is not changed.
drivers/scsi/mpt3sas/mpt3sas_scsih
On 2016/5/20 5:35, Jon Mason wrote:
> On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote:
>> +Cc Jon and arm-kernel mailist
>>
>> Any comments, thanks.
>
> It works for me. Please feel free to add
>
> Tested-by: Jon Mason
Thanks Jon, hi Greg,
We can safely use dw8250_set_termios() as the default set_termios
callback instead of serial8250_do_set_termios(), so do it.
Signed-off-by: Kefeng Wang
---
drivers/tty/serial/8250/8250_dw.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_dw.c
Add ACPI identifier for UART on Hisilicon Hip05 soc, be careful
that it is not 16550 compatibal.
Meanwhile, set dw8250_serial_out32 to keep consistent between serial_out
and serial_in in ACPI.
Signed-off-by: Kefeng Wang
---
drivers/tty/serial/8250/8250_dw.c | 8 ++--
1 file changed, 6
was already accepted in net-next.
Meanwhile, set dw8250_serial_out32 to keep consistent between serial_out
and serial_in in ACPI.
Kefeng Wang (2):
serial: 8250_dw: make dw8250_set_termios as default set_termios
callback
serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 soc
+cc linux-a...@vger.kernel.org
On 2016/6/28 11:17, Kefeng Wang wrote:
> Add ACPI identifier for UART on Hisilicon Hip05 soc, be careful
> that it is not 16550 compatibal.
>
> Meanwhile, set dw8250_serial_out32 to keep consistent between serial_out
> and serial_in in ACPI.
>
On 2016/6/29 20:52, Andy Shevchenko wrote:
> On Tue, 2016-06-28 at 11:17 +0800, Kefeng Wang wrote:
>> Make dw8250_set_termios() as the default set_termios callback for 8250
>> dw uart, correct me
>> if I am wrong.
>>
>> Then add ACPI support for uart on Hisilicon
Add ACPI identifier for UART on Hisilicon Hip05 soc, be careful
that it is not 16550 compatibal.
Meanwhile, set dw8250_serial_out32 to keep consistent between serial_out
and serial_in in ACPI.
Signed-off-by: Kefeng Wang
---
drivers/tty/serial/8250/8250_dw.c | 13 +++--
1 file changed
We can safely use dw8250_set_termios() as the default set_termios
callback instead of serial8250_do_set_termios(), so do it.
Signed-off-by: Kefeng Wang
---
drivers/tty/serial/8250/8250_dw.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_dw.c
ACPI.
Change since v1:
- Use acpi_match_device() instead of acpi_dev_found(), limit the check to the
device
being probed and not a global search for whole DSDT (pointed by
graeme.greg...@linaro.org)
Kefeng Wang (2):
serial: 8250_dw: make dw8250_set_termios as default set_termios
On 2016/6/30 17:54, Andy Shevchenko wrote:
> On Thu, 2016-06-30 at 12:38 +0300, Andy Shevchenko wrote:
>> On Thu, 2016-06-30 at 09:27 +0800, Kefeng Wang wrote:
>>> Add ACPI identifier for UART on Hisilicon Hip05 soc, be careful
>>> that it is not 16550 compati
ow patch look reasonable to you? If so
>> I can properly resend. thanks.
>
> If it works for Kefeng Wang, I would be happy to take it.
Yes, it works for me, tested on my board.
>
> Thanx, Paul
>
Hi Davidlohr and Paul,
On 2016/3/3 9:37, Kefeng Wang wrote:
>
>
> On 2016/3/3 5:12, Paul E. McKenney wrote:
>> On Wed, Mar 02, 2016 at 11:55:43AM -0800, Davidlohr Bueso wrote:
>>> On Tue, 02 Feb 2016, Davidlohr Bueso wrote:
>>>
>>> I've just h
On 2016/3/3 16:36, Davidlohr Bueso wrote:
> On Thu, 03 Mar 2016, Kefeng Wang wrote:
>
>
> The below should take care of both issues, what do you think?
>
> Thanks,
> Davidlohr
>
> <8-
>
On 2016/3/7 13:40, Davidlohr Bueso wrote:
> On Mon, 07 Mar 2016, Kefeng Wang wrote:
>> On 2016/3/3 16:36, Davidlohr Bueso wrote:
>
>>> +/*
>>> + * Indicates early cleanup, meaning that the test has not run,
>>> + * such as when passing
On 2016/3/7 21:37, Paul E. McKenney wrote:
> On Mon, Mar 07, 2016 at 03:02:05PM +0800, Kefeng Wang wrote:
>>
>>
>> On 2016/3/7 13:40, Davidlohr Bueso wrote:
>>> On Mon, 07 Mar 2016, Kefeng Wang wrote:
>>>> On 2016/3/3 16:36, Davidlohr Bueso wrote:
>&
On 2016/3/25 1:57, Lorenzo Pieralisi wrote:
> [+ Jean]
>
> On Thu, Mar 24, 2016 at 11:14:50AM +0800, Kefeng Wang wrote:
>
> [...]
>
>>>> You need a PCI host controller driver (e.g.
>>>> drivers/pci/host/pci-host-generic.c) and corresponding bindings i
Hi all,
If no pci, the PCI I/O space(16M) is mapped into an irrelevant mem space(right
?), not a right IO space,
that is, no one call pci_remap_iospace() to remap the memory mapped I/O space,
once driver
like f71805f loaded, write value to IO space(see
f71805f_init->f71805f_find->superio_enter-
On 2016/3/23 20:26, Arnd Bergmann wrote:
> On Wednesday 23 March 2016 10:18:40 Catalin Marinas wrote:
>> On Wed, Mar 23, 2016 at 11:12:41AM +0800, Kefeng Wang wrote:
>>> If no pci, the PCI I/O space(16M) is mapped into an irrelevant mem
>>> space(right ?),
>&g
Hi Davidlohr,
On 2016/2/1 6:17, Davidlohr Bueso wrote:
> On Sat, 30 Jan 2016, Paul E. McKenney wrote:
>
>>> On 2016/1/28 12:25, Kefeng Wang wrote:
>>> > Insmod locktorture with torture_type=mutex will lead to crash,
>
> You actually want mutex_lock here, we al
On 2016/2/1 11:02, Davidlohr Bueso wrote:
> On Mon, 01 Feb 2016, Kefeng Wang wrote:
>
>> Hi Davidlohr,
>>
[...]
>>
>> Yes, it works, but what you are doing is to revert commit
>> a36a99618b1adb2d6ca0b7e08e3a656a04e477fe
>
> Oh, I s
Hi Paul,
On 2016/1/28 12:25, Kefeng Wang wrote:
> Insmod locktorture with torture_type=mutex will lead to crash,
>
> Unable to handle kernel NULL pointer dereference at virtual address 0008
> pgd = ffc0f6c1
> [0008] *pgd=00013b221003, *pud=00013b
On 2016/1/30 0:00, Joshua Henderson wrote:
> On 01/26/2016 09:27 PM, Kefeng Wang wrote:
>> Use helper of_platform_default_populate() in linux/of_platform
>> when possible, instead of calling of_platform_populate() with
>> the default match table.
>>
>> Cc: Ralf
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Vineet Gupta
Signed-off-by: Kefeng Wang
---
arch/arc/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Arnd Bergmann
Signed-off-by: Kefeng Wang
---
arch/arm64/kernel/setup.c | 3 +--
1 file changed, 1
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Ralf Baechle
Signed-off-by: Kefeng Wang
---
arch/mips/ath79/setup.c | 2 +-
arch/mips/jz4740/setup.c | 2 +-
arch/mips
4.5-rc1, compile-tested only.
Kefeng Wang (15):
arm: use of_platform_default_populate() to populate default bus
arm64: use of_platform_default_populate() to populate default bus
mips: use of_platform_default_populate() to populate default bus
arc: use of_platform_default_populate() to
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: James Hogan
Signed-off-by: Kefeng Wang
---
arch/metag/kernel/setup.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a
: Roland Stigge
Cc: Jason Cooper
Cc: Haojian Zhuang
Cc: Heiko Stuebner
Cc: Viresh Kumar
Cc: Shiraz Hashim
Cc: Tony Prisk
Cc: Arnd Bergmann
Cc: Russell King
Signed-off-by: Kefeng Wang
---
arch/arm/kernel/setup.c | 3 +--
arch/arm/mach-at91/at91rm9200.c | 2 +-
arch/arm
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Rob Herring
Cc: Frank Rowand
Cc: Grant Likely
Signed-off-by: Kefeng Wang
---
drivers/of/unittest.c | 5 ++---
1 file changed, 2 insertions
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Ley Foon Tan
Signed-off-by: Kefeng Wang
---
arch/nios2/platform/platform.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Mark Salter
Cc: Aurelien Jacquiot
Signed-off-by: Kefeng Wang
---
arch/c6x/platforms/platform.c | 2 +-
1 file changed, 1 insertion(+), 1
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Roger Quadros
Cc: Tony Lindgren
Signed-off-by: Kefeng Wang
---
drivers/memory/omap-gpmc.c | 3 +--
1 file changed, 1 insertion(+), 2
: Kefeng Wang
---
drivers/of/platform.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index 8d103e4..af98343 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -31,7 +31,6 @@ const struct of_device_id of_default_bus_match_table
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Signed-off-by: Huang Shijie
Cc: Shawn Guo
Signed-off-by: Kefeng Wang
---
drivers/bus/imx-weim.c | 5 ++---
1 file changed, 2 insertions
This reverts commit 326ea45aa827da6686c78b5907f9839f91ef5782.
After covering to use helper of_platform_default_populate() to
populate the default bus, no error in build uniphier driver as
a module.
Cc: Masahiro Yamada
Cc: Arnd Bergmann
Signed-off-by: Kefeng Wang
---
drivers/bus/Kconfig | 2
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Chris Zankel
Cc: Max Filippov
Signed-off-by: Kefeng Wang
---
arch/xtensa/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Masahiro Yamada
Signed-off-by: Kefeng Wang
---
drivers/bus/uniphier-system-bus.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Cc: Mikael Starvik
Cc: Jesper Nilsson
Signed-off-by: Kefeng Wang
---
arch/cris/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1
: Roland Stigge
Cc: Jason Cooper
Cc: Haojian Zhuang
Cc: Heiko Stuebner
Cc: Viresh Kumar
Cc: Shiraz Hashim
Cc: Tony Prisk
Cc: Arnd Bergmann
Cc: Russell King
Signed-off-by: Kefeng Wang
---
arch/arm/kernel/setup.c | 3 +--
arch/arm/mach-at91/at91rm9200.c | 2 +-
arch/arm
gt; https://github.com/0day-ci/linux/commits/Kefeng-Wang/use-of_platform_default_populate-to-populate-default-bus/20160127-123512
> config: arm-at91_dt_defconfig (attached as .config)
> reproduce:
> wget
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain
Convert the driver to use ns_to_timespec64() to keep consistency
with timespec64_to_ns() instead of open coding the same logic.
Signed-off-by: Kefeng Wang
---
drivers/net/ethernet/cavium/liquidio/lio_main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net
Hi Masahiro,
On 2016/1/27 21:48, Masahiro Yamada wrote:
> 2016-01-27 13:27 GMT+09:00 Kefeng Wang :
>> This reverts commit 326ea45aa827da6686c78b5907f9839f91ef5782.
>>
>> After covering to use helper of_platform_default_populate() to
>> populate the default bus, no err
Hi Hauke,
On 2016/1/28 6:10, Hauke Mehrtens wrote:
> On 01/27/2016 05:27 AM, Kefeng Wang wrote:
>> This reverts commit b80443c2211c7daaabd20fbbe9e7beb3fa3408e0.
>>
>> After covering to use helper of_platform_default_populate() to populate
>> the def
Convert the driver to use ns_to_timespec64() and timespec64_to_ns()
instead of open coding the same logic.
Signed-off-by: Kefeng Wang
---
drivers/ptp/ptp_ixp46x.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/ptp/ptp_ixp46x.c b/drivers/ptp/ptp_ixp46x.c
index
: Paul E. McKenney
Signed-off-by: Kefeng Wang
---
kernel/locking/locktorture.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index 8ef1919..7f0cf9c 100644
--- a/kernel/locking/locktorture.c
The following patches fix same issue and both add fatal
signal check in drop_slab_node, kill a duplicated check.
"mm/vmscan: add a fatal signals check in drop_slab_node"
"mm/vmscan: fix infinite loop in drop_slab_node"
Cc: Chunxin Zang
Signed-off-by: Kefeng Wang
---
mm
Introduce DEFINE_SEQ_ATTRIBUTE() helper macro to decrease code duplication.
Signed-off-by: Kefeng Wang
---
include/linux/seq_file.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h
index 1672cf6f7614..c77869cf7d10
Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code.
Cc: Anil S Keshavamurthy
Cc: "David S. Miller"
Cc: Masami Hiramatsu
Signed-off-by: Kefeng Wang
---
kernel/kprobes.c | 33 ++---
1 file changed, 6 insertions(+), 27 deletions(-)
diff --git a/kernel/k
Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code.
Signed-off-by: Kefeng Wang
---
mm/vmstat.c | 32 ++--
1 file changed, 6 insertions(+), 26 deletions(-)
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 7f2e87cb7049..35219271796f 100644
--- a/mm/vmstat.c
+++ b/mm
As discussion in
https://lore.kernel.org/lkml/20191129222310.ga3712...@kroah.com/,
we could introduce a new helper macro to reduce losts of boilerplate
code, vmstat and kprobes is the example which covert to use it, if
this is accepted, I will send out more clean ups.
Kefeng Wang (3):
seq_file
void release_pmc_hardware(void)
^~~~
../arch/riscv/kernel/perf_event.c:467:12: warning: no previous
prototype for ‘init_hw_perf_events’ [-Wmissing-prototypes]
int __init init_hw_perf_events(void)
^~~
Cc: Alan Kao
Signed-off-by: Kefeng Wang
---
arch/riscv/kerne
DEBUG_WX is only useful when MMU enabled, diable it if nommu
and fix the build error.
Reported-by: Hulk Robot
Signed-off-by: Kefeng Wang
---
arch/riscv/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 78f30f2fdd51
When add RISCV arch to huawei build test, there are some build
issue, let's fix them to make riscv build happier :)
Those patches is rebased on next-20200508.
Kefeng Wang (10):
riscv: Fix unmet direct dependencies built based on SOC_VIRT
riscv: stacktrace: Fix undefined referen
Some drivers use PAGE_SHARED, pgprot_writecombine()/pgprot_device(),
add the defination to fix build error if NOMMU.
Reported-by: Hulk Robot
Signed-off-by: Kefeng Wang
---
arch/riscv/include/asm/mmio.h| 2 ++
arch/riscv/include/asm/pgtable.h | 1 +
2 files changed, 3 insertions(+)
diff
401 - 500 of 576 matches
Mail list logo