Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F2A4AC433EF for ; Tue, 14 Dec 2021 12:38:29 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.246710.425469 (Exim 4.92) (envelope-from ) id 1mx74N-0004bv-Vk; Tue, 14 Dec 2021 12:38:11 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 246710.425469; Tue, 14 Dec 2021 12:38:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mx74N-0004bo-Qm; Tue, 14 Dec 2021 12:38:11 +0000 Received: by outflank-mailman (input) for mailman id 246710; Tue, 14 Dec 2021 12:38:11 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mx74M-000421-RZ for xen-devel@lists.xenproject.org; Tue, 14 Dec 2021 12:38:11 +0000 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [2a00:1450:4864:20::12f]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id b2050bfe-5cda-11ec-9e60-abaf8a552007; Tue, 14 Dec 2021 13:38:10 +0100 (CET) Received: by mail-lf1-x12f.google.com with SMTP id z7so36512293lfi.11 for ; Tue, 14 Dec 2021 04:38:10 -0800 (PST) Received: from [192.168.1.7] ([212.22.223.21]) by smtp.gmail.com with ESMTPSA id r5sm1879323lji.132.2021.12.14.04.38.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Dec 2021 04:38:09 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: b2050bfe-5cda-11ec-9e60-abaf8a552007 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=fEoG2D1+lzGwxI9iKVc9jEyaXpS5rk2Da8vud5FGmZY=; b=i18JZ8UOcByRAgriEWMc5gMvcvhJgUzrwjnSzZCBHPND13enFnoZ5nBQX6Fr6owOuH GZJFmnGlG4sAJ0fMgwFO1E7vwBBCtpjKHfRTisgElzba/KSMxaKPYsmGxNgYzzacG2yi e5b8L7IxNcNW0AorAjIoC4gliDtNl+pNqTBeLwk76SOng4ONEVcu0KBUC3a3owQq6tUW cFLwEVceVgktxUrWzg69sp096S8VbRL6Qgiaqp+wE9gPt3fbL63jV7L027dtKCtbYWwS igEpjDjaKNtSIKtV0GvCAv9gARd+v0NrYVZNQSgf6hWwo40Syuk4Np1xk2+vSJebV0sd xpDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=fEoG2D1+lzGwxI9iKVc9jEyaXpS5rk2Da8vud5FGmZY=; b=v4veQGPqiUtvYPbl1KGz4bpaqEq+91cEW7RKjhPI1cyetgAtsF6+oc/w4YA8XzvMuM w65LCTlKGj7lNkkjzb2Qb3xoiuQfE+boJsZo2m/b8q0Trquo4n5O01tKRJiHJi+CT00m tDxC5vJS15JyWCPOmISdVTF/JpCM+dJZ2K8H3+RWAS0AhCgycGv2jeCdgBT1lLbOxrcX x60UeNY2Z/iJvEAzpBxOI+IA3cStxliWzYECL8isUOlcEa/bnLLejnxbwHevs7WIBxfj 0VccbynGBndzPq+dPmR/WEdc+UXCDFCjGxLU6YXOjXdK/Gx+K9znPnPwusVwOmlqBgQg 0pdQ== X-Gm-Message-State: AOAM533RbwEmBMO4+RU/SVqLadiOiAKd7RubPEMFlW/uLSZ9ZzhXM9Ie Xf1SFu4sPFEAeIKX2bqph3A= X-Google-Smtp-Source: ABdhPJyg6Wd45KiqBhUprtCyaJ+CDTKuTGLIcB8KvxyjeJGkvbS3jv8wEULy19O78YFkW5m52heU+Q== X-Received: by 2002:a05:6512:1510:: with SMTP id bq16mr4288388lfb.628.1639485489746; Tue, 14 Dec 2021 04:38:09 -0800 (PST) Subject: Re: [PATCH 07/10] iommu/ipmmu-vmsa: Add Renesas R8A779F0 (R-Car S4) support To: Yoshihiro Shimoda Cc: "xen-devel@lists.xenproject.org" , Oleksandr Tyshchenko , Jan Beulich , Paul Durrant , Stefano Stabellini , Julien Grall , Volodymyr Babchuk , Bertrand Marquis , Oleksandr Andrushchenko References: <1638035505-16931-1-git-send-email-olekstysh@gmail.com> <1638035505-16931-8-git-send-email-olekstysh@gmail.com> From: Oleksandr Message-ID: <0c41033e-fffd-1d47-a4d9-a8d28f0b835e@gmail.com> Date: Tue, 14 Dec 2021 14:38:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 14.12.21 14:10, Yoshihiro Shimoda wrote: > Hello Oleksandr-san, Hello Shimoda-san, > > Thank you for the patch! > >> From: Oleksandr Tyshchenko, Sent: Sunday, November 28, 2021 2:52 AM >> >> From: Oleksandr Tyshchenko >> >> Based on the following commit from the Renesas BSP: >> 7003b9f732cffdc778fceb4bffb05ebb4540f726 >> located at: >> https://github.com/renesas-rcar/linux-bsp/tree/v5.10.41/rcar-5.1.3.rc5 > I would like to reuse an upstream-based patch instead of this BSP patch. Makes sense > Linux upstream doesn't support the IPMMU-VMSA driver for R-Car S4 yet, > but I believe the following patch can be helpful for R-Car S4: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/iommu/ipmmu-vmsa.c?h=v5.16-rc1&id=7a62ced8ebd0e1b692c9dc4781a8d4ddb0f74792 > I have a plan to modify the Linux IPMMU-VMSA driver for R-Car S4 in the future. > - The ipmmu_features_r8a779a0 is replaced with ipmmu_features_rcar_gen4. Thank you for the pointer, I got it, will do. > > I'll review further patches (8/10 through 10/10) tomorrow or later. Thank you! > > Best regards, > Yoshihiro Shimoda > -- Regards, Oleksandr Tyshchenko