Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6090556rwd; Mon, 5 Jun 2023 12:54:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7FQyrzplE3jpJlPMRml/xnSHB+E6QEqDK+vtTpNAeag0BaFmeIB4+70ZodEl3PFnopNXaO X-Received: by 2002:a05:620a:1a09:b0:75b:23a1:3ff with SMTP id bk9-20020a05620a1a0900b0075b23a103ffmr990299qkb.21.1685994897355; Mon, 05 Jun 2023 12:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685994897; cv=none; d=google.com; s=arc-20160816; b=VbNfoYAZQWqKWBY064EVwtGRMPy7MfUe7e9fSipaOiPwtsP2yYGd+6dkiHdflrePAF sWhnZ7mjImy5Vm08wm0kuogp6UZAOawJn9L6QwPE1wMLSWOuOF82fkf+5Soo1dnue0r7 1I/rIpvLsesWkr9swekM/DcHY7TXXZFkvS+NEaRa8gXIEVCRZeGXCIsDA37nzYxriTNv OLFXqtWt+TWyuk/+ZxHDxQ7w2tfI1qxYF6+xIBrtYMCGVzkX9pm7gaQUQWJOpEaahuQj pLlymofnsAVknSIAbLrzuczeDh/4uj3gtghN/ve8N+dxg40nD3Vw9bOdXfpAokskW0Nk 5WgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=qj96eUvKoVyqvxWWyYz9moBteO2fmVIfECBk0Ox5VEY=; b=WRxKowgosXSjgIQKX/00u82gW/Fxj3AF3xZVOLt2dPJ/SJdL3LR7YTHvIMuTfapgf1 CaZj0XqRChRA96jUu9GTCfovprSxNhcSNjEMska+vts3jsVF6XRgnTrHr/yuThqddxhT U29XyEH7ixkea0bJqjrl/ukQqBjOrZsjJtYCDqFhvYJ1VeMHO8HULfgtB4Tbw0bG8eDq bgRPjgcoN94qxWf20MXkTk6BMZJtbb4KjCOrQxB/BGJAJmcBjZZzRPaoL7WsUO2iWndo 1T+tT4klEvByIg4VYJVZskoD4BkSR+V5Eb2oqOozWvJD6zISNsutxr9a8W/2pn8YRY7c NC4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=STMZSD33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pe2-20020a05620a850200b0075b0f18584asi4875122qkn.445.2023.06.05.12.54.41; Mon, 05 Jun 2023 12:54:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=STMZSD33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236207AbjFETvU (ORCPT + 99 others); Mon, 5 Jun 2023 15:51:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235952AbjFETvH (ORCPT ); Mon, 5 Jun 2023 15:51:07 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 339E3F4 for ; Mon, 5 Jun 2023 12:50:31 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-777a6eb3662so70151339f.0 for ; Mon, 05 Jun 2023 12:50:31 -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=S/Hrrq7lNqxOtmFM4iwODI1ppedeJNGYEL9arIRpGyR3UZ4BxR078emHCVxf3GXUTl Pa0NrNwoPhidWcMFYNPeBqwwVMrCLBU1mtbg5Gt5y76li/dD+dr4LGdCfPBS3s7oVEW5 2SinIl7hlHprEqTcZnDZHxVasJfRiLoSoPDiU/xR5RymVqZ25ZXsRJp/W0FVpUzr0CQ3 xQk6MlMdSc07rwvJAG4Jg/Wsin9jDfDEc7geS7/vZcZGcvAe0BZfWKs4qB7rBbCwQUrd B6jZBHcpNowdW2KdyiW4g3PLJeOd/h+St991N6rUzuG7YW0WMXnWFMVSqrGZr6KSr4Ug C7Aw== X-Gm-Message-State: AC+VfDxO0MTx0UJABAZfv8VyTPMulwra2Q1dqJ5z9f7zuFPlcio2cbIk yLXRxpNYT10B/It/Y6Hfp/8nHg== 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 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) . . .