Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2864310pxj; Mon, 17 May 2021 11:36:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8bSqJ/ma5eixzAZZZ+RwhRzjzD9C3cOIimPsmMk8/zLqGj3aM9FEl4ar2v5JUZMHuLKCd X-Received: by 2002:a17:906:6b96:: with SMTP id l22mr1327727ejr.456.1621276611117; Mon, 17 May 2021 11:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621276611; cv=none; d=google.com; s=arc-20160816; b=RY5ujhn87ZIkNfvcFdarok8LZBBHZEpGemArODdyFh6CwP8cZ6noUw6ivSssvMDg57 +U3uCiV1+D2EuHZ41vDADkJSrBRf3uxn0ZFeELh7BaaWck5IPzm9Fjg/iY3IlRtuB5X5 hWNCe/WYq5jlnlvxyQVxrnZyOmWFpgdQ7Gmq4Ayi8PlN5E9wSAmk64cEDUdFXOb3Ta9v VJfA03/jtHGqfssF3/Xt9DQdmenVPjhj8Ho2cwt3fHD0ZIQP85K1HklVXCZ7PcoH8z13 KNXMWtP9Jv30udZzW4YtjB3piugGLmrGXq/e+QdFOcjeFvVTqS7s06vMKpfHe5grTyxp GA0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=64iLNFarXR/0X5C3MD+uhPh/ufsHsIi9Z+svs3XdY94=; b=vjcLvcBQIRVccunek50jJoQa2tIyIywH7ltkg/+yYXA0TAizszdw4zA4D1LbK0Hkhc 0A/oQs/wmCAVZR/hBE3SvnwsOX5MrhwR9MyhICblzEpfeQWaBz8rPvM+o92ROTA8I+Q1 +/SOt7kuoxs3KzB31GzH8GS3NAH4VntII9gFUpLV1FIRRtMobuEI2tPrnvpA/AWRke7m JhxHTREyp0ZRf/kY6elGJFDbUzksQ5Osn2OaCtouO4c9WDo5PEVNvCszlkOdUzh9MSs+ AE+oTXIzNqWoHuP7gyVBnHQCjA1b/djatSELQXtj/XZqq132xekK8QFOaOAhnxdt3bDb X8ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QICmOlfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si17382374ejb.448.2021.05.17.11.36.28; Mon, 17 May 2021 11:36:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QICmOlfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235386AbhEQNQ7 (ORCPT + 99 others); Mon, 17 May 2021 09:16:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230312AbhEQNQ6 (ORCPT ); Mon, 17 May 2021 09:16:58 -0400 Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F000C061573; Mon, 17 May 2021 06:15:42 -0700 (PDT) Received: by mail-vs1-xe35.google.com with SMTP id x13so3081901vsh.1; Mon, 17 May 2021 06:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=64iLNFarXR/0X5C3MD+uhPh/ufsHsIi9Z+svs3XdY94=; b=QICmOlfDKxH8Rl5tqpmIV1hlkb/+dVXIS9wyOj94ugM7StLFfX9YH4g0VmGLMwsE1O DIa2EnfMlPB2ngrcWJJNcbov3bjPCyjXsSCzoYRAy3AirCW6CXsV0HcFv6b807UsyEdB LhoijPsZxApRRgFAUt8hxfB5iPd0n/F/jxFBMdpmIgjRNN7gAUbDrpNBrqILEK/fZowF +8oOkMjYEaLydRCJc4QnRc3SGOAcYPP1ldabJR13fVcdXzvNYZ6Z6v+YwwXYypUlF2FI y4WFvbbuUwMMjYnCpewLkBqhAQkp20ZVEt0D27/gHFm9mC9Y5/TpAO2OIJ5xxxL0sT5N YTtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=64iLNFarXR/0X5C3MD+uhPh/ufsHsIi9Z+svs3XdY94=; b=g0jFUYZks5l/qyQbOMtdHjzx86Z+Tv3TGL4/6BBnEMuY+NYc+fK86T4JE3W8Bh+ZI+ sHcc8Erl+LoDYZpGLFOf76Tb+DpvmVi/z+1dWlJXbQegcxEZl1MCghL9zI5UNkx9E4xn V3Mrpl/pQu8TJHi7qtq16mJDOkSuq0Ot1JOkr1PSnwAVHgsG0MMrjLHhS1W0MBiSCJ1F U7+HMiE6cbWoGSNOpFbd4GUqfKtj9m8cHq0bGBZFyIGbz8b7RVcVnkuihLqiYjscbdqG WVdYwqyn2ZLLb+hiMOQlBTXMaTluzxEXbEvyIw+jBXcA9BHPaJYpf1RCeSEq3lpLhQD8 tXjg== X-Gm-Message-State: AOAM530EhQT3bHzNPoBuLKhx0JnonHCRdpOigdTBb+qhPEykBU70Si5L 8Vs6G66MYtiwfneNAStMzbQVVWLVlAt46bbNEso= X-Received: by 2002:a67:cb15:: with SMTP id b21mr52611553vsl.29.1621257341885; Mon, 17 May 2021 06:15:41 -0700 (PDT) MIME-Version: 1.0 References: <20210325090026.8843-1-kishon@ti.com> In-Reply-To: <20210325090026.8843-1-kishon@ti.com> From: Christian Gmeiner Date: Mon, 17 May 2021 15:15:31 +0200 Message-ID: Subject: Re: [PATCH 0/6] PCI: Add legacy interrupt support in Keystone To: Kishon Vijay Abraham I Cc: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Marc Zyngier , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, LKML , linux-arm-kernel@lists.infradead.org, Lokesh Vutla Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Am Do., 25. M=C3=A4rz 2021 um 10:04 Uhr schrieb Kishon Vijay Abraham I : > > Keystone driver is used by K2G and AM65 and the interrupt handling of > both of them is different. Add support to handle legacy interrupt for > both K2G and AM65 here. > > Some discussions regarding this was already done here [1] and it was > around having pulse interrupt for legacy interrupt. > > The HW interrupt line connected to GIC is a pulse interrupt whereas > the legacy interrupts by definition is level interrupt. In order to > provide level interrupt functionality to edge interrupt line, PCIe > in AM654 has provided IRQ_EOI register. When the SW writes to IRQ_EOI > register after handling the interrupt, the IP checks the state of > legacy interrupt and re-triggers pulse interrupt invoking the handler > again. > > Patch series also includes converting AM65 binding to YAML and an > errata applicable for i2037. > > [1] -> https://lore.kernel.org/linux-arm-kernel/20190221101518.22604-4-ki= shon@ti.com/ > > Kishon Vijay Abraham I (6): > dt-bindings: PCI: ti,am65: Add PCIe host mode dt-bindings for TI's > AM65 SoC > dt-bindings: PCI: ti,am65: Add PCIe endpoint mode dt-bindings for TI's > AM65 SoC > irqdomain: Export of_phandle_args_to_fwspec() > PCI: keystone: Convert to using hierarchy domain for legacy interrupts > PCI: keystone: Add PCI legacy interrupt support for AM654 > PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0) > > .../bindings/pci/ti,am65-pci-ep.yaml | 80 ++++ > .../bindings/pci/ti,am65-pci-host.yaml | 111 ++++++ > drivers/pci/controller/dwc/pci-keystone.c | 343 +++++++++++++----- > include/linux/irqdomain.h | 2 + > kernel/irq/irqdomain.c | 6 +- > 5 files changed, 440 insertions(+), 102 deletions(-) > create mode 100644 Documentation/devicetree/bindings/pci/ti,am65-pci-ep.= yaml > create mode 100644 Documentation/devicetree/bindings/pci/ti,am65-pci-hos= t.yaml > > -- > 2.17.1 > Is there somewhere an updated version of this patch series? --=20 greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy