From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65091C433ED for ; Mon, 26 Apr 2021 00:43:45 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC8B66024A for ; Mon, 26 Apr 2021 00:43:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC8B66024A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Tf4DfhuL6+hWZ1NbsKuK2weyIl50bEIZguKwvAaMa1Y=; b=XG9YnYs4NdNt7OFCRxkfVR9DD euuoFDJ7lO+bWWkhyohvfvu/yBUJAAKONf9eEE/bralLU23bIoEx7IGnP3NZ4gTeKX1ZnqJQCjIrF WTX6sk1quojLDzBCZmG6Id3L/uBZejgxmDi9kzFJLrnSZeYnof6iZHhLYdsWFcbrrrpb1eBkA6a7C qJdzJYRWzu3PHjGeehQPR5bInhY6NN7YgaHVrJFlEW82K5WGiBvN1kT7GoaCPs881Br2m2GBjC5J5 8L/gnIiIOzWZBeq4oqGKzr7wxLqww6PJydV9oHNdw7I41UaKuechrxNQgE65PyzyB1/Lhn1HDHhc1 PrUYZLI3w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lapK6-006Y5m-7u; Mon, 26 Apr 2021 00:42:02 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lapK3-006Y5b-EX for linux-arm-kernel@desiato.infradead.org; Mon, 26 Apr 2021 00:41:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TXjxihzndDexm6xIop0V110XmoQxqXlGFxQfNvPS+WE=; b=emcGBXBvexaSui+6UBMtNhfTpF l8RKXaGYSVrz+/6sEgM1xTG8lG8OCasV4FbJIg/19kh4maV5AWz/8LcJ2UJ3nIsf4A2v7PHlNsmML MCS1/YmD69xdtm+m3NrEQ383Oys4IwH7BiE8UvGfF3YcBBrYxryxh7sBDuPlvSMPsPXkndxu1eXL5 HNAFd/lMo0lQt+/0hfou69pimrIGdRL8pGbkVaPZ2teAtpBFAmWMlrD+DMUzlignYlKHhGWjKNHUF n6h4ua2KIBbE/SDCOdZ1NNHpILwmFIDtfR//NzKM9mQBmVS381CvKxtJJ4jX0myuwlgNcmV2wodO4 kcffIOxg==; Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lapK0-00FfdC-Pf for linux-arm-kernel@lists.infradead.org; Mon, 26 Apr 2021 00:41:58 +0000 Received: by mail-pj1-x102b.google.com with SMTP id u14-20020a17090a1f0eb029014e38011b09so4249645pja.5 for ; Sun, 25 Apr 2021 17:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TXjxihzndDexm6xIop0V110XmoQxqXlGFxQfNvPS+WE=; b=RKHK3ySwpl3uhv+XiJVB0+R3LV/eaVUh6FG1Kp7mKU3vOhZknUmthOGB11EBkjfWU0 5fW0Uu6eOFR8abDlsrXZd/6/eedVjontkQiRB2kvMbHz5XHjNtioKTpvXcVyceqXtcjB BHrVuXndeOVN9G08cCrxri/vly4t+B3W5Td5rugBJjUrFBSQTPalJEJhCkhLpmowLe9E 7NPp5brT2gUXNDfICJOecYAE67VHT3+ZtD1QIqqAmNR/+gRvOMzjsaXe8+VZ01urmm6b vfiss8LIG/P4OShIkGfO2i/0qVm24UTaeL+Fzem36UqF82NNlTkzKhYV2wRvjX6FKNIU 4hhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TXjxihzndDexm6xIop0V110XmoQxqXlGFxQfNvPS+WE=; b=gi4CDmLM41aEwjgpdoqvSgdfy8fhWpiJ1bI56zZCQoU5M2NPxsuHNLlkFT3NIM2bzL EhdJGfuVzEGUWvZW0LcIuYn2nQ4j/N5DYyVrtTM/XJvRUPCmgOUVEUzsj4JfeAv5QX2q zlBQxjGKgrF2SPH6Ia8fxwpVH4Nvotf6W9OGTa0EGZu0y+RtCNeIsYJ2m3rtcxCf9GG0 0doNods+mBGYuIzpbE9n0wanJ9NY/tqjRCTgetKKd/I+9JUNhRiBMSOZvRmgCi49/C1Y LyaZKDqPoEMzC6ABRnQzTtb3b5IcM94W657RDw25Ivub/HnEtSroEMawEJCmf3GsKSQO G6ZQ== X-Gm-Message-State: AOAM532l7qH6AVdUXl1nU9n+OSqnU+KaLd6b2dZF3LtFCP76jqKDjDhc o8Z6U3r+j0lyOTAVnKDknnx+YYK/CxCUoAac X-Google-Smtp-Source: ABdhPJyjPyHk6bq1u1t0ihan1g3YNLCp+Kz5n5yt6faxD+AGdXzfUMj5KW4bSswtS/3VQ/HkjEO30w== X-Received: by 2002:a17:90a:6fa2:: with SMTP id e31mr19827422pjk.225.1619397715221; Sun, 25 Apr 2021 17:41:55 -0700 (PDT) Received: from dragon (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id f135sm9500137pfa.102.2021.04.25.17.41.53 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Apr 2021 17:41:54 -0700 (PDT) Date: Mon, 26 Apr 2021 08:41:49 +0800 From: Shawn Guo To: Will Deacon , Robin Murphy Cc: Bjorn Andersson , Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2 0/3] arm-smmu-qcom: Create qcom_smmu_impl for ACPI boot Message-ID: <20210426004148.GG15093@dragon> References: <20210402035602.9484-1-shawn.guo@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210402035602.9484-1-shawn.guo@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210425_174156_862976_E51BC0CE X-CRM114-Status: GOOD ( 15.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Apr 02, 2021 at 11:55:59AM +0800, Shawn Guo wrote: > The arm-smmu-qcom driver needs to hook up qcom_smmu_impl for booting up > Snapdragon platforms. Such hook-up is being done for DT boot by > matching compatibles. The series tries to handle the hook-up for ACPI > boot by looking at model identifier, which is figured out by IORT driver > using acpi_match_platform_list() helper. It helps to get Debian > installer booting with ACPI work for Qualcomm SC8180X based laptops like > Lenovo Flex 5G. > > Changes for v2: > - Rather than using asl_compiler_id in IORT table, follow suggestion > from Robin Murphy to use acpi_match_platform_list() to match platform. How does this version look? Any comments? Shawn > Shawn Guo (3): > ACPI/IORT: Consolidate use of SMMU device platdata > ACPI/IORT: Add Qualcomm Snapdragon platforms to iort_plat_info[] > iommu/arm-smmu-qcom: hook up qcom_smmu_impl for ACPI boot > > drivers/acpi/arm64/iort.c | 36 +++++++++------------ > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 6 +++- > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 9 ++++++ > drivers/iommu/arm/arm-smmu/arm-smmu.c | 9 ++++-- > drivers/perf/arm_smmuv3_pmu.c | 8 +++-- > include/linux/acpi_iort.h | 12 +++++-- > 6 files changed, 51 insertions(+), 29 deletions(-) > > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel