Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp678092imm; Wed, 11 Jul 2018 09:07:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeKGBzenDvED7i5BNl6B8shRUGzdj9+huFj31lCS76jvqkATGC9gYmY+7N28evVAd1gENw8 X-Received: by 2002:a63:cb04:: with SMTP id p4-v6mr9405053pgg.197.1531325257134; Wed, 11 Jul 2018 09:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531325257; cv=none; d=google.com; s=arc-20160816; b=CbUY9zTWmdp+JRhvVee/EUZrKeKsDiPsNP/m4KVqYbIOytTulpIOmB8ku2KY60xP1F C9KgtsUS+K4S1XWKrIzapBXve4tjWjIVGZt+K6ybXkEJu6q2tJxhEkoeSbJoBb3QaL+w u40K1cVTJLFNbSS2BineP/v7gXmYHprmBIrwu3oPhQQzRLGLwN3hT3OXoqdPeyMIi8M2 BwRYL4Co52Bj05K7Q6zIuONFsk3KP6ziDykWVF6Dz+LlJUzR6gWqwWdaNgGIUHxeiO89 I2N/I9pjd/llPsNz+eXk5MvXRcifLOJaYzE7B/axuElxCH7FUc+/7zceKGlFxnciscWQ td6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=zW1ZFxUteKKT9oR3WGg6IoY5DYWJZwAP/0VjFBTVf8E=; b=bb6unJ2WAz4LUjJ0G/WllhfYpqj9Y7UrUOwO45WgywRZb+PRuyBsnmz8s8pKfOjBQ8 6TXs2WR5aJ4emhaedAwHz1ODpSb7j654QEG9P2vIHWe0kpSnQeOv3BXL9KXapNkLY3EO QV70HIdtlO/Pc/lRBhI/0nfzmjaKv2P/akQpHgIDWsxIbEHJFC0QFY/QgGEbJrsENevu 6OVCPrDPp5ZqvYVH+Ur+Y6lO0VQTFPI4QPGbLBbPNyBkKlcBkqyNtR8IEqN8eUvOvtSf nw7e2T/MzUm8omV6O6jltKcORzd6epBdl2VhkvP9DEEL1mU409GPycN6XkATwHWSsY9n HhZw== 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 be9-v6si19642968plb.67.2018.07.11.09.07.21; Wed, 11 Jul 2018 09:07:37 -0700 (PDT) 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 S2387763AbeGKN21 (ORCPT + 99 others); Wed, 11 Jul 2018 09:28:27 -0400 Received: from ozlabs.org ([203.11.71.1]:58481 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732530AbeGKN21 (ORCPT ); Wed, 11 Jul 2018 09:28:27 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 41Qfsw3GCDzB4MP; Wed, 11 Jul 2018 23:24:04 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 8449a4cb69ab6fbb873d653a82787a2ae6f352aa In-Reply-To: <1511897374-27408-1-git-send-email-leitao@debian.org> To: Breno Leitao , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Breno Leitao Subject: Re: scripts: Add ppc64le support for checkstack.pl Message-Id: <41Qfsw3GCDzB4MP@ozlabs.org> Date: Wed, 11 Jul 2018 23:24:04 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2017-11-28 at 19:29:34 UTC, Breno Leitao wrote: > 64-bit ELF v2 ABI specification for POWER describes, on section "General > Stack Frame Requirements", that the stack should use the following > instructions when compiled with backchain: > > mflr r0 > std r0, 16(r1) > stdu r1, -XX(r1) > > Where XX is the frame size for that function, and this is the value > checkstack.pl will find the stack size for each function. > > This patch also simplifies the entire Powerpc section, since just two > type of instructions are used, 'stdu' for 64 bits and 'stwu' for 32 bits > platform. > > Signed-off-by: Breno Leitao Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/8449a4cb69ab6fbb873d653a82787a cheers