Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1223414
| From | Vincent Pelletier <plr.vincent@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [1/4] gpio: gpio-f7188x: Use mutex for access serialisation. |
| Date | 2015-09-12 15:30 +0200 |
| Message-ID | <q7T2p-1Ly-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <q6Vzk-7bi-17@gated-at.bofh.it> <q6Vzk-7bi-19@gated-at.bofh.it> <q6Vzk-7bi-21@gated-at.bofh.it> <q6Vzk-7bi-23@gated-at.bofh.it> <q6Vzj-7bi-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello Simon, On Thu, 10 Sep 2015 00:01:40 +0200, Simon Guinot <simon.guinot@sequanux.org> wrote: > Vincent (Donnefort) finally succeeds to reproduce the issue. The setup > is quite simple. You only have to flood the gpio-f7188x driver via the > sysfs GPIO interface. Nothing more is needed. > > After some debugging we discovered that the problem comes from the > __request_region function which don't handle very well concurrent > requests on a muxed region. > > I will send a patch as a reply to this email. Please, can you test it ? I reverted my mutex-adding commit, applied given patch, and could not reproduce the error after a few minutes with my test-case, so I think this solves the issue. Tested-by: Vincent Pelletier <plr.vincent@gmail.com> I rebased my others gpio patches, unrelated to this issue: gpio: gpio-f7188x: Implement get_direction. gpio: gpio-f7188x: "get" should retrieve sensed level when available. gpio: gpio-f7188x: GPIO bank 0 bit 0 is not available on f71869a Should I resend ? I have not checked other model's datasheets, FWIW. Regards, -- Vincent Pelletier -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [1/4] gpio: gpio-f7188x: Use mutex for access serialisation. Simon Guinot <simon.guinot@sequanux.org> - 2015-09-10 00:00 +0200 [PATCH] kernel/resource.c: fix muxed resource handling in __request_region() Simon Guinot <simon.guinot@sequanux.org> - 2015-09-10 00:20 +0200 Re: [1/4] gpio: gpio-f7188x: Use mutex for access serialisation. Vincent Pelletier <plr.vincent@gmail.com> - 2015-09-12 15:30 +0200
csiph-web