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 X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96798C4740A for ; Mon, 7 Oct 2019 07:17:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52CF6222D1 for ; Mon, 7 Oct 2019 07:17:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="r80m7p8h" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727175AbfJGHRA (ORCPT ); Mon, 7 Oct 2019 03:17:00 -0400 Received: from mail.skyhub.de ([5.9.137.197]:55138 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726202AbfJGHRA (ORCPT ); Mon, 7 Oct 2019 03:17:00 -0400 Received: from zn.tnic (p200300EC2F064200604F0F8C9F77D256.dip0.t-ipconnect.de [IPv6:2003:ec:2f06:4200:604f:f8c:9f77:d256]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 24EA51EC027B; Mon, 7 Oct 2019 09:16:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1570432614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=EnZMwcUNiZNAU7Y16tJi3Av/6Z+UIYJ+V0m0/RhgJFM=; b=r80m7p8hbn7FDRd9VPQKbxtGmp09uUXXuXqgq+jrqKh1KL4rzEBGDJMFxfck9O3HGk4Cg3 F8+/MyNeJfkZV56sTcmWE8lRtZyWgN/5P0E6ZzSlPYmkWC4g64Yyxadn/1RcEtk0ezRB+S MmPpks4dkkIe/AMHZUhzjOWGLHH8TKA= Date: Mon, 7 Oct 2019 09:16:45 +0200 From: Borislav Petkov To: Jeff God Cc: linux-edac@vger.kernel.org Subject: Re: [GIT PULL] EDAC pile for 5.4 -> AMD family 17h, model 70h support Message-ID: <20191007071502.GA24289@zn.tnic> References: <20190924092644.GC19317@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org On Sat, Oct 05, 2019 at 12:52:15PM -0400, Jeff God wrote: > * I tried different addr values that I believe are in valid range, all > other values (cpu,...) were left to their default (0), I used bank 0 > to trigger the tests and tried different values briefly but always > with the same results Try this as root (the first command is cd-ing into the default debugfs mountpoint - check whether that is the case on your system first). # cd /sys/kernel/debug/mce-inject/ # echo 10 > /sys/devices/system/machinecheck/machinecheck0/check_interval # echo 0x9c7d410092080813 > status; echo 0x000000006d3d483b > addr; echo 2 > cpu; echo hw > flags; echo 4 > bank If you have this in your dmesg: [ 1.420991] RAS: Correctable Errors collector initialized. then you need to boot with "ras=cec_disable" first. > but it does not seem EDAC ever report any ce (or ue) ecc error even > when they may be happening and corrected in background. What does that mean? You are getting ECCs or you simply want to test whether the ECC reporting works on your machine? P.S., Please do not top-post and see if you get another mail client - gmail is linewrapping dmesg and is generally bad for pasting logs and code in. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette