[PATCH v7 0/5] um: suspend/resume support

Anton Ivanov anton.ivanov at kot-begemot.co.uk
Thu Dec 3 05:06:33 EST 2020


On 02/12/2020 19:58, Johannes Berg wrote:
> Here's a respin, for one since I wanted to use pause() instead of
> the strange select(0, NULL, NULL, NULL, NULL), but also fixing some
> signal handling bugs in the suspend/resume code.
>
> johannes
>
>
>
>
> _______________________________________________
> linux-um mailing list
> linux-um at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-um

Works nicely and I will ACK them shortly.

I will see if I can add some WOL functionality to the vector drivers.

It is definitely possible for the ones which use a raw socket - you leave them as capable of generating a SIGIO, but load a "sleeptime" BPF filter which allows only the types of packets that are entitled to wake you up - WOL magic, ARP, unicast to your own MAC, etc. IIRC ethtool has a list of all the possible options. When you wake up, you swap back the old filter (if there was any).

Brgds,

-- 
Anton R. Ivanov
https://www.kot-begemot.co.uk/




More information about the linux-um mailing list