#asahi-dev · 2021-10-03 08:38
povikif i put the FIELD_PREP back it compiles with the BUG_ON :D#asahi-dev · 2021-10-03 08:37
povikand it goes through#asahi-dev · 2021-10-03 08:37
poviksure, building#asahi-dev · 2021-10-03 08:34
povikmaybe we are just unlucky#asahi-dev · 2021-10-03 08:34
povikit's strange it hasnt triggered anywhere else, if i patch that that particular expression it builds#asahi-dev · 2021-10-03 08:34
poviki also wonder#asahi-dev · 2021-10-03 08:30
povikcan try to build your tree verbatim and report back#asahi-dev · 2021-10-03 08:30
povikalso i cherrypicked on top of maz's tree, which is on top of v5.15-rc3#asahi-dev · 2021-10-03 08:28
povikcould be they have some strange patches#asahi-dev · 2021-10-03 08:28
poviksomething nixos gave me for cross-compiling#asahi-dev · 2021-10-03 08:28
povikgcc version 9.3.0 (GCC)#asahi-dev · 2021-10-03 08:27
poviki replaced it with equivalent shift-and-mask expression, but would like to know how to make it go away properly#asahi-dev · 2021-10-03 08:21
poviksee no fault in the code itself#asahi-dev · 2021-10-03 08:21
povikthe compiler gets confused about the constancy of the field value as i understand it#asahi-dev · 2021-10-03 08:21
poviktriggered on line 297 from apple_gpio_gpio_irq_unmask#asahi-dev · 2021-10-03 08:20
povik> /include/linux/compiler_types.h:322:38: error: call to ‘__compiletime_assert_370’ declared with attribute error: FIELD_PREP: value too large for the field#asahi-dev · 2021-10-03 08:20
poviki also get a strange compile error, that probably has to do with my setup#asahi-dev · 2021-10-03 08:13
povik(had to look up in code why i made the pinctrl driver unhappy)#asahi-dev · 2021-10-03 08:13
poviklogs gpio-ranges is missing, not apple,npins#asahi-dev · 2021-10-03 08:12
poviknitpick: seems it complains about the wrong property#asahi-dev · 2021-10-03 08:12
povikj_ey: https://gitlab.arm.com/linux-arm/jg-open/-/blob/pinctrl_apple_v2/drivers/pinctrl/pinctrl-apple-gpio.c#L466#asahi-dev · 2021-10-02 11:54
povik:)#asahi-dev · 2021-10-02 11:54
povikokay, should have read the sentence to end#asahi-dev · 2021-10-02 11:53
povik> The exact meaning of each specifier cell is controller specific, and must be documented in the device tree binding for the device, but it is strongly recommended to use the two-cell approach.#asahi-dev · 2021-10-02 11:53
povikthat's what i am looking at#asahi-dev · 2021-10-02 11:52
povikas in, when i refer to a gpio from another device, what do the cells mean#asahi-dev · 2021-10-02 11:50
povikj_ey: you may be missing documentation for specifier cells, no?#asahi-dev · 2021-10-02 11:50
poviknow there's no confusion#asahi-dev · 2021-10-02 11:50
povikyeah, was looking at the .yml, thought likely the right numbers for m1 would be there#asahi-dev · 2021-10-02 10:21
povikwhy could that be? do i need to translate the numbers somehow?#asahi-dev · 2021-10-02 10:20
povikj_ey's interrupt numbers in pinctrl binding example does not match what i see in ADT#asahi-dev · 2021-10-01 21:26
povik*had#asahi-dev · 2021-10-01 21:25
povikalso, has to think for a while as to what bird site refers to#asahi-dev · 2021-10-01 21:25
povikj_ey: that's pretty close as a layer#asahi-dev · 2021-10-01 21:25
poviknoted#asahi-dev · 2021-10-01 20:21
povikwould be nice to rule out i dont understand things though#asahi-dev · 2021-10-01 20:21
poviksure it does :)#asahi-dev · 2021-10-01 20:20
povikthere's a point on which the code and docs contradict#asahi-dev · 2021-10-01 20:20
poviktried some irc channel but it seems dead#asahi-dev · 2021-10-01 20:19
poviki wish for a hotline to linux sound people#asahi-dev · 2021-09-30 21:33
povik:)#asahi-dev · 2021-09-30 21:33
povikthen this will be piece of cake#asahi-dev · 2021-09-30 21:33
povikprintk can be called from an interrupt, sweet#asahi-dev · 2021-09-30 21:04
povikhaving already used it like 30 times#asahi-dev · 2021-09-30 21:03
povikat least i have finally remembered the mutual precedence of & and ->#asahi-dev · 2021-09-30 20:56
povikdmaengine#asahi-dev · 2021-09-30 20:56
povikchecks out#asahi-dev · 2021-09-30 20:55
povikit has 300 lines and it doesn't even do anything yet...#asahi-dev · 2021-09-30 20:51
povikwriting linux drivers is slow#asahi-dev · 2021-09-30 20:51
povikhaven't written C code for some time