Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3088417ybb; Mon, 30 Mar 2020 20:36:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvg71XYF20nu+OOg4tr9tnVUtHyqVNvbGp+YOGRRvsqA2cxbzMMgB2dDxVPwuRAMCrF18qy X-Received: by 2002:a05:6808:8db:: with SMTP id k27mr805472oij.175.1585625799674; Mon, 30 Mar 2020 20:36:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585625799; cv=none; d=google.com; s=arc-20160816; b=JP1jcH1lzr0G/UAA7IAUb3tx/rI/HFVqFz/qaZomb/T6d3+FznAx1kULeDf6bZdhcU BAcG1urTuG45NgY2CMAiNZu5jBo2YOsY7OWcnVRA59RuiPkuZRmXjyec0A9yMLg7ZKAF Yc90R8O7kn3f6S7tP0t/1Gix8S/Djy7xmOHF0F1GDGtemD8mggukZX5CuphI9MWMnroM MehU02VwCj1sLtJ6LTcGPoCjA41aoYWCcZu7cgKJUtjjkm0oQyQ3sDPbLiq+3mrpqduQ Y16sPw1xWXJm5sN91mz+3FHVh+Y5Pfmqt0JFISRdEMWwTPPIube6sYQqxnzY3QIBkkOy Juaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=T/992S/NntFJbh2NBbKypuYLP245JSEjE8JiZ5fAzYI=; b=yzJHCUftDeC2GwpWU5y9F5Cikwcz0Fa4qmI96E29G51c/TDk1TnsjHGEKtwtQ1PTLQ 4KWF8eWG7FWNhJpHhXzEHWM4a8LFeiNMBSJ7KNI1k2MWI28D3hO2utV6+iFMF3xTD3DY VY08f6rD1a76VZUhCchJmt2LltppFG8msZiNhqQtuYvK0LKstDoJxX/pFdswwghiEnW+ gM8Eu/3ho/8i6JqQ9YOt2WIFrjv2j/3N5LPf6gTBmKvuhv9ue60h1irW8pu95s3BxeMg diAWE5htVCjjsAWBzu2dhHkkhY/2eXAHTzdFIixufXFMjvJop1S5s+VjzBq/BaxprzD8 Bc4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=Ii7pSBPt; 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=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7si8272552ote.303.2020.03.30.20.36.28; Mon, 30 Mar 2020 20:36:39 -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; dkim=pass header.i=@flygoat.com header.s=mail header.b=Ii7pSBPt; 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=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729825AbgCaDe5 (ORCPT + 99 others); Mon, 30 Mar 2020 23:34:57 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17980 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727464AbgCaDe5 (ORCPT ); Mon, 30 Mar 2020 23:34:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1585625678; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=T/992S/NntFJbh2NBbKypuYLP245JSEjE8JiZ5fAzYI=; b=Ii7pSBPt9GwUXMWZzsty1l2gAA+RJbsbJbl6nRghPH6alLEbSxiFKCzFUBovO7nY Fhx9tuaSZGxHNlPXF9jfoNCIKWL7v3u0qytRKQqHy3liEmq7wiMxWc/E1pTQfx4N+4/ vp9d9VV/AkbiKOdgxS0hEMCqdxiMc13d+GPBheaE= Received: from mail.baihui.com by mx.zoho.com.cn with SMTP id 1585625676445695.6779755877686; Tue, 31 Mar 2020 11:34:36 +0800 (CST) Date: Tue, 31 Mar 2020 11:34:36 +0800 From: Jiaxun Yang To: "maobibo" Cc: "Thomas Bogendoerfer" , "Huacai Chen" , "linux-mips" , "linux-kernel" Message-ID: <1712ea7ba9a.dad1f80a33831.4741900511750683483@flygoat.com> In-Reply-To: <778df899-4dc4-c2be-5b7b-79c16223b0fb@loongson.cn> References: <1585557531-18849-1-git-send-email-maobibo@loongson.cn> <53CC90A0-3926-4642-91D4-F4F265F6AE90@flygoat.com> <778df899-4dc4-c2be-5b7b-79c16223b0fb@loongson.cn> Subject: Re: [PATCH 02/39] MIPS: loongson64: Add header files path prefix MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Priority: Medium User-Agent: ZohoCN Mail X-Mailer: ZohoCN Mail Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org -- Jiaxun Yang ---- =E5=9C=A8 =E6=98=9F=E6=9C=9F=E4=B8=80, 2020-03-30 18:00:19 maobibo =E6=92=B0=E5=86=99 ---- >=20 >=20 > On 03/30/2020 04:55 PM, Jiaxun Yang wrote: > >=20 > >=20 > > =E4=BA=8E 2020=E5=B9=B43=E6=9C=8830=E6=97=A5 GMT+08:00 =E4=B8=8B=E5=8D= =884:38:51, bibo mao =E5=86=99=E5=88=B0: > >> Remove header files from arch/mips/include/asm/mach-loongson64 > >> to arch/mips/loongson64/include/mach > >> > >> Signed-off-by: bibo mao > >=20 > > Hi Bibo, > >=20 > > Thanks for your patch. > >=20 > > What's your intention? > > Did you meet any problem about headers? > >=20 >=20 > Hi Jiaxun, >=20 > When I add irqchip support for mips kvm, file virt/kvm/irqchip.c > requires local header file arch/mips/kvm/irq.h, it fails to compile. > Since there is file with the same name located at: > arch/mips/include/asm/mach-generic/irq.h > arch/mips/include/asm/mach-loongson64/irq.h >=20 > The compiler fails to choose the correct header file irq.h, You'd better rename kvm's irq.h in this case. >=20 > regards > bibo,mao >=20 > >> --- > >> arch/mips/Kconfig | 1= + > >> arch/mips/loongson64/Platform | 2 > >> +- > >> arch/mips/loongson64/env.c | 8 > >> ++++----