Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2467424imm; Thu, 11 Oct 2018 10:40:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV6361cKNDZT2bO/Q1klNBpF7Y4GQ4GPg4QK/LYrQge9nJWN6YDO/Wu7iGE6ewTK0yoCspiru X-Received: by 2002:a63:fa4e:: with SMTP id g14-v6mr2286610pgk.18.1539279659053; Thu, 11 Oct 2018 10:40:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539279659; cv=none; d=google.com; s=arc-20160816; b=lpsHHrFW853g7N63lckk5GilkOfjbHFm6mfTgRtSQNcCLG7x0oPNkyxnzovbpx/hZ9 BWSp1xnzzeD2gctVcCh2dBRWMo2J2B1aXsHggABlT+s/V6mkFLk388zLOdLJZrtJ0pFN UP2UqZkRyOQfl/5yqGkMq+h7tctVos4tLnl7aN6i4EZeQDnXzQquRUZ8D+IiHhJZJ/BY bl8OGAS/uXwek8Ku8eujwRyBnlp1xny4rRqVET7TOpdzzmeqEDCeAqT6cyZYIONx0kAB M2ZK2+rlK8VBVbBh/YsQYPFaDO3AK59bRcBxt27aOLkl2cPP9X3IY3ChwP7bADPYs/B+ 0CUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0FLfhSrzQJGDNLvJXtmXkwkap7wzjr7y9HHtSerYsTI=; b=dE/brbSN07ndmIIlEbJ19VvaHPSG8nGytbJ6Y8BayiS6IzPXT95V9FP5+Ek6XZ2EP1 6hy56YUTBLMC0UEtOedBduOn/Bx8iKlWaDt/jOs/tIyO8W/za6KENFfcAj2otxwooYG+ hWXYAfJO7Sz7IZZ5ZifMw05shsUV6PLiNfiMvW42x1sZfvdCGXw+y5HLLrF1oR1lJiUj bCPjWn8YXbVVtyA5DojWdSsO4ukOtV/LH/d8cruGilVl8mCUr42sKwBh4gkSaD+JnYhf TAW5F2jpYlabPIAnc1auAT+cR2Id3A3DXxVrWbeWHuJjnhv9bJwP0HJWJMJlNnZW2VZp jcYw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z31-v6si29783081plb.58.2018.10.11.10.40.43; Thu, 11 Oct 2018 10:40:59 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728477AbeJKWeQ (ORCPT + 99 others); Thu, 11 Oct 2018 18:34:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40892 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728287AbeJKWeP (ORCPT ); Thu, 11 Oct 2018 18:34:15 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CB98940F0B; Thu, 11 Oct 2018 15:06:40 +0000 (UTC) Received: from asgard.redhat.com (ovpn-200-31.brq.redhat.com [10.40.200.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7615866A1B; Thu, 11 Oct 2018 15:06:37 +0000 (UTC) Date: Thu, 11 Oct 2018 17:06:58 +0200 From: Eugene Syromiatnikov To: Arnd Bergmann Cc: Firoz Khan , linux-ia64@vger.kernel.org, Tony Luck , Fenghua Yu , Thomas Gleixner , gregkh , Philippe Ombredanne , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , Deepa Dinamani , Marcin Juszkiewicz Subject: Re: [PATCH v3 7/7] ia64: wire up system calls Message-ID: <20181011150654.GB22118@asgard.redhat.com> References: <1539231895-4118-1-git-send-email-firoz.khan@linaro.org> <1539231895-4118-8-git-send-email-firoz.khan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 11 Oct 2018 15:06:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 11, 2018 at 09:24:43AM +0200, Arnd Bergmann wrote: > On Thu, Oct 11, 2018 at 6:26 AM Firoz Khan wrote: > > +# perf_event_open requires an architecture specific implementation > > +326 common perf_event_open sys_perf_event_open [...] > > I don't think that's correct for these two. perf_event_open() of > course requires 'perf' support that ia64 does not have That's actuallt quite funny, given the fact that IA-64 has perfmonctl() which likely was the precursor of current perf infractructure. > > +# pkey_mprotect requires an architecture specific implementation > > +328 common pkey_mprotect sys_pkey_mprotect > > +# pkey_alloc requires an architecture specific implementation > > +329 common pkey_alloc sys_pkey_alloc > > +# pkey_free requires an architecture specific implementation > > +330 common pkey_free sys_pkey_free > > One comment for all pkey calls would be sufficient. More importantly > it requires hardware support that ia64 does not have AFAICT. Except it has[1]. [1] https://www.thailand.intel.com/content/dam/www/public/us/en/documents/manuals/itanium-architecture-software-developer-rev-2-3-vol-2-manual.pdf#page=78