Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3100246ybt; Sat, 4 Jul 2020 06:21:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5M8S6PCxEi+KB88SV3+1PpnOLzS0QXcPVPtLuSY68iZ6uDw9hX58nGxUYkcEtEVJJ2IsS X-Received: by 2002:a17:906:8588:: with SMTP id v8mr37866257ejx.211.1593868907980; Sat, 04 Jul 2020 06:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593868907; cv=none; d=google.com; s=arc-20160816; b=T0TXRl06nrHras4C/Pxte/A0EvWz++YJQJjdvyGeOmTIUtJrcr4+BbIizg5xOZQwuB BqA8HoidKgodfjQO2Em49tzH5cAuWq9XAsPeETlBgANeb/omkHihPDRRZ5pASx0WmlFJ jtIcKUHyl1RSXRw2DyUogosKxYlQaKrMAa68udKIsAZ3NlBeal3/TbiuqJEB2A8xj7i1 MN1NwQ7aCXEtYe6i0cD/SnB42yI3ZHmkZhSm9DjLCG/c2xzrSPqxN/aQZ0+2NJ+cU62I 9YnyGr/A2/ct6AkZLeRL0XB9nDf3F0ndgfxckAXOZdVOuSUn76jAWwj6q4Blw7kKENz3 0brQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FxeWfdeiZs/rAf+ljgMaCrJoKxPAwF3x7YpavGdK0aI=; b=0FI4/7XVnIIOyN54Ja9cPB6RNg/hzc8jLUdX3h/u4e2hVFyL+pzZ5ZYhkGT6/YO0j6 xX6LpGrWD6vRa+gxHPOp58C0owaFiIhAvPCa7RD+RdAFtoLmaDhj4lr4QIrulYEMapjA PhOUOmBuxqwmGRj9rYfFXUiKb3qiBDCUeTAVel+Z8NAwzq/RtvPV43U0OuQsYortCRdt kk26IaxauY0+OmjD3untviumcWH7/4Dn4yEmpF3ALdVSiS2DZtaBZKpyNHtKVUvgaQAm 9rjdiKYqxJCZapn+k/vC0MCmChVYriQpRvrM+QvUcgXEpGeo6HMOLuccdncpWlm7ABXF sGJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k0AQLqmB; 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 h16si9621319edr.390.2020.07.04.06.21.23; Sat, 04 Jul 2020 06:21:47 -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=k0AQLqmB; 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 S1726723AbgGDNUm (ORCPT + 99 others); Sat, 4 Jul 2020 09:20:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbgGDNUm (ORCPT ); Sat, 4 Jul 2020 09:20:42 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5DB2C061794; Sat, 4 Jul 2020 06:20:41 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id l12so37255104ejn.10; Sat, 04 Jul 2020 06:20:41 -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; bh=FxeWfdeiZs/rAf+ljgMaCrJoKxPAwF3x7YpavGdK0aI=; b=k0AQLqmBs39X8hgGcZfrSBkkff33qKuj+PAa3/3V65/noDmQ9W9gBdNBEIm3GAiYWG K6z6S2fEzf0frf6VKldY8Gd2e3labO3XqPacm0GwJL0ye56QlNoLrQvh71TI/xADk4Uh ZkXB8LqAQ2QGY5G8fXCYj2K/pROMoNUc2tXHyIV+em8G8bX4fkC8m+EBzByr/hRBUdQc RkNjsKRyV9TcZLk3EruvbcRuMlkJxEtQ34ZyIW5oxcPuvABduPtZpncxH7AvHqQCOqBX JCEH2AQ0xqWNz0m0odvp1ziGDp9a0jNHZZakGHeTRWpHkhw8Wlo3hjBRgnzW4nZOzCKk AK4Q== 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; bh=FxeWfdeiZs/rAf+ljgMaCrJoKxPAwF3x7YpavGdK0aI=; b=i/eBDyrujDQFc4aJUDVEmndn4BWwgOCCyfmB3Z99rox1sdPy3tq+5dzpqL1F3hZthO OzHyeJP+VA5WwO/UpP0GotnK4aGt+o7XiFRytbuV8w1G1czBpMLfouSZwkZSAMODm2/p dn3fsbe9/gkmDol+FxNybn1ueAAUxwt2j1I/84erRBhAaYe7JcIyW9vv+JLieL6Noxqq 08AyqrfaLgIVJ1ZkG1Vt+tM4W7pc/wOiToQ2g31b5C0FL4bJNyDY6MHklzia2nCiAEiw amwmanDZQvRDG3UUgbmd64KrsLogkP4fXuOo0rZi55dhJcxhsE5iTI7OKUp6SXJWMqS9 VLWw== X-Gm-Message-State: AOAM532Itmt5/+rdo5c51nS/Ze5072k3yqICUq5Q43jVTab2MykB2t9n ScnDlieabOa0KCuGJI8CpQ3exdP8CAe+js/f7pI= X-Received: by 2002:a17:906:70d5:: with SMTP id g21mr19049076ejk.340.1593868840390; Sat, 04 Jul 2020 06:20:40 -0700 (PDT) MIME-Version: 1.0 References: <20200704122809.73794-1-konradybcio@gmail.com> <20200704130922.GB21333@willie-the-truck> In-Reply-To: <20200704130922.GB21333@willie-the-truck> From: Konrad Dybcio Date: Sat, 4 Jul 2020 15:20:04 +0200 Message-ID: Subject: Re: [PATCH 1/1] iommu/arm-smmu: Implement qcom,skip-init To: Will Deacon Cc: skrzynka@konradybcio.pl, Robin Murphy , Joerg Roedel , Rob Herring , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, DTML , Linux Kernel Mailing List , Bjorn Andersson , jcrouse@codeaurora.org, john.stultz@linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > It would probably be better to know _which_ context banks we shouldn't > touch, no? Otherwise what happens to the others? > Do we not need to worry about the SMRs as well? This was mimicked from CAF (think [1]) and the SMMUs don't make the hypervisor angry anymore, so I wouldn't be too picky on that if it works.. [1] https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.7.1.r1/drivers/iommu/arm-smmu.c#L4104-L4109 Regards Konrad