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 20311C433FE for ; Tue, 11 Oct 2022 09:37:34 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject: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=RXpPoh61HZKvs/37g8bdpu7SZXwArHejk4nfBW5f5+Y=; b=NsXlqsvmSXKQvH ym/7amGCkkbxcm2RPaQ1I3Srl6i2aHqy6BJiJr3sHBYfYg0M8VxIBi3tuBsDPT75OaDRnw1IhxiVq +9LsMaNP2aJZ5145DWEeOnQr+89EB+NorbYBAfCI5GVt3dEoEecX4fVs+P9JQ/cZGwGq20WF8MEM/ 3NKM4rxSqmDdI/lahW9R0NKasdJbz0NyBv+K1DSpja2aMsxuojQeH6yXZhxn5dbGTZHlGa9jF2AzL GthrUpJvk/tnu0PNLNeOFl1pbiBU4luM8Secya8dvDblsYQJnfavA355VlX5DUM7tflUUzhL2sLMR FMyRB/LGPhPBEgZfWz2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiBgX-003rR6-7o; Tue, 11 Oct 2022 09:36:25 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiBgT-003rQg-Oz for linux-arm-kernel@lists.infradead.org; Tue, 11 Oct 2022 09:36:23 +0000 Received: by mail-pl1-x62a.google.com with SMTP id f23so12695331plr.6 for ; Tue, 11 Oct 2022 02:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IjEDzCZ7FMePv51+qKNV+Auv7I6iSTsYL37Gle+Fwyc=; b=NXfKM567zgYtZA7LDsbzhbC+Pvmgn4PnLcx1kwCHYGgJBm0o4SYOJnxOaBQWprRrLF S/NEBBXdxZYzk/7cSjBhU2UNpokd+ZjYdmMbbwsWFBIaLn0dH6W1d28ibXODolxh9dfR EsbDWrS71dp2RdeIN2DotRAbrE41OuT4Y1r+XMboP0Y2pfbIqnwrFl+Au86IIgSoCzOV 4XX0qkJKBrrXaGRL8quhHeszk1W1LWJwkCuTRrMhipphUmr8jmPPES89s8/RmCwkQQnc zgK0cwCYYtiSjRiluB7yzvW9FrHyZCY8tm5Gg3S2F6+4exdzPQB+cu0E8YBRsQ7QkjJy tpcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IjEDzCZ7FMePv51+qKNV+Auv7I6iSTsYL37Gle+Fwyc=; b=5Uy7mk/17ZP6WNQmPG5qLYFzhVeqDPspucJ7OGKt9J3keJTgT0TLkS/moRt5rsVnOo FKX1J7VFRyTcpjI0or1WhhPJaBwteWy+ZyVKjABNSFtaBoYtRDXIBDFLKcIITPbjD8gf kWtNZfkZB9bQPRJXqI8WtlkwtQ5rOB2n83N46um+O6u/5jJSGcgiTVCYNA3lGCxPaY7y 7f0E2ot07JjVABxp6lkIY2zFRmXgG/MbhULHR8nA3fzxDQBl85wv2s/kOlnlSy3eh/bm n9ngsSXHLQJmIyqiFjmJNK+mQ2Y+dUphTl604KNHFN7qvgqo1JXpYO12CKCjZyptsnLO wMhg== X-Gm-Message-State: ACrzQf3/10mrR+yfcUUT4V5Yc2zqOe1F4cBMb2gRFfyjdbFzcELHUX4E CJdnt2OiFLPT60Tb/WaH/AI= X-Google-Smtp-Source: AMsMyM7WhVZF+nawGLSBaVkAAb7yHhMnsbIsfdU06GHec1RRjpnYOayT9epY9SV/ItigASfR9LongQ== X-Received: by 2002:a17:90b:1b4f:b0:20d:363d:7943 with SMTP id nv15-20020a17090b1b4f00b0020d363d7943mr12728402pjb.106.1665480979825; Tue, 11 Oct 2022 02:36:19 -0700 (PDT) Received: from [192.168.43.80] (subs32-116-206-28-57.three.co.id. [116.206.28.57]) by smtp.gmail.com with ESMTPSA id n15-20020a65488f000000b0042bf6034b3fsm7537757pgs.55.2022.10.11.02.36.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Oct 2022 02:36:19 -0700 (PDT) Message-ID: Date: Tue, 11 Oct 2022 16:36:10 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v5 01/13] docs: gunyah: Introduce Gunyah Hypervisor To: Elliot Berman , Bjorn Andersson , Jonathan Corbet Cc: Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Prakruthi Deepak Heragu , Andy Gross , Dmitry Baryshkov , Jassi Brar , linux-arm-kernel@lists.infradead.org, Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Will Deacon , Catalin Marinas , Arnd Bergmann , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221011000840.289033-1-quic_eberman@quicinc.com> <20221011000840.289033-2-quic_eberman@quicinc.com> Content-Language: en-US From: Bagas Sanjaya In-Reply-To: <20221011000840.289033-2-quic_eberman@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_023621_855291_D3FDF40D X-CRM114-Status: GOOD ( 11.90 ) 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 10/11/22 07:08, Elliot Berman wrote: > +The diagram below shows how message queue works. A typical configuration involves > +2 message queues. Message queue 1 allows VM_A to send messages to VM_B. Message > +queue 2 allows VM_B to send messages to VM_A. > + > +1. VM_A sends a message of up to 1024 bytes in length. It raises a hypercall > + with the message to inform the hypervisor to add the message to > + message queue 1's queue. > + > +2. Gunyah raises the corresponding interrupt for VM_B when any of these happens: > + a. gh_msgq_send has PUSH flag. Queue is immediately flushed. This is the typical case. > + b. Explicility with gh_msgq_push command from VM_A. > + c. Message queue has reached a threshold depth. > + > +3. VM_B calls gh_msgq_recv and Gunyah copies message to requested buffer. > + Seems like you forget to apply my suggestion fixes at [1]. [1]: https://lore.kernel.org/all/YzUUaIx+azyzFDNX@debian.me/ Thanks. -- An old man doll... just what I always wanted! - Clara _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel