Macro PRINTR is called only once in nfnetlink_log.c, and it can be
replaced by wrappe function of net_ratelimit(), so kill it.
Meanwhile, I found many files could use wrappe functions of net_ratelimit()
to simplify, so I did.
Kefeng Wang (18):
netfilter: cleanup: delete Macro PRINTR
net
Wrapper functions net_ratelimited_function() and net_XXX_ratelimited()
are called to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/net/xen-netback/netback.c | 21 +
drivers/net/xen-netfront.c| 27 +--
2 files changed, 18 insertions
net_ratelimited_function() is called to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/net/usb/usbnet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index bf94e10..edf81de 100644
--- a/drivers/net/usb/usbnet.c
net_err_ratelimited() is called to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/block/aoe/aoenet.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/aoenet.c
index 63773a9..25e8764 100644
--- a/drivers/block/aoe
net_ratelimited_function() is called to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/atm/solos-pci.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index 32784d1..a4d20e9 100644
--- a/drivers
Wrapper functions net_ratelimited_function() and net_XXX_ratelimited()
are called to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 13 +++--
drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 21 +
drivers/staging/rtl8192e
net_XXX_ratelimited() is called to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/net/hamradio/6pack.c| 3 +--
drivers/net/hamradio/bpqether.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c
index
net_ratelimited_function() is called to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/net/irda/stir4200.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/irda/stir4200.c b/drivers/net/irda/stir4200.c
index 876e709..d499b2b 100644
--- a/drivers/net/irda
Wrapper functions net_ratelimited_function() and net_XXX_ratelimited()
are called to simplify code.
Signed-off-by: Kefeng Wang
---
net/bridge/br_fdb.c | 6 ++
net/bridge/br_multicast.c | 13 -
net/bridge/br_stp_bpdu.c | 11
net_XXX_ratelimited() is called to simplify code.
Signed-off-by: Kefeng Wang
---
.../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 17 -
.../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 22 +-
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 7
After commit:6e973d2c(clk: vexpress: Add separate SP810 driver),
vexpress_clk_of_init() is unnecessary and removed, so kill it.
Signed-off-by: Kefeng Wang
---
include/linux/vexpress.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/vexpress.h b/include/linux/vexpress.h
index
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag.
Signed-off-by: Haojian Zhuang
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci.h|1 +
drivers/ata/libahci.c |5 +
2 files changed, 6 insertions(+)
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index 51af275..60db49b
The hip04 SoC of hisilicon has an AHCI compliant SATA controller,
and it is compliant with the ahci 1.3 and sata 3.0 specification.
There is a wrong bit in HOST_CAP of hip04 sata controller, which
enable unsupported feature of FBS, use AHCI_HFLAG_NO_FBS hflag to
disable it.
Signed-off-by: Kefeng
Add a dynamic host flags argument to make ahci_platform_init_host more flexible,
then remove the AHCI_HFLAGS(...) argument from some driver's ata_port_info,
and pass that in as the new arguments.
Cc: Hans de Geode
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci_da850.c |
avoid struct ata_port_info
on the stack twice
changes in v2:
1) make code more concise according to Hans's advice
Kefeng Wang (3):
ata: ahci: append new hflag AHCI_HFLAG_NO_FBS
libahci_platform: add host_flags parameter in
ahci_platform_init_host()
ahci: add support for Hisi
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag.
Signed-off-by: Haojian Zhuang
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci.h|1 +
drivers/ata/libahci.c |5 +
2 files changed, 6 insertions(+)
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index 51af275..60db49b
The hip04 SoC of hisilicon has an AHCI compliant SATA controller,
and it is compliant with the ahci 1.3 and sata 3.0 specification.
There is a wrong bit in HOST_CAP of hip04 sata controller, which
enable unsupported feature of FBS, use AHCI_HFLAG_NO_FBS hflag to
disable it.
Signed-off-by: Kefeng
Add a dynamic host_flags argument to make ahci_platform_init_host more flexible,
then remove the AHCI_HFLAGS(...) argument from some driver's ata_port_info,
and pass that in as the new argument.
Cc: Hans de Geode
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci_da850.c |3 ++-
dr
host flags, suggested by Hans
changes in v3:
1) move NO_FBS chunk after YES_FBS, Tejun's suggestion
2) use ata_port_info pointer to avoid struct ata_port_info
on the stack twice
changes in v2:
1) make code more concise according to Hans's advice
Kefeng Wang (3):
ata: ahci: a
Commit cf9ea8f13(ARM: l2c: remove obsolete l2x0 ops for non-OF init)
remove some obsolete l2x0 ops, the rest of ops: l2x0_cache_sync,
l2x0_cache_sync, l2x0_disable only use under OF enable, so move them
into OF part, or "defined but not used" warning occurs.
Signed-off-by: Kefeng Wang
On 08/01 15:58, Russell King - ARM Linux wrote:
> On Fri, Aug 01, 2014 at 10:42:00AM +0800, Kefeng Wang wrote:
>> Commit cf9ea8f13(ARM: l2c: remove obsolete l2x0 ops for non-OF init)
>> remove some obsolete l2x0 ops, the rest of ops: l2x0_cache_sync,
>> l2x0_cache_sync, l2x0_d
Add a dynamic host_flags argument to make ahci_platform_init_host more flexible,
then remove the AHCI_HFLAGS(...) argument from some driver's ata_port_info,
and pass that in as the new argument.
Cc: Hans de Geode
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci_da850.c |3 ++-
dr
The hip04 SoC of hisilicon has an AHCI compliant SATA controller,
and it is compliant with the ahci 1.3 and sata 3.0 specification.
There is a wrong bit in HOST_CAP of hip04 sata controller, which
enable unsupported feature of FBS, use AHCI_HFLAG_NO_FBS hflag to
disable it.
Signed-off-by: Kefeng
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag.
Signed-off-by: Haojian Zhuang
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci.h|1 +
drivers/ata/libahci.c |5 +
2 files changed, 6 insertions(+)
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index b5eb886..48073ef
tack twice
changes in v2:
1) make code more concise according to Hans's advice
Kefeng Wang (3):
ata: ahci: append new hflag AHCI_HFLAG_NO_FBS
libahci_platform: add host_flags parameter in
ahci_platform_init_host()
ahci: add support for Hisilicon sata
.../devicetree/bindings/ata/ah
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag.
Reviewed-by: Hans de Goede
Signed-off-by: Haojian Zhuang
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci.h|1 +
drivers/ata/libahci.c |5 +
2 files changed, 6 insertions(+)
diff --git a/drivers/ata/ahci.h b/drivers/ata
ion
2) use ata_port_info pointer to avoid struct ata_port_info
on the stack twice
changes in v2:
1) make code more concise according to Hans's advice
Kefeng Wang (3):
ata: ahci: append new hflag AHCI_HFLAG_NO_FBS
libahci_platform: add host_flags parameter in
ahci_platform_init_hos
Add a dynamic host_flags argument to make ahci_platform_init_host more flexible,
then remove the AHCI_HFLAGS(...) argument from some driver's ata_port_info,
and pass that in as the new argument.
Cc: Hans de Geode
Reviewed-by: Hans de Goede
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci_
Goede
Signed-off-by: Kefeng Wang
---
.../devicetree/bindings/ata/ahci-platform.txt |1 +
drivers/ata/ahci_platform.c|9 -
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt
b
THERMAL)
To fix this, make ARM_HIGHBANK_CPUFREQ depend on ARCH_HAS_CPUFREQ and
REGULATOR instead of selecting them, PM_OPP will be selected by
ARCH_HAS_CPUFREQ.
Signed-off-by: Kefeng Wang
---
drivers/cpufreq/Kconfig.arm | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git
From: Kefeng Wang
The hip04 SoC of hisilicon has an AHCI compliant SATA controller,
and it is compliant with the ahci 1.3 and sata 3.0 specification.
There is a wrong bit in HOST_CAP of hip04 sata controller, which
enable unsupported feature of FBS, use AHCI_HFLAG_NO_FBS hflag to
disable it
From: Kefeng Wang
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag.
Signed-off-by: Haojian Zhuang
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci.h|1 +
drivers/ata/libahci.c |5 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/ata/ahci.h b
Hi Rafael,
On 04/10 10:18, Rafael J. Wysocki wrote:
> On Wednesday, April 09, 2014 09:58:26 AM Viresh Kumar wrote:
>> On 9 April 2014 08:04, Kefeng Wang wrote:
>>> When make ARCH=arm multi_v7_defconfig, we get the following warnings:
>>>
>>> war
From: Kefeng Wang
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag.
Signed-off-by: Haojian Zhuang
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci.h|1 +
drivers/ata/libahci.c |5 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/ata/ahci.h b
From: Kefeng Wang
The hip04 SoC of hisilicon has an AHCI compliant SATA controller,
and it is compliant with the ahci 1.3 and sata 3.0 specification.
There is a wrong bit in HOST_CAP of hip04 sata controller, which
enable unsupported feature of FBS, use AHCI_HFLAG_NO_FBS hflag to
disable it
From: Kefeng Wang
changes in v2:
make code more concise according to Hans's advice.
Kefeng Wang (2):
ata: ahci: append new hflag AHCI_HFLAG_NO_FBS
ahci: add support for Hisilicon sata
.../devicetree/bindings/ata/ahci-platform.txt |3 ++-
drivers/ata/a
commit 9d0c4dfed(of/fdt: update of_get_flat_dt_prop in prep for libfdt)
change the of_get_flat_dt_prop, so update related variable to fix build
warning. Btw, remove unused variable 'name'.
Signed-off-by: Kefeng Wang
---
drivers/firmware/efi/efi.c |5 ++---
drivers/firmware/efi/fd
On 04/17 21:31, Tejun Heo wrote:
> On Thu, Apr 17, 2014 at 09:48:03AM +0200, Hans de Goede wrote:
>>> Hmmm this should work but looks a bit tedious and it could be
>>> better to have a better mechanism to match devices to their
>>> port_infos. Hans, can you please comment? If getting somethin
changes in v3:
1) move NO_FBS chunk after YES_FBS, Tejun's suggestion
2) use ata_port_info pointer to avoid struct ata_port_info
on the stack twice
changes in v2:
1) make code more concise according to Hans's advice
Kefeng Wang (2):
ata: ahci: append new hflag AHCI_HFLAG_NO_
Signed-off-by: Kefeng Wang
---
.../devicetree/bindings/ata/ahci-platform.txt |3 ++-
drivers/ata/ahci_platform.c| 10 --
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt
b/Documentation
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag.
Signed-off-by: Haojian Zhuang
Signed-off-by: Kefeng Wang
---
drivers/ata/ahci.h|1 +
drivers/ata/libahci.c |5 +
2 files changed, 6 insertions(+)
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index 51af275..60db49b
ARMv7 cortex-a15 supports Performance Monitor Units, and
it could be used by oprofile, add perf_pmu_name pair.
Simply tested on hisilicon hip04 soc.
Signed-off-by: Kefeng Wang
---
arch/arm/oprofile/common.c |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/oprofile/common.c b
Convert to module_platform_drive() to eliminate boilerplate code.
Signed-off-by: Kefeng Wang
---
drivers/mfd/syscon.c | 12 +---
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
index ca15878..6c2c874 100644
--- a/drivers/mfd
Move edac_op_state assignment operations to probe, then convert to
module_platform_drive() to eliminate boilerplate code, and use
cpc925_printk instead of printk.
Signed-off-by: Kefeng Wang
---
drivers/edac/cpc925_edac.c | 33 +++--
1 files changed, 7 insertions
Convert to devm_ioremap_resource() to simplify code.
Signed-off-by: Kefeng Wang
---
drivers/edac/cpc925_edac.c | 30 ++
1 files changed, 6 insertions(+), 24 deletions(-)
diff --git a/drivers/edac/cpc925_edac.c b/drivers/edac/cpc925_edac.c
index df6575f..b335c14
Use devm_ioremap_resource() to make the code simpler, drop unused variable,
redundant return value check, and error-handing code.
Signed-off-by: Kefeng Wang
---
drivers/iommu/msm_iommu_dev.c | 38 +++---
1 files changed, 7 insertions(+), 31 deletions(-)
diff
On 10/18 12:11, Joe Perches wrote:
> (resending to lists only because of multiple X's in the subject line)
>
> On Fri, 2013-10-18 at 11:52 +0800, Kefeng Wang wrote:
>> v1-v2:
>>
>> Introduce macro br/netdev/netif/wiphy_XXX_ratelimited() according
>> t
Any advice? ping...
On 10/14 20:25, Kefeng Wang wrote:
> Use helper function patch_equal() and path_put() to simpily code.
>
> Kefeng Wang (3):
> fs: use path_equal() and path_put() to simplify code
> fs: nfsd: use path_equal() to simply code
> fs: notify: use path_equa
Hi all,
We got issues about rcu/ soft lockup in trinity test on our arm64 board,
and have no idea to fix this, any advice will be appreciated.
Our board test environment:
1) Kernel version: 3.19.0/3.19.8/4.1.0/4.1.6
2) Hardware: 32cpu, 128G memory
3) CONFIG: based on defconfig, use CONFIG_PREEMPT
On 2016/4/6 15:07, qiujiang wrote:
> This patch converts device node to fwnode for dwapb driver, so
> as to provide a unified fwnode for DT and ACPI bindings.
>
> Acked-by: Andy Shevchenko
> Signed-off-by: qiujiang
> ---
> drivers/gpio/gpio-dwapb.c| 37
> -
7 ("serial:
8250_dw: Use 64-bit access for OCTEON.") for OCTEON.
So for 64BIT && !PORT_OCTEON, we better to use coincident write function.
Fixes: cdcea058e510("serial: 8250_dw: Avoid serial_outx code duplicate with new
dw8250_check_lcr()")
Signed-off-by: Kefeng Wang
---
Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
OF early console for it, so early console device can be enabled with comand
line "earlycon"(without option) via the "stdout-path" property in device-tree.
Signed-off-by: Kefeng Wang
---
dri
On 2016/5/12 6:56, Jon Mason wrote:
> Add all of the UARTs present on NS2 and enable them in the SVK device
> tree file. Also, do some magic to make sure that uart3 is discovered as
> ttyS0 (as that is the console UART).
>
> Signed-off-by: Jon Mason
> ---
> arch/arm64/boot/dts/broadcom/ns2-sv
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 | 6 +-
arc
: 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/arm/mach-cns3xxx/core.c | 3
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/kern
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
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers about the
of_platform_populate with default match table.
Cc: Mikael Starvik
Cc: Jesper Nilsson
Signed-off-by: Kefeng Wang
---
arch/cris/kernel/s
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers about the
of_platform_populate with default match table.
Cc: Vineet Gupta
Signed-off-by: Kefeng Wang
---
arch/arc/kernel/setup.c | 6 --
1 file
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers about the
of_platform_populate with default match table.
Cc: Ley Foon Tan
Signed-off-by: Kefeng Wang
---
arch/nios2/platform/platform.c | 4 +---
1 file
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
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers about the
of_platform_populate with default match table.
Cc: James Hogan
Signed-off-by: Kefeng Wang
---
arch/metag/kernel/setup.c | 5 +
1 file
Lutfullah Kakakhel
Signed-off-by: Kefeng Wang
---
arch/mips/ath79/setup.c | 2 --
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
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers about the
of_platform_populate with default match table.
Cc: Yoshinori Sato
Cc: Rich Felker
Signed-off-by: Kefeng Wang
---
arch/sh/boards/of-gene
(), and use __func__ to
print function's name of of_platform_bus_create().
Cc: Rob Herring
Cc: Frank Rowand
Cc: Grant Likely
Signed-off-by: Kefeng Wang
---
drivers/of/platform.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/drivers/of/platfor
After patch "of/platform: Add common method to populate default bus",
it is possible for arch code to remove unnecessary callers about the
of_platform_populate with default match table.
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Arnd Bergmann
Signed-off-by: Kefeng Wang
---
arch/ar
patch has posted and applied,
see https://patchwork.kernel.org/patch/8096991/
v1:
- https://lkml.org/lkml/2016/1/26/1123
[1]: https://lkml.org/lkml/2016/4/23/31
Kefeng Wang (18):
of/platform: Add common method to populate default bus
arc: Remove unnecessary of_platform_populate with
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 about the
of_platform_populate with default match table.
Cc: Mikael Starvik
Cc: Jesper Nilsson
Signed-off-by: Kefeng Wang
---
arch/c6x/platforms/Makef
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
: 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 f601b30..3ea8610 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -32,7 +32,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
an issue with 16550 and command line console with I am
> investigating and probably will address in a separate patch.
Sound good, and will retest this in D02 with the coming patch, and
Tested-by: Kefeng Wang
BRs,
Kefeng
>
> I know no other problems with it and reviewers seem happy.
>
&
On 2016/5/18 3:56, Florian Fainelli wrote:
> On 05/15/2016 06:11 PM, Kefeng Wang wrote:
>>> I can confirm that with your change and the change to the bootargs you
>>> describe above, it works as desired. Was your change already accepted?
>>>
>>
>&
+Cc Jon and arm-kernel mailist
Any comments, thanks.
Kefeng
On 2016/5/11 14:06, Kefeng Wang wrote:
> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
> OF early console for it, so early console device can be enabled with comand
> line "earlycon"(
On 2016/5/25 22:46, Rob Herring wrote:
> On Thu, May 12, 2016 at 7:05 AM, Kefeng Wang
> wrote:
>> The arch code calls of_platform_populate() with default match table
>> when it want to populate default bus.
>>
>> This patch introduce a new of_platform_defau
Use sp804_timer_disable() where possible, prepare for 64bit mode timer support.
Signed-off-by: Kefeng Wang
---
drivers/clocksource/timer-sp804.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/clocksource/timer-sp804.c
b/drivers/clocksource/timer-sp804.c
Introduce helper sp804_load_mode_set(), and use it, prepare for 64bit
mode timer support.
Signed-off-by: Kefeng Wang
---
drivers/clocksource/timer-sp804.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/clocksource/timer-sp804.c
b
.
Kefeng Wang (4):
clocksource: sp804: cleanup clk_get_sys()
clocksource: sp804: introduce helper sp804_load_mode_set()
clocksource: sp804: use sp804_timer_disable() where possible
clocksource: sp804: support 64bit mode for hisilicon timer64
.../devicetree/bindings/timer/arm,sp804.txt
There is a kind of 64bit mode timer in hisilicon soc(like Hip05, Hip06 and
some arm32 soc), it is very similar with ARM sp804 Dual Timers, but TimerX
LOAD/Value/BGLoad are 64bit(two 32bit regs), and reg offset is different.
Signed-off-by: Kefeng Wang
---
.../devicetree/bindings/timer/arm,sp804
Move the clk_get_sys() part into sp804_get_clock_rate(), cleanup the same code.
Signed-off-by: Kefeng Wang
---
drivers/clocksource/timer-sp804.c | 34 +++---
1 file changed, 11 insertions(+), 23 deletions(-)
diff --git a/drivers/clocksource/timer-sp804.c
b/drivers
On 2016/5/13 0:52, Ray Jui wrote:
> Hi Kefeng,
>
> On 5/12/2016 7:46 AM, Jon Mason wrote:
>>
>>
>> On Thu, May 12, 2016 at 2:16 AM, Kefeng Wang > <mailto:wangkefeng.w...@huawei.com>> wrote:
>>
>>
>>
>> On 2016/5/12 6:56, Jo
On 2016/5/13 2:38, Rich Felker wrote:
> On Thu, May 12, 2016 at 08:06:07PM +0800, Kefeng Wang wrote:
>> After patch "of/platform: Add common method to populate default bus",
>> it is possible for arch code to remove unnecessary callers about the
>> of_platform_po
On 2016/5/12 22:46, Jon Mason wrote:
>
>
> On Thu, May 12, 2016 at 2:16 AM, Kefeng Wang <mailto:wangkefeng.w...@huawei.com>> wrote:
>
>
>
> On 2016/5/12 6:56, Jon Mason wrote:
> > Add all of the UARTs present on NS2 and enable them in the SVK
On 2016/5/14 0:49, Jon Mason wrote:
>
>
> On Thu, May 12, 2016 at 10:09 PM, Kefeng Wang <mailto:wangkefeng.w...@huawei.com>> wrote:
>
>
>
> On 2016/5/12 22:46, Jon Mason wrote:
> >
> >
> > On Thu, May 12, 2016 at 2:16 AM,
Hi Rob,
On 2016/4/20 5:10, Rob Herring wrote:
> On Wed, Mar 16, 2016 at 2:35 AM, 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.
>&
On 2016/4/21 21:10, Rob Herring wrote:
> On Thu, Apr 21, 2016 at 2:55 AM, Kefeng Wang
> wrote:
>> Hi Rob,
>>
>> On 2016/4/20 5:10, Rob Herring wrote:
>>> On Wed, Mar 16, 2016 at 2:35 AM, Kefeng Wang
>>> wrote:
>>>> Use helper of_plat
4.5.
Changes since v1:
- Add ack, test and review
- Remove v1 patch 14/15, the similar patch has posted and applied,
see https://patchwork.kernel.org/patch/8096991/
v1:
- https://lkml.org/lkml/2016/1/26/1123
Kefeng Wang (14):
arm: use of_platform_default_populate() to populate default bus
: 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 8d103e4..af98343 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.
Acked-by: Vineet Gupta
Cc: Vineet Gupta
Signed-off-by: Kefeng Wang
---
arch/arc/kernel/setup.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.
Acked-by: Mark Salter
Cc: Mark Salter
Cc: Aurelien Jacquiot
Signed-off-by: Kefeng Wang
---
arch/c6x/platforms/platform.c | 2 +-
1 file
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.
Acked-by: James Hogan
Cc: James Hogan
Signed-off-by: Kefeng Wang
---
arch/metag/kernel/setup.c | 3 +--
1 file changed, 1 insertion(+), 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: 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.
Acked-by: Catalin Marinas
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Arnd Bergmann
Signed-off-by: Kefeng Wang
---
arch/arm64/kernel/setup.c | 3
Use helper of_platform_default_populate() in linux/of_platform
when possible, instead of calling of_platform_populate() with
the default match table.
Tested-by: Joshua Henderson
Cc: Ralf Baechle
Signed-off-by: Kefeng Wang
---
arch/mips/ath79/setup.c | 2 +-
arch/mips/jz4740/setup.c
Cc: Krzysztof Halasa
Cc: Kukjin Kim
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
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
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: Max Filippov
Cc: Chris Zankel
Cc: Max Filippov
Signed-off-by: Kefeng Wang
---
arch/xtensa/kernel/setup.c | 2 +-
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: Masahiro Yamada
Cc: Masahiro Yamada
Signed-off-by: Kefeng Wang
---
drivers/bus/uniphier-system-bus.c | 3 +--
1 file changed, 1
101 - 200 of 576 matches
Mail list logo