Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp255004ybz; Thu, 30 Apr 2020 21:08:45 -0700 (PDT) X-Google-Smtp-Source: APiQypKyd+KL4rPJvzqLJHa2YQ81l5pVzD0WSXE/H5ZuXMa46DQfMlBX3RHrVfemHX3bZM8PGpCT X-Received: by 2002:a05:6402:1052:: with SMTP id e18mr1981831edu.63.1588306125676; Thu, 30 Apr 2020 21:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588306125; cv=none; d=google.com; s=arc-20160816; b=0aELRPab/4OW9X4MNki0HUWLKBUdo66PJpjakhYIG5loKndCE2omf8NglZCZhJNPhv D8JmslsDoxOdjX2HGCtT+TbkPCxrpKnmmvk1uKqAkOuZb88h1B0mDPmEFPxuPw7hgZwX YlwjJWMXtkN+HoxdZWOUAns67CCceBEUqOQN7i8qHf6sV7BDFgZ6KdPo1KG0XmqmfdxP J5t0Xidcr1BrZhFrrAP5Sl6IJhdq1IA0JQyGbVl1a5tXqzV6cKM2Gm2o6esrn0kbTYKg mjs4HlpsN804wI3cdmxsvYRDa7cO4b5dBxCY0ZMOUgq/8eH45XMVJ3vbmxWD4I419/sa Ox0A== 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:dkim-signature:dkim-filter; bh=IccByTwKdJww/kLpArizsMLQUqfEc5eA6Ug4uanX1p4=; b=Iny/UwVj+FsodnD4dz5rglzmAMIV/0BA2x1HGT09aidP7LB7M6wBVg2kwiDSyvyXyy UtzIW9Pp3h1DuWpKab4q3Tu+cro3HojCtecCVM/s8dfgciGttJxYxfvbnUq0EQjJBbUL Gf88FU3xAhCxwx9NtJkgaw4Y6Xdy5mTonHo10GQHUygdwe23xmbc9YJo9lbxXzgvUdkf Vfq0eIrACaAiqHyi2QhXCD/e3lGhyr5vjgmd2esl++ZxWXst0Z85y311I6UKnsul6Q9V JH3AtAsEBTtVh1lWzOO5uHqlqkUl3sNAxCZAylgWF3R7f/42xF3ksWebeMjieTmV1cPE TQVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=PYBney15; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si1103286ejs.434.2020.04.30.21.08.22; Thu, 30 Apr 2020 21:08:45 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=PYBney15; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728189AbgEAEGs (ORCPT + 99 others); Fri, 1 May 2020 00:06:48 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:36933 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbgEAEGr (ORCPT ); Fri, 1 May 2020 00:06:47 -0400 Received: from mail-ua1-f43.google.com (mail-ua1-f43.google.com [209.85.222.43]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 04146REx029656; Fri, 1 May 2020 13:06:28 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 04146REx029656 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1588305988; bh=IccByTwKdJww/kLpArizsMLQUqfEc5eA6Ug4uanX1p4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=PYBney15bLb0PupuKbtCOdg9mClStoeNgsETlQgDlJi4ATQmQGH/hq56jXvSIMP7k Bx2WzY+0ZIBP1hcR87j2d+ZSCugN7b4NhX1MMrKSHNkw7nojeOIuuTFsLwBa4UsAwZ M2ukexE3qk6tCQaBrdojgtoPYj2hhdzrKoIQvnH9nOJ9twzJmqu6/eFlzzvOIiG00/ /unRE4xcwqKrwHtdJhJbp/XRe1qol88q57YfQOJ1hvMptFH0mgKfdsDhCFxk67mtC+ jwk3GYV/GubgFbYt+IAy287AyY7XxP0/HWmF7INI54VtFl6mdT5xGTbl7qBqKjvy1i IdvYc6Ca4QrSQ== X-Nifty-SrcIP: [209.85.222.43] Received: by mail-ua1-f43.google.com with SMTP id b6so3368991uak.6; Thu, 30 Apr 2020 21:06:28 -0700 (PDT) X-Gm-Message-State: AGi0PuZAAkfz3Z8RxNOaHiakrvh/CkViIS1/wBibR7uTwg09lxQ+2mn9 oHfCxzOE7aaa0cMjACOQczq6wpZAhqU+p7BZZlw= X-Received: by 2002:a9f:28c5:: with SMTP id d63mr1601849uad.25.1588305986970; Thu, 30 Apr 2020 21:06:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Fri, 1 May 2020 13:05:51 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: BPFilter: bit size mismatch between bpfiter_umh and vmliux To: Alexei Starovoitov Cc: Alexei Starovoitov , bpf , Networking , Daniel Borkmann , Martin KaFai Lau , Linux Kernel Mailing List 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 Hi Alexei, On Wed, Apr 29, 2020 at 1:14 AM Alexei Starovoitov wrote: > > > > At least, the build was successful, > > but does this work at runtime? > > > > If this is a bug, I can fix it cleanly. > > > > I think the bit size of the user mode helper > > should match to the kernel bit size. Is this correct? > > yes. they should match. > In theory we can have -m32 umh running on 64-bit kernel, > but I wouldn't bother adding support for such thing > until there is a use case. > Running 64-bit umh on 32-bit kernel is no go. Thanks for the comments. This issue will be fixed by this: https://patchwork.kernel.org/patch/11515997/ and the Makefile will be cleaned up by this: https://patchwork.kernel.org/patch/11515995/ They are parts of the big series of Makefile cleanups. So, I will apply the whole to kbuild tree. Thanks. -- Best Regards Masahiro Yamada