All of lore.kernel.org
 help / color / mirror / Atom feed
From: Atharva Tiwari <atharvatiwarilinuxdev@gmail.com>
To: gregkh@linuxfoundation.org
Cc: atharvatiwarilinuxdev@gmail.com, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, mathias.nyman@intel.com
Subject: Re: [PATCH v3] usb: xhci-pci: Add Power handling for Card readers on Apple systems
Date: Mon, 23 Nov 2026 00:47:33 -0500	[thread overview]
Message-ID: <20261123054733.11175-1-atharvatiwarilinuxdev@gmail.com> (raw)
In-Reply-To: <2026112342-engorge-polymer-0717@gregkh>

> That feels very wrong for all non-x86 systems to be forced to include.

I understand that it may feels wrong, but the file checks for CONFIG_X86 and if it is not true, then it sets
x86_apple_machine to false automatically

#ifndef PLATFORM_DATA_X86_APPLE_H
#define PLATFORM_DATA_X86_APPLE_H

#ifdef CONFIG_X86
/**
 * x86_apple_machine - whether the machine is an x86 Apple Macintosh
 */
extern bool x86_apple_machine;
#else
#define x86_apple_machine false
#endif

#endif

^ complete file

> and this still feels very platform specific, why must it be in generic
> xhci code?

Apple macs use the generic driver, and i figured it would be best to do this as a quirk in xhci-pci.c
If you have any other ideas, please provide them.

Thanks,

Atharva.

      reply	other threads:[~2026-11-23  5:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  5:14 [PATCH v3] usb: xhci-pci: Add Power handling for Card readers on Apple systems Atharva Tiwari
2026-11-23  5:25 ` sashiko-bot
2026-11-23  5:28 ` Greg Kroah-Hartman
2026-11-23  5:47   ` Atharva Tiwari [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123054733.11175-1-atharvatiwarilinuxdev@gmail.com \
    --to=atharvatiwarilinuxdev@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.