Message ID | 20210917054856.26152-8-khalid.elmously@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=D7toAo04; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4H9jgt37L9z9t2b; Fri, 17 Sep 2021 15:49:14 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1mR6kH-0006gb-JC; Fri, 17 Sep 2021 05:49:09 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <khalid.elmously@canonical.com>) id 1mR6kF-0006eq-2L for kernel-team@lists.ubuntu.com; Fri, 17 Sep 2021 05:49:07 +0000 Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id DE81D3F4B9 for <kernel-team@lists.ubuntu.com>; Fri, 17 Sep 2021 05:49:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1631857746; bh=IVylRn7fLMxUpKj8yGORlhOFMXfuQVEBVlwVEpBubLg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=D7toAo049D1ghp3wcJ395T8LX194tEwmWaYFTdEoQx60SVJCqQ994R0HIfjUx00Pg O4csCN0jLU7hK3sgfLPYVoeGdafMRAJIATXGEJsmLA+BAkOs7IxMwJN6dJGad0u8wi ws3fWTXZOwSZYRoMYGK4FqjYYvUqG7Zl1cjxm11qekY0YCIkliJJObghTL/Ds97z9f fQnaSfvtwX5UsRNnP1gpujP2+jXWd+oycTnXl1H9iYJhdfCks4RwqZfekiudLK6SoX U+TLZBbvkohsve+9uftXmoOY4gO+uCri+vI0TBMPApuKPbK2nsFRe14zExjSrV1emd t4zGsVtm+M0/g== Received: by mail-qt1-f197.google.com with SMTP id o7-20020a05622a138700b002a0e807258bso85586623qtk.13 for <kernel-team@lists.ubuntu.com>; Thu, 16 Sep 2021 22:49:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IVylRn7fLMxUpKj8yGORlhOFMXfuQVEBVlwVEpBubLg=; b=ECkQcZOqNkm3cwH/8xVdGgrkJj+pxF/U0cKDutylMma84NnhIfERUgUcdNsoCnt3qp WTuwokQ6bvThnKUZUqgaSrHAKUqLkHRDPSWJkA/9ZtvGADMIjhFl/lpJ720b0d9qbP97 jjI4sAD3YClvCU8xBErZmIYYmaxX+DSC8cIOLDeMhEd9sUqWFvaf3JdvGliPH6/1xUQS MZ6Y3z0NfxH9ac4wWI3Ty9NA4vms8f0/9yTLV4Fy+faksrQFEW6ua3VnXcZ8oKpS8eiJ MW3mlvUS+BzfjVjKGTGIh7QS10Jj9BeEbSsCRTNQWP/l80d8GAr9BXV7AkTq2+C6roG9 c9ag== X-Gm-Message-State: AOAM530Y1CRc7DvLopk87OxjpGckeLwCmrzpCaU0H0STXEfCDVzXKjkm CuQyCuGvpvAce1AWPB5jGP8dlUdC0cI+p4qaKrNN5skRAG9omI3esdrhV40OxWfI4DbGXAHdSVB hurflj1sff1wo3GHkXwEook2jiXd2MuArT4+d4n5/Wg== X-Received: by 2002:a05:620a:2914:: with SMTP id m20mr9029132qkp.497.1631857745919; Thu, 16 Sep 2021 22:49:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5O8DkzR0Ll8Ea+H4kknKTSLgMPxJHfsO+NtQrwjbiPm+uBuzfin8mOcewexzE61sHp1Q6iQ== X-Received: by 2002:a05:620a:2914:: with SMTP id m20mr9029124qkp.497.1631857745677; Thu, 16 Sep 2021 22:49:05 -0700 (PDT) Received: from kbuntu2.fuzzbuzz.org (dhcp-24-53-240-12.cable.user.start.ca. [24.53.240.12]) by smtp.gmail.com with ESMTPSA id v14sm4193684qkb.88.2021.09.16.22.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 22:49:05 -0700 (PDT) From: Khalid Elmously <khalid.elmously@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 07/10] swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single Date: Fri, 17 Sep 2021 01:48:53 -0400 Message-Id: <20210917054856.26152-8-khalid.elmously@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210917054856.26152-1-khalid.elmously@canonical.com> References: <20210917054856.26152-1-khalid.elmously@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
[01/10] driver core: add a min_align_mask field to struct device_dma_parameters
|
expand
|
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c index 5a0d9d4864aca..2c52acf1135e9 100644 --- a/kernel/dma/swiotlb.c +++ b/kernel/dma/swiotlb.c @@ -647,7 +647,6 @@ void swiotlb_tbl_sync_single(struct device *hwdev, phys_addr_t tlb_addr, if (orig_addr == INVALID_PHYS_ADDR) return; - orig_addr += (unsigned long)tlb_addr & (IO_TLB_SIZE - 1); switch (target) { case SYNC_FOR_CPU: