From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B491369D7A for ; Fri, 7 Aug 2026 07:42:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786088569; cv=none; b=LL+s2aid4DJs2q2LhLMbfoQmsymxAs8/msT8N8wcGfNbUHUq6plLi+ZqhTA6nwl4mJxBgYmHDq43/sgqcLCazcCp8ezesR/vovou11X0BEQQ8ednTAANZfVgDDeCeYJtWu9sHGoDHUbYOKGCmFQmFel3IxKq1QXhHEQopMuC5Dw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786088569; c=relaxed/simple; bh=5JeEmtsguDHXKCG6/FSGhr0jj5zQcfMVjdea7DqcvmE=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=ax2ouMq7YYHHJIRulU87+ENG0I2CFo0X/qsEkD60rB23YVEvPJDK4vSf5z37hc6USKl8D6ushTjaznLwDDcIP9Iz51ASDIPnCI8uRS/p9QBl/uwRtHEy9DCGbuEZt6uI5ak5mGfznRsRBI6gyCV1KtjH+y9rHjkvfl23bFU7mX4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=osyx.tech; spf=none smtp.mailfrom=osyx.tech; dkim=pass (2048-bit key) header.d=osyx-tech.20251104.gappssmtp.com header.i=@osyx-tech.20251104.gappssmtp.com header.b=FdOLxL3v; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=osyx.tech Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=osyx.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=osyx-tech.20251104.gappssmtp.com header.i=@osyx-tech.20251104.gappssmtp.com header.b="FdOLxL3v" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-47f84023916so2795266f8f.3 for ; Fri, 07 Aug 2026 00:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osyx-tech.20251104.gappssmtp.com; s=20251104; t=1786088566; x=1786693366; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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:content-type; bh=sryGv+S1OFsRnB1y6bXfWiD/UiD8x5RMl0nBJ4p29PM=; b=FdOLxL3vCGIlvl/g1dcMiMn+Sgka7d6AGoLSX5hqtfh3HAsDTa7lcOFMKjDVXQlOO6 2LHd7k+agH4usFmyGmHGIVSME2SWe7qbh/znbWafE2XEBX2n6pCDubvB4hqpFwiBDACo MI9Ix1ybs1kh4hoTJ0Jp09nJw1+GFmRxRxn3DYMfGVs6o3ET++3s3lsgVgTprKt18vZ7 Mo2GR1bCT0AVKF+O1XhBB8/0gQh69DFbivC60YtUPmi5dBW/hdDedaI4X9Qz7KM/icDg tfjYqfy2zO/oKe76cRVgyPHbGOY9a5V4q7tL4JrhUgs47qC3301Nh8oC6tUbeJs0WuX0 x6+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786088566; x=1786693366; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:subject:from:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=sryGv+S1OFsRnB1y6bXfWiD/UiD8x5RMl0nBJ4p29PM=; b=VQSoZ2DhugGEZBkV0GmddYl6MPcaoAZS8fMozujGSyUi/jokO04QTI4xX9w+RgZeev ddhkMd8+fDE3ePd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jcNniA== X-Received: by 2002:a05:6000:4704:b0:47f:6b9a:9d48 with SMTP id ffacd0b85a97d-47fec507a4cmr33818000f8f.13.1786088566064; Fri, 07 Aug 2026 00:42:46 -0700 (PDT) Received: from ?IPV6:2001:8a0:f59c:a900:2600:fba1:8d1e:1692? ([2001:8a0:f59c:a900:2600:fba1:8d1e:1692]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-480021506desm3339493f8f.10.2026.08.07.00.42.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Aug 2026 00:42:28 -0700 (PDT) Message-ID: <402b7510-d695-45e6-b39b-e0cd2d61657f@osyx.tech> Date: Fri, 7 Aug 2026 08:42:26 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: =?UTF-8?Q?Jo=C3=A3o_Peixoto?= Subject: Re: [PATCH 2/6] virt: bao: Add Bao IPC shared memory driver To: Randy Dunlap , joaopeixoto@osyx.tech, linux-kernel@vger.kernel.org Cc: ajd@linux.ibm.com, alex@ghiti.fr, aou@eecs.berkeley.edu, bagasdotme@gmail.com, catalin.marinas@arm.com, conor+dt@kernel.org, corbet@lwn.net, dan.j.williams@intel.com, davidmcerdeira@osyx.tech, devicetree@vger.kernel.org, dev@kael-k.io, gregkh@linuxfoundation.org, haren@linux.ibm.com, heiko@sntech.de, jose@osyx.tech, kever.yang@rock-chips.com, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, maddy@linux.ibm.com, mani@kernel.org, nathan@kernel.org, neil.armstrong@linaro.org, palmer@dabbelt.com, pjw@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, robh@kernel.org, will@kernel.org References: <20251224135217.25350-1-joaopeixoto@osyx.tech> <20260107162829.416885-1-joaopeixoto@osyx.tech> <20260107162829.416885-3-joaopeixoto@osyx.tech> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/7/26 18:54, Randy Dunlap wrote: > On 1/7/26 8:28 AM,joaopeixoto@osyx.tech wrote: >> diff --git a/drivers/virt/bao/ipcshmem/Kconfig b/drivers/virt/bao/ipcshmem/Kconfig >> new file mode 100644 >> index 000000000000..966bb75aa495 >> --- /dev/null >> +++ b/drivers/virt/bao/ipcshmem/Kconfig >> @@ -0,0 +1,8 @@ >> +# SPDX-License-Identifier: GPL-2.0 >> +config BAO_SHMEM >> + tristate "Bao hypervisor shared memory support" >> + help >> + This enables support for Bao shared memory communication. >> + It allows the kernel to interface with guests running under >> + the Bao hypervisor, providing a character device interface >> + for exchanging data through dedicated shared-memory regions. > Please follow Documentation/process/coding-style.rst: > > 10) Kconfig configuration files > ------------------------------- > > For all of the Kconfig* configuration files throughout the source tree, > the indentation is somewhat different. Lines under a ``config`` definition > are indented with one tab, while help text is indented an additional two > spaces. Example:: > > config AUDIT > bool "Auditing support" > depends on NET > help > Enable auditing infrastructure that can be used with another > kernel subsystem, such as SELinux (which requires this for > logging of avc messages output). Does not do system-call > auditing without CONFIG_AUDITSYSCALL. > Fixed in v3, the help text is now indented one tab plus two spaces:   config BAO_SHMEM       tristate "Bao hypervisor shared memory support"       help         This enables support for Bao shared memory communication.         [...]         If unsure, say N. Thanks for catching it.