Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp148193lqf; Fri, 26 Apr 2024 02:26:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCdpoJ08Zgo6Iv8SS2xZF0m6Vz/8bgdE5DFD6ev+yOhgnD7pRlJsrbohwyzID/oNa5qjVKrFUCtK/8g/PLVDMQIu8AHIxznx8U42m6qQ== X-Google-Smtp-Source: AGHT+IGsioOvCZSIzkfw7SJ945Cwvmviz6qKlSuUAbqHV8xBMjTKKbTQ3qX6jocB41ykAzpNlDIs X-Received: by 2002:ad4:4689:0:b0:6a0:9c98:15a7 with SMTP id pl9-20020ad44689000000b006a09c9815a7mr7250717qvb.5.1714123559879; Fri, 26 Apr 2024 02:25:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714123559; cv=pass; d=google.com; s=arc-20160816; b=ojlj7pie47dYuF2uRombWsSZTag+fPtpnaLCNV53mtMt0cIUdlKGUp67K3x40gTg/p dlQdKwlYGuA9dN5sxNzIcM6MARY40RkwvjDt0suovKSGu3KCxQqmhm1Hio/jXNPk7oQq jorEXmvKNzitx8A3Nihu2TuhKwbI0g0S66R/HtmqFM+kMos7lMRZrCtj7w6zY58pCUra 5/vNkOCSyoUL8rORyRPyvVX76A3ri0u/b1YiY6Ft2jmkRxkc9CPhiftGH3t8R6llgzYq QkJzwnjrnd8zsBKN8PKD4C4JzreHfMi7ObftqlTOM9iNWefg/Xe2+jI/MaCZbYkEtW4w jd0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=aI+0tk0N0rfZ0+RaTapxWMbQJR8XZdeH/fzJ04k7BlA=; fh=imEpscScFPz+owoK1c0vuSWPZaSrEN0Y889w0gUSUJw=; b=Cs7pTPWw6gK+HHUajckQ6puuPOiZuJyFCENqvjbUedOdZDoEn4HBkYE6Y6mrhGh9IV 8+gQnirFjmBG5JZsToz1Wds1jYGkYv6klodxi7/AVsBi/aJIc3bmmCi1VDs00JwUkJ6I x6Pz5jyk7y1fcEv/0/KJn48Vv7USMWzrHkhan64P74YdphYlQtEWE4FcXlqNU2PruvtD EI98+kpTWbSF0bVE9MrSD5x45FasW5HMs5uzSY5UzVEmYNG7nhKRC+E+R0Vwz9IbUxbo h4c4MG/8UwLomK/mapxXFU7WQYk84llra4rSUzrBhQKResXz0DqOn7B3Mp/6rFfSGHa+ lsnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EIU6F4Rf; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-159781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s10-20020a0562140caa00b006a0a4cf9f69si2628354qvs.443.2024.04.26.02.25.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 02:25:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EIU6F4Rf; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-159781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 973381C22656 for ; Fri, 26 Apr 2024 09:25:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C05D813F001; Fri, 26 Apr 2024 09:25:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EIU6F4Rf" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B35BA13C838 for ; Fri, 26 Apr 2024 09:25:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714123552; cv=none; b=oSvHxwxKC8RTTMbVBV23mMmaJbLMlsMZ5XBz+JDL8mZ3CtgJ30VrzOrL/7neF7f++bzhmhc7qOrLjNjmJXXw+rV3UOd3AsJQLaf/JgGeLBGdTGKr+1R/00S3BWE8yAe2XReBVEV5dFWOTD7aCPaU3tyBwseDq9ngbzQsspIf8ps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714123552; c=relaxed/simple; bh=v/8fP7ljlfNYu8p9ZmxbNzZV08oGzX9HMMT08K/tl/8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=n1e0D7Hk+VvbAAx9yKx4Bh5PGan2lgAh9yrLatArcT6q7k2A9B4pnQVsH6ZhDRmyUb9laLEDfoe0Kf147Cxt4QySCWwn+YohaM92DFzKpSFSPGg+yW5gREPB2OevcneZ3658iLol7EYZW7fzrFM48O117Ar1euDyeFLuCInIxnk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=EIU6F4Rf; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714123549; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aI+0tk0N0rfZ0+RaTapxWMbQJR8XZdeH/fzJ04k7BlA=; b=EIU6F4Rfhg9Jg4lpAv/aUgrpZcYkEisw/QVybvAClUuBCydNMr+xuISt3Nx/TMO8lARn20 R07r+yZBL19tSIoRBBKObjWZMaLw2AeP/GX12P/YOo7j1eY+JMS+h51RhUkZ1cw8DqkGpF +yuIHe1cTLDW2IjtTLFYGcuk2d0zxXk= Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-170-8kfG_MsbM7KkUIbalHWH1w-1; Fri, 26 Apr 2024 05:25:46 -0400 X-MC-Unique: 8kfG_MsbM7KkUIbalHWH1w-1 Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-5e4df21f22dso1850349a12.0 for ; Fri, 26 Apr 2024 02:25:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714123545; x=1714728345; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aI+0tk0N0rfZ0+RaTapxWMbQJR8XZdeH/fzJ04k7BlA=; b=QOPpOTwcAP9tOH0lXWnjLX1D0jnWlsgt5oWLvG+KuEeyi7VjKYElsHzCxShgDRVFq7 8yjPmlBvR7MZztg9Vc7bMEvYZ7hWB2aOWyJP67uSDN8cwbduxUqQAupwjyMyQ246Cl8O dPNv0QQ/Ea5ZLBmyd/NSyqcA8eew2bzWelJxr/rQQVP8O/3a8awZiIl16YFjZaTnqpwM JpSxcEINJXNVlbsQOP9Volg92sjtT+k9YSmH1/HVd3P/+/IE3MovwNVeBPfbeXosDIIA ldMI01o3rjjwwgLzSdpriPETiDuJ90eBdwlebv8q9lrrU9KjxlLuoJBlkf2CSKo2z44j keow== X-Forwarded-Encrypted: i=1; AJvYcCXrv9aFekK3rCq8ungLTpZREj/D0Yt/h6U6o6PLB1tPq9RAhXojqZY9Kh1O5dRZAfWkY8In0/Jd7UcJ3OJv42ci65NpHeZgXdWvA73t X-Gm-Message-State: AOJu0YznN2fM/2HvVp/WLZVhlXVveu2BTd3iFHGO/Aa8ltFLzNNaqPV0 P5nsR0IbrAQ/nK7uxoXruFDPfn7cJzNcRBPTMq7cvE7czpGpPZtdkzm5CbqsatRzaF6sw5+Z89W T3ODBtEQBpyVHZD9l2QV1Hw0DcxbgePBzYdIyYNPf01FJUPBlBAhuG1PKWM/hsQ== X-Received: by 2002:a17:902:cec3:b0:1ea:482f:f41e with SMTP id d3-20020a170902cec300b001ea482ff41emr9963260plg.15.1714123545328; Fri, 26 Apr 2024 02:25:45 -0700 (PDT) X-Received: by 2002:a17:902:cec3:b0:1ea:482f:f41e with SMTP id d3-20020a170902cec300b001ea482ff41emr9963218plg.15.1714123545006; Fri, 26 Apr 2024 02:25:45 -0700 (PDT) Received: from [192.168.68.50] ([43.252.112.88]) by smtp.gmail.com with ESMTPSA id r3-20020a170902be0300b001e27462b988sm15054500pls.61.2024.04.26.02.25.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Apr 2024 02:25:44 -0700 (PDT) Message-ID: <0a96abc4-8205-447d-9e7d-03397de5ada8@redhat.com> Date: Fri, 26 Apr 2024 19:25:36 +1000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 07/16] ACPI: scan: switch to flags for acpi_scan_check_and_detach() Content-Language: en-US To: Jonathan Cameron , Thomas Gleixner , Peter Zijlstra , linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, Russell King , "Rafael J . Wysocki" , Miguel Luis , James Morse , Salil Mehta , Jean-Philippe Brucker , Catalin Marinas , Will Deacon Cc: Ingo Molnar , Borislav Petkov , Dave Hansen , linuxarm@huawei.com, justin.he@arm.com, jianyong.wu@arm.com References: <20240418135412.14730-1-Jonathan.Cameron@huawei.com> <20240418135412.14730-8-Jonathan.Cameron@huawei.com> From: Gavin Shan In-Reply-To: <20240418135412.14730-8-Jonathan.Cameron@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/18/24 23:54, Jonathan Cameron wrote: > Precursor patch adds the ability to pass a uintptr_t of flags into > acpi_scan_check_and detach() so that additional flags can be > added to indicate whether to defer portions of the eject flow. > The new flag follows in the next patch. > > Signed-off-by: Jonathan Cameron > > --- > v7: No change > v6: Based on internal feedback switch to less invasive change > to using flags rather than a struct. > --- > drivers/acpi/scan.c | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) > Reviewed-by: Gavin Shan