Re: [U-Boot] [PATCH v2] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-29 Thread Przemyslaw Marczak

Dear Pantelis,
You don't reply for a long time. Could you look on it at this time?

On 10/15/2013 10:18 PM, Przemyslaw Marczak wrote:

Hello Pantelis,

Could you look at this patch, please?

On 10/08/2013 06:12 PM, Przemyslaw Marczak wrote:

Old command timeout value was too small and it caused I/O errors which
led to uncompleted read/write/erase operations and filesystem errors.
Timeout adaptation fixes this issue.

Changes in sdhci_send_command() function:
- change timeout variable to static
- increase default command timeout to 100 ms
- add definition of max command timeout value,
   which can be redefined in each board config file
- wait for card ready state for max defined time
   if it doesn't exceed defined maximum or return COMM_ERR

Once successfully increased timeout value will be used in next function
call. This fix was tested on Goni, Trats, Trats2 boards by testing UMS
on MMC storage.

Changes v2:
- move global variable cmd_timeout into function sdhci_send_command()
- change condition == to = when comparing time with timeout
- print information about timeout increasing and card busy timeout

Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com
Cc: Pantelis Antoniou pa...@antoniou-consulting.com


Thank you.




Regards
--
Przemyslaw Marczak
Samsung RD Institute Poland
Samsung Electronics
p.marc...@samsung.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v2] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-29 Thread Pantelis Antoniou
Dear Przemyslaw,

On Oct 29, 2013, at 3:02 PM, Przemyslaw Marczak wrote:

 Dear Pantelis,
 You don't reply for a long time. Could you look on it at this time?
 

Is this a way to address people on a mailing list?

People, especially volunteers are busy with other things too.

Eventually things get merged, but not when people are being rude.

 On 10/15/2013 10:18 PM, Przemyslaw Marczak wrote:
 Hello Pantelis,
 
 Could you look at this patch, please?
 
 On 10/08/2013 06:12 PM, Przemyslaw Marczak wrote:
 Old command timeout value was too small and it caused I/O errors which
 led to uncompleted read/write/erase operations and filesystem errors.
 Timeout adaptation fixes this issue.
 
 Changes in sdhci_send_command() function:
 - change timeout variable to static
 - increase default command timeout to 100 ms
 - add definition of max command timeout value,
   which can be redefined in each board config file
 - wait for card ready state for max defined time
   if it doesn't exceed defined maximum or return COMM_ERR
 
 Once successfully increased timeout value will be used in next function
 call. This fix was tested on Goni, Trats, Trats2 boards by testing UMS
 on MMC storage.
 
 Changes v2:
 - move global variable cmd_timeout into function sdhci_send_command()
 - change condition == to = when comparing time with timeout
 - print information about timeout increasing and card busy timeout
 
 Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com
 Cc: Pantelis Antoniou pa...@antoniou-consulting.com
 
 Thank you.
 
 
 
 Regards
 -- 
 Przemyslaw Marczak
 Samsung RD Institute Poland
 Samsung Electronics
 p.marc...@samsung.com

Regards

-- Pantelis
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v2] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-29 Thread Pantelis Antoniou
Dear Przemyslaw,
On Oct 29, 2013, at 3:24 PM, Przemyslaw Marczak wrote:

 Dear Pantelis,
 
 On 10/29/2013 02:08 PM, Pantelis Antoniou wrote:
 Dear Przemyslaw,
 
 On Oct 29, 2013, at 3:02 PM, Przemyslaw Marczak wrote:
 
 Dear Pantelis,
 You don't reply for a long time. Could you look on it at this time?
 
 
 Is this a way to address people on a mailing list?
 
 People, especially volunteers are busy with other things too.
 
 Eventually things get merged, but not when people are being rude.
 
 What did I wrong by contacting mmc-u-boot custodian via the mailing list?
 
 At least for linux it is a good and common practice to ping maintainers 
 after 2 weeks of not reply to the patch.
 

This passive aggressive crap might work on your mother, but not here.

Learn how open source works, and expect delays when it is conference season.
I am in contact with the core maintainers and nothing is being dropped.

That is all.

-- Pantelis


 
 On 10/15/2013 10:18 PM, Przemyslaw Marczak wrote:
 Hello Pantelis,
 
 Could you look at this patch, please?
 
 On 10/08/2013 06:12 PM, Przemyslaw Marczak wrote:
 Old command timeout value was too small and it caused I/O errors which
 led to uncompleted read/write/erase operations and filesystem errors.
 Timeout adaptation fixes this issue.
 
 Changes in sdhci_send_command() function:
 - change timeout variable to static
 - increase default command timeout to 100 ms
 - add definition of max command timeout value,
   which can be redefined in each board config file
 - wait for card ready state for max defined time
   if it doesn't exceed defined maximum or return COMM_ERR
 
 Once successfully increased timeout value will be used in next function
 call. This fix was tested on Goni, Trats, Trats2 boards by testing UMS
 on MMC storage.
 
 Changes v2:
 - move global variable cmd_timeout into function sdhci_send_command()
 - change condition == to = when comparing time with timeout
 - print information about timeout increasing and card busy timeout
 
 Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com
 Cc: Pantelis Antoniou pa...@antoniou-consulting.com
 
 Thank you.
 
 
 
 Regards
 --
 Przemyslaw Marczak
 Samsung RD Institute Poland
 Samsung Electronics
 p.marc...@samsung.com
 
 Regards
 
 -- Pantelis
 
 
 Regards
 -- 
 Przemyslaw Marczak
 Samsung RD Institute Poland
 Samsung Electronics
 p.marc...@samsung.com

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v2] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-29 Thread Przemyslaw Marczak

Dear Pantelis,

On 10/29/2013 02:08 PM, Pantelis Antoniou wrote:

Dear Przemyslaw,

On Oct 29, 2013, at 3:02 PM, Przemyslaw Marczak wrote:


Dear Pantelis,
You don't reply for a long time. Could you look on it at this time?



Is this a way to address people on a mailing list?

People, especially volunteers are busy with other things too.

Eventually things get merged, but not when people are being rude.


What did I wrong by contacting mmc-u-boot custodian via the mailing list?

At least for linux it is a good and common practice to ping 
maintainers after 2 weeks of not reply to the patch.





On 10/15/2013 10:18 PM, Przemyslaw Marczak wrote:

Hello Pantelis,

Could you look at this patch, please?

On 10/08/2013 06:12 PM, Przemyslaw Marczak wrote:

Old command timeout value was too small and it caused I/O errors which
led to uncompleted read/write/erase operations and filesystem errors.
Timeout adaptation fixes this issue.

Changes in sdhci_send_command() function:
- change timeout variable to static
- increase default command timeout to 100 ms
- add definition of max command timeout value,
   which can be redefined in each board config file
- wait for card ready state for max defined time
   if it doesn't exceed defined maximum or return COMM_ERR

Once successfully increased timeout value will be used in next function
call. This fix was tested on Goni, Trats, Trats2 boards by testing UMS
on MMC storage.

Changes v2:
- move global variable cmd_timeout into function sdhci_send_command()
- change condition == to = when comparing time with timeout
- print information about timeout increasing and card busy timeout

Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com
Cc: Pantelis Antoniou pa...@antoniou-consulting.com


Thank you.




Regards
--
Przemyslaw Marczak
Samsung RD Institute Poland
Samsung Electronics
p.marc...@samsung.com


Regards

-- Pantelis



Regards
--
Przemyslaw Marczak
Samsung RD Institute Poland
Samsung Electronics
p.marc...@samsung.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v2] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-29 Thread Mateusz Zalega
 Dear Pantelis,
 You don't reply for a long time. Could you look on it at this time?


 Is this a way to address people on a mailing list?

 People, especially volunteers are busy with other things too.

 Eventually things get merged, but not when people are being rude.

 What did I wrong by contacting mmc-u-boot custodian via the mailing list?

 At least for linux it is a good and common practice to ping maintainers 
 after 2 weeks of not reply to the patch.

 
 This passive aggressive crap might work on your mother, but not here.
 
 Learn how open source works, and expect delays when it is conference season.
 I am in contact with the core maintainers and nothing is being dropped.
 
 That is all.
 
 -- Pantelis

Mister, you seem to be upset.

Regards,


-- 
Mateusz Zalega
Samsung RD Institute Poland
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v2] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-15 Thread Przemyslaw Marczak

Hello Pantelis,

Could you look at this patch, please?

On 10/08/2013 06:12 PM, Przemyslaw Marczak wrote:

Old command timeout value was too small and it caused I/O errors which
led to uncompleted read/write/erase operations and filesystem errors.
Timeout adaptation fixes this issue.

Changes in sdhci_send_command() function:
- change timeout variable to static
- increase default command timeout to 100 ms
- add definition of max command timeout value,
   which can be redefined in each board config file
- wait for card ready state for max defined time
   if it doesn't exceed defined maximum or return COMM_ERR

Once successfully increased timeout value will be used in next function
call. This fix was tested on Goni, Trats, Trats2 boards by testing UMS
on MMC storage.

Changes v2:
- move global variable cmd_timeout into function sdhci_send_command()
- change condition == to = when comparing time with timeout
- print information about timeout increasing and card busy timeout

Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com
Cc: Pantelis Antoniou pa...@antoniou-consulting.com


Thank you.


--
Przemyslaw Marczak
Samsung RD Institute Poland
Samsung Electronics
p.marc...@samsung.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot