Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3257641pxb; Mon, 16 Nov 2020 09:39:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4t9ofklbS+1iFqe6d2r/ruvO2fB4CLm/Yw6x4zlwZwaTl/otyoaeyfEzekbl20iQ1U7ve X-Received: by 2002:a17:906:d8a8:: with SMTP id qc8mr15512351ejb.149.1605548354456; Mon, 16 Nov 2020 09:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548354; cv=none; d=google.com; s=arc-20160816; b=NiKkMqDrCxAj/ExTe72eD2ZdiTkh9N7+pMDvW6WcwVv6g1Q4B/KR7gNLAkGhyUkSYL jOq3Xp9nPE3nbcal85Ri+7AdfspAhJSOJ+f7PbNlbVh2/qpFva+U/wuwIhDOYHWS50r2 IShgFzhryXK8HCQ88iYVNrpf85a/qiImIlso8cKm55KB1uuoRjx6LI3Xi4zd3NGsrCDJ r3J2JQKEKBErrw6CG7a0lKyLs/fkKIgKsxmH5CwUVB7gb5b8g9oMuHHsM1LK7IC351Bs XDX5qw+m9nRs0Ujg/JeOeQMXe7Xcn+INdrM6iBVnfXN6y6NwxPswegSA/SFGAHqLrko0 XLvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=u7ZouNJFvgWv5XQbSy0+GjGZzP06Ph3h/0kXm5/LCS4=; b=MXtc++i6lKhPcFPIbfU/6Dq6ekA4sdjztL2i+gE+KSsKHGWlmDGh0qeXmaUx5k2PNE H/k0kH/P9VEUSNsaX1DNabBsazyjOUkcbfYEgB32c93NjzQQXcTkehAqX9kj8aqXazvX VoHaE4ybashD8XZNpwb2Pe874dtHJmh48zUzlM9D4HlWZYGnTM+e5qs46UxqGf1fm6df wJm5zUWXNPaUSD0upFZJTfdcT1Oytb3Ss4c4YvwQOPs/NhAG7fMoeMz5YKQa/s8QxTW5 LmttYRheRZJybG0yfQF/a8b/mzVDYyhHPFHZeG10FAIyEtp4q2trqvC7+b4kf8R4dItW uRQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hUJ303sm; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=v877+b3O; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si14082707edy.106.2020.11.16.09.38.51; Mon, 16 Nov 2020 09:39:14 -0800 (PST) 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=@linutronix.de header.s=2020 header.b=hUJ303sm; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=v877+b3O; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733193AbgKPRhM (ORCPT + 99 others); Mon, 16 Nov 2020 12:37:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733176AbgKPRhJ (ORCPT ); Mon, 16 Nov 2020 12:37:09 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2AE8C0613D1 for ; Mon, 16 Nov 2020 09:37:08 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605548227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u7ZouNJFvgWv5XQbSy0+GjGZzP06Ph3h/0kXm5/LCS4=; b=hUJ303smelPk5cG1KgJO8dL1pMsZibhbkOJa9SnEEOi2N8GVW3WEAjbiXRLopYPMC9YOoF oDvqyZpg1JZClyg/ByrdStjg5Val+CFXlRKwKwP6KzWNY4gADoc19++esxdeR5SMQRuR8d 9r/6WFYm+yALpeNEFHP3MOjX2+YfLb1RO0K3oJR2G7J2wIp5OaLU6p+l2Smes2ZpSud6LJ JuiDX3O0hZzfMdhnVnSdDSGJxP2kFkoZrwe+F1eeqtpXg2mZQPpfSKhTS0rSQuDA8VskjI gy1FPkB0Ddei89+C7w1lMCvHl/QH8J3TasWdsVcXkTfe6mQ5DQ1qx17hLTCBEw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605548227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u7ZouNJFvgWv5XQbSy0+GjGZzP06Ph3h/0kXm5/LCS4=; b=v877+b3OBeQTYjmHLL4J+iqF6JGs6dyH2RJQq5vkZ/QGkaSnBvBfhooYuSFZuFgBMHg3T6 SzNPvggXD9ZZfNBg== To: Max Filippov Cc: "open list\:TENSILICA XTENSA PORT \(xtensa\)" , Chris Zankel , LKML Subject: Re: [PATCH] highmem: fix highmem for xtensa In-Reply-To: References: <20201113122328.22942-1-jcmvbkbc@gmail.com> <87zh3ll6hw.fsf@nanos.tec.linutronix.de> <87sg9dl3xk.fsf@nanos.tec.linutronix.de> <87mtzklwc7.fsf@nanos.tec.linutronix.de> Date: Mon, 16 Nov 2020 18:37:06 +0100 Message-ID: <874klpyzi5.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Max, On Mon, Nov 16 2020 at 06:47, Max Filippov wrote: > On Fri, Nov 13, 2020 at 2:34 PM Thomas Gleixner wrote: >> I agree that the top down mechanics is not really intuitive, but that >> does not justify the ifdeffery in the generic code. > > But then maybe xtensa did the right thing where everyone else just > copied the not really intuitive implementation? If nobody else cares > then maybe generic fix_to_virt/virt_to_fix can be changed for positive > indexing? Which requires to change 9 architectures instead of one for a feature which is barely used nowadays and which we rather want to get rid of. Thanks, tglx