Received: by 10.223.164.202 with SMTP id h10csp1664707wrb; Thu, 16 Nov 2017 02:06:32 -0800 (PST) X-Google-Smtp-Source: AGs4zMaDAO/VTGS4WsfnQTOFbE1AuiClsnfT8JHzyuC3nzE+TbV8tsK7wB/rJ+WZUONnN7uINH3h X-Received: by 10.98.186.11 with SMTP id k11mr1238949pff.141.1510826792233; Thu, 16 Nov 2017 02:06:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510826792; cv=none; d=google.com; s=arc-20160816; b=gdpqElS+X5pORh5YGuxB6NB47dCWPyQYSyhbKN+fawgNe2R0xiqHROtRE7vrgPaoMi vpLjUe7Y4orcisdYMdWS6sRjwoUF+3siic7x1mguySZ5J3UQ/AV+dizUj8kbfKTudOc9 66M7uKtKMKbrYTJLZVRVbFIdRYj6+VGoEF8809RMHv871N8S5oQ8tw1orvLX6UYL9Lmf Ou4nObMU7/mQ3iyszNtgzl0sy6bpTIibCsbBV9SZraDqE/GRDv1+t7gPuic9B2W3xEYX VMCD3DmYWFqTvVCHRZQuCz/mMdOXzZJAOlPaaNHxcX4ky2XM3mM260NXsh3sgKTT+Hkr H3Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=YNGsVZH6drDIYwJqiC5Oyps7VvfRUDwqUfSvhNumaU0=; b=Py51SvtHix4rBA3L/aopaOQdqnTYoMrtq9BzOm/hS6vh0JDQ4wa8t1WjghUiDUI62j yKt3d0PLxNchx+CAJS7lzdLJczlx7avP/rX2GThfC+PJaZwFVXDMv4mpbP63vt6U72zx 6yJFZ6/53efmak+f5EOrmsdPDDaaaHmzTx8sryBNsOKzusLc5DqDsXbWt/NrGd0FiHa9 Bj+NzCBsY2GQkhL/gaPQKQzT5tYwg681oWl47Q0lME4QiKg2uZBNdhNKJqAZazuONarq zF24/C/6BHyskLvy5vCD3iQ9/8dS/iH30hXX3dtjNT1gLu9eOdB+D64Rn2yMJ+QP3djo ZToQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hFNbGEdt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si687400pff.195.2017.11.16.02.06.19; Thu, 16 Nov 2017 02:06:32 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hFNbGEdt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759566AbdKPKEK (ORCPT + 91 others); Thu, 16 Nov 2017 05:04:10 -0500 Received: from mail-ua0-f193.google.com ([209.85.217.193]:50045 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752910AbdKPKEH (ORCPT ); Thu, 16 Nov 2017 05:04:07 -0500 Received: by mail-ua0-f193.google.com with SMTP id u13so17351210uaf.6; Thu, 16 Nov 2017 02:04:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YNGsVZH6drDIYwJqiC5Oyps7VvfRUDwqUfSvhNumaU0=; b=hFNbGEdtaXnaVn8sxVbblucq9i3poAVB9FHRUHlUELQoihMajpvggQLZYxpC0fvip0 5rxkUyiTcfVcK0rcW44++eaBwSfYVhA7JER4FlHFwZ39Vc0ef8+hxyfR4MF/6o2SGnNB ioCJKesW112609y8P3kvIYl7R64L3UkfXQlPkURWpr5vDE00VEGpd7oItUmA0jvSugpn IedpO3ErAzS3mvOBKbdKTqMPlomVOOEBGvT32Uhf3OVcDDgabXGXU+IzkAnnBXh4AtIf 8a6Bb3+1o3FkK+y24nI7iNAjM4XkadWz//6E1zjWEeG2GDoO5rLQqbbf8XmosGIXZdUX vACQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YNGsVZH6drDIYwJqiC5Oyps7VvfRUDwqUfSvhNumaU0=; b=ZMH+AgYgO+qp2ap3wdq1HL7lfgjxzivVBXkysP1FwGpldEfGerx2lTip3KwBLHqx1G dK40dmWM+9mo85B9U+FuKh9/XK7rHEWQr2Qg8d6YdxNTo/WYKtUlmo4bBoU+Wd/M2Qq7 T0j2H0ODBzTzdD8Q0i7Dd4AjMfk+fGyNr6mWjDqFeyAHLjjoZMdI28wpBmq0/EaO5yZI 7OzGG5D3EkJ0gICQBD7gEzLGlLBg0jfnfCTLmCgH57FOqu0ldJn94o7xWjGCG0RMcYl9 uosIrHl3YbBkGE1A1RxzAEB2CSf8EqUR3l0Ah381WKf1+r26veSdfQVf8w+3gCFgmmBq L67w== X-Gm-Message-State: AJaThX5KwCMbVGPlNeThhna6MaXywtxHQZbzzu6QXWujmjJvjAgII4lc 3wp4VN4mj8TDLGGKc+aZwmjaD4pfc5yX3yHf4to= X-Received: by 10.176.25.198 with SMTP id r6mr826515uai.79.1510826646221; Thu, 16 Nov 2017 02:04:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.62.8 with HTTP; Thu, 16 Nov 2017 02:03:25 -0800 (PST) In-Reply-To: References: <7278eca76456b412e02d9baa5dc164e83199cbab.1510118606.git.green.hu@gmail.com> From: Greentime Hu Date: Thu, 16 Nov 2017 18:03:25 +0800 Message-ID: Subject: Re: [PATCH 26/31] nds32: Build infrastructure To: Geert Uytterhoeven Cc: Arnd Bergmann , Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , Vincent Chen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-13 18:45 GMT+08:00 Geert Uytterhoeven : > On Wed, Nov 8, 2017 at 11:16 AM, Arnd Bergmann wrote: >> On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote: >>> --- /dev/null >>> +++ b/arch/nds32/Kconfig >>> @@ -0,0 +1,107 @@ >>> +# >>> +# For a description of the syntax of this configuration file, >>> +# see Documentation/kbuild/kconfig-language.txt. >>> +# >>> + >>> +config NDS32 >>> + def_bool y >>> + select ARCH_HAS_RAW_COPY_USER >>> + select ARCH_WANT_FRAME_POINTERS if FTRACE >>> + select ARCH_WANT_IPC_PARSE_VERSION >>> + select CLKSRC_MMIO >>> + select CLONE_BACKWARDS >>> + select TIMER_OF >>> + select FRAME_POINTER >>> + select GENERIC_ATOMIC64 >>> + select GENERIC_CPU_DEVICES >>> + select GENERIC_CLOCKEVENTS >>> + select GENERIC_IOMAP >>> + select GENERIC_IRQ_CHIP >>> + select GENERIC_IRQ_PROBE >>> + select GENERIC_IRQ_SHOW >>> + select GENERIC_STRNCPY_FROM_USER >>> + select GENERIC_STRNLEN_USER >>> + select GENERIC_TIME_VSYSCALL >>> + select HAVE_ARCH_TRACEHOOK >>> + select HAVE_GENERIC_IOMAP >> >> You normally don't want HAVE_GENERIC_IOMAP, at least unless the CPU >> has special instructions to trigger PCI I/O port access. > > GENERIC_IOMAP or HAVE_GENERIC_IOMAP? > > The latter doesn't even exist, except in > Documentation/kbuild/kconfig-language.txt, so it cannot be selected. Thanks. I will remove HAVE_GENERIC_IOMAP in the next version patch. > Given the checks for __NDS32_EB__, NDS32 can be either big or little endian, > so you should have (excatly one of) CPU_BIG_ENDIAN or CPU_LITTLE_ENDIAN set. Thanks. I will check if we need this config or not and update in the next version patch. From 1583947479448564811@xxx Mon Nov 13 10:47:09 +0000 2017 X-GM-THRID: 1583483358934427114 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread