Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp76737pxf; Tue, 23 Mar 2021 22:45:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQ0fVxC8lyh3xd2s698V8vXBvyc0WzCB4Y8YI1JSMnUNBvL//RU0p/CgkkwGSGNX8GXKwi X-Received: by 2002:a17:906:f896:: with SMTP id lg22mr1777910ejb.124.1616564744700; Tue, 23 Mar 2021 22:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616564744; cv=none; d=google.com; s=arc-20160816; b=QCxOIZez4yfkuFquvmCj3XiQK/oP2cH5sweQxV0597e119foC4/3T9MyzpgugVfw2q JPM5cHGCdR01336u7PBudoJ31EKwm0gsp0L3mP7FFAi9oaoce2o/Z4b2hEMRXYkjItVc +U+n1PnOxRlYz3qkN/EGYnEyCVJ3OWNNyyNGXGD4hkJurjGVU8LJitX+qzaTKF/phJoY WMRaWr6/T1WVjWwWi1EO7kIdtCO5seqYA/7uq9WTEmOwGHLLIrfbvMV8humd2KwaYL23 tt6MuWa/S+ZCc8ymt+vZuJ+HBo2glID0TAR6LtaMoBt4woeYhgd9Kx3y501nUJ+0p5V9 FwcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:cc:to:from:thread-topic:subject :dkim-signature; bh=GXkTj4pGq3nW0nYO9duitGCSspcTFWw3vJ2TTU/l3CI=; b=qBBMxOabE2PFr0YYVSjixDvNm1LnfPZOYumk6nzKYTVo5yJ9cUKtSm/Y1mccyD98b2 zZmHPo7FSID4aHK6Fr8FTxUTdvMzjKgg28uwsoG4WsAHDMUqiD2Zj0jnZRBfFtyWtB9j IWVkFAwTG1K2yxRwPRWvoh1XgkV3oOEipb9P7gwty4nlUPTy2A0xsc0blRyLofFH2C+s lP+Vw+Q6YWdMGlQjucg69J7XAH1TzG+5G5pB98j/aNk87HPQOILrgGkdq6cigS2GIZA8 /IQaTWYXFhsxHT5eBjSXHBv1nDwVAtJiu0EGdWm+H3n2Xi54KrIt//OawyhzncrvU1UF 5+iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=UEMH1xci; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb23si992231ejb.496.2021.03.23.22.45.21; Tue, 23 Mar 2021 22:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=UEMH1xci; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233149AbhCWQLQ (ORCPT + 99 others); Tue, 23 Mar 2021 12:11:16 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:1881 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232733AbhCWQKu (ORCPT ); Tue, 23 Mar 2021 12:10:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1616515850; x=1648051850; h=from:to:cc:date:message-id:references:in-reply-to: content-id:mime-version:content-transfer-encoding:subject; bh=GXkTj4pGq3nW0nYO9duitGCSspcTFWw3vJ2TTU/l3CI=; b=UEMH1xci+jJhYOr3rnJdJYIwvI9N61YOflNpYo55jmYv+xujpWSAIT0F pyYmFhlHl/y+W/Pjz4D/hgEfF0a3MDtwSCWtnkLQQyHZqzLtvyg/Yr+yB Qk+JegizQoWTzZ0dATZM7tJQwDOtMVWq1QUofrWHl1VZjeJ/bcNYsu71/ s=; X-IronPort-AV: E=Sophos;i="5.81,272,1610409600"; d="scan'208";a="95621463" Subject: Re: [PATCH v8] drivers/misc: sysgenid: add system generation id driver Thread-Topic: [PATCH v8] drivers/misc: sysgenid: add system generation id driver Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1a-af6a10df.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 23 Mar 2021 16:10:43 +0000 Received: from EX13MTAUWA001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-1a-af6a10df.us-east-1.amazon.com (Postfix) with ESMTPS id D1A08A2217; Tue, 23 Mar 2021 16:10:30 +0000 (UTC) Received: from EX13D20UWA004.ant.amazon.com (10.43.160.62) by EX13MTAUWA001.ant.amazon.com (10.43.160.58) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 23 Mar 2021 16:10:30 +0000 Received: from EX13D08EUB004.ant.amazon.com (10.43.166.158) by EX13D20UWA004.ant.amazon.com (10.43.160.62) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 23 Mar 2021 16:10:29 +0000 Received: from EX13D08EUB004.ant.amazon.com ([10.43.166.158]) by EX13D08EUB004.ant.amazon.com ([10.43.166.158]) with mapi id 15.00.1497.012; Tue, 23 Mar 2021 16:10:28 +0000 From: "Catangiu, Adrian Costin" To: Greg KH , "Graf (AWS), Alexander" CC: "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" , "linux-s390@vger.kernel.org" , "rdunlap@infradead.org" , "arnd@arndb.de" , "ebiederm@xmission.com" , "rppt@kernel.org" , "0x7f454c46@gmail.com" <0x7f454c46@gmail.com>, "borntraeger@de.ibm.com" , "Jason@zx2c4.com" , "jannh@google.com" , "w@1wt.eu" , "MacCarthaigh, Colm" , "luto@kernel.org" , "tytso@mit.edu" , "ebiggers@kernel.org" , "Woodhouse, David" , "bonzini@gnu.org" , "Singh, Balbir" , "Weiss, Radu" , "corbet@lwn.net" , "mst@redhat.com" , "mhocko@kernel.org" , "rafael@kernel.org" , "pavel@ucw.cz" , "mpe@ellerman.id.au" , "areber@redhat.com" , "ovzxemul@gmail.com" , "avagin@gmail.com" , "ptikhomirov@virtuozzo.com" , "gil@azul.com" , "asmehra@redhat.com" , "dgunigun@redhat.com" , "vijaysun@ca.ibm.com" , "oridgar@gmail.com" , "ghammer@redhat.com" Thread-Index: AQHXFDSs8xrEX8MfBEC6uKT7aIuSv6qRn1uAgABX0gA= Date: Tue, 23 Mar 2021 16:10:27 +0000 Message-ID: References: <1615213083-29869-1-git-send-email-acatan@amazon.com> In-Reply-To: Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.166.52] Content-Type: text/plain; charset="utf-8" Content-ID: <885DAA1B17363842AE11B1CE7A23F8B4@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgR3JlZywNCg0KQWZ0ZXIgeW91ciBwcmV2aW91cyByZXBseSBvbiB0aGlzIHRocmVhZCB3ZSBz dGFydGVkIGNvbnNpZGVyaW5nIHRvIHByb3ZpZGUgdGhpcyBpbnRlcmZhY2UgYW5kIGZyYW1ld29y ay9mdW5jdGlvbmFsaXR5IHRocm91Z2ggYSB1c2Vyc3BhY2Ugc2VydmljZSBpbnN0ZWFkIG9mIGEg a2VybmVsIGludGVyZmFjZS4NClRoZSBsYXRl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