From patchwork Tue Jun 16 06:13:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 187969 Delivered-To: patches@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp3370316ilo; Mon, 15 Jun 2020 23:13:45 -0700 (PDT) X-Received: by 2002:a17:902:aa92:: with SMTP id d18mr778267plr.210.1592288024923; Mon, 15 Jun 2020 23:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592288024; cv=none; d=google.com; s=arc-20160816; b=Wd3vCYjlcHhsU3ryblHK+Z0T6RI1OSgV49XmmiXCqVR0U7TbtvdPipWllxHQRb/3ci WX1jjojhLqXgv0d/CiOzT21bFVhIEtrUN/u6XgKAbDeJDwSgJtUotgt8HPN3VKbU9n1+ AM2Gw2KaCx9KJ+KBySEG3KWG4sQAVdi5LXeRux3tB9o8LXUQ56v7KzUiOJCm3odj23t/ ZnToLXRuXKsFwFDTk+9+uo6ZpPOVuhRTWmPYj0YE5ddjc0Z5PYP3UVcjth+ZAaVLztI6 JI+guABGR1cNbH2p9Nv9LpsKzIqUeFaZf+dV53KcH8uyhV7mX+AN82J7PG+KpFm2Fya9 iJhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d8HNtFjVL/HPLva77WTnFKUW0Kvfs2vTc0BrF81DdWI=; b=YKnc95nQXgKqV4E8raRc7annEm2agJGYzSCZ7zyavoyvaAjDz/r8Zn10A4ztScsjXk jAdFqwA7Ni4Y8zy9YfraGYVVmw87ExvNmD9XTA6muUcjA87Kc4jRRDFFSO1/8lSCu97v 85kp6SQNNhOAxgvOwk0eSzQ8lrTQQohyLIjm9DSSZoFWowvxQuT24J+kAlMNHpw1+oYI Qwcv4wd0CFPhcOA9y8za5zMbmTeGIpAdgz/5B3VrlymLmUAU2qB8S16LQRZ2OCFVPcvC F6xhwiODwTY1qew6QjiJI2OmVUESNHEFDLywpEeiW3+lcLyGJYrBR10l/FJR3BH7R6zJ 8N0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v8pnncAe; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id t24sor2120205pjw.31.2020.06.15.23.13.44 for (Google Transport Security); Mon, 15 Jun 2020 23:13:44 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v8pnncAe; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=d8HNtFjVL/HPLva77WTnFKUW0Kvfs2vTc0BrF81DdWI=; b=v8pnncAeJ6EXVXBVIROBwY85MaUJaS+3cYpbNNYYzPLk/7pselZhTcoIxYzjCeyVv8 z7rLz6dynrZeFhSyjXXuzxJss8D71TgLPxY1wSvVrGHHBe36mvLVuJbyV7oeqmPxZPF4 3bBf2ru+qoskK42o6IV1MKU7khzwkAlxUiF86aroPb9CUN8SmEpvlRuPhbKl/aZW/n7x AWmFqLqQFiPnl3Li0QE+BVRXmEQzG3QuSiiUUYtPhE0RXGhRnX5RUcHPWqrprYghVulQ elANL0qhyySKvw/JSPWezE64h1v8gJgRUsY4bf8AXuO5qPZruWEfPRgNNcA9UaNhTmde rX1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=d8HNtFjVL/HPLva77WTnFKUW0Kvfs2vTc0BrF81DdWI=; b=GBDZnbhNNrpbu2erkPZN7g0O+de58TJA8uIM+4iAmr50BjMBDeUgYElNGgXU1SgLzk 9P9I0MkbMY3+lNY29No25ZXQsYFNpmef6Qvjw7VNrCz+FYfKp2HApahHkiWPjx9685jC 1OKe61sc0YJAykS4oarkciQEjUxMbrkmFPB2kVEqYhqBFkCW8aMa4N64BN2sxeTEBUaE F/574qrgL4vtgPYVImW4OHmUieEUhO7XVDRwZTgPqh6bXtCrUrz63dSatj3DlII9J4jC 4vHDo2IGoZ8LR1NHRuqeIoPDRyqhuT1r2AreOBef1PSGH5E7Fnapdj1+81s0ti44NGtp 6sNw== X-Gm-Message-State: AOAM530yhk1elvUbzIEFwJkTy8I7IaxW8Hd9R4aYNiM+mBON7T793HQG wH4QvVL0kynfALjMe0+C6naQTTcU X-Google-Smtp-Source: ABdhPJxCaVz3G+/geS1NzlugB57rAw/I7PZ2XURXxDE8DMjhkDv5DK9XyvrD63NMIlJN57XPvBQpCw== X-Received: by 2002:a17:90a:220f:: with SMTP id c15mr1308713pje.129.1592288024596; Mon, 15 Jun 2020 23:13:44 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id i26sm15642032pfo.0.2020.06.15.23.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 23:13:44 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Andy Gross , Bjorn Andersson , Joerg Roedel , Thomas Gleixner , Jason Cooper , Marc Zyngier , Linus Walleij , Lina Iyer , Saravana Kannan , Todd Kjos , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, iommu@lists.linux-foundation.org, linux-gpio@vger.kernel.org Subject: [RFC][PATCH 2/5] irq: irqchip: Export irq_chip_retrigger_hierarchy and irq_chip_set_vcpu_affinity_parent Date: Tue, 16 Jun 2020 06:13:35 +0000 Message-Id: <20200616061338.109499-3-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200616061338.109499-1-john.stultz@linaro.org> References: <20200616061338.109499-1-john.stultz@linaro.org> Add EXPORT_SYMBOL_GPL entries for irq_chip_retrigger_hierarchy() and irq_chip_set_vcpu_affinity_parent() so that we can allow drivers like the qcom-pdc driver to be loadable as a module. Cc: Andy Gross Cc: Bjorn Andersson Cc: Joerg Roedel Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Linus Walleij Cc: Lina Iyer Cc: Saravana Kannan Cc: Todd Kjos Cc: Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org Cc: iommu@lists.linux-foundation.org Cc: linux-gpio@vger.kernel.org Signed-off-by: John Stultz --- kernel/irq/chip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 41e7e37a0928..ba6ce66d7ed6 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -1478,6 +1478,7 @@ int irq_chip_retrigger_hierarchy(struct irq_data *data) return 0; } +EXPORT_SYMBOL_GPL(irq_chip_retrigger_hierarchy); /** * irq_chip_set_vcpu_affinity_parent - Set vcpu affinity on the parent interrupt @@ -1492,7 +1493,7 @@ int irq_chip_set_vcpu_affinity_parent(struct irq_data *data, void *vcpu_info) return -ENOSYS; } - +EXPORT_SYMBOL_GPL(irq_chip_set_vcpu_affinity_parent); /** * irq_chip_set_wake_parent - Set/reset wake-up on the parent interrupt * @data: Pointer to interrupt specific data