Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp106085imu; Thu, 8 Nov 2018 05:45:46 -0800 (PST) X-Google-Smtp-Source: AJdET5erqQZnIzQ+bc6WyadCXe6nfGKkxX17yKGfkBaX41KJaopXhG7B4swlWiZ9TOMfV48BVLq6 X-Received: by 2002:a62:be18:: with SMTP id l24-v6mr4456327pff.51.1541684746904; Thu, 08 Nov 2018 05:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541684746; cv=none; d=google.com; s=arc-20160816; b=MX89Scq5YKv1CMUK3WG5LKxMe752+8xfiZIdlHv5570dgcJt5/83EOam9kbyRgDIJt ORwef60LtM+08GuBr93UMEQqv/m5WIh11xe2LgDPF2UGmVKssaWGFx3Qryb30vrh0aOh CgsHM0aXGhciJ5BW8oWLYZ0ktvYnG/Wy5xEsWP5LDaHosS3X16nkr6jOG/7ggsao+WAO Q6lvORFcMilts+CoDvfqzQ7c/Pkh6JOlIfF3/5yAbWQsNBZIVTseXdJ/YhtErPCYi1fS 2Rgx9GtS13SbHVqimy7tLxJdfoIB95ROvIltoVWhJezkKl+IqYqEAvjQwrkRe7UVKotn OFbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=wmW3VXBdEG/An6Vi6pFiTiY5lFgggTsH1mO/MwSlq9k=; b=JuVa6emAq2M2UQ6jte8DZmp42ow5hk3fsDnXi7fVsmg8T239LZUA9qxSffMO5sFpR6 k3IKMGEbZ/BJA7T5vGhHwX4b+WK1F/nnqXFsz4yyGoHPqzWJdo7Q7GYm7iEqqzqsFndz oUgK8L8fdXjOn5rVQIwFftC+a0czBSfnUL07mYGrKru2U3JxNVFahm3CLXCxvcSdDpf+ SKTbevUr8KEJJWivuil0r5m+6w5wWsFfkn9MC5dXpo7ihX3YznbvJsX8GBOYXdBuPpku i2OrJ0l79gbFQ/2+cjRSmKhctVGUk+7z+zRi3c5TdAtf12P2Ln8zZkqlQyzu6tiJcVqj qhlQ== 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 w66si3868473pgw.64.2018.11.08.05.45.30; Thu, 08 Nov 2018 05:45:46 -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 S1727082AbeKHXUM (ORCPT + 99 others); Thu, 8 Nov 2018 18:20:12 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:34868 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbeKHXUM (ORCPT ); Thu, 8 Nov 2018 18:20:12 -0500 Received: by mail-qk1-f195.google.com with SMTP id w204so1475299qka.2; Thu, 08 Nov 2018 05:44:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wmW3VXBdEG/An6Vi6pFiTiY5lFgggTsH1mO/MwSlq9k=; b=JhGFGSjpughrHVEqMEP6G7xqFHl5sbMeyHcI0pqWLd20fO6r3SDH+idj6NEdB/Nhi3 INHv1Ni6INfqF5EiWtFChpMdHxo+ybMlyoGStj9hRfev+IrzEr6ZHZILccgJqBtwkcOj jPs0BN1lxQxWWkOc3NtkK0jNXie7f2HNowY0n881gl5p5Y6LFUtdrtzA9gn2AEEP43u3 3i+lS4SVlZf645OF2VxognBv7/hsylio5X3BAVpq7hk3tQM5546AjzkHrut/WnQzdxTx RN/DZwhCGHEMqeZ3XQFGNobpgd0wie7KZGW14XyFhyjEvv8rBaFIN6q9BLA67l11Dda0 XR3A== X-Gm-Message-State: AGRZ1gKa/t7/qrcLwB+dQyIQdPmVH8U7xXZOHpJIiUMkdXyGAlfBMRhK ODWIAhJ/8Nus3lw5BNRfjRLf/VcoqOonbvIYoyM= X-Received: by 2002:ac8:7451:: with SMTP id h17mr4247384qtr.319.1541684677976; Thu, 08 Nov 2018 05:44:37 -0800 (PST) MIME-Version: 1.0 References: <1540530552-3652-1-git-send-email-firoz.khan@linaro.org> <1540530552-3652-4-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Arnd Bergmann Date: Thu, 8 Nov 2018 14:44:21 +0100 Message-ID: Subject: Re: [PATCH v3 3/3] microblaze: generate uapi header and system call table files To: Firoz Khan Cc: Michal Simek , gregkh , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , Deepa Dinamani , Marcin Juszkiewicz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 5, 2018 at 11:26 AM Firoz Khan wrote: > On Mon, 5 Nov 2018 at 14:46, Michal Simek wrote: > > On 26. 10. 18 7:09, Firoz Khan wrote: > > > - .long sys_rseq > > > +#include > > > +#undef __SYSCALL > > > > > > > I still don't think this is correct. > > > > I have done these steps > > > > make mrproper > > make ARCH=microblaze headers_install INSTALL_HDR_PATH=/tmp/ && move > > Applied 1/3 > > make ARCH=microblaze headers_install INSTALL_HDR_PATH=/tmp/ && move > > Applied 2/3 > > make ARCH=microblaze headers_install INSTALL_HDR_PATH=/tmp/ && move > > Applied 3/3 > > make ARCH=microblaze headers_install INSTALL_HDR_PATH=/tmp/ && move > > > > And compare all these versions. Till 2/3 all is fine but when 3/3 is > > applied > > > > include/asm/unistd.h contains > > #include > > > > Then include/asm/unistd_32.h contains > > #include > > which is different syscalls table. > > > > I didn't play with it for a long time but removing generic unistd_32.h > > is fixing it. Please take a look. > > Sure, I'll check and update you ASAP. > > > > > diff --git a/arch/microblaze/include/uapi/asm/Kbuild > > b/arch/microblaze/include/uapi/asm/Kbuild > > index cda864f4b62e..2c6a6bffea32 100644 > > --- a/arch/microblaze/include/uapi/asm/Kbuild > > +++ b/arch/microblaze/include/uapi/asm/Kbuild > > @@ -28,4 +28,3 @@ generic-y += termbits.h > > generic-y += termios.h > > generic-y += types.h > > generic-y += ucontext.h > > -generic-y += unistd_32.h > > AFAIK, If I apply the above fix; the generated file - unistd_32.h will > get removed. > No longer present in arch/microblaze/include/generated/uapi/asm. It certainly must be 'generated-y', not 'generic-y', since you are generating an architecture specific file, not taking the one from asm-generic. I think this was correct in an earlier version. Arnd