Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp272004ybl; Tue, 28 Jan 2020 02:59:45 -0800 (PST) X-Google-Smtp-Source: APXvYqz1YM9W6z8nDX4IWxorhRxaD6tEtsq5gUCrFvwQP+mtOp4nn5a6S4elIq5rDDlniONzE42n X-Received: by 2002:a9d:6e05:: with SMTP id e5mr7366219otr.46.1580209185719; Tue, 28 Jan 2020 02:59:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580209185; cv=none; d=google.com; s=arc-20160816; b=pvpzGx6/fAt5bEASo2xKOSygwt0slrXeA5x0jn0KEGfDJLAgBjTZY1i+C6iIWKpjhA HhAP9K1Zc2fmWc8JJQW8GMpuHcwA4sSy5o8T5tJ6HzJDvUEMYBL5EKnmD3qGksGhc4ku BLhAdlaq035n5Iwo+EKQXvKFl+4obsWR0L3xdnumL3o/bhvZxJVprenlUkcKvImPiURB z825lWoYLwb5nG4fFx2xev0VEmBzSFJ3uwNbdA95+8LC42/qn6zk9rvPJPOFKXcsq0qQ LQZ0F9OYFVqjEYHd6oM0QcgkcHvxDU02CvreCdrSOCNLc0WNtWa16ImLsKOFuN4T2fT3 jCLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=SiRv6gOxuZz14L5uPr4rYG0eJ7xONsGqQxXQaPqZ08Y=; b=U2ELeLYf6wGAAZ38R4Bt+Mq11X4igyKhz6JHDFRpfMSuDTd7HJJEHoIAh3iKp8vFJ8 XYDGXzogOhaNN5KyI1CGgPepDw6u+CqRB0ZWkOx/T/qrKMGi2+BXoA/yzgnbBdCPmid+ GmTfv8NfBYyXL6jRRDe6H+aNPu/W8/CuO0j1KpbIsFp9hy139EtPCwgFz3OytymxT4as UqqoFS2N71LA4Sne7gHkXlMN/YB+Or/ZxaXMpv5D2cNPbeQirZSum7EmjxC3NoAvf58L 95ymZlnCQBqCMJDzuYJhkOjH3TWsg3uMzqw+MSOucfAFnHNrJNOmy5t5OzKe3Eljbg30 dCLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1ctD0lbu; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x19si6666442otk.89.2020.01.28.02.59.32; Tue, 28 Jan 2020 02:59:45 -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=@kernel.org header.s=default header.b=1ctD0lbu; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726007AbgA1K6d (ORCPT + 99 others); Tue, 28 Jan 2020 05:58:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:35148 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgA1K6c (ORCPT ); Tue, 28 Jan 2020 05:58:32 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 022272467B; Tue, 28 Jan 2020 10:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580209111; bh=fPIGD7bZiuPsICx66b+4r7EJxaT51+ZFDK7Fnb9seEk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=1ctD0lburdWt3ZOtVj5XjYkEhuGI8R5O7+QvVol5aKA4A/kVC5guTaNEXrw4S+q7C ROcM5bCZuKIpf1xHbcixgP2r6MHVi4yBvKGo9D46PITetF2dNVQ29fOpZ1T4os+5tm 1AAyEH+The9/aovJDctEl2W6zefngSGCDwPsxEhU= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iwOZh-001naq-9h; Tue, 28 Jan 2020 10:58:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 28 Jan 2020 10:58:29 +0000 From: Marc Zyngier To: Makarand Pawagi Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux@armlinux.org.uk, jon@solid-run.com, cristian.sovaiala@nxp.com, laurentiu.tudor@nxp.com, ioana.ciornei@nxp.com, V.Sethi@nxp.com, calvin.johnson@nxp.com, pankaj.bansal@nxp.com, lorenzo.pieralisi@arm.com, guohanjun@huawei.com, sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org, stuyoder@gmail.com, tglx@linutronix.de, jason@lakedaemon.net, shameerali.kolothum.thodi@huawei.com, will@kernel.org, robin.murphy@arm.com, nleeder@codeaurora.org Subject: Re: [PATCH] bus: fsl-mc: Add ACPI support for fsl-mc In-Reply-To: <1580198925-50411-1-git-send-email-makarand.pawagi@nxp.com> References: <1580198925-50411-1-git-send-email-makarand.pawagi@nxp.com> Message-ID: X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.8 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: makarand.pawagi@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux@armlinux.org.uk, jon@solid-run.com, cristian.sovaiala@nxp.com, laurentiu.tudor@nxp.com, ioana.ciornei@nxp.com, V.Sethi@nxp.com, calvin.johnson@nxp.com, pankaj.bansal@nxp.com, lorenzo.pieralisi@arm.com, guohanjun@huawei.com, sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org, stuyoder@gmail.com, tglx@linutronix.de, jason@lakedaemon.net, shameerali.kolothum.thodi@huawei.com, will@kernel.org, robin.murphy@arm.com, nleeder@codeaurora.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-01-28 08:08, Makarand Pawagi wrote: > ACPI support is added in the fsl-mc driver. Driver will parse > MC DSDT table to extract memory and other resorces. > > Interrupt (GIC ITS) information will be extracted from MADT table > by drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c. > > IORT table will be parsed to configure DMA. > > Signed-off-by: Makarand Pawagi > --- > drivers/acpi/arm64/iort.c | 53 +++++++++++++++++++++ > drivers/bus/fsl-mc/dprc-driver.c | 3 +- > drivers/bus/fsl-mc/fsl-mc-bus.c | 48 +++++++++++++------ > drivers/bus/fsl-mc/fsl-mc-msi.c | 10 +++- > drivers/bus/fsl-mc/fsl-mc-private.h | 4 +- > drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c | 71 > ++++++++++++++++++++++++++++- > include/linux/acpi_iort.h | 5 ++ > 7 files changed, 174 insertions(+), 20 deletions(-) A general comment when you do this kind of work: Do not write a single patch that impacts at least three different subsystems. As it is, it is unmergeable. Now the real question is *WHY* we need this kind of monstruosity? ACPI deals with PCI, not with exotic busses and whatnot. If you want to be creative, DT is your space. ACPI is designed to be plain and boring, and that's how we like it. Thanks, M. -- Jazz is not dead. It just smells funny...