Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp263966rdb; Thu, 22 Feb 2024 03:03:17 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXnkSrGQoRceTn/bvrjM5wW2bAldj/aLLz3QE5ynQt4oyZsQlCSOob110Jl9p3WGcTt1rcK4a4+GtRFAVe5yvEKsx9D5XQ7227eiMrWWg== X-Google-Smtp-Source: AGHT+IHZBFLuKpIa4DceZAh2iBC0V8oRX1kTbX5JPdVt2wCcYAvAqF/K0Hn58WnYjxos+f7NcGi7 X-Received: by 2002:a05:6e02:e04:b0:365:4c07:8168 with SMTP id a4-20020a056e020e0400b003654c078168mr6136320ilk.27.1708599796684; Thu, 22 Feb 2024 03:03:16 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l25-20020a63ba59000000b005d64d951c89si10309448pgu.143.2024.02.22.03.03.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 03:03:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76370-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-76370-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76370-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0895BB267D3 for ; Thu, 22 Feb 2024 10:56:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 138D441212; Thu, 22 Feb 2024 10:56:37 +0000 (UTC) Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (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 07B303FB20; Thu, 22 Feb 2024 10:56:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708599396; cv=none; b=Fls+nbbTjWjvsEwr6Dwb4KlFrKqJHVMLv9WBkYYPP9J2PzIe860wuG0at7HCfwEc3Bqs7J/x6+CgxYkP8hQ5fA99z/xmzaO1J91/O4bPK5kel1I5cxaAo3mNxXP/2P9RFH8OCw0DiYygsQp7n1as7Z6x6S5UOU1CtFLD5qfSROU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708599396; c=relaxed/simple; bh=8g+lYpN8PpwWg0/O+aRDucx/TvK0rLYZ+SiW1gOuKe4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=QvBpPs/94nTQV0/CYgQAyrrh63pmSoEPGWjgzJSgpxv/93/PyIqwvGPv13UmxK0so86l1/xKQp0FeNUGqUceksg45JVIU9Q0OmYuTp6LNdw2ubaIWiNLCgFbXZayXJV214Wy6ULYcFkwTL0EjoPOCBky1qEtiAHCK0+9opYJd9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.128.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-6087192b092so17504617b3.0; Thu, 22 Feb 2024 02:56:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708599393; x=1709204193; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X6Mwqh7Sl6bufwbB2Ww13UZ/ncmsWLmvES2OI56tSlk=; b=ryICKrceQLTd5gSoO39lN9v/nDdf8HkU18sgFKm4cSeJH0Tl0RfgjGV2S9PgvtBzuz JKaDnwQmubuKUnIfClKm/PIubvMo4q3X25IwTzxLpLSKxY5lSYPtg8R6MNzKV73R/BzL mXd3rg8MFXjCk7GMOfDn2Pzop4bB4KxrtLf5Mzu2c0dhi1MkvlGr3OlGe7upx+Az306n 22LYt3bj/8JC1jLnVAmlNIj/0UOlWl+EaVEBeh6T19r+xrAtEkOsHNpbGfHRyPUULres hddmm5yzxTz8MqWP8julAjcPk+2tH286pkkWNlBs6wxv5NMgW1l7WBVqip9xDm4isyFq HsYQ== X-Forwarded-Encrypted: i=1; AJvYcCW4L+7EqyniWRfiNyiBBCr3Kp45NQ/uscYIzkNs01Q7q/esahGUjoW7ouFSJHm3I4tnsgiU3YkaBjmJ4URjY6xUGlnD/k8M/kdFY8ELVVdJOXQDstC4M9e819OWMVVpEZW0GyZR6lrYwM21B+ilB6gHIQk1MpMGKIj0y9xD9eaAjAhCzwj/B6WY4dzOV164/M2aemm/rjkNT82IqCV/UJczzXrt X-Gm-Message-State: AOJu0YzQDDpxbe/AGemyDJv+NaQZrLnEPrX8We6ns0zdVJLqBpJ1VA+f WJy5668PEbNJsfYwocgqDLsfs4xd5fxO4kvBFeR9rTeeO2q8N3aQt0rgzWFYsso= X-Received: by 2002:a05:690c:d17:b0:608:4bab:8b06 with SMTP id cn23-20020a05690c0d1700b006084bab8b06mr11205956ywb.45.1708599393609; Thu, 22 Feb 2024 02:56:33 -0800 (PST) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com. [209.85.219.173]) by smtp.gmail.com with ESMTPSA id k62-20020a816f41000000b006047d63bc78sm3016184ywc.72.2024.02.22.02.56.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Feb 2024 02:56:33 -0800 (PST) Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-dcd94fb9e4dso1892988276.2; Thu, 22 Feb 2024 02:56:33 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUe7BQqRfQKXOoI96vL9021illL2thEgWHvUESPfMZrg7GKFVIlNEKRMaEAegwnJvVclKsnmlUs1TGh0ZvYXmXn6Qh6XJpB7uhYkkvxlMboArxO3vgzWQJBuRba/4fAi4XTom246NwKdfzKFdohPxk3PTamKXzMko51qqWSzc0UniTCDNKU0yUoSu4p0dBAmauaLpoHTHdid4g+W8c5psW0Yf6j X-Received: by 2002:a81:ad28:0:b0:607:838f:8991 with SMTP id l40-20020a81ad28000000b00607838f8991mr18891390ywh.38.1708599393207; Thu, 22 Feb 2024 02:56:33 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240219223833.95710-1-zfigura@codeweavers.com> <20240219223833.95710-2-zfigura@codeweavers.com> In-Reply-To: <20240219223833.95710-2-zfigura@codeweavers.com> From: Geert Uytterhoeven Date: Thu, 22 Feb 2024 11:56:21 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 01/31] ntsync: Introduce the ntsync driver and character device. To: Elizabeth Figura Cc: Arnd Bergmann , Greg Kroah-Hartman , Jonathan Corbet , Shuah Khan , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, wine-devel@winehq.org, =?UTF-8?Q?Andr=C3=A9_Almeida?= , Wolfram Sang , Arkadiusz Hiler , Peter Zijlstra , Andy Lutomirski , linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Randy Dunlap Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Elizabeth, On Mon, Feb 19, 2024 at 11:42=E2=80=AFPM Elizabeth Figura wrote: > ntsync uses a misc device as the simplest and least intrusive uAPI interf= ace. > > Each file description on the device represents an isolated NT instance, i= ntended > to correspond to a single NT virtual machine. > > Signed-off-by: Elizabeth Figura Thanks for your patch! > --- a/drivers/misc/Kconfig > +++ b/drivers/misc/Kconfig > @@ -506,6 +506,17 @@ config OPEN_DICE > > If unsure, say N. > > +config NTSYNC > + tristate "NT synchronization primitive emulation" > + help > + This module provides kernel support for emulation of Windows NT > + synchronization primitives. It is not a hardware driver. > + > + To compile this driver as a module, choose M here: the > + module will be called ntsync. > + > + If unsure, say N. Is it useful to have this feature on systems or architectures that are not supported by Windows NT? If not, this should depend on || COMPILE_TEST. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds