Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2539534imu; Sat, 10 Nov 2018 17:39:29 -0800 (PST) X-Google-Smtp-Source: AJdET5evy26SDgi3nQunyeFDhEaLimE6Vq5e7SlfsPjVwa2KygQjST7TmuShkLW+7vR1gWBTopgf X-Received: by 2002:a62:ea10:: with SMTP id t16-v6mr15555458pfh.228.1541900369207; Sat, 10 Nov 2018 17:39:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541900369; cv=none; d=google.com; s=arc-20160816; b=V+BBFlINwLzMtmRXbu3x3ks3u0AcnMvFMmDkp8zCPAwbBYqGwrho0sY1eW/eLJMwh0 AjwzCH+8gDUJ6TlRWQ/h+vL3g/xsHv/8EjYlUM4dzReqrzK4n3YrE/Bftr3Nm8pWtgcb obyXAIRZqvs3+6eiSahwblT2syNcryCsatJquqV04O9GpND+S8y/ssSETb93N6P7FgqA CE+bfeI28wDpAE4J5I2BfeViD7F85INxfC6XyPKOTMQpfhaps6ga5Bp4Z3QLBiYHw+AL QwxQb+meE4d0lOlxI7jDdTwWmcj+OZJp4uAP+Rn1qNr09VQC1uSMNC3D63axI8fx8Uc6 hDHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=hzE3rNvXbOW4cEq3bGf4mxULLSbihguP07Od3aUsgzA=; b=DYeUmi/miFK4hmp7ARuJCrPsGu73k8uhy3fZMO8jIIwDEBSKgTrGnThFwmykMXmxU3 jkYFsjkvleD3JEnWNm5CidhyWyWGzSuCrvlps2PY9XGmWFJmKhnCFPd7QyZN8K+KUCUZ M+zKo6LGGxNYGb9w2tWdYKhOU8ExbDr8WUI86Dpm3t9OXEW+OoN5CaU/HDAg3WN/rEj7 KIZOhXkXZFc3DjBpraK1wWmB+fW9pdCBsTfiWE0jW2yYUL7doIafpQp9c0/3KmRRo7AN YlbDisVsD4GeBETrmMCfBbteOYjrVuM5BMTpJ8lITOqbCYPwfjQa5nXlzBi4J4ZTFcQR xlBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a59-v6si9116358plc.48.2018.11.10.17.39.13; Sat, 10 Nov 2018 17:39:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727200AbeKKLZw convert rfc822-to-8bit (ORCPT + 99 others); Sun, 11 Nov 2018 06:25:52 -0500 Received: from mout.gmx.net ([212.227.17.21]:49715 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726648AbeKKLZw (ORCPT ); Sun, 11 Nov 2018 06:25:52 -0500 Received: from [192.168.1.153] ([74.104.183.64]) by mail.gmx.com (mrgmx101 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MWgND-1g19BP4Bh5-00Xp7r; Sun, 11 Nov 2018 02:38:45 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: Object debugging warning from efivar From: Qian Cai In-Reply-To: Date: Sat, 10 Nov 2018 20:38:41 -0500 Cc: open list , linux-efi , Matthew Garrett , Jeremy Kerr Content-Transfer-Encoding: 8BIT Message-Id: <4D7A2A5D-6C95-4F6B-9783-FDFB7DC63012@gmx.us> References: To: Ard Biesheuvel X-Mailer: Apple Mail (2.3445.100.39) X-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xJ0vH4vPJKEDIA2l4lruLz lx1ZwfhmN3zS6CPBsamxdkWWIaHJmbxx881IRrOaWGZyYhOCH1WYfGsqlKI48NRuV/2CXogrJ UcRCBasSL6IGUpbeV0jLOikBpyEIARikUlcuvYFWAHAqL+SwFcm8kHtFTp5VuU Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Nov 10, 2018, at 6:48 AM, Ard Biesheuvel wrote: > > On 9 November 2018 at 23:19, Qian Cai wrote: >> Booting this aarch64 server with the latest mainline (3541833fd1f2) get this warning >> using object debugging. Any idea? >> > > Thanks Qian > > Fix is here > https://lore.kernel.org/lkml/1540304307-2806-1-git-send-email-longman@redhat.com/ > > and is queued in efi/urgent Tested-by: Qian Cai > > >> [ 34.716558] ODEBUG: object (____ptrval____) is NOT on stack (____ptrval____), but annotated. >> [ 34.725266] WARNING: CPU: 0 PID: 1 at lib/debugobjects.c:369 __debug_object_init+0x910/0x918 >> [ 34.733806] Modules linked in: >> [ 34.736903] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.20.0-rc1+ #1 >> [ 34.744740] Hardware name: Huawei TaiShan 2280 /BC11SPCD, BIOS 1.50 06/01/2018 >> [ 34.752051] pstate: 20000085 (nzCv daIf -PAN -UAO) >> [ 34.756902] pc : __debug_object_init+0x910/0x918 >> [ 34.761576] lr : __debug_object_init+0x594/0x918 >> [ 34.766249] sp : ffff8096c1a0f420 >> [ 34.769603] x29: ffff8096c1a0f420 x28: 1ffff012d8341ec6 >> [ 34.774984] x27: ffff20000bc21000 x26: ffff20000bc34e40 >> [ 34.780364] x25: ffff8096c411e8c8 x24: ffff8096c411e8d0 >> [ 34.785743] x23: ffff20000c5654d0 x22: ffff20000bc21c40 >> [ 34.791123] x21: ffff801ec1a00060 x20: ffff801ec1a00040 >> [ 34.796502] x19: ffff801ec1a00040 x18: 000000000000003f >> [ 34.801881] x17: 0000000000000000 x16: 0000000000000000 >> [ 34.807260] x15: 0000000000007fff x14: 6e6120747562202c >> [ 34.812640] x13: 295f5f5f5f6c6176 x12: ffff1012d8341ceb >> [ 34.818019] x11: 00000000f2f2f2f2 x10: dfff200000000000 >> [ 34.823399] x9 : ffff20000a0e9848 x8 : ffff801ec1a00b70 >> [ 34.828778] x7 : 00000000f2f2f204 x6 : 00000000f2f2f204 >> [ 34.834157] x5 : 0000000041b58ab3 x4 : dfff200000000000 >> [ 34.839537] x3 : dfff200000000000 x2 : 2b6ba53cf7873600 >> [ 34.844916] x1 : 0000000000000000 x0 : 0000000000000050 >> [ 34.850295] Call trace: >> [ 34.852772] __debug_object_init+0x910/0x918 >> [ 34.857095] debug_object_init_on_stack+0x20/0x28 >> [ 34.861859] __init_work+0x34/0x50 >> [ 34.865304] virt_efi_get_next_variable+0xbc/0x190 >> [ 34.870153] efivar_init+0x144/0x4b0 >> [ 34.873773] efisubsys_init+0x1a8/0x428 >> [ 34.877656] do_one_initcall+0x160/0x6bc >> [ 34.881628] kernel_init_freeable+0x74c/0x814 >> [ 34.886040] kernel_init+0x18/0x11c >> [ 34.889572] ret_from_fork+0x10/0x1c >> [ 34.893189] irq event stamp: 882290 >> [ 34.896723] hardirqs last enabled at (882289): [] _raw_spin_unlock_irqrestore+0x80/0x88 >> [ 34.906496] hardirqs last disabled at (882290): [] _raw_spin_lock_irqsave+0x34/0x98 >> [ 34.915829] softirqs last enabled at (881706): [] __do_softirq+0x7c8/0x9c8 >> [ 34.924460] softirqs last disabled at (881697): [] irq_exit+0x25c/0x2f0 >> [ 34.932736] ---[ end trace f86eaf2ac70822cc ]---