Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2073904ybe; Sat, 7 Sep 2019 08:21:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqySGcWbR+UFcrBOdHRuoNi7TbV4ZkHuMUt2fGg6EgkCYLFCmRGRS8CRrOlzkxwYz3uOJgr4 X-Received: by 2002:a17:902:868a:: with SMTP id g10mr4595834plo.220.1567869707364; Sat, 07 Sep 2019 08:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567869707; cv=none; d=google.com; s=arc-20160816; b=McHunEyOycquHH5ugGMOg7slLjNsXGwN3vhwX+fl8u9i7CMaeCFio2eOb24XmXvIVS 30ZMKkMn+/DssO3079lT2SEcr1dbUCvMeNJD8Bg7B0nGRc+qqYmkcAeTsp1YJJAVdo0F QMLE8S96p5RJ1pCwS78EWVwE1wp+U9OnBvOn2s0u+lhVIVaZsgBdegKEgFev8pixGi5R IyP6avoho8VlLOQOaOlmBk+j/wIznVPaJaL8NKoZDSESjPkvDvA50DXwnSK8SuZXI71a Lb75bRRYwNyztMH3UmJJ3Vfua6R2v06xc5MCQ7GyqNinJD4P4cPq8+HLxovY7FVCe97T WNOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WQ35vKwjCXzPf1XxPU0M/K9Npr3t3sboRfIZDUI3LcE=; b=RU6L6QkmA+aitOmQkoLTYbrH0qVTgapuG+Nh7nw4xf2zpY5D5jWM0+0ShP6ZYol+mK k7CPHMzsusZg4X3lCGLYXYX71YPGV3Zwh0FQbDOTdWiliDiw2IHkPjxmhb3EtXph0phP yoIOx9tngD9yFqPZ1HzIAaBl/4xD0n2E8pgQp+8HoxTq36V8xBQ/It82wgmUJCuGZwSB vScEyLELbCCmJEtRaw8v4yRMEVbBzb4xhb1DO00+Xu7PpKbf/nOcpSAgYXVRPXqyipNB i8KH2RVZwoZZ3LW7QE8gh84IQRuLesBPQ7XcvGOWa/zScxkkel/P41I9rts7UOYDXTVQ JgHA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b21si7460743pls.157.2019.09.07.08.21.20; Sat, 07 Sep 2019 08:21:47 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2395278AbfIFRsW (ORCPT + 99 others); Fri, 6 Sep 2019 13:48:22 -0400 Received: from mga09.intel.com ([134.134.136.24]:53543 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730957AbfIFRsV (ORCPT ); Fri, 6 Sep 2019 13:48:21 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2019 10:48:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,473,1559545200"; d="scan'208";a="334957784" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga004.jf.intel.com with ESMTP; 06 Sep 2019 10:48:17 -0700 Received: from andy by smile with local (Exim 4.92.1) (envelope-from ) id 1i6ILH-00035H-Ss; Fri, 06 Sep 2019 20:48:15 +0300 Date: Fri, 6 Sep 2019 20:48:15 +0300 From: Andy Shevchenko To: Martin Blumenstingl , Ivan Gorinov Cc: "Chuan Hua, Lei" , Dilip Kota , jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, lorenzo.pieralisi@arm.com, robh@kernel.org, linux-pci@vger.kernel.org, hch@infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com Subject: Re: [PATCH v3 1/2] dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller Message-ID: <20190906174815.GZ2680@smile.fi.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 06, 2019 at 07:17:11PM +0200, Martin Blumenstingl wrote: > On Fri, Sep 6, 2019 at 5:22 AM Chuan Hua, Lei > wrote: > > type_index = fwspec->param[1]; // index. > > if (type_index >= ARRAY_SIZE(of_ioapic_type)) > > return -EINVAL; > > > > I would not see this definition is user-friendly. But it is how x86 > > handles at the moment. > thank you for explaining this - I had no idea x86 is different from > all other platforms I know > the only upstream x86 .dts I could find > (arch/x86/platform/ce4100/falconfalls.dts) also uses the magic x86 > numbers > so I'm fine with this until someone else knows a better solution Ivan, Cc'ed, had done few amendments to x86 DT support. Perhaps he may add something to the discussion. -- With Best Regards, Andy Shevchenko