Received: by 10.213.65.68 with SMTP id h4csp177686imn; Wed, 28 Mar 2018 01:07:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/nn/ECu7B0VgPRl1diHhWjSSm/jI1uUJZbplwAsNbAgrNUTYH4v7tzGwcYZs68YH9zcxlx X-Received: by 10.98.245.156 with SMTP id b28mr2126016pfm.90.1522224463138; Wed, 28 Mar 2018 01:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522224463; cv=none; d=google.com; s=arc-20160816; b=mZBQKZ9Cf1OZq3PVmAXJJ9YbvScq6gUjRxCEQ5KtwU+vr2nLHe1hltn5zUQMbdQmCi eRb7iNR9aRcIa3/l+063Vrw+Nyat363wwSFlXjCwZLr9VmthfsLs9adsGZ9JBrZrIQXY Yb/qX0dr7vj0nONNpFpEVXZkSIEwPNoz55g5rHCbA6Lt1AhKpsUkiutJp9J3WIAojP7G DPMcPJp1a1pK3d6YR7gbLUQbMhlhgLPsY1VAdm2YpiCQZd/Fx3d0+sAMl+oYRp73eUok bdKP8tQL2nEsY8DO5ti0x+fUgq14DV1mZMB2Wc4+G0+BogXVGMlTKop5IHhnJjdIIyGf cpPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=OyCji/YhUj0dUAnfVchkBR+/2Iu6xfxV8GpKJLjM2Wg=; b=wcMALiPS+njaRWfdjSVjaEHgyzaXHv4zTpPmwXyF2nrAeSwr6A4pMrNzHqtL1Atun1 /ljjTqdBnlDMmcJW5LsgeA/eYhDTNvprPG5cD3bp8HTLv9JRWlkhDi/2+FTv3EXfEydT 9G34v7R1uoI+rwXTjyV5mV/0Unws5u05ZcbbYIUjEyo5l1khztR1MsZQyDQq4G4cqkMC NFDpXflMp7MUVMzXuUfO6sswK3EBWy8eOG81aihdse44tinzsIKn4WcPMSe38f3fi3QI FXMDLdZrGo8BqdFwc9zOba2js1/Mg33H86mrrcuNoaJajeuts209Nm7GfChn8hEq/StM G1VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8-v6si3283676pll.146.2018.03.28.01.07.27; Wed, 28 Mar 2018 01:07:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752454AbeC1IF3 (ORCPT + 99 others); Wed, 28 Mar 2018 04:05:29 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:46873 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbeC1IFZ (ORCPT ); Wed, 28 Mar 2018 04:05:25 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1201195|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e01e01546;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=10;RT=10;SR=0;TI=SMTPD_---.BTdodgC_1522224293; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:223.93.147.148) by smtp.aliyun-inc.com(10.147.40.200); Wed, 28 Mar 2018 16:04:53 +0800 Date: Wed, 28 Mar 2018 16:04:53 +0800 From: Guo Ren To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org Subject: Re: [PATCH 15/19] csky: Build infrastructure Message-ID: <20180328080452.GA12230@guoren> References: <20180320131342.GA31542@guoren> <20180321124137.GA21320@guoren> <20180327023927.GA11454@guoren> <20180328034957.GA4482@guoren> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Wed, Mar 28, 2018 at 09:40:49AM +0200, Arnd Bergmann wrote: > Ok, thanks for the clarification. Obviously if they are mutually incompatible, > there is no point in using a common kernel, so your current version is > absolutely fine, and this is similar to how we cannot have a common kernel > between ARMv5, ARMv7-A and ARMv7-M, which are all incompatible > at the kernel level. Yes. > One more question for my understanding: Are the three types of ck8xx > CPUs mutually incompatible in user space as well, or are the differences > only for the kernel? For the ARM example, ARMv5 and ARMv7 > fundamentally require separate kernels, but both can run user space > programs built for ARMv5. -mcpu=ck807 app could run on ck807, ck810, ck860. -mcpu=ck810 app could run on ck807, ck810, ck860. -mcpu=ck860 app only run on ck860. They are all incompatible at the kernel level. Best Regards Guo Ren