Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10353390rwb; Fri, 25 Nov 2022 03:59:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf63bFM6w5L7v8nWTTbH7/ojWZd4PFhqn55tsBAhOd2n5QAolfOpy4K2qvV5G/ybAAAwkrmR X-Received: by 2002:a05:6402:2b91:b0:457:23cb:20ab with SMTP id fj17-20020a0564022b9100b0045723cb20abmr20115156edb.254.1669377570715; Fri, 25 Nov 2022 03:59:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669377570; cv=none; d=google.com; s=arc-20160816; b=sOTRnb/Z1IdVj5TUonOGs1C3rvhJNQt8ywGH2w8byDs6r0w2x2por8RufPSCH5GLrt HZlRqQDnhKbAh4lCfQaYruaIkNd/2Hi3mwT+EG3f7kPxUVXQh2FZbzvG1oqnOpPm1SuF 2DXxbrUIZyx/Jkzp84nwxQY/dtAD/MSL2SvzZTCj1l9GWL6u3kjKZcaZgjOPNBKDQ2AD ZGEG4qYVSiSAK27nGvNmNVHG323DIrnw5z10ar5siwDPnlarwblm9TmiO4jrI7qoXjLc bVLo+csl4QCP3hqnfWCG+hmL+2U/BdZUfFG1hfROm/QtiTzsq5ZrT6fxsSJeiq3sNIfd D2mw== 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:mime-version :dkim-signature; bh=FsdyF22Jd1SmNdZVco6Z+UYx7zskrJpALmeloXVwY24=; b=LNJEY/m0MAJLwIRiIQmmpSH2OIhVMxUrf//waNPJ09zE2XUtWwbxxmYZ9z78nd/Smb 2XvBCiei08QuZas6/IppdKE3naqztG6mEm8fOaRSnJemtqgDEzVm5d97VsmgwXXZJ2aa Za4zuQP553VbiCJlOc2yJrMl9QLhfM0ZpmVLCzgOUL6LWK222UGapOaXmzFdqT3TzTQT Zox3N2xqqSUeqtjkBp9BvWYAekrOyyeO9tIyoZ00vCk3rmeYSg6EqWSi1f9vOHjOaYDU PjzTbbgn6mQ2ovwZDPWFbZbKsbkkKLbbMaJdXx47tyGoTAoqr+JEuvzp5bgDOMKVngaa mkkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NV+dXmBb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a056402090900b004619acbc70fsi2921975edz.505.2022.11.25.03.59.08; Fri, 25 Nov 2022 03:59:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NV+dXmBb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbiKYKmC (ORCPT + 86 others); Fri, 25 Nov 2022 05:42:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbiKYKmB (ORCPT ); Fri, 25 Nov 2022 05:42:01 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E820043AF4 for ; Fri, 25 Nov 2022 02:41:59 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id q7so4694478ljp.9 for ; Fri, 25 Nov 2022 02:41:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FsdyF22Jd1SmNdZVco6Z+UYx7zskrJpALmeloXVwY24=; b=NV+dXmBbaB4hNo9Yc5iLiBeuwwF6pwZqbU5DI1obYKp7AFo1JUQZhZvw6EGsYXlRLk nisk3lKSUpoHTLo3hZ6WNo5UvI+PH4bVTaR6BXqoV8CVxKTkkZ+hIYWg7+scKqsDBXrc 9HPew8UtNQi3kdT3DboDJDfhNkToZmtKY+KsCIsP6iK394P2Z9CUPHKX0eF5i2d/dtau XDfGc/iuAEg9vRUvgOFEhijjQqXgAuWTko1yX0KzJis0QOZVbgFK67X5z7kM8zLj+2Ze HwZskjCVDpsVeUicaMVCBVNG6bneZ38BGAPlMUSmfzbSEaBIYlXP7UM7K+lQ49j4zxMW G7dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FsdyF22Jd1SmNdZVco6Z+UYx7zskrJpALmeloXVwY24=; b=EtvxNzSKn5vg3Eaq4CFBNPm2kCZytZlZUQ3SRawEt9zIqnOmvekx0QaNbOxDxpbBRt WZ2/Uxf1gErV+mypxDBtHrRiZbVxDqjpnmCJAAJWNjUicON3W4xxJYuRu1mrByN3DhjD scCz2jN3m9qgiAPhv9724uu/oXELKrUY8N3UY5Q0/j/o8As1xAvM7DFRDGgPTyYrG6Nt rzAKbeJkBTVQvahnmK1SghZ2IsigXt4W3cp+XR1Y+uU/npevTFr8kiR+x1cU9KHJx5xE U/skVaR9qS8lq6w+Eof8aNSSncwfk2MQdXM4GcEHOGKONYUI0lrBTVRtBVKNx+V6ioyb +bgg== X-Gm-Message-State: ANoB5pkicrtRUHtzCVgDzmrGFCDci2lS/YHAzvJYlOhOkm6O+4MJq534 unfSjIac2moC6dZeQ4JKOMxv+j0aTUkrJFGVQrM= X-Received: by 2002:a2e:a4c9:0:b0:279:4bb9:bb51 with SMTP id p9-20020a2ea4c9000000b002794bb9bb51mr6996322ljm.28.1669372917958; Fri, 25 Nov 2022 02:41:57 -0800 (PST) MIME-Version: 1.0 From: Yun Levi Date: Fri, 25 Nov 2022 19:41:46 +0900 Message-ID: Subject: [Question] About UNWIND_HINT_ENTRY on entry_SYSCALL_64. To: jpoimboe@kernel.org, peterz@infradead.org Cc: Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. While I try to see the information related to ORC in vmlinux, I'm trying to find out ORC information related to entry_SYSCALL_64's address. For this, I've tried to take the following step: 1. booting the kernel with the "nokaslr" option. 2. Getting ORC information by "objdump orc dump vmlinux" 3. cat /proc/kallsyms and check the address of "entry_SYSCALL_64" - In my kernel, It's address .text + a00000 4. Find out related ORC entry gotten in step 2. But, I couldn't find the reason why entry_SYSCALL_64's orc info isn't encoded with end =1. Instead, It was encoded as INVALID ORC entry like: .text+a00000: sp:(und) bp:(und) type:call end:0 IIUC, Some of the code is started with UNWIND_HINT_ENTRY or UNWIND_HINT_EMPTY, it should be encoded with end = 1. But it doesn't. Am I wrong? -- Sincerely, Levi