Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2777748rdg; Mon, 16 Oct 2023 14:54:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFvyuxJAg6gnLDc8h0GpaAFbNpdwRkdKSBYt/cSzitlLMNDgX0qmSzm0StqfQR3lCvtXxKM X-Received: by 2002:a05:6a00:2190:b0:6bd:2c0a:e82 with SMTP id h16-20020a056a00219000b006bd2c0a0e82mr373311pfi.7.1697493275795; Mon, 16 Oct 2023 14:54:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697493275; cv=none; d=google.com; s=arc-20160816; b=v80yNPzC/I+IA/wxIo3QwhvC1QCtCJXxqhROSZKKLEPhAJTh+LOe4q0LMIA2yG1QeG CNGHthSMPsG+hRe3eDKUImMfsrzzyuUnu+zbZ8UiGE53Yl9YKxNz7jX7sPvGVAGKHWWw ex1FnO6AeZjPWSeZmLxxZgfxlZRPLu2uSZ5GvRVqI/+s2cTqCyHFbc7vGET03qYSHAhW GTcDonRknbOFwhW4BY9W+3IUpgCwZEAy/qgfyK1wiVYsqAwraL8xV7BXfr13WoZHD9y6 XF/X1TyeLNz9XGIOhhEJgyuKUoFv98El7qmA/zJMBKSgddgBferK+/sDmhAmP0qQKPfU nQcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sFyszUAKH1Bi59GLrKaH1xZ412ynyNyWfhIyPM619dM=; fh=twivOjaXHRmJXCtd1hczJCuZksADra4jP5booCMRHQk=; b=msVFtUpZ0EN1CxcILYJlU1Wf3Fefm+6tzbBZYpH6bcIdlgBdbxQo5ZDglK2iqhEQYa gvfJP/uzYKKvvAa1HIpdD8ZcuS2W+g8oXtnd4yxYgiEL2+eL2h4Zr/HjT0cujoxdt8HA pU19YT/26Sx3X09Vkdd+oXR9BlRFl1XCfH7wI8j5GrWQ9dPzYVDCU7hvGhMoDAf/B+2t 8uFjWnp1vlOJPmShZMiLLzEUL5nUC4jduFjOSqaFnHBm53LUadHlq1BanknCy6iKdnEE eLAqzO/W59IL/PxyxESBK3/Zyq9v4riRgBBwiGR/MsfHxsRwm+ypTLQD0eYM2YOkinL3 +CdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dye2UvF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id r10-20020a63440a000000b005ad8009e301si227734pga.250.2023.10.16.14.54.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 14:54:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dye2UvF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 63AEE8044FE1; Mon, 16 Oct 2023 14:54:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234201AbjJPVy1 (ORCPT + 99 others); Mon, 16 Oct 2023 17:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234137AbjJPVyZ (ORCPT ); Mon, 16 Oct 2023 17:54:25 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17A99FC for ; Mon, 16 Oct 2023 14:54:24 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-53de8fc1ad8so8731803a12.0 for ; Mon, 16 Oct 2023 14:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1697493262; x=1698098062; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sFyszUAKH1Bi59GLrKaH1xZ412ynyNyWfhIyPM619dM=; b=dye2UvF1lKkLi0fV3wHVTP6JUvjcdYunlfnQzKTUzXyrJbQd4sWyBw5B1YF8VxTgM0 gbVwGMogydnomEriyQ/r0zm3ManSGscCp/qO7p/dCuqZz0tQezxkjVOgF7U8hI7Xnlix c4d7s2iyCm9vADjIYnBPN5QZeFASBv7lAvIL8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697493262; x=1698098062; h=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=sFyszUAKH1Bi59GLrKaH1xZ412ynyNyWfhIyPM619dM=; b=FrhUPfBseEc4XANVRZHZqivb0ZCqdCjXqAUNXVVkseAxbDjDWDPBWuf7s8gFRMwLpy v7a4CyOuJeCzD8Cu3UOc1BHSJBmRfiViEHStBSafVAnfLYg2x/nOx8c5CCbvC6Lsay8k odBi8TsTIimRFqP2ywMhxVtlcR+MzpmHrGa/b5nPA1cIGsYm/23PzYw8t3EY8mhiRapR rl5dtr9MHRn/YE4RhQMOtSBgJVuFU7WZop1UGWn5NpBURjmqYijV+hp7TRKo5bkNcmm5 lFuE9UkZggYsuKBjt32x55UQoTak/8X9PWEbPs/J/td0rccnJYAAAlZnja3BNDGxYJlO 6JZg== X-Gm-Message-State: AOJu0Yx8hlbpeVbuol46HOlvQgAPZzqIrnnhTaEY5QstwUkRYC+dmjIn uPd5Zw1S+m+5kA56z+V7cAYGv4oxAbtEeyRYulv09rhjcXV3yd6kKBg= X-Received: by 2002:a05:6402:34d3:b0:53e:467c:33f1 with SMTP id w19-20020a05640234d300b0053e467c33f1mr440773edc.8.1697493262341; Mon, 16 Oct 2023 14:54:22 -0700 (PDT) MIME-Version: 1.0 References: <20230926194242.2732127-1-sjg@chromium.org> <20231016195728.GA3574754-robh@kernel.org> In-Reply-To: <20231016195728.GA3574754-robh@kernel.org> From: Simon Glass Date: Mon, 16 Oct 2023 15:54:10 -0600 Message-ID: Subject: Re: [PATCH v7 1/2] schemas: memory: Add ECC properties To: Rob Herring Cc: devicetree@vger.kernel.org, Mark Rutland , Lean Sheng Tan , lkml , Dhaval Sharma , Maximilian Brune , Yunhui Cui , Guo Dong , Tom Rini , ron minnich , Gua Guo , Chiu Chasel , linux-acpi@vger.kernel.org, U-Boot Mailing List , Ard Biesheuvel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 14:54:33 -0700 (PDT) Hi Rob, On Mon, 16 Oct 2023 at 13:57, Rob Herring wrote: > > On Tue, Sep 26, 2023 at 01:42:38PM -0600, Simon Glass wrote: > > Some memories provide ECC detection and/or correction. For software which > > wants to check memory, it is helpful to see which regions provide this > > feature. > > > > Add this as a property of the /memory nodes, since it presumably follows > > the hardware-level memory system. > > > > Signed-off-by: Simon Glass > > --- > > > > Changes in v7: > > - Drop unnecessary | > > - Add a blank line between properties > > > > Changes in v6: > > - Use a number of bits instead of a string property > > - Fix inidcates typo > > > > Changes in v5: > > - Redo to make this property specific to ECC > > - Provide properties both for detection and correction > > > > Changes in v3: > > - Add new patch to update the /memory nodes > > > > dtschema/schemas/memory.yaml | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > Applied this patch. Thank you for your help and guidance on this. Regards, Simon