[PATCH v3 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-11-14 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h

[PATCH v3 3/4] MIPS: Loongson64: Yeeloong add platform driver

2017-11-14 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH v3 4/4] MIPS: Loongson64: Load platform device during boot

2017-11-14 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 27 +++ 2 files changed, 28 insertions(+), 1 de

[PATCH v3 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-11-14 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/

[PATCH v5 3/5] MIPS: Loongson64: Yeeloong add platform driver

2017-12-16 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH v5 5/5] MAINTAINERS: Add entry for Lemote YeeLoong Extra Driver

2017-12-16 Thread Jiaxun Yang
Add myself as a maintainer of Lemote YeeLoong Extra driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 MAINTAINERS diff --git a/MAINTAINERS b/MAINTAINERS old mode 100644 new mode 100

[PATCH v5 1/5] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-12-16 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/

[PATCH v5 2/5] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-12-16 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h

[PATCH v5 4/5] MIPS: Loongson64: Load platform device during boot

2017-12-16 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 27 +++ 2 files changed, 28 insertions(+), 1 de

Add YeeLoong support v5

2017-12-16 Thread Jiaxun Yang
Change since v4: Use SPDX ids copyright header

[PATCH 3/4] MIPS: Loongson64: Yeeloong add platform driver Yeeloong is a laptop with a MIPS Loongson 2F processor, AMD CS5536 chipset, and KB3310B controller.

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> This yeeloong_laptop module enables access to sensors, battery, video camera switch, external video connector event, and some additional buttons. This driver was orginally from linux-loongson-community. I Just do some clean up and port to ma

[PATCH 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline Since lemte-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/common/cmdline.c| 7 +++ 2 files changed, 13 insertions(+) diff --git a/arch/mips

[PATCH 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h | 170 +++ arch/mips/loongson64/lemote-2f/ec_kb3310b.c| 2 +- arch/mips/loongson64/lemote-2f/ec_kb3310b.h

[PATCH 4/4] MIPS: Loongson64: Load platform device during boot This patch just add pdev during boot to load the platform driver

2017-11-11 Thread jiaxun . yang
From: Jiaxun Yang <jiaxun.y...@flygoat.com> Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 45 +++ 2 files changed, 46 insertions(+), 1 deletion(-)

[PATCH v2 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-11-13 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h

[PATCH v2 4/4] MIPS: Loongson64: Load platform device during boot

2017-11-13 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 45 +++ 2 files changed, 46 insertions

[PATCH v2 3/4] MIPS: Loongson64: Yeeloong add platform driver

2017-11-13 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 18 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH v2 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-11-13 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/

Re: [PATCH 0/1] About MIPS/Loongson maintainance

2017-12-07 Thread Jiaxun Yang
On 2017-12-07 Thu 14:18 +,James Hogan Wrote: > On Thu, Dec 07, 2017 at 09:10:10PM +0800, Jiaxun Yang wrote: > > On 2017-12-07 Thu 11:05 +,James Hogan Wrote: > > > On Thu, Dec 07, 2017 at 07:57:59AM +0100, Greg Kroah-Hartman > > > wrote: > > > > O

Re: [PATCH 0/1] About MIPS/Loongson maintainance

2017-12-08 Thread Jiaxun Yang
On 2017-12-08 Fri 07:51 +,James Hogan Wrote: > On Fri, Dec 08, 2017 at 12:01:46PM +0800, Jiaxun Yang wrote: > > Also we're going to separate code between > > Loongson2 and Loongson3 since they are becoming more and more > > identical. > > Do you mean you want to com

[PATCH 3/4] platform/x86: ideapad-laptop: use kstrto instead of sscanf and do clean up

2017-12-02 Thread Jiaxun Yang
To deal with checkpatch warnings: WARNING: Prefer kstrto to single variable sscanf WARNING: Missing a blank line after declarations WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/x86/ideapad-laptop.

[PATCH 1/4] platform/x86: ideapad-laptop: Remove unnesscary else

2017-12-02 Thread Jiaxun Yang
To deal with checkpatch warning: WARNING: else is not generally useful after a break or return Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/x86/ideapad-laptop.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/platfo

[PATCH 2/4] platform/x86: ideapad-laptop: Use __func__ instead of write_ec_cmd in pr_err

2017-12-02 Thread Jiaxun Yang
To deal with checkpatch warning: WARNING: Prefer using '"%s...", __func__' to using 'write_ec_cmd', this function's name, in a string Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/x86/ideapad-laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH 4/4] platform/x86: ideapad-laptop: add lenovo RESCUER R720-15IKBN to no_hw_rfkill_list

2017-12-02 Thread Jiaxun Yang
Since Roger Jargoyhen <rjargoy...@gmail.com> reported that this device doesn't have Hardware rfkill switch, this patch add it to no_hw_rfkill_list to prevent radio always be blocked Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/x86/ideapad-laptop.c |

[PATCH RESEND v3 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-12-04 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/

[PATCH RESEND v3 3/4] MIPS: Loongson64: Yeeloong add platform driver

2017-12-04 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH RESEND v3 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-12-04 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h

[PATCH RESEND v3 4/4] MIPS: Loongson64: Load platform device during boot

2017-12-04 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 27 +++ 2 files changed, 28 insertions(+), 1 de

Add support for lemote-2f YeeLoong laptop (RESEND)

2017-12-04 Thread Jiaxun Yang
Since Ralf havn't appear for a long time, I resend this patch. Btw: Why linux-mips wiki and patchwork down for so long time?

Re: [PATCH 0/1] About MIPS/Loongson maintainance

2017-12-07 Thread Jiaxun Yang
want to merge > the > trees into their larger mips one for the pulls to Linus, much like > the > arm-core tree works, right? Yeah, thanks for your suggestion, we can do like this to reduce work load of Linus. > > thanks, > > greg k-h Jiaxun Yang signature.asc Description: This is a digitally signed message part

Re: [PATCH 0/1] About MIPS/Loongson maintainance

2017-12-07 Thread Jiaxun Yang
eon III ethernet driver > series). I agree with that. Ralf really need help. > I'm willing to take on that role if Ralf is okay with it. I'm already > trying to keep track of fixes and spend more time reviewing patches > on > the list, but the more who can help out the better. > > The question of who applies patches can't be avoided though. It would > clearly suck to have all the review in the world but still end up > with > the co-maintainer having to take the reigns at the last minute to get > those important fixes in, and then have no time to apply anything > substantial for the merge window. > > Cheers > James -- Jiaxun Yang

[PATCH v4 3/5] MIPS: Loongson64: Yeeloong add platform driver

2017-12-08 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH v4 4/5] MIPS: Loongson64: Load platform device during boot

2017-12-08 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 29 + 2 files changed, 30 insertions(+), 1 de

[PATCH v4 2/5] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-12-08 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h

[PATCH v4 1/5] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-12-08 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/

[PATCH v4 5/5] MAINTAINERS: Add entry for Lemote YeeLoong Extra Driver

2017-12-08 Thread Jiaxun Yang
Add myself as a maintainer of Lemote YeeLoong Extra driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 MAINTAINERS diff --git a/MAINTAINERS b/MAINTAINERS old mode 100644 new mode 100

[PATCH v4 0/5] add Lemote YeeLoong Laptop support

2017-12-08 Thread Jiaxun Yang
Change since v3: Fix build error in platform.c

[PATCHv2 6/8] MIPS: Loongson64: cleanup all mach files to use SPDX Identifier

2017-12-30 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/Makefile | 1 + arch/mips/loongson64/Platform | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/mips/loongson64/Makefile b/arch/mips/loongson64/Makefile index 4fe3d8

[PATCHv2 7/8] MIPS: Loongson64: cleanup all include files to use SPDX Identifier

2017-12-30 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 5 ++--- arch/mips/include/asm/mach-loongson64/dma-coherence.h | 6 ++ arch/mips/include/asm/mach-loongson64/ec_kb3

Cleanup loongson64 mach to use SPDX copyright format v2

2017-12-30 Thread Jiaxun Yang
This patchset should based on "Add YeeLoong support v6" v1 -> v2 Fix the issue raised by Philippe to use the corret style

[PATCHv2 1/8] MIPS: Loongson64: cleanup all cs5536 files to use SPDX Identifier

2017-12-30 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/common/cs5536/Makefile | 1 + arch/mips/loongson64/common/cs5536/cs5536_acc.c | 6 ++ arch/mips/loongson64/common/cs5536/cs5536_ehci.c | 6 ++ arch/mips/loon

[PATCHv2 2/8] MIPS: Loongson64: cleanup all loongson common files to use SPDX Identifier

2017-12-30 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/common/bonito-irq.c | 6 ++ arch/mips/loongson64/common/cmdline.c | 7 ++- arch/mips/loongson64/common/early_printk.c | 6 ++ arch/mips/loongson64/common

[PATCHv2 4/8] MIPS: Loongson64: cleanup all lemote-2f files to use SPDX Identifier

2017-12-30 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 1 + arch/mips/loongson64/lemote-2f/clock.c | 5 ++--- arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 6 ++ arch/mips/loongson64/lemote-2f

[PATCHv2 5/8] MIPS: Loongson64: cleanup all loongson-3 files to use SPDX Identifier

2017-12-30 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/loongson-3/Makefile | 1 + arch/mips/loongson64/loongson-3/cop2-ex.c | 5 ++--- arch/mips/loongson64/loongson-3/numa.c | 7 ++- arch/mips/loongson64/loon

[PATCHv2 3/8] MIPS: Loongson64: cleanup all fuloong-2e files to use SPDX Identifier

2017-12-30 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/fuloong-2e/Makefile | 1 + arch/mips/loongson64/fuloong-2e/irq.c| 6 ++ arch/mips/loongson64/fuloong-2e/reset.c | 6 ++ 3 files changed, 5 insertions(+), 8 del

Re: [PATCHv2 1/8] MIPS: Loongson64: cleanup all cs5536 files to use SPDX Identifier

2017-12-31 Thread Jiaxun Yang
o were from ICT and Lemote? As far as I know, some authors are no longer working in Lemote. And I can't see their new email addresses so it may hard to get their ack or sign-off. Thanks for your adivce. -- Best Regards Jiaxun Yang signature.asc Description: This is a digitally signed message part

[PATCH] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices

2017-12-25 Thread Jiaxun Yang
Make loongson64 a pure 64-bit mach. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index 0d249fc3cfe9..a7d9a9241ac4 100644 --- a/arc

Add YeeLoong support v6

2017-12-25 Thread Jiaxun Yang
Change since v5: Use arcs_cmdline instead of loongson_cmdline Fix GPL copyright issues Change since v4: Use SPDX ids copyright header

[PATCH v6 2/4] MIPS: Loongson64: Yeeloong add platform driver

2017-12-25 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c

[PATCH v6 1/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-12-25 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h

[PATCH v6 4/4] MAINTAINERS: Add entry for Lemote YeeLoong Extra Driver

2017-12-25 Thread Jiaxun Yang
Add myself as a maintainer of Lemote YeeLoong Extra driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 MAINTAINERS diff --git a/MAINTAINERS b/MAINTAINERS old mode 100644 new mode 100

[PATCH v6 3/4] MIPS: Loongson64: Load platform device during boot

2017-12-25 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 25 + 2 files changed, 26 insertions(+), 1 de

[PATCH 1/7] MIPS: Loongson64: cleanup all cs5536 files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/common/cs5536/Makefile | 1 + arch/mips/loongson64/common/cs5536/cs5536_acc.c | 6 ++ arch/mips/loongson64/common/cs5536/cs5536_ehci.c | 6 ++ arch/mips/loon

[PATCH 2/7] MIPS: Loongson64: cleanup all loongson common files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/common/bonito-irq.c | 6 ++ arch/mips/loongson64/common/cmdline.c | 7 ++- arch/mips/loongson64/common/early_printk.c | 6 ++ arch/mips/loongson64/common

Cleanup loongson64 mach to use SPDX copyright format

2017-12-26 Thread Jiaxun Yang
This patchset should based on "Add YeeLoong support v6"

[PATCH 3/7] MIPS: Loongson64: cleanup all fuloong-2e files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/fuloong-2e/Makefile | 1 + arch/mips/loongson64/fuloong-2e/irq.c| 6 ++ arch/mips/loongson64/fuloong-2e/reset.c | 6 ++ 3 files changed, 5 insertions(+), 8 del

[PATCH 4/7] MIPS: Loongson64: cleanup all lemote-2f files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/lemote-2f/Makefile | 1 + arch/mips/loongson64/lemote-2f/clock.c | 5 ++--- arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 6 ++ arch/mips/loongson64/lemote-2f

[PATCH 5/7] MIPS: Loongson64: cleanup all loongson-3 files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/loongson-3/Makefile | 1 + arch/mips/loongson64/loongson-3/cop2-ex.c | 5 ++--- arch/mips/loongson64/loongson-3/numa.c | 7 ++- arch/mips/loongson64/loon

[PATCH 6/7] MIPS: Loongson64: cleanup all mach files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/Makefile | 1 + arch/mips/loongson64/Platform | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/mips/loongson64/Makefile b/arch/mips/loongson64/Makefile index 4fe3d8

[PATCH 7/7] MIPS: Loongson64: cleanup all include files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 5 ++--- arch/mips/include/asm/mach-loongson64/dma-coherence.h | 6 ++ arch/mips/include/asm/mach-loongson64/ec_kb3

[PATCH v2] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices

2018-01-02 Thread Jiaxun Yang
-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/loongson64/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index 0d249fc3cfe9..a7d9a9241ac4 100644 --- a/arch/mips/loongson64/Kconfig +++ b/arch/mips/loon

Re: [PATCH] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices

2018-01-02 Thread Jiaxun Yang
On 2018-01-02 Tue 08:48 +,James Hogan Wrote: > On Tue, Dec 26, 2017 at 12:21:38PM +0800, Jiaxun Yang wrote: > > Make loongson64 a pure 64-bit mach. > > Please expand to provide some rationale behind the change. Was 32-bit > support broken at runtime, or broken at build time

[PATCH] MIPS: rename arcs_cmdline to mips_cmdline

2017-12-26 Thread Jiaxun Yang
arcs_cmdline refers to boot cmdline for all machs, not only arc systems. This patch renamed all arcs_cmdline to mips_cmdline. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/alchemy/common/prom.c | 6 +++--- arch/mips/ar7/prom.c

rename arcs_cmdline to mips_cmdline

2017-12-26 Thread Jiaxun Yang
This patch should based on "Add YeeLoong support v6"

Re: [PATCH V2] MIPS: implement smp_cond_load_acquire() for Loongson-3

2018-07-11 Thread Jiaxun Yang
e reasonable, because it the eliminate the "non-cohrency". So we can solve the bug from the root. Thanks. -- Jiaxun Yang

Re: [PATCH 12/14] MIPS: memblock: Discard bootmem from Loongson3 code

2018-01-23 Thread Jiaxun Yang
we have a problem here. -- Jiaxun Yang signature.asc Description: This is a digitally signed message part

Re: [RFC 3/4] MIPS: Ingenic: Initial X1000 SoC support

2018-03-10 Thread Jiaxun Yang
http://git.ingenic.cn:8082/bj/repo d) $ chmod +x repo > Repo is a sourcecode managing system used by Android. The gerrit is still here but need extra premission to reach. Now ingenic release there soucecode by "Baidu Netdisk". It's hard to access by foreign users. So we put the shourcecode here: https://github.com/Ingenic-commu nity/linux-xburst-bsp Thanks -- Jiaxun Yang <jiaxun.y...@flygoat.com>

Re: [RFC 3/4] MIPS: Ingenic: Initial X1000 SoC support

2018-03-07 Thread Jiaxun Yang
terface with standard MIPS cores, maybe we need some modification on openocd). So maybe I can help in testing this after I get my broad. Just ask if you need any help. Thanks -- Jiaxun Yang <jiaxun.y...@flygoat.com>

Re: [RFC 3/4] MIPS: Ingenic: Initial X1000 SoC support

2018-03-07 Thread Jiaxun Yang
在 2018-03-07三的 20:35 +0530,PrasannaKumar Muralidharan写道: > Hi James, > > Seems Jiaxun is interested in the board and is willing to help. > > I have been told that Ingenic is focusing on IoT market and X1000 is > intended for IoT segment. I think that they would be selling several > 100Ks of chip

[PATCH v2 1/2] MIPS: Introduce has_cpu_mips*_user in cpu-features.h

2018-03-22 Thread Jiaxun Yang
has_cpu_mips*_user to decide which level should be displayed in cpuinfo to prevent misleading userspace programs. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/cpu-features.h | 39 arch/mips/kernel/proc.c

[PATCH v2 2/2] MIPS: Loongson64: Define has_cpu_mips*r2_user for Loongson-3

2018-03-22 Thread Jiaxun Yang
All loongson-3 processors support mips32r2 mips64r2 usermode instructions. However 3A1000 3B1000 3B1500 should be treated as r1 in kernel. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 1 + 1 file changed, 1 ins

[PATCH 2/2] MIPS: Loongson64: Define has_cpu_mips64r2_user for Loongson-3

2018-03-21 Thread Jiaxun Yang
All loongson-3 processors support mips64r2 usermode instructions. However 3A1000 3B1000 3B1500 should be treated as mips64r1 in kernel. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 1 + 1 file changed, 1 ins

[PATCH 1/2] MIPS: Introduce has_cpu_mips*_user in cpu-features.h

2018-03-21 Thread Jiaxun Yang
has_cpu_mips*_user to decide witch level should be displayed in cpuinfo to prevent misleading userspace programs. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/mips/include/asm/cpu-features.h | 39 arch/mips/kernel/proc.c

Re: [PATCH V3] ZBOOT: fix stack protector in compressed boot phase

2018-03-22 Thread Jiaxun Yang
在 2018-03-22四的 22:21 +,James Hogan写道: > On Fri, Mar 16, 2018 at 03:55:16PM +0800, Huacai Chen wrote: > > diff --git a/arch/mips/boot/compressed/decompress.c > > b/arch/mips/boot/compressed/decompress.c > > index fdf99e9..5ba431c 100644 > > --- a/arch/mips/boot/compressed/decompress.c > > +++

[PATCH] x86/cpu/AMD: Fix CPB bit for more processors

2018-11-15 Thread Jiaxun Yang
x00810f10 and should have CPB feature according AMD product specifications, however their Fn8000_0007_EDX is 0x6599, indicating they don't support CPB feature. Signed-off-by: Jiaxun Yang --- arch/x86/kernel/cpu/amd.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a

[PATCH v2] x86/cpu/AMD: Fix CPB bit for more processors

2018-11-19 Thread Jiaxun Yang
0f10 and should have CPB feature according AMD product specifications, however their Fn8000_0007_EDX is 0x6599, indicating they don't support CPB feature. Since whole F17h should support CPB, we set the cap for all of them. Cc: sta...@vger.kernel.org Signed-off-by: Jiaxun Yang --- arch/x86/

Re: [RFC 3/4] MIPS: Ingenic: Initial X1000 SoC support

2018-03-10 Thread Jiaxun Yang
http://git.ingenic.cn:8082/bj/repo d) $ chmod +x repo > Repo is a sourcecode managing system used by Android. The gerrit is still here but need extra premission to reach. Now ingenic release there soucecode by "Baidu Netdisk". It's hard to access by foreign users. So we put the shourcecode here: https://github.com/Ingenic-commu nity/linux-xburst-bsp Thanks -- Jiaxun Yang

[PATCH v2 1/2] MIPS: Introduce has_cpu_mips*_user in cpu-features.h

2018-03-22 Thread Jiaxun Yang
has_cpu_mips*_user to decide which level should be displayed in cpuinfo to prevent misleading userspace programs. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/cpu-features.h | 39 arch/mips/kernel/proc.c | 22 ++-- 2 files changed

[PATCH v2 2/2] MIPS: Loongson64: Define has_cpu_mips*r2_user for Loongson-3

2018-03-22 Thread Jiaxun Yang
All loongson-3 processors support mips32r2 mips64r2 usermode instructions. However 3A1000 3B1000 3B1500 should be treated as r1 in kernel. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips

Re: [PATCH V3] ZBOOT: fix stack protector in compressed boot phase

2018-03-22 Thread Jiaxun Yang
在 2018-03-22四的 22:21 +,James Hogan写道: > On Fri, Mar 16, 2018 at 03:55:16PM +0800, Huacai Chen wrote: > > diff --git a/arch/mips/boot/compressed/decompress.c > > b/arch/mips/boot/compressed/decompress.c > > index fdf99e9..5ba431c 100644 > > --- a/arch/mips/boot/compressed/decompress.c > > +++

[PATCH 1/2] MIPS: Introduce has_cpu_mips*_user in cpu-features.h

2018-03-21 Thread Jiaxun Yang
has_cpu_mips*_user to decide witch level should be displayed in cpuinfo to prevent misleading userspace programs. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/cpu-features.h | 39 arch/mips/kernel/proc.c | 22 ++-- 2 files changed

[PATCH 2/2] MIPS: Loongson64: Define has_cpu_mips64r2_user for Loongson-3

2018-03-21 Thread Jiaxun Yang
All loongson-3 processors support mips64r2 usermode instructions. However 3A1000 3B1000 3B1500 should be treated as mips64r1 in kernel. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips

Add YeeLoong support v6

2017-12-25 Thread Jiaxun Yang
Change since v5: Use arcs_cmdline instead of loongson_cmdline Fix GPL copyright issues Change since v4: Use SPDX ids copyright header

[PATCH v6 2/4] MIPS: Loongson64: Yeeloong add platform driver

2017-12-25 Thread Jiaxun Yang
-community. I Just do some clean up and port to mainline kernel tree. Signed-off-by: Jiaxun Yang --- drivers/platform/mips/Kconfig | 19 + drivers/platform/mips/Makefile |3 + drivers/platform/mips/yeeloong_laptop.c | 1141 +++ 3 files changed, 1163

[PATCH v6 1/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up

2017-12-25 Thread Jiaxun Yang
To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move ec_kb3310b.h to include dir and clean up ec_kb3310b.h. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/ec_kb3310b.h | 170 +++ arch/mips/loongson64

[PATCH v6 4/4] MAINTAINERS: Add entry for Lemote YeeLoong Extra Driver

2017-12-25 Thread Jiaxun Yang
Add myself as a maintainer of Lemote YeeLoong Extra driver Signed-off-by: Jiaxun Yang --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 MAINTAINERS diff --git a/MAINTAINERS b/MAINTAINERS old mode 100644 new mode 100755 index a6e86e20761e..5a7c0d4b2

[PATCH v6 3/4] MIPS: Loongson64: Load platform device during boot

2017-12-25 Thread Jiaxun Yang
This patch just add pdev during boot to load the platform driver Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/lemote-2f/Makefile | 2 +- arch/mips/loongson64/lemote-2f/platform.c | 25 + 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 arch

[PATCH] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices

2017-12-25 Thread Jiaxun Yang
Make loongson64 a pure 64-bit mach. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index 0d249fc3cfe9..a7d9a9241ac4 100644 --- a/arch/mips/loongson64/Kconfig +++ b/arch

[PATCH 1/7] MIPS: Loongson64: cleanup all cs5536 files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/common/cs5536/Makefile | 1 + arch/mips/loongson64/common/cs5536/cs5536_acc.c | 6 ++ arch/mips/loongson64/common/cs5536/cs5536_ehci.c | 6 ++ arch/mips/loongson64/common/cs5536/cs5536_ide.c

[PATCH 2/7] MIPS: Loongson64: cleanup all loongson common files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/common/bonito-irq.c | 6 ++ arch/mips/loongson64/common/cmdline.c | 7 ++- arch/mips/loongson64/common/early_printk.c | 6 ++ arch/mips/loongson64/common/env.c | 6 ++ arch

Cleanup loongson64 mach to use SPDX copyright format

2017-12-26 Thread Jiaxun Yang
This patchset should based on "Add YeeLoong support v6"

[PATCH 3/7] MIPS: Loongson64: cleanup all fuloong-2e files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/fuloong-2e/Makefile | 1 + arch/mips/loongson64/fuloong-2e/irq.c| 6 ++ arch/mips/loongson64/fuloong-2e/reset.c | 6 ++ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/mips

[PATCH 4/7] MIPS: Loongson64: cleanup all lemote-2f files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/lemote-2f/Makefile | 1 + arch/mips/loongson64/lemote-2f/clock.c | 5 ++--- arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 6 ++ arch/mips/loongson64/lemote-2f/irq.c| 6 ++ arch/mips

[PATCH 5/7] MIPS: Loongson64: cleanup all loongson-3 files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/loongson-3/Makefile | 1 + arch/mips/loongson64/loongson-3/cop2-ex.c | 5 ++--- arch/mips/loongson64/loongson-3/numa.c | 7 ++- arch/mips/loongson64/loongson-3/platform.c | 6 ++ arch/mips

[PATCH 6/7] MIPS: Loongson64: cleanup all mach files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/Makefile | 1 + arch/mips/loongson64/Platform | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/mips/loongson64/Makefile b/arch/mips/loongson64/Makefile index 4fe3d88fc361..64b270c70607 100644

[PATCH 7/7] MIPS: Loongson64: cleanup all include files to use SPDX Identifier

2017-12-26 Thread Jiaxun Yang
To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 5 ++--- arch/mips/include/asm/mach-loongson64/dma-coherence.h | 6 ++ arch/mips/include/asm/mach-loongson64/ec_kb3310b.h| 6 ++ arch

[PATCH] MIPS: rename arcs_cmdline to mips_cmdline

2017-12-26 Thread Jiaxun Yang
arcs_cmdline refers to boot cmdline for all machs, not only arc systems. This patch renamed all arcs_cmdline to mips_cmdline. Signed-off-by: Jiaxun Yang --- arch/mips/alchemy/common/prom.c | 6 +++--- arch/mips/ar7/prom.c | 8 arch/mips/cavium-octeon

rename arcs_cmdline to mips_cmdline

2017-12-26 Thread Jiaxun Yang
This patch should based on "Add YeeLoong support v6"

Add YeeLoong support v5

2017-12-16 Thread Jiaxun Yang
Change since v4: Use SPDX ids copyright header

[PATCH v5 1/5] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-12-16 Thread Jiaxun Yang
Since lemote-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline to fix that issue Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/loongson.h | 6 ++ arch/mips/loongson64/common/cmdline.c| 7

  1   2   3   4   5   6   >