Re: [PATCH v3] dell_rbu: make firmware payload memory uncachable

2018-04-06 Thread Stuart Hayes
On 4/4/2018 3:30 PM, Takashi Iwai wrote: > On Wed, 28 Mar 2018 17:07:47 +0200, > Stuart Hayes wrote: >> >> @@ -180,6 +181,12 @@ static int create_packet(void *data, size_t length) >> invalid_addr_packet_array[idx++] = packet_data_temp_buf; >> packet_data_t

Re: [PATCH v3] dell_rbu: make firmware payload memory uncachable

2018-04-04 Thread Takashi Iwai
On Wed, 28 Mar 2018 17:07:47 +0200, Stuart Hayes wrote: > > @@ -180,6 +181,12 @@ static int create_packet(void *data, size_t length) > invalid_addr_packet_array[idx++] = packet_data_temp_buf; > packet_data_temp_buf = NULL; > } > +

[PATCH v3] dell_rbu: make firmware payload memory uncachable

2018-03-28 Thread Stuart Hayes
The dell_rbu driver takes firmware update payloads and puts them in memory so the system BIOS can find them after a reboot. This sometimes fails (though rarely), because the memory containing the payload is in the CPU cache but never gets written back to main memory before the system is rebooted (