Received: by 10.213.65.68 with SMTP id h4csp33546imn; Tue, 27 Mar 2018 21:02:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx48cBtOaQ684PHmlWz9kZiD5pVddfcW2VdSwDj9pBzBB9tmehXy7eNr/S7SOdnoVgI4BOpOe X-Received: by 10.167.128.2 with SMTP id j2mr1613403pfi.179.1522209761749; Tue, 27 Mar 2018 21:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522209761; cv=none; d=google.com; s=arc-20160816; b=0ecqZLvnMtPdVg5XYsion8GB/a+u32Nk/uL4N3yef7OKdwqH0uf4CufJVYEGZ1Hi2n 6NkGrswDh3dHcAFqibE16Iz893lhxdNk10eWsli9MC39hUC7ufC1kU1MgXC3m1Raq07C oQ1zzEOYkDAYPdzYY27K83n948+4jQn8YaFcDn3+vJxDvWhzwF3+oExtzbwXe4Bbg43T V95TpjHUdcbuUQl1uQh8ICkrjQfjHFuNhNm/2AuIcsJpZclpONJ5ADKi8NDyZiv3Yuvi MCEfWv9tsm6BIr9PfnDP9nHAStx3AsqELomB5DVL7xKpUWhr68+e51YVCTDFlO9LB5AV 4G/Q== 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=7SUF0S1aIL9BwWJoC9Ecb7l/pTESlATcR/HyaWIe04o=; b=cl7pGrdaVVGp0zV5BOU9oTnaxCPtq6Y5npPosPfIzPrxlvEW3xU6X4I8UmqDv/68p3 hQqc2QiGUKubDDiBJOFup4GwiqmH6ZApWahrm81kTifeMiJuTSCNM3Hl7yCqPr6X1Rl1 HsFkMuW3/sj7ycY309PUpppqo8DDbuDSU01PHNgwykyGEgAG0kXohifVYKTEpysr7k9H 0rgeldi/WWO6sjkS+jFkVP/o+ZECeQWFmqp9R7u3iG0NBdmhgyS3nUxfClGg/IWGbNKS rCSgvLyCEiwSoHe66ZW/nvoLKJtmXanmdjlZWkmGXjpHI2iRr7zYgii4CQkkkvdieMLF QsZQ== 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 t188si1810502pgt.387.2018.03.27.21.02.27; Tue, 27 Mar 2018 21:02:41 -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 S1752632AbeC1DuO (ORCPT + 99 others); Tue, 27 Mar 2018 23:50:14 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:39894 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751085AbeC1DuL (ORCPT ); Tue, 27 Mar 2018 23:50:11 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1362376|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03271;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=10;RT=10;SR=0;TI=SMTPD_---.BTTJpFU_1522208999; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:223.93.147.148) by smtp.aliyun-inc.com(10.147.40.2); Wed, 28 Mar 2018 11:49:59 +0800 Date: Wed, 28 Mar 2018 11:49:59 +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: <20180328034957.GA4482@guoren> References: <20180320131342.GA31542@guoren> <20180321124137.GA21320@guoren> <20180327023927.GA11454@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 Tue, Mar 27, 2018 at 09:38:56AM +0200, Arnd Bergmann wrote: > Usually the way gcc handles this, either each CPU is a strict superset > of another > one, so you just need to specify the one with the smallest instruction set, > or you have an option like -mcpu=generic that produces the common subset. > ck807 ck810 ck860 are diffrent architecture, so they can not be strict superset and there is no option like '-mcpu=generic' in our gcc and binutils. I know you want one vmlinux which could run on all ck807 ck810 ck860 with different dts-setting. But now, may I keep current design for abiv1&abiv2? In abiv3, we will take your advice seriously. Best Regards Guo Ren