Re: Removing architectures without upstream gcc support

2018-03-09 Thread Xuetao Guan
> * unicore32 was a research project at Peking University with a SoC > based on the Intel PXA design. No gcc source code has ever been > published, the only toolchain available is a set of binaries that > include > a gcc-4.4 compiler. The project page at > http://mprc.pku.edu.cn/~guanxueta

Re: [PATCH] unicore32/time: set ->min_delta_ticks and ->max_delta_ticks

2017-03-30 Thread Xuetao Guan
> In preparation for making the clockevents core NTP correction aware, > all clockevent device drivers must set ->min_delta_ticks and > ->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a > clockevent device's rate is going to change dynamically and thus, the > ratio of ns to ticks c

Re: [PATCH 1/3] linux/const.h: move UL() macro to include/linux/const.h

2017-01-04 Thread Xuetao Guan
> Some architectures are duplicating the definition of UL(): > > #define UL(x) _AC(x, UL) > > This is not actually arch-specific, so it will be useful to move it > to a common header. Currently, we only have the uapi variant for > linux/const.h, so I am creating include/linux/const.h. > > I am a

Re: [PATCH -next] unicore32: Fix build error

2016-10-25 Thread Xuetao Guan
> Since the oldabi syscall interface was first introduced, the > infrastructure > changed and the patch no longer compiles. See commit f56141e3e2d9a ("all > arches, signal: move restart_block to struct task_struct") for details. > > Fixes: 1ace5d1e3d4b4 ("unicore32-oldabi: add oldabi syscall interf

[PATCHv2 4/4] unicore32-oldabi: add oldabi syscall interface

2016-09-28 Thread Xuetao Guan
Define unicore32 oldabi syscall in arch/unicore32/include/uapi/asm/unistd-oldabi.h. And implement some architecture related syscalls. Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui Tested-by: Guenter Roeck --- arch/unicore32/Kconfig | 3 + arch/unicore32/i

[PATCHv2 1/4] unicore32-oldabi: add CONFIG_UNICORE32_OLDABI for distinguishing two ABIs

2016-09-28 Thread Xuetao Guan
Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui Tested-by: Guenter Roeck --- arch/unicore32/Kconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index 0769066..e23100b 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/

[PATCHv2 2/4] unicore32-oldabi: add stat.h support for UNICORE32_OLDABI

2016-09-28 Thread Xuetao Guan
Remove generated code in arch/unicore32/include/asm/Kbuild, and restore asm/stat.h for UNICORE32_OLDABI. Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui Tested-by: Guenter Roeck --- arch/unicore32/include/asm/Kbuild | 1 - arch/unicore32/include/uapi/asm/stat-oldabi.h | 71 +

[PATCHv2 4/4] unicore32-oldabi: add oldabi syscall interface

2016-09-28 Thread Xuetao Guan
Define unicore32 oldabi syscall in arch/unicore32/include/uapi/asm/unistd-oldabi.h. And implement some architecture related syscalls. Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui Tested-by: Guenter Roeck --- arch/unicore32/Kconfig | 3 + arch/unicore32/i

[PATCHv2 3/4] unicore32-oldabi: add sigcontext.h support for UNICORE32_OLDABI

2016-09-28 Thread Xuetao Guan
Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui Tested-by: Guenter Roeck --- arch/unicore32/include/uapi/asm/sigcontext.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/unicore32/include/uapi/asm/sigcontext.h b/arch/unicore32/include/uapi/asm/sigcontext.h index 6a2d7

[PATCHv2 4/4] unicore32-oldabi: add oldabi syscall interface

2016-09-28 Thread Xuetao Guan
Define unicore32 oldabi syscall in arch/unicore32/include/uapi/asm/unistd-oldabi.h. And implement some architecture related syscalls. Signed-off-by: Guan Xuetao Signed-off-by: Qin Rui Tested-by: Guenter Roeck --- arch/unicore32/Kconfig | 3 + arch/unicore32/i

Re: [PATCH v4 7/7] unicore32: use the new LED disk activity trigger

2016-06-13 Thread Xuetao Guan
> Hi Guan, > > For consistency reasons this patch should be merged through LED tree, > but I need an ack for this. > > Thanks, > Jacek Anaszewski For uc32 code, Acked-by: GUAN Xuetao Thanks Jacek > > On 06/10/2016 08:00 AM, Stephan Linz wrote: >> - platform: rename 'ide-disk' to 'disk-activity'

Re: [PATCH 4.6 000/100] 4.6.1-stable review

2016-06-01 Thread Xuetao Guan
> On Tue, May 31, 2016 at 10:35:32PM -0700, Guenter Roeck wrote: >> On 05/30/2016 01:48 PM, Greg Kroah-Hartman wrote: >> > This is the start of the stable review cycle for the 4.6.1 release. >> > There are 100 patches in this series, all will be posted as a response >> > to this one. If anyone has

Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted

2016-04-24 Thread Xuetao Guan
> ping ... still not upstream. I'm sorry. I'll do it in next week. Xuetao > > On 03/21/2016 04:20 AM, Guenter Roeck wrote: >> unicore32 fails to compile with the following errors. >> >> mm/memory.c: In function ���__handle_mm_fault���: >> mm/memory.c:3381: error: >> too many arguments to fun

Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted

2016-03-23 Thread Xuetao Guan
> On Mon, Mar 21, 2016 at 07:47:29PM +0800, Xuetao Guan wrote: >> > unicore32 fails to compile with the following errors. >> > >> > mm/memory.c: In function ��ユ��_handle_mm_fault: >> > mm/memory.c:3381: error: >> >too many arguments to funct

Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted

2016-03-21 Thread Xuetao Guan
> unicore32 fails to compile with the following errors. > > mm/memory.c: In function ���__handle_mm_fault���: > mm/memory.c:3381: error: > too many arguments to function ���arch_vma_access_permitted��� > mm/gup.c: In function ���check_vma_flags���: > mm/gup.c:456: error: > too many argu

回复: Re: [PATCH] unicore32: Remove unneeded Kconfig entry NO_IOPORT_MAP

2014-10-01 Thread Xuetao Guan
- Paul Bolle 写道: > On Sun, 2014-09-28 at 09:49 +0800, Xuetao Guan wrote: > > Sorry for late reply. > > You replied within four days. That's rather quick, actually. > > > I checked this config, and it's only used for HAS_IOPORT_MAP in lib/Kconfig > >

Re: [PATCH] unicore32: Remove unneeded Kconfig entry NO_IOPORT_MAP

2014-09-27 Thread Xuetao Guan
Sorry for late reply. I checked this config, and it's only used for HAS_IOPORT_MAP in lib/Kconfig Sure, removing it means no different for .config file. I think a better way is reserving it or moving it into arch/Kconfig Cc: linux-a...@vger.kernel.org Xuetao Guan - Paul Boll

回复: Re: 回复: Re: 回复: Re: 回复: Re: 回复: Re: 回复: Status of 'unicore32' architecture in Linux kernel

2014-09-08 Thread Xuetao Guan
- Guenter Roeck 写道: > On 09/08/2014 05:57 AM, Xuetao Guan wrote: > > Whatever is more recent. Guess you'll have to either update the toolchain > or the kernel. If the plan is to update the kernel, can you send me a patch > to do that so I can test it ? > > Thanks

回复: Re: 回复: Re: 回复: Re: 回复: Re: 回复: Status of 'unicore32' architecture in Linux kernel

2014-09-08 Thread Xuetao Guan
- Guenter Roeck 写道: > On 09/04/2014 11:13 PM, Xuetao Guan wrote: > Hi, > > I made everything I have available at > http://server.roeck-us.net/qemu/unicore32/. > I tried multiple variants for creating the root file system, including the one > on https://github.com/gxt/

回复: Re: 回复: Re: 回复: Re: 回复: Status of 'unicore32' architecture in Linux kernel

2014-09-04 Thread Xuetao Guan
- Guenter Roeck 写道: > On 09/03/2014 01:32 AM, Xuetao Guan wrote: > > > [ ... ] > > >> Please try the following patch. That seems to do it. > >> I am sure it can be improved, but it is a start. > >> > >> Thanks, > >> Guenter > &

回复: Re: 回复: Re: 回复: Status of 'unicore32' architecture in Linux kernel

2014-09-03 Thread Xuetao Guan
- Guenter Roeck 写道: > On Wed, Sep 03, 2014 at 08:09:28AM +0800, Xuetao Guan wrote: > > > > [...] > > > > > > > > > > > > > > unicore32: Add ocd console and qemu-defconfig to support qemu > > > > > simulator >

回复: Re: 回复: Status of 'unicore32' architecture in Linux kernel

2014-09-02 Thread Xuetao Guan
[...] > > > > > > > > unicore32: Add ocd console and qemu-defconfig to support qemu simulator > > > This patch adds a primitive OCD console to communicate with qemu. > > > The same code is already used for early console support. > > > > Do you mean there's the same/similar code in QEMU. > >

Re: [PATCH RESEND] unicore32: Fix build error

2014-09-02 Thread Xuetao Guan
Signed-off-by: Guan Xuetao - Guenter Roeck 写道: > unicore32 builds fail with > > arch/unicore32/kernel/signal.c: In function ‘setup_frame’: > arch/unicore32/kernel/signal.c:257: error: > ‘usig’ undeclared (first use in this function) > arch/unicore32/kernel/signal.c:279

回复: Status of 'unicore32' architecture in Linux kernel

2014-09-02 Thread Xuetao Guan
Sorry for late reply. - Guenter Roeck 写道: > Status of 'unicore32' architecture in Linux kernel > -- > > The idea was to create a working kernel and initramfs for the ongoing Linux > kernel test project. This summary describes the result of this

回复: Re: 回复: Re: [PATCH] unicore32: Fix build error

2014-08-17 Thread Xuetao Guan
- Guenter Roeck 写道: > On 08/15/2014 05:45 PM, Xuetao Guan wrote: > > > > - Guenter Roeck 写道: > >> On 08/10/2014 08:29 AM, Guenter Roeck wrote: > >>> unicore32 builds fail with > >>> > >>> arch/unicore32/kernel/signal.c: In

回复: Re: [PATCH] unicore32: Fix build error

2014-08-15 Thread Xuetao Guan
- Guenter Roeck 写道: > On 08/10/2014 08:29 AM, Guenter Roeck wrote: > > unicore32 builds fail with > > > > arch/unicore32/kernel/signal.c: In function ‘setup_frame’: > > arch/unicore32/kernel/signal.c:257: error: > > ‘usig’ undeclared (first use in this function) > > arch/u

回复: Re: [PATCH] unicore32: Fix build error

2014-08-10 Thread Xuetao Guan
- Guenter Roeck 写道: > On 08/10/2014 08:39 AM, Richard Weinberger wrote: > > Guenther, > > > > Am 10.08.2014 17:29, schrieb Guenter Roeck: > >> unicore32 builds fail with > >> > >> arch/unicore32/kernel/signal.c: In function ‘setup_frame’: > >> arch/unicore32/kernel/signal.c:257: error: > >>

回复: [PATCH] unicore32: Remove ARCH_HAS_CPUFREQ config option

2014-06-04 Thread Xuetao Guan
g so that some > other CPUfreq option can be chosen. Let's remove the option so > that we can always enable CPUfreq drivers on unicore32 platforms. > > Cc: Viresh Kumar > Signed-off-by: Stephen Boyd Thanks, I'll push it in my repo. Signed-off-by: Xuetao Guan >

Re: Re: [GIT PULL REQUEST] UniCore32 update for 3.15-rc7

2014-06-02 Thread Xuetao Guan
Sorry, I think I used an old version git (v 1.7.0.4), and its request-pull command used branch name instead of tag name. I'll resend GIT PULL email. Thanks, Xuetao Guan - Linus Torvalds 写道: > On Thu, May 29, 2014 at 1:19 AM, guanxuetao > wrote: > > > > git://g

Re: [PATCH -v9 07/11] unicore32, prepare reboot_mode for moving to generic kernel code.

2013-05-10 Thread Xuetao Guan
> This patch prepares for the moving the parsing of reboot= to the generic > kernel code by making reboot_mode into a more generic form. > > Signed-off-by: Robin Holt > To: Andrew Morton > Cc: Guan Xuetao > Cc: Russ Anderson > Cc: Robin Holt > Cc: Russell King > Cc: H. Peter Anvin > Cc: Linu

Re: [PATCH 40/42] rtc: rtc-puv3: remove unnecessary platform_set_drvdata()

2013-05-03 Thread Xuetao Guan
> The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to manually clear the device driver data to NULL. > > Signed-of

Re: [RFC PATCH v1 16/19] mm/unicore32: fix stale comment about VALID_PAGE()

2013-04-15 Thread Xuetao Guan
> VALID_PAGE() has been removed from kernel long time ago, > so fix the comment. > > Signed-off-by: Jiang Liu > Cc: Guan Xuetao > Cc: linux-kernel@vger.kernel.org Thanks, Acked-by: Guan Xuetao > --- > arch/unicore32/include/asm/memory.h |6 -- > 1 file changed, 6 deletions(-) > > dif

Re: [PATCH 7/9] unicore2: cpufreq: move cpufreq driver to drivers/cpufreq

2013-03-31 Thread Xuetao Guan
> On 25 March 2013 22:24, Viresh Kumar wrote: >> This patch moves cpufreq driver of UNICORE-2 architecture to >> drivers/cpufreq. >> >> Cc: Guan Xuetao >> Signed-off-by: Viresh Kumar >> --- >> arch/unicore32/kernel/Makefile >> | 1 - >> drivers/cpufreq/Makefile >> | 1 + >> arch/unicore32/kerne