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
-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
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
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/
-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
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
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/
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
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
Change since v4:
Use SPDX ids copyright header
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
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
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
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(-)
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
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
-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
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/
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
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
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.
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
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
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 |
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/
-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
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
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
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?
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
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
-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
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
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
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/
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
Change since v3:
Fix build error in platform.c
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
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
This patchset should based on "Add YeeLoong support v6"
v1 -> v2
Fix the issue raised by Philippe to use the corret style
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
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
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
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
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
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
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
Change since v5:
Use arcs_cmdline instead of loongson_cmdline
Fix GPL copyright issues
Change since v4:
Use SPDX ids copyright header
-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
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
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
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
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
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
This patchset should based on "Add YeeLoong support v6"
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
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
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
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
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
-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
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
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
This patch should based on "Add YeeLoong support v6"
e reasonable, because it the eliminate the "non-cohrency".
So we can solve the bug from the root.
Thanks.
--
Jiaxun Yang
we have a problem here.
--
Jiaxun Yang
signature.asc
Description: This is a digitally signed message part
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>
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>
在 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
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
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
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
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
在 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
> > +++
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
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/
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
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
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
在 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
> > +++
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
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
Change since v5:
Use arcs_cmdline instead of loongson_cmdline
Fix GPL copyright issues
Change since v4:
Use SPDX ids copyright header
-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
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
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
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
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
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
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
This patchset should based on "Add YeeLoong support v6"
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
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
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
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
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
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
This patch should based on "Add YeeLoong support v6"
Change since v4:
Use SPDX ids copyright header
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 - 100 of 521 matches
Mail list logo