Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3155007pxf; Sun, 21 Mar 2021 21:48:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz5jPPjWEWrhvTd+jDgLp0QVEKXcc1vTmM6IpMSt4IhFQOR0UrZoxj4YbHGOX9XmrK/M9a X-Received: by 2002:a17:906:3159:: with SMTP id e25mr17388137eje.303.1616388518761; Sun, 21 Mar 2021 21:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616388518; cv=none; d=google.com; s=arc-20160816; b=GKuhi1e4b+bC7UNcyNieqIKyf3ER3lnVtm7BhKh34iYr5+YvXhkmRcgPRMTX3zvOoU kfK2p3njeCEwgLCeJn6RTrD6yJf+NaLzNHbL2SLXYebcspzdIjDKfyi0uYYjSws54Iik 9ivIMLd+TUf6XYsl04OdO+Ux91FSg9cLQZYKN+XLpOeOxI4UzFmehnVcinBi3sAxjQqE BwcCu7ENKXbJSyrDqovl9G5t+WV9NZGxkaYRVPnxBCiYwr6B8l+NB62ATNEoWnOSuYnT 9VtEs3ul9kI5XXimwjCD0b5Jzvp8MfIXNb1x/5SEStJGj8yxEraJFxseUabKXS6pRkNE yAFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=HtScbKIdm3s+N07BdINcx1+cGgg/X9I+bpkKKyLBxX0=; b=czw8Topf8HyQc6a6bjb+lZTc/phTFlGuLBBKAkA9bFQKO7YldCdXkkHZlSeYJ8xiy0 a4TFHw54lto/l3SFMSj9yV2sTZJBxkN+3LMmalJFLLzqlDXCk+O/NOFReRMF6BX20evX Ifs67ussUodXqV71LJtiEhvgRfmCCSiBfC3caq3LrG2mhz8NLfI1vwXgT0UqGg85fGB8 KP2doNbvXGJHmNdEaA7Mx8Kj1iSm/jcJbztiwCf0EmphCf3Ktnv+KZTyuAz6jBZhNXiV wJZ5CNkFMuUYJjQoccM+WgSNHxFUWX2HwNU7Uxz9G8TUhUFgSJaKNSvZRP4C+eV96P1a Ijdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si10150663ejs.195.2021.03.21.21.48.16; Sun, 21 Mar 2021 21:48:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbhCVErJ (ORCPT + 99 others); Mon, 22 Mar 2021 00:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbhCVEq7 (ORCPT ); Mon, 22 Mar 2021 00:46:59 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9B803C061756; Sun, 21 Mar 2021 21:46:59 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id DE2F992009C; Mon, 22 Mar 2021 05:46:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id D0FA392009B; Mon, 22 Mar 2021 05:46:56 +0100 (CET) Date: Mon, 22 Mar 2021 05:46:56 +0100 (CET) From: "Maciej W. Rozycki" To: Tiezhu Yang cc: Thomas Bogendoerfer , linux-mips@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li , Christoph Hellwig Subject: Re: [PATCH v2] MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again In-Reply-To: <1616034557-5844-1-git-send-email-yangtiezhu@loongson.cn> Message-ID: References: <1616034557-5844-1-git-send-email-yangtiezhu@loongson.cn> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Mar 2021, Tiezhu Yang wrote: > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index 160b3a8..4b94ec7 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -6,6 +6,7 @@ config MIPS > select ARCH_BINFMT_ELF_STATE if MIPS_FP_SUPPORT > select ARCH_HAS_FORTIFY_SOURCE > select ARCH_HAS_KCOV > + select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE Hmm, documentation on ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE seems rather scarce, but based on my guess shouldn't this be "if !EVA"? Maciej