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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65405C7EE2A for ; Mon, 5 Jun 2023 19:51:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235864AbjFETvT (ORCPT ); Mon, 5 Jun 2023 15:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236094AbjFETvG (ORCPT ); Mon, 5 Jun 2023 15:51:06 -0400 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CB4610B for ; Mon, 5 Jun 2023 12:50:30 -0700 (PDT) Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-77a103c5ebbso11291139f.3 for ; Mon, 05 Jun 2023 12:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685994615; x=1688586615; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=qj96eUvKoVyqvxWWyYz9moBteO2fmVIfECBk0Ox5VEY=; b=STMZSD33gHDf4yEp0r7w8/lwSlDwikNrU3rWn7F4DQK+qezNqagQKOfmeC0cSP+d1f XTDRXMtbVlfqbEJJVADjfeLRW4kfHqXdgxev+t/5pVnBp4ewBpqbOAnSLMOW06VOnGY8 4QZalMhijYf20W1fkL+ySZscrfVyw3EXUdtOnSLC+E4Hbwci8yIXZpsqo67GOKL51SoV 4VDY2AK2B6KdhajPrJd4DtJhioPz+w7LAcpKzg0FbK1RAfEayv5BG0QtzNfg41d/WdKR ZU6GPL1DW9+Zh7rLiiDEkRCDwWk+GqEPaa41OwMBV9jV5b5GDq9dVpTL60TTK4VsqPqU bpoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685994615; x=1688586615; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qj96eUvKoVyqvxWWyYz9moBteO2fmVIfECBk0Ox5VEY=; b=i7txa7rYmnM2Is1LfBlP29UQV1VJ5jo48HE7GTlt9gZm7QJCe6H8ai7Psoc3LvSDuA z1w7iy7zAo2U7kPkEelxV93IUcu2VIiM86JsX4+sEObvGciOpY8KDtJgQx0SdFWhv1t9 mKP91LxkfS8sN2fIfyEWoXnow2Y1y7PunSIxkkkQspbiauwj9v3loew3Rm/we32uMkwr COc89JEBLLRuhBhR0UfwIKU8I+apQIhwXNZPtCM+DW+k6L89l37uvxcsy7679wZlruvi 0+ILAmPlVTJN60qq3wkbAvVV+WUMpHjmE11xuH9IJyZHnjbeKmCizqmdP+2Y2KfRdKiF uyqg== X-Gm-Message-State: AC+VfDzfEMg1EcrYoHqoMqeBN2JZPpQTfsZDnhBAx1qhuBhjj2+eAnXj CHBDiu6MOhfH+ETGA7vIXQ/IhGoibCubbSsctxUlQg== X-Google-Smtp-Source: ACHHUZ5wXvukrPBxMAZHWmjSdAni226Po6Q9DzB2+3Wm9ByxYquZ5Eoi9STvpAUMe2f/JT5UtMcAyw== X-Received: by 2002:a6b:7a0c:0:b0:777:b713:22ba with SMTP id h12-20020a6b7a0c000000b00777b71322bamr156583iom.11.1685994615620; Mon, 05 Jun 2023 12:50:15 -0700 (PDT) Received: from [172.22.22.28] ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id a26-20020a02ac1a000000b0041675393f68sm2338753jao.6.2023.06.05.12.50.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Jun 2023 12:50:15 -0700 (PDT) Message-ID: Date: Mon, 5 Jun 2023 14:50:13 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 From: Alex Elder Subject: Re: [PATCH v13 19/24] virt: gunyah: Add IO handlers To: Elliot Berman , Srinivas Kandagatla , Prakruthi Deepak Heragu Cc: Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Dmitry Baryshkov , Bjorn Andersson , Konrad Dybcio , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Bagas Sanjaya , Will Deacon , Andy Gross , Catalin Marinas , Jassi Brar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230509204801.2824351-1-quic_eberman@quicinc.com> <20230509204801.2824351-20-quic_eberman@quicinc.com> Content-Language: en-US In-Reply-To: <20230509204801.2824351-20-quic_eberman@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 5/9/23 3:47 PM, Elliot Berman wrote: > Add framework for VM functions to handle stage-2 write faults from Gunyah > guest virtual machines. IO handlers have a range of addresses which they > apply to. Optionally, they may apply to only when the value written > matches the IO handler's value. > > Co-developed-by: Prakruthi Deepak Heragu > Signed-off-by: Prakruthi Deepak Heragu > Signed-off-by: Elliot Berman Looks good. Reviewed-by: Alex Elder > --- > drivers/virt/gunyah/vm_mgr.c | 104 ++++++++++++++++++++++++++++++++++ > drivers/virt/gunyah/vm_mgr.h | 4 ++ > include/linux/gunyah_vm_mgr.h | 25 ++++++++ > 3 files changed, 133 insertions(+) . . . 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 06041C7EE23 for ; Mon, 5 Jun 2023 19:50:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:Subject:From: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7iMXwF/b3GWB5u5/0FHC2zVKLnnIUee+a8Zi6yOYAN8=; b=ZzZaGTuBOd+L3x xKYuH9Az1bUR74SkBq0oootcjx4oPANEjs28dgDrkCbQBWxfE89McmmA/SZXc0h/+r7XLFJ//0X2k HnF4ySqMEj0F9QfLiXfhshjJ63Zp9gGPfzwumvkAI+Yr3hPUpJnMvGTVE292r9s8cdySaiZkW6SjG bFH+KG8umnPbWh4GumfqTumLqIvoH7snYNOBCjbE6la0GT3lufbRI4VT/rMoWiwvc/zAXU2BH+TMY RTEKCX/cZJSvFYJzO7ZZ+sOr00zpbVFqyCrTeF3PpketXzRERvJy9QEwtUgfiHriNQYuUuwmoFcIL ttF2rdZGsWmo+yxwoySg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6GDa-00Gc7V-2P; Mon, 05 Jun 2023 19:50:18 +0000 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q6GDY-00Gc6O-0q for linux-arm-kernel@lists.infradead.org; Mon, 05 Jun 2023 19:50:17 +0000 Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-77a103c5ebbso11291339f.3 for ; Mon, 05 Jun 2023 12:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685994615; x=1688586615; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=qj96eUvKoVyqvxWWyYz9moBteO2fmVIfECBk0Ox5VEY=; b=STMZSD33gHDf4yEp0r7w8/lwSlDwikNrU3rWn7F4DQK+qezNqagQKOfmeC0cSP+d1f XTDRXMtbVlfqbEJJVADjfeLRW4kfHqXdgxev+t/5pVnBp4ewBpqbOAnSLMOW06VOnGY8 4QZalMhijYf20W1fkL+ySZscrfVyw3EXUdtOnSLC+E4Hbwci8yIXZpsqo67GOKL51SoV 4VDY2AK2B6KdhajPrJd4DtJhioPz+w7LAcpKzg0FbK1RAfEayv5BG0QtzNfg41d/WdKR ZU6GPL1DW9+Zh7rLiiDEkRCDwWk+GqEPaa41OwMBV9jV5b5GDq9dVpTL60TTK4VsqPqU bpoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685994615; x=1688586615; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qj96eUvKoVyqvxWWyYz9moBteO2fmVIfECBk0Ox5VEY=; b=NsJ8y0kcGPg1f0laWyLe68lg682j7oGvrnI+I2zkTpj0mLTlADKTVoEYSHM7muiaQ+ orVxMvmOaK6y/iYXIppwt0a1JGghx+OY2yE8FbOH9+sGWrIQxvLToOQ3YQUBxU5jI8aZ qvBNsp2x/kyylGVtE9x1gtJafKcFwh3ltzRkwi4i+BXmBNu7mE+MR4J0UwIdhR+aCArG pRIItzGDuOYig9+1odhaNkcFD+N5o5fzRBOhiO+hKPfg/zFoga+ohu/wEzasQtht/RKL 1gPDR+pR2L/bckPA+TB2ck1E7ujKHOy2cquvGFu21HnRXJe0To0DddNQvPPgcEDxoRo9 CScg== X-Gm-Message-State: AC+VfDwQ2YqU4J6hP9F4Zv14G+FPSnVnbXlweDvZW2xMvJKEkoeyHnHf budtvl5urENcHdLKNRJ4AthfJQ== X-Google-Smtp-Source: ACHHUZ5wXvukrPBxMAZHWmjSdAni226Po6Q9DzB2+3Wm9ByxYquZ5Eoi9STvpAUMe2f/JT5UtMcAyw== X-Received: by 2002:a6b:7a0c:0:b0:777:b713:22ba with SMTP id h12-20020a6b7a0c000000b00777b71322bamr156583iom.11.1685994615620; Mon, 05 Jun 2023 12:50:15 -0700 (PDT) Received: from [172.22.22.28] ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id a26-20020a02ac1a000000b0041675393f68sm2338753jao.6.2023.06.05.12.50.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Jun 2023 12:50:15 -0700 (PDT) Message-ID: Date: Mon, 5 Jun 2023 14:50:13 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 From: Alex Elder Subject: Re: [PATCH v13 19/24] virt: gunyah: Add IO handlers To: Elliot Berman , Srinivas Kandagatla , Prakruthi Deepak Heragu Cc: Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Dmitry Baryshkov , Bjorn Andersson , Konrad Dybcio , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Bagas Sanjaya , Will Deacon , Andy Gross , Catalin Marinas , Jassi Brar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230509204801.2824351-1-quic_eberman@quicinc.com> <20230509204801.2824351-20-quic_eberman@quicinc.com> Content-Language: en-US In-Reply-To: <20230509204801.2824351-20-quic_eberman@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230605_125016_304132_694F794D X-CRM114-Status: GOOD ( 11.41 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 5/9/23 3:47 PM, Elliot Berman wrote: > Add framework for VM functions to handle stage-2 write faults from Gunyah > guest virtual machines. IO handlers have a range of addresses which they > apply to. Optionally, they may apply to only when the value written > matches the IO handler's value. > > Co-developed-by: Prakruthi Deepak Heragu > Signed-off-by: Prakruthi Deepak Heragu > Signed-off-by: Elliot Berman Looks good. Reviewed-by: Alex Elder > --- > drivers/virt/gunyah/vm_mgr.c | 104 ++++++++++++++++++++++++++++++++++ > drivers/virt/gunyah/vm_mgr.h | 4 ++ > include/linux/gunyah_vm_mgr.h | 25 ++++++++ > 3 files changed, 133 insertions(+) . . . _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel